/* Itiner: styles. Colors are CSS variables so themes and dark mode swap them. */

:root {
  --g: #16805a;
  --g2: #2a9d70;
  --gt: #dcf1e6;
  --on: #fff;
  --bg: #fff7ea;
  --card: #fffdf8;
  --ink: #2b2520;
  --mute: #7a6a58;
  --bd: #f5e1bf;
  --shell: #ffe2b8;
  --sh: 0 8px 24px rgba(190, 120, 50, 0.14);
  --land: #fbe7c9;
  --water: #cfe8de;
  --park: #d6ebd2;
  --road: #fffaf0;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --g: #4fc994;
    --g2: #3fb283;
    --gt: #1d3a2d;
    --on: #07261a;
    --bg: #1b1512;
    --card: #272019;
    --ink: #f7ede8;
    --mute: #c4b2aa;
    --bd: #3a2e27;
    --shell: #241a16;
    --sh: 0 8px 24px rgba(0, 0, 0, 0.35);
    --land: #3a2d26;
    --water: #25423d;
    --park: #284636;
    --road: #4a3b33;
  }
}
:root[data-theme='dark'] {
  --g: #4fc994;
  --g2: #3fb283;
  --gt: #1d3a2d;
  --on: #07261a;
  --bg: #1b1512;
  --card: #272019;
  --ink: #f7ede8;
  --mute: #c4b2aa;
  --bd: #3a2e27;
  --shell: #241a16;
  --sh: 0 8px 24px rgba(0, 0, 0, 0.35);
  --land: #3a2d26;
  --water: #25423d;
  --park: #284636;
  --road: #4a3b33;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
html,
body {
  height: 100%;
  margin: 0;
}
body {
  background: var(--shell);
  color: var(--ink);
  font:
    600 15px/1.45 Nunito,
    'Segoe UI',
    system-ui,
    -apple-system,
    sans-serif;
}
button,
input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
}
:focus-visible {
  outline: 3px solid var(--g);
  outline-offset: 2px;
}
.stage {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 70px;
}
.brand {
  display: none;
}
.brand h1 {
  margin: 0;
  font-weight: 400;
  font-size: 46px;
  line-height: 1.25;
  max-width: 11ch;
}
.brand p {
  color: var(--mute);
  max-width: 28ch;
  margin: 18px 0 0;
}
@media (min-width: 900px) {
  .brand {
    display: block;
  }
  .phone {
    height: min(860px, 100%);
    margin: 24px 0;
    border-radius: 42px;
    border: 8px solid var(--card);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
  }
}
.phone {
  width: 100%;
  max-width: 410px;
  height: 100%;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.screen {
  display: none;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}
.screen.on {
  display: block;
}
.pad {
  padding: 0 22px 26px;
}
.bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 22px 6px;
  min-height: 64px;
}
.bar h2 {
  margin: 0;
  flex: 1;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
}
.ib {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--sh);
  display: grid;
  place-items: center;
  flex: none;
  color: var(--ink);
}
.logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--g);
  color: var(--on);
  display: grid;
  place-items: center;
  flex: none;
}
h1.big {
  font-size: 32px;
  line-height: 1.1;
  margin: 12px 0 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
h1.big em {
  font-style: normal;
  color: var(--g);
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border-radius: 18px;
  box-shadow: var(--sh);
  padding: 0 16px;
  color: var(--mute);
}
.search input {
  border: 0;
  background: none;
  flex: 1;
  min-width: 0;
  padding: 16px 0;
  outline: 0;
  color: var(--ink);
}
.search:focus-within {
  box-shadow: 0 0 0 2px var(--g);
}
.sh {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 26px 0 12px;
}
.sh h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}
.sh span {
  font-size: 13px;
  color: var(--mute);
}
.hs {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  margin: 0 -22px;
  padding: 4px 22px 14px;
  scroll-snap-type: x mandatory;
}
.dc {
  flex: none;
  width: 208px;
  height: 280px;
  border-radius: 26px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--sh);
  text-align: left;
  color: #fff;
  scroll-snap-align: start;
}
.art {
  position: relative;
  overflow: hidden;
}
.art svg {
  display: block;
  width: 100%;
  height: 100%;
}
.dc .art {
  position: absolute;
  inset: 0;
}
.dc .ov2 {
  position: absolute;
  inset: auto 0 0 0;
  padding: 44px 16px 16px;
  background: linear-gradient(transparent, rgba(30, 15, 8, 0.72));
}
.dc b {
  display: block;
  font-size: 20px;
  font-weight: 800;
}
.dc small {
  opacity: 0.92;
  font-weight: 700;
}
.mine {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--card);
  box-shadow: var(--sh);
  border-radius: 22px;
  padding: 10px;
  width: 100%;
  text-align: left;
}
.mine .art {
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 16px;
}
.mine small {
  display: block;
  color: var(--mute);
}
.btn {
  display: block;
  width: 100%;
  background: var(--g);
  color: var(--on);
  border-radius: 99px;
  padding: 16px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(22, 128, 90, 0.3);
}
.btn.o {
  background: var(--card);
  color: var(--g);
  border: 1.5px solid var(--g);
  box-shadow: none;
}
.btn.s {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  padding: 9px 15px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: none;
  box-shadow: none;
}
.fld {
  width: 100%;
  background: var(--card);
  border: 0;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: var(--sh);
  outline: 0;
}
.fld:focus {
  box-shadow: 0 0 0 2px var(--g);
}
.lb {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin: 20px 0 8px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  background: var(--card);
  box-shadow: var(--sh);
  border-radius: 99px;
  padding: 9px 16px;
  font-weight: 700;
  font-size: 14px;
  color: var(--mute);
}
.chip[aria-pressed='true'] {
  background: var(--g);
  color: var(--on);
}
.step {
  display: flex;
  align-items: center;
  gap: 14px;
}
.step button {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--sh);
  font-size: 22px;
  font-weight: 800;
  color: var(--g);
}
.step b {
  min-width: 64px;
  text-align: center;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(56px, 1fr));
  gap: 10px 8px;
}
.tile {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--mute);
}
.tile span {
  width: 100%;
  aspect-ratio: 1;
  max-width: 58px;
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--sh);
  display: grid;
  place-items: center;
  border: 2px solid transparent;
}
.tile[aria-pressed='true'] {
  color: var(--g);
}
.tile[aria-pressed='true'] span {
  border-color: var(--g);
  background: var(--gt);
}
/* map */
.mapcard {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--sh);
  aspect-ratio: 360/230;
  background: var(--land);
}

