
body { background: #e8ece9; }
.phone {
  max-width: 430px; margin: 0 auto; min-height: 100dvh; background: #fff;
  position: relative; padding-bottom: 88px; box-shadow: var(--shadow);
}
.app-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: .45rem .7rem .2rem; position: sticky; top: 0; background: #fff; z-index: 5;
}
.header-logo { width: 148px; height: auto; }
.icon-btn {
  width: 42px; height: 42px; border: 0; background: transparent; color: var(--green);
  cursor: pointer; display: grid; place-items: center;
}
.demo-wrap { margin: 0; padding: 0 .9rem .2rem; }
.screen { padding: 0 .9rem 1.2rem; }
.screen-title { font-size: 1.3rem; margin: .3rem 0 .8rem; text-align: center; }
.profile { display: flex; align-items: center; gap: .7rem; margin: .4rem 0 .9rem; }
.avatar {
  width: 64px; height: 64px; border-radius: 50%; background: var(--green);
  color: var(--on-green); font-weight: 800; display: grid; place-items: center; font-size: 1.2rem;
}
.who { flex: 1; }
.who small { display: block; color: var(--muted); }
.who strong { font-size: 1.1rem; }
.toggle { display: flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--green-deep); font-size: 13px; }
.toggle input { appearance: none; width: 0; height: 0; position: absolute; }
.toggle .track {
  width: 44px; height: 26px; background: #ccc; border-radius: 999px; position: relative;
}
.toggle .track::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px;
  background: #fff; border-radius: 50%; transition: .2s;
}
.toggle input:checked + .track { background: var(--green); }
.toggle input:checked + .track::after { left: 21px; }
.stats {
  display: grid; grid-template-columns: repeat(3,1fr); gap: .5rem;
  background: var(--page); border-radius: 16px; padding: .8rem .4rem; text-align: center;
}
.stats b { display: block; font-size: 1.15rem; }
.stats span { color: var(--muted); font-size: 12px; }
.menu-list { margin-top: .8rem; display: grid; }
.menu-list button {
  display: flex; align-items: center; gap: .7rem; width: 100%;
  border: 0; background: #fff; border-bottom: 1px solid var(--line);
  padding: 1rem 0; text-align: left; font-weight: 650; cursor: pointer;
}
.menu-list small { display: block; color: var(--muted); font-weight: 500; }
.badge-n {
  margin-left: auto; background: #e23d3d; color: #fff;
  min-width: 1.3rem; height: 1.3rem; border-radius: 999px;
  display: inline-grid; place-items: center; font-size: 11px;
}
.hero-food { width: 100%; height: 150px; object-fit: cover; border-radius: 16px; }
.offer-block { margin-top: .7rem; }
.place { display: flex; justify-content: space-between; }
.place span { color: var(--muted); font-size: 13px; }
.legs p { position: relative; padding-left: 1.2rem; color: var(--muted); font-size: 14px; }
.legs b { color: var(--ink); }
.legs em { float: right; font-style: normal; font-weight: 700; color: var(--ink); }
.dot { width: 10px; height: 10px; border-radius: 50%; position: absolute; left: 0; top: .35rem; }
.dot.green { background: var(--green); }
.dot.red { background: #e35d6a; }
.trip-stats {
  display: grid; grid-template-columns: repeat(3,1fr); text-align: center;
  background: var(--green-soft); border-radius: 14px; padding: .7rem; margin: .7rem 0 1rem;
  font-size: 12px;
}
.trip-stats .earn { color: var(--green); }
.decline { margin-top: .55rem; }
.stepper {
  display: flex; justify-content: space-between; font-size: 12px; font-weight: 700;
  color: #9aa59d; margin: .3rem 0 1rem; position: relative;
}
.stepper::before {
  content: ""; position: absolute; left: 12%; right: 12%; top: 7px;
  height: 3px; background: var(--line); z-index: 0;
}
.stepper span { position: relative; z-index: 1; padding-top: 18px; text-align: center; flex: 1; }
.stepper span::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--line);
}
.stepper span.on { color: var(--green); }
.stepper span.on::before { background: var(--green); border-color: var(--green); box-shadow: 0 0 0 2px #fff; }
.stepper[data-step="1"]::before { background: linear-gradient(90deg, var(--green) 0 16%, var(--line) 16%); }
.stepper[data-step="3"]::before { background: var(--green); }
.stepper[data-step="3"] span::before { background: var(--green); border-color: var(--green); }
.btn.full { min-height: 52px; font-size: 1.05rem; }
.info-card { background: var(--page); border-radius: 16px; padding: .9rem; margin-bottom: 1rem; }
.split { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.pill { background: var(--mint); color: var(--green-deep); border-radius: 999px; padding: .15rem .5rem; font-size: 12px; font-weight: 700; }
.items { margin: .4rem 0; padding-left: 1.1rem; }
.note { background: var(--green-soft); border-radius: 12px; padding: .7rem; }
.note p { margin: .3rem 0 0; }
.muted { color: var(--muted); }
.map { border-radius: 16px; overflow: hidden; margin-bottom: .7rem; }
.drop-card {
  display: flex; justify-content: space-between; gap: .6rem;
  background: var(--page); border-radius: 14px; padding: .8rem; margin-bottom: .8rem;
}
.drop-card p { margin: 0; position: relative; padding-left: 1rem; }
.drop-card .right { text-align: right; font-weight: 700; padding-left: 0; }
.sub { font-size: 1rem; margin: 0 0 .5rem; }
.photo-row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: .8rem; }
.photo-btn {
  border: 2px dashed var(--mint-deep); border-radius: 14px; padding: 1rem .5rem;
  text-align: center; font-weight: 700; color: var(--green); cursor: pointer; background: var(--green-soft);
}
.photo-preview { background: var(--page); border-radius: 14px; padding: .6rem; margin-bottom: .8rem; text-align: center; }
.photo-preview img { width: 100%; height: 140px; object-fit: cover; border-radius: 10px; }
.period { display: flex; gap: .4rem; margin-bottom: .8rem; }
.period button {
  flex: 1; border: 0; border-radius: 999px; padding: .55rem; font-weight: 700;
  background: var(--page); color: var(--muted); cursor: pointer;
}
.period button.on { background: var(--green); color: var(--on-green); }
.earn-hero {
  background: var(--green-deep); color: #fff; border-radius: 18px; padding: 1rem; text-align: center; margin-bottom: .8rem;
}
.earn-hero h2 { margin: .2rem 0; font-size: 2rem; }
.earn-hero .muted { color: #d7eadb; }
.trips { list-style: none; margin: 0; padding: 0; }
.trips li {
  display: flex; justify-content: space-between; gap: .6rem;
  padding: .8rem 0; border-bottom: 1px solid var(--line);
}
.trips small { display: block; color: var(--muted); font-weight: 500; }
.pad { padding: 0 0 1rem; }
.tabbar {
  position: fixed; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(430px, 100%); background: #fff; border-top: 1px solid var(--line);
  display: flex; z-index: 8;
  padding: .3rem 0 calc(.3rem + env(safe-area-inset-bottom));
}
.tabbar .tab {
  flex: 1; border: 0; background: #fff; color: #8a9690; font-size: 11px; font-weight: 700;
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: .3rem 0; cursor: pointer;
}
.tabbar .tab.on { color: var(--green); }
.toast {
  position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%);
  background: var(--green-dark); color: #fff; padding: .6rem 1rem;
  border-radius: 999px; font-size: 13px; z-index: 15; width: max-content; max-width: 90%;
}
.text-link { border: 0; background: none; color: var(--green-deep); font-weight: 700; cursor: pointer; }
.hint-btn { text-align: center; }
.hide { display: none !important; }

.feature-kicker { color: var(--green-deep); font-weight: 800; letter-spacing: .05em; text-transform: uppercase; font-size: 11px; text-align: center; margin: .2rem 0 0; }

.stepper span.done { color: var(--green); }
.stepper span.done::before {
  content: "✓"; background: var(--green); border-color: var(--green);
  color: var(--on-green); font-size: 10px; line-height: 14px; font-weight: 800;
  display: grid; place-items: center; width: 16px; height: 16px;
  border-radius: 50%; left: 50%; transform: translateX(-50%);
}
.btn.full { border-radius: 14px; font-weight: 800; }
.btn.ghost.full { border-radius: 14px; }

.adjustments {
  margin: .4rem .9rem 1.2rem;
  background: var(--green-soft);
  border: 1px solid var(--mint-deep);
  border-radius: 16px;
  padding: .85rem;
  display: flex; gap: .7rem; align-items: center; justify-content: space-between;
}
.adjustments p { margin: .25rem 0 0; }
.adjustments .btn { flex: 0 0 auto; min-height: 36px; padding: .35rem .7rem; }
