@import "./tokens.css";
@font-face { font-family: "Hanken Grotesk"; font-weight: 400; font-display: swap; src: url("./fonts/hanken-400.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 600; font-display: swap; src: url("./fonts/hanken-600.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url("./fonts/plexmono-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url("./fonts/plexmono-500.woff2") format("woff2"); }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); -webkit-text-size-adjust: 100%; }
body { max-width: 640px; margin: 0 auto; padding: 0 16px 48px; overflow-x: hidden; }
header.trip { position: sticky; top: 0; background: var(--bg); padding: 14px 0 8px; z-index: 5; }
h1.trip-title { font-size: 20px; margin: 0 0 10px; letter-spacing: .3px; }
#date-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
#date-strip::-webkit-scrollbar { display: none; }
.day-tab { flex: 0 0 auto; border: 1px solid var(--line-2); border-radius: var(--radius);
  background: var(--bg-1); color: var(--ink-dim); font-family: var(--mono); font-size: 12px;
  padding: 6px 10px; text-align: center; cursor: pointer; line-height: 1.3; }
.day-tab .dow { display: block; font-weight: 600; color: var(--ink); }
.day-tab[aria-current="true"] { background: var(--gold); color: #fff; border-color: var(--gold); }
.day-tab[aria-current="true"] .dow { color: #fff; }
#day-card { padding-top: 8px; }
.card-area { font-family: var(--mono); font-size: 12px; text-transform: uppercase;
  letter-spacing: 1px; color: var(--gold); }
.card-anchor { font-size: 24px; margin: 4px 0 2px; }
.card-gist { color: var(--ink-dim); margin: 0 0 14px; }
.wx { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px 12px; margin-bottom: 16px; font-size: 14px; }
.wx .temp { font-weight: 700; }
.section-h { font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--ink-faint); margin: 18px 0 8px; }
.route-stop, .menu-item, .eat-item { border-left: 2px solid var(--line-2);
  padding: 6px 0 6px 12px; margin-bottom: 6px; }
.gf { font-family: var(--mono); font-size: 10px; padding: 1px 5px; border-radius: 4px;
  background: var(--green); color: #fff; margin-left: 6px; vertical-align: middle; }
.gf.friendly { background: var(--blue); }
.practical { color: var(--ink-dim); font-size: 13px; }
.detail-empty { color: var(--ink-faint); font-style: italic; }
.detail { background: var(--bg-3); border-radius: var(--radius); padding: 12px 14px; }
#gate { position: fixed; inset: 0; background: var(--bg); z-index: 50;
  display: flex; align-items: center; justify-content: center; }
#gate input { font: inherit; padding: 8px; border: 1px solid var(--line-2); border-radius: var(--radius); margin-top: 8px; }
#gate button { font: inherit; margin-left: 8px; padding: 8px 14px; background: var(--gold); color: #fff; border: 0; border-radius: var(--radius); }
#gate-err { color: var(--red); margin-top: 8px; font-size: 13px; }
.daymap-wrap { margin: 4px 0 6px; }
.daymap { width: 100%; height: 320px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-3); z-index: 0; }
.trip-pin { display:block; width:15px; height:15px; border-radius:50%; border:2px solid var(--bg-2); box-shadow: var(--shadow); }
.daymap-detail { margin-top: 10px; padding: 12px 14px; background: var(--bg-2);
  border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); }
.daymap-hint { color: var(--ink-faint); font-size: 13px; }
.dmd-name { font-weight: 600; font-size: 16px; }
.dmd-note { margin: 4px 0 8px; }
.dmd-btn { display:inline-flex; align-items:center; padding:7px 13px; border-radius:999px;
  background: var(--gold); color: var(--bg); text-decoration:none; font-weight:600; font-size:14px; }
.leaflet-container { font-family: var(--sans); }
.route-stop.selected, .menu-item.selected, .eat-item.selected { background: var(--bg-2); border-left-color: var(--gold); }
.dmd-inline { display: inline-block; margin-top: 6px; color: var(--gold); font-weight: 600; font-size: 13px; text-decoration: none; }