.mland {
  fill: var(--land);
}
.mwater {
  fill: var(--water);
}
.mpark {
  fill: var(--park);
}
.mroad {
  fill: none;
  stroke: var(--road);
  stroke-width: 7;
  stroke-linecap: round;
}
.mroad.th {
  stroke-width: 3;
}
.route {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.route.anim {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1.2s ease forwards;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
.pin {
  animation: drop 0.55s cubic-bezier(0.3, 1.6, 0.5, 1) both;
  transform-box: fill-box;
  transform-origin: 50% 100%;
}
.pin.st {
  animation: none;
}
@keyframes drop {
  from {
    opacity: 0;
    transform: translateY(-28px) scale(0.6);
  }
}
.pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: pu 1.6s ease-out infinite;
  opacity: 0.35;
}
@keyframes pu {
  to {
    transform: scale(2);
    opacity: 0;
  }
}
.tint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: background-color 0.6s;
  background-color: transparent;
}
.tint[data-p='m'] {
  background-color: rgba(255, 190, 130, 0.26);
}
.tint[data-p='e'] {
  background-color: rgba(60, 40, 120, 0.26);
}
.mchip {
  position: absolute;
  left: 12px;
  top: 12px;
  background: var(--card);
  color: var(--ink);
  border-radius: 99px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: var(--sh);
}
.mbar {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: var(--card);
  border-radius: 16px;
  padding: 10px 14px;
  display: none;
  box-shadow: var(--sh);
  font-size: 13px;
  font-weight: 700;
}
.mbar.on {
  display: block;
}
.pb {
  height: 8px;
  background: var(--gt);
  border-radius: 99px;
  margin-top: 8px;
  overflow: hidden;
}
.pb i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--g);
  border-radius: 99px;
  transition: width 0.5s;
}
/* gen */
.gen {
  padding: 60px 22px 26px;
}
.gen h2 {
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.gpills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.gp {
  padding: 7px 14px;
  border-radius: 99px;
  background: var(--card);
  box-shadow: var(--sh);
  color: var(--mute);
  font-weight: 800;
  font-size: 13px;
}
.gp.done {
  background: var(--g);
  color: var(--on);
}
.gp.now {
  box-shadow: 0 0 0 2px var(--g);
  color: var(--g);
}
.pct {
  font-size: 64px;
  font-weight: 800;
  color: var(--g);
  line-height: 1;
  letter-spacing: -0.04em;
}
/* trip */
.dchips {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin: 16px -22px 0;
  padding: 0 22px 6px;
}
.dp {
  flex: none;
  min-width: 62px;
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--sh);
  padding: 8px 10px;
  text-align: center;
  line-height: 1.15;
  color: var(--mute);
}
.dp b {
  display: block;
  font-size: 18px;
  color: var(--ink);
}
.dp small {
  font-weight: 700;
  font-size: 11px;
}
.dp[aria-selected='true'] {
  background: var(--g);
  color: var(--on);
}
.dp[aria-selected='true'] b {
  color: var(--on);
}
.dh {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 14px;
  flex-wrap: wrap;
}
.dh h3 {
  margin: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 800;
  min-width: 80px;
}
.tl {
  position: relative;
  padding-left: 52px;
}
.tl:before {
  content: '';
  position: absolute;
  left: 19px;
  top: 20px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(var(--g), var(--g2), var(--gt));
}
.it {
  position: relative;
  margin-bottom: 6px;
  transition:
    opacity 0.35s,
    filter 0.35s,
    transform 0.35s;
}
.it.in {
  animation: rise 0.55s both cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}
.out .it:not(.lk) {
  opacity: 0.25;
  filter: blur(2px);
  transform: translateX(14px);
}
.node {
  position: absolute;
  left: -52px;
  top: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card);
  box-shadow: var(--sh);
  display: grid;
  place-items: center;
  color: var(--g);
}
.ic2 {
  background: var(--card);
  box-shadow: var(--sh);
  border-radius: 20px;
  padding: 12px 16px;
}
.ic2.open {
  box-shadow:
    0 0 0 2px var(--g),
    var(--sh);
}
.hd {
  display: block;
  width: 100%;
  text-align: left;
}
.hd .t {
  color: var(--g);
  font-size: 12.5px;
  font-weight: 800;
}
.hd h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}
.hd p {
  margin: 2px 0 0;
  color: var(--mute);
  font-size: 13.5px;
}
.lkb {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--g);
  background: var(--gt);
  border-radius: 99px;
  padding: 1px 8px;
  margin-top: 4px;
}
.ac {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.ac button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1.5px solid var(--g);
  color: var(--g);
  border-radius: 12px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 800;
}
.ac button:disabled {
  opacity: 0.35;
}
.tv {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--mute);
  background: var(--gt);
  border-radius: 99px;
  padding: 3px 10px;
  margin: 0 0 6px 4px;
}
.add {
  border: 2px dashed var(--g);
  color: var(--g);
  border-radius: 18px;
  padding: 13px;
  width: 100%;
  font-weight: 800;
  margin-top: 10px;
}
.nav {
  display: flex;
  background: var(--card);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
  padding: 10px 0 12px;
}
.nv {
  flex: 1;
  display: grid;
  justify-items: center;
  gap: 2px;
  font-size: 11px;
  font-weight: 700;
  color: var(--mute);
}
.nv.on {
  color: var(--g);
}
.ov {
  position: absolute;
  inset: 0;
  background: rgba(40, 20, 10, 0.45);
  display: none;
  align-items: flex-end;
  z-index: 10;
}
.ov.on {
  display: flex;
}
.sheet {
  background: var(--bg);
  border-radius: 30px 30px 0 0;
  width: 100%;
  padding: 22px 22px calc(22px + env(safe-area-inset-bottom, 0px));
}
.sheet h3 {
  margin: 0;
  font-size: 19px;
}
.sheet .lb {
  margin: 12px 0 6px;
}
.two {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.two > * {
  flex: 1;
}
.link {
  color: #c9302c;
  font-weight: 800;
  padding: 12px;
  width: 100%;
}
.toast {
  position: absolute;
  left: 50%;
  bottom: 90px;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  white-space: nowrap;
  z-index: 20;
}
.toast.show {
  opacity: 1;
}
.sw {
  display: flex;
  gap: 10px;
  margin: 6px 0 0;
  align-items: center;
}
.sw button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid var(--card);
  box-shadow: 0 0 0 1px var(--bd);
}
.sw button[aria-pressed='true'] {
  box-shadow: 0 0 0 3px var(--g);
}
.tc {
  position: absolute;
  top: 18px;
  right: 16px;
  display: flex;
  gap: 8px;
  z-index: 25;
}
.tc .ib {
  width: 40px;
  height: 40px;
  border-radius: 13px;
}
.pop2 {
  position: absolute;
  top: 66px;
  right: 16px;
  z-index: 30;
  background: var(--card);
  border-radius: 20px;
  padding: 14px 16px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}
.pl {
  font-weight: 800;
  font-size: 12px;
  color: var(--mute);
  margin-bottom: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pop2 .sw {
  margin: 0;
}
.hid {
  display: none !important;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  .route.anim {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
  }
}

.mapcard {
  aspect-ratio: auto;
  height: 240px;
  isolation: isolate;
}
.leaflet-control-attribution {
  font-size: 10px;
}
.mchip,
.mbar,
.tint,
.mempty {
  z-index: 1100;
}
.mempty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  background: color-mix(in srgb, var(--bg) 75%, transparent);
  font-weight: 700;
  color: var(--mute);
}
.leaflet-container {
  font: inherit;
  background: var(--land);
}
.nt .leaflet-tile-pane {
  filter: invert(1) hue-rotate(180deg) brightness(0.95) contrast(0.9);
}
.lp {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid #fff;
  color: #fff;
  font:
    800 12px/22px Nunito,
    sans-serif;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.lp.on {
  font-size: 13px;
  line-height: 28px;
}
.lp.drop {
  animation: drop 0.55s cubic-bezier(0.3, 1.6, 0.5, 1) both;
}
.lc {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #8b969e;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.lc.on {
  background: #0b3d2b;
  box-shadow:
    0 0 0 6px rgba(11, 61, 43, 0.25),
    0 2px 8px rgba(0, 0, 0, 0.35);
}
.rfade {
  animation: rf 1.1s ease both;
}
@keyframes rf {
  from {
    opacity: 0;
  }
}
.leg {
  background: var(--card);
  box-shadow: var(--sh);
  border-radius: 18px;
  padding: 8px 10px;
  margin: 0 0 8px 4px;
}
.lm {
  display: flex;
  background: var(--bg);
  border-radius: 12px;
  padding: 3px;
  gap: 2px;
}
.lm button {
  flex: 1;
  padding: 6px 4px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  color: var(--mute);
}
.lm button[aria-pressed='true'] {
  background: var(--g);
  color: var(--on);
}
.lr {
  font-size: 13.5px;
  margin-top: 6px;
}
.lr b {
  font-size: 16px;
}
.lr a {
  color: var(--g);
  font-weight: 800;
}
.live {
  color: var(--g);
  font-size: 10.5px;
  font-weight: 800;
  margin-left: 6px;
  letter-spacing: 0.04em;
}
.nol,
.adr {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  margin-top: 4px;
}
.nol {
  color: var(--mute);
}
.adr {
  color: var(--g);
}
.ps {
  position: absolute;
  inset: 0;
  background: var(--bg);
  z-index: 12;
  overflow-y: auto;
}
.seg {
  display: flex;
  background: var(--card);
  border-radius: 16px;
  padding: 4px;
  box-shadow: var(--sh);
  margin: 4px 0 12px;
}
.seg button {
  flex: 1;
  padding: 10px 4px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 13.5px;
  color: var(--mute);
}
.seg button[aria-pressed='true'] {
  background: var(--g);
  color: var(--on);
}
.cityc {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  background: var(--gt);
  color: var(--g);
  border-radius: 99px;
  padding: 6px 14px;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 10px;
}
.srch {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border-radius: 18px;
  box-shadow: var(--sh);
  padding: 6px 6px 6px 16px;
  color: var(--mute);
}
.srch input {
  border: 0;
  background: none;
  flex: 1;
  min-width: 0;
  padding: 10px 0;
  outline: 0;
  font-weight: 700;
  color: var(--ink);
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.rr {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  text-align: left;
  background: var(--card);
  border-radius: 20px;
  padding: 12px 14px;
  margin-bottom: 10px;
  box-shadow: var(--sh);
}
.rr.best {
  outline: 2px solid var(--g);
}
.rr h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}
.rr small {
  display: block;
  color: var(--mute);
  font-weight: 600;
}
.tg {
  display: inline-block;
  background: var(--gt);
  color: var(--g);
  border-radius: 99px;
  padding: 1px 9px;
  font-size: 11px;
  font-weight: 800;
  margin-left: 8px;
}
.dist {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--mute);
  margin-top: 3px;
}
.lnk {
  display: block;
  width: 100%;
  text-align: center;
  color: var(--g);
  font-weight: 800;
  padding: 14px;
}
.msg {
  color: var(--mute);
  font-weight: 600;
  margin: 10px 0;
}
.pcard {
  padding: 14px 0 26px;
}
.pa {
  display: flex;
  gap: 6px;
  color: var(--mute);
  margin: 8px 0 14px;
  font-weight: 600;
  font-size: 14px;
}
.plc {
  font-weight: 800;
  font-size: 16px;
}

.stay {
  background: var(--card);
  border-radius: 22px;
  padding: 6px 16px 16px;
  box-shadow: var(--sh);
  margin-top: 14px;
}
.sth {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}
.rm {
  color: #c9302c;
  font-weight: 800;
  font-size: 13px;
}
.stay .lb {
  margin: 10px 0 6px;
}
.stay .fld {
  background: var(--bg);
  box-shadow: none;
}
.dp .dpl {
  display: block;
  font-size: 10.5px;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cats {
  margin: 14px 0 4px;
}
.cats .lb3 {
  display: block;
  font-weight: 800;
  font-size: 13px;
  color: var(--mute);
  margin-bottom: 8px;
}
.cats .chips {
  gap: 6px;
}
.cats .chip {
  padding: 7px 13px;
  font-size: 13px;
}
.nb {
  margin-top: 12px;
  border-top: 1px solid var(--bd);
  padding-top: 10px;
}
.nbh {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nbh button {
  color: var(--g);
  font-weight: 800;
  font-size: 13px;
}
.nb ul {
  list-style: none;
  margin: 8px 0;
  padding: 0;
}
.nb li {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 6px 0;
}
.nbk {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #fff;
  font:
    800 12px/26px Nunito,
    sans-serif;
  text-align: center;
  flex: none;
}
.nb li small {
  display: block;
  color: var(--mute);
  font-weight: 600;
}
.nb a {
  color: var(--g);
  font-weight: 800;
}
.gl {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}
.gl li {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 6px 0;
  color: var(--mute);
  font-weight: 700;
}
.gl .ic {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--bd);
  display: grid;
  place-items: center;
  font-size: 12px;
  flex: none;
}
.gl li.on {
  color: var(--ink);
}
.gl li.on .ic {
  border-color: var(--g);
  border-top-color: transparent;
  animation: sp 0.8s linear infinite;
}
.gl li.done {
  color: var(--ink);
}
.gl li.done .ic {
  background: var(--g);
  border-color: var(--g);
  color: var(--on);
}
@keyframes sp {
  to {
    transform: rotate(360deg);
  }
}
.mrow {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}
.mrow .mine {
  flex: 1;
  min-width: 0;
}
.mdel {
  min-width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--sh);
  color: #c9302c;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 12px;
  padding: 0 10px;
}
.mdel.arm {
  background: #c9302c;
  color: #fff;
}
.ac button[data-a='rm'] {
  border-color: #c9302c;
  color: #c9302c;
}
.trow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
#tmeta {
  font-weight: 700;
  color: var(--mute);
  font-size: 14px;
}
.wm {
  font-family: Fraunces, Georgia, serif !important;
  font-weight: 700 !important;
  font-size: 26px !important;
  letter-spacing: -0.5px;
}
.logo2 {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
}
.logo2 svg,
.brand svg {
  display: block;
}

.dnav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 4px;
}
.dtt {
  flex: 1;
  text-align: center;
  min-width: 0;
}
.dtt h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}
.dtt small {
  display: block;
  color: var(--mute);
  font-weight: 700;
  font-size: 13px;
}
.dnav .ib:disabled {
  opacity: 0.35;
}
.per {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--g);
  margin: 12px 0 6px 2px;
}
.leg {
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  margin: 0 0 6px 4px;
}
.lsum {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  font-size: 12.5px;
  color: var(--mute);
  font-weight: 700;
  background: var(--gt);
  border-radius: 99px;
  padding: 6px 12px;
}
.lsum b {
  color: var(--ink);
}
.lsum a {
  color: var(--g);
  font-weight: 800;
}
.lchg {
  color: var(--g);
  font-weight: 800;
  font-size: 12px;
  flex: none;
}
.leg .lm {
  margin-top: 6px;
}
.dvr {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  text-align: left;
  background: var(--card);
  border-radius: 18px;
  padding: 10px 14px;
  margin-bottom: 8px;
  box-shadow: var(--sh);
}
.dvr.on {
  outline: 2px solid var(--g);
}
.dvd {
  width: 46px;
  text-align: center;
  flex: none;
  line-height: 1.1;
}
.dvd small {
  display: block;
  color: var(--mute);
  font-weight: 700;
  font-size: 11px;
}
.dvd b {
  font-size: 20px;
  font-weight: 800;
}
.dvt {
  min-width: 0;
}
.dvt b {
  display: block;
}
.dvt small {
  display: block;
  color: var(--mute);
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dvt em {
  font-style: normal;
  color: var(--mute);
  font-size: 12px;
  font-weight: 700;
}
@media (max-width: 560px) {
  .phone {
    max-width: none;
  }
}
.cbx {
  position: relative;
}
.sug {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  background: var(--card);
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
  list-style: none;
  margin: 0;
  padding: 6px;
  z-index: 20;
  max-height: 270px;
  overflow-y: auto;
}
.sug li[role='option'] {
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
}
.sug li b {
  display: block;
}
.sug li small {
  color: var(--mute);
  font-weight: 600;
}
.sug li.on,
.sug li[role='option']:hover {
  background: var(--gt);
}
.sugn {
  padding: 8px 12px;
  color: var(--mute);
  font-size: 13px;
  font-weight: 700;
}
.pk {
  font-size: 13px;
  font-weight: 700;
  color: var(--g);
  margin-top: 6px;
}
.lnk2 {
  color: var(--g);
  font-weight: 800;
  font-size: 13px;
  padding: 8px 0 2px;
}
.useg {
  display: flex;
  background: var(--bg);
  border-radius: 12px;
  padding: 3px;
  gap: 2px;
}
.useg button {
  flex: 1;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  color: var(--mute);
}
.useg button[aria-pressed='true'] {
  background: var(--g);
  color: var(--on);
}

/* Welcome screen */
.no-splash .splash {
  display: none;
}
.splash {
  position: absolute;
  inset: 0;
  z-index: 40;
  background: var(--bg);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  outline: 0;
  cursor: pointer;
  transition:
    opacity 0.45s ease,
    visibility 0.45s;
}
.splash.out {
  opacity: 0;
  visibility: hidden;
}
.splash-seal {
  animation: splashIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.splash-seal svg {
  display: block;
  max-width: 70vw;
  height: auto;
}
.splash-tag {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: 19px;
  color: var(--mute);
  animation: splashUp 0.7s ease 1s both;
}
.splash .gpin {
  animation: splashFade 0.45s ease both;
  animation-delay: calc(0.7s + var(--i) * 0.22s);
}
.splash .route-dots {
  animation: splashDots 1.6s linear infinite;
}
@keyframes splashIn {
  from {
    opacity: 0;
    transform: scale(0.86);
  }
}
@keyframes splashUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
@keyframes splashFade {
  from {
    opacity: 0;
  }
}
@keyframes splashDots {
  to {
    stroke-dashoffset: -7.1;
  }
}

/* Welcome screen: English first, then Spanish */
.splash-text {
  text-align: center;
}
.splash-hello {
  margin: 0 0 4px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
  animation: splashUp 0.7s ease 0.7s both;
}
.splash-seal text {
  transition: opacity 0.5s ease;
}
/* Fade the words (and the logo caption) out. Removing the class brings the next words in with a fade-up. */
.splash.swapping .splash-text {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.splash.swapping .splash-seal text:last-of-type {
  opacity: 0;
}
.splash-text.reveal .splash-hello {
  animation: splashUp2 0.7s ease 0.1s both;
}
.splash-text.reveal .splash-tag {
  animation: splashUp2 0.7s ease 0.45s both;
}
@keyframes splashUp2 {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* Floating buttons: tidy up while scrolling */
.tc {
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}
.tc.tc-hide {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}
.ac .mv {
  display: inline-flex;
  gap: 6px;
}

/* Date and time fields: some phone browsers (iOS Safari) give them a fixed width, so reset it */
.stay .two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}
.stay .two > div {
  min-width: 0;
}
.fld[type='date'],
.fld[type='time'] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 50px;
  text-align: left;
}
.fld[type='date']::-webkit-date-and-time-value,
.fld[type='time']::-webkit-date-and-time-value {
  text-align: left;
  margin: 0;
  min-width: 0;
}

/* Settings panel: your data */
.note {
  margin: 0 0 8px;
  max-width: 230px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mute);
}
.erase {
  width: 100%;
  padding: 9px;
  border-radius: 12px;
  border: 1.5px solid #c9302c;
  color: #c9302c;
  font-weight: 800;
  font-size: 13px;
  background: transparent;
}
.erase.arm {
  background: #c9302c;
  color: #fff;
}
