:root {
  --primary: #1E6091;
  --primary-dark: #164A73;
  --accent: #E07A5F;
  --accent-soft: #FDEEE9;
  --bg: #F6F1EA;
  --card: #ffffff;
  --ink: #1C1917;
  --muted: #6B625B;
  --line: #E8DED3;
  --ok: #2F9E6B;
  --danger: #C2410C;
  --shadow: 0 10px 30px rgba(28, 25, 23, 0.08);
  --radius: 22px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; min-height: 100%; overflow-x: hidden; overflow-anchor: none; }
body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
}
h1, h2, h3, .brand { font-family: Outfit, sans-serif; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
.hidden { display: none !important; }
.app {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  min-height: 100dvh;
  position: relative;
  background: var(--bg);
  overflow-x: hidden;
}
.app.wide { max-width: 720px; }
.screen { min-height: 100dvh; padding-bottom: 28px; }

.login-hero { width: 100%; height: 42vh; object-fit: cover; }
.login-sheet {
  margin-top: -28px;
  background: var(--bg);
  border-radius: 28px 28px 0 0;
  padding: 28px 22px 40px;
  position: relative;
}
.logo-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.logo-row img { width: 52px; height: 52px; border-radius: 16px; }
.brand { font-size: 28px; margin: 0; }
.lead { color: var(--muted); margin: 0 0 16px; }
.how { display: grid; gap: 8px; margin: 0 0 20px; }
.how-step {
  background: #fff; border-radius: 16px; padding: 12px 14px;
  box-shadow: var(--shadow);
}
.how-step strong { display: block; font-size: 14px; }
.how-step span { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.seo-faq { margin: 18px 0 8px; }
.seo-faq h2 { font-size: 18px; margin: 0 0 10px; }
.seo-faq .how-step { margin-bottom: 8px; }
.home-how { padding: 0 16px 16px; margin: 0; }
.explain { padding: 0 16px 14px; }
.explain h3 { margin: 0 0 6px; font-size: 18px; }
.explain p { margin: 0; color: var(--muted); font-size: 14px; }
.admin-banner {
  margin: 0 16px 18px; background: #fff; border-radius: var(--radius);
  padding: 16px; display: flex; justify-content: space-between; align-items: center;
  gap: 12px; box-shadow: var(--shadow);
}
.admin-money {
  margin: 0 16px 12px; background: #fff; border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow);
}
.admin-money .money-sum {
  display: block; font-size: 32px; letter-spacing: -0.04em; color: var(--ok); margin: 2px 0;
}
.admin-money-free .money-sum { color: var(--primary); }
.money-periods {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 12px;
}
.money-periods div {
  background: #F4F7FB; border-radius: 12px; padding: 10px 8px;
}
.money-periods strong { display: block; font-size: 18px; letter-spacing: -0.03em; }
.money-periods span { display: block; font-size: 11px; color: var(--muted); font-weight: 700; margin-top: 2px; }
.admin-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 8px 16px 16px;
}
.stat { background: #fff; border-radius: 16px; padding: 14px; box-shadow: var(--shadow); }
.stat strong { display: block; font-size: 26px; color: var(--primary); }
.stat span { font-size: 13px; color: var(--muted); font-weight: 700; }
.ai-fuel {
  margin: 0 16px 12px; background: #fff; border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow);
}
.ai-fuel strong { display: block; font-size: 18px; margin: 4px 0; }
.ai-fuel.low { border: 2px solid #E65100; }
.ai-fuel.empty { border: 2px solid #C2410C; }
.ai-bar { height: 10px; background: #F3EEE8; border-radius: 999px; overflow: hidden; margin-top: 10px; }
.ai-bar span { display: block; height: 100%; background: var(--ok); border-radius: 999px; }
.ai-fuel.low .ai-bar span { background: #E65100; }
.ai-fuel.empty .ai-bar span { background: #C2410C; }
.admin-user {
  background: #fff; border-radius: var(--radius); padding: 16px; margin-bottom: 12px;
  box-shadow: var(--shadow);
}
.admin-user h3 { margin: 0 0 4px; font-size: 18px; }
.admin-board {
  padding: 8px 16px 28px;
}
.admin-board h3 { margin: 0 0 8px; font-size: 18px; }
.admin-board input[type="search"] { margin-bottom: 4px; }
.admin-row {
  width: 100%;
  text-align: left;
  background: #fff;
  border: 0;
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 10px;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}
.admin-row-tags { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; flex: 0 0 auto; }
.admin-searches { margin-top: 10px; display: grid; gap: 8px; }
.admin-search { background: var(--bg); border-radius: 14px; padding: 10px 12px; }
label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  outline: none;
}
textarea { min-height: 110px; resize: vertical; }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; border: 0; border-radius: 16px; padding: 16px;
  font-weight: 800; cursor: pointer;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-danger { background: #fff; color: var(--danger); border: 1px solid #FECACA; }
.btn[disabled] { opacity: .55; }
.err { color: var(--danger); font-weight: 700; font-size: 14px; min-height: 20px; margin: 10px 0; }

.top {
  padding: 18px 20px 8px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.top h1 { font-size: 26px; margin: 0; }
.icon-btn {
  width: 42px; height: 42px; border: 0; background: #fff; border-radius: 14px;
  display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow);
}
.logout-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  border-radius: 14px; padding: 8px 12px; font-weight: 800; cursor: pointer;
  box-shadow: var(--shadow);
}
.logout-btn svg { display: block; }
.hero-card {
  margin: 8px 16px 18px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  min-height: 210px;
  box-shadow: var(--shadow);
}
.hero-card img { width: 100%; height: 230px; object-fit: cover; }
.hero-card .cap {
  position: absolute; inset: auto 0 0; padding: 22px;
  background: linear-gradient(transparent, rgba(15,23,42,.78));
  color: #fff;
}
.hero-card h2 { margin: 0 0 4px; font-size: 26px; }
.hero-card p { margin: 0; opacity: .92; }

.features { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; padding: 0 16px 18px; }
.feat { background: #fff; border-radius: 18px; padding: 12px 8px; text-align: center; box-shadow: var(--shadow); }
.feat img { width: 54px; height: 54px; margin: 0 auto 6px; border-radius: 14px; object-fit: cover; }
.feat span { font-size: 12px; font-weight: 700; }

.section { padding: 0 16px 16px; }
.section h3 { margin: 0 0 12px; font-size: 18px; }
.price-banner {
  margin: 0 16px 18px;
  background: #fff;
  border-radius: var(--radius);
  padding: 16px;
  display: flex; justify-content: space-between; align-items: center;
  box-shadow: var(--shadow);
}
.price-banner strong { font-size: 22px; color: var(--primary); }
.lan-hint {
  margin: 0 16px 20px;
  background: #E9F4F9;
  color: var(--primary);
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 600;
}

.trip-card, .empty {
  background: #fff; border-radius: var(--radius); padding: 16px;
  box-shadow: var(--shadow); margin-bottom: 12px;
}
.empty { text-align: center; padding: 22px 16px 18px; }
.empty img { width: 100%; max-height: 160px; object-fit: cover; border-radius: 16px; margin-bottom: 12px; }
.trip-card h4 { margin: 0 0 4px; font-size: 18px; }
.trip-meta { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.badge {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; padding: 4px 8px; border-radius: 999px;
}
.badge.ok { background: #DCFCE7; color: #166534; }
.badge.wait { background: #FEF3C7; color: #92400E; }
.badge.draft { background: #E0F2FE; color: #075985; }
.row-btns { display: flex; gap: 8px; }
.row-btns .btn { padding: 12px; }

.wizard-head { padding: 16px 16px 0; }
.progress { height: 8px; background: #eadfd4; border-radius: 99px; overflow: hidden; margin: 10px 0 6px; }
.progress > span { display: block; height: 100%; background: var(--primary); width: 0; transition: width .25s; }
.step-count { color: var(--muted); font-size: 13px; font-weight: 700; }
.wizard-body { padding: 18px 20px 24px; }
.wizard-body h2 { font-size: 28px; margin: 0 0 8px; }
.cal-pick {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 12px;
}
.cal-box {
  background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 10px 12px;
}
.cal-box span { display: block; font-size: 11px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.cal-box strong { display: block; font-size: 18px; margin-top: 2px; }
.cal-box.on { border-color: var(--primary); }
.cal-box.wait { border-color: var(--accent); }
.cal {
  background: #fff; border-radius: 22px; padding: 8px 6px 12px; box-shadow: var(--shadow);
}
.cal-head { display: flex; justify-content: space-between; padding: 0 4px 4px; }
.cal-months { display: grid; gap: 14px; }
.cal-month-title { text-align: center; font-weight: 800; font-size: 16px; margin: 0 0 8px; }
.cal-week, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-week { text-align: center; font-size: 11px; font-weight: 800; color: var(--muted); margin-bottom: 4px; text-transform: lowercase; }
.cal-day {
  border: 0; background: transparent; min-height: 44px; padding: 0; font-weight: 800;
  cursor: pointer; position: relative;
}
.cal-day.empty { cursor: default; min-height: 44px; }
.cal-day span {
  display: grid; place-items: center; width: 36px; height: 36px; margin: 0 auto;
  border-radius: 50%; position: relative; z-index: 1;
}
.cal-day.in { background: var(--accent-soft); }
.cal-day.start:not(.solo) { background: linear-gradient(to right, transparent 50%, var(--accent-soft) 50%); }
.cal-day.end:not(.solo) { background: linear-gradient(to left, transparent 50%, var(--accent-soft) 50%); }
.cal-day.start span, .cal-day.end span { background: var(--accent); color: #fff; }
.cal-day.today:not(.start):not(.end) span { box-shadow: inset 0 0 0 2px var(--primary); }
.cal-day.disabled { color: #c4b8ae; cursor: default; }
.cal-day:disabled { color: #c4b8ae; }
.help { color: var(--muted); margin: 0 0 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 10px 14px; font-weight: 700; cursor: pointer;
}
.chip.on { background: var(--primary); color: #fff; border-color: var(--primary); }
.mode-pick { display: grid; gap: 12px; }
.mode-card {
  background: #fff; border: 2px solid var(--line); border-radius: 20px;
  padding: 22px 18px; text-align: left; font-weight: 800; font-size: 22px;
  cursor: pointer;
}
.mode-card small { display: block; font-size: 14px; font-weight: 600; color: var(--muted); margin-top: 6px; }
.mode-card.on { border-color: var(--primary); background: #E9F4F9; color: var(--primary); }
.stay-box {
  background: #fff; border-radius: 18px; padding: 12px 14px;
  margin: 12px 0; box-shadow: var(--shadow);
}
.ride-line {
  background: #E9F4F9; color: var(--primary);
  border-radius: 12px; padding: 10px 12px; margin: 8px 0;
  font-size: 14px; font-weight: 600;
}
.hotel-hits { display: grid; gap: 10px; margin-top: 12px; }
.hotel-hits .mode-card { font-size: 16px; padding: 14px 16px; }
.people { display: grid; gap: 10px; margin-bottom: 12px; }
.person {
  display: flex; align-items: center; gap: 10px; background: #fff;
  border-radius: 16px; padding: 10px 12px; border: 1px solid var(--line);
}
.person span { flex: 1; font-weight: 700; }
.person input { width: 84px; text-align: center; padding: 10px; }
.wizard-nav {
  position: sticky; bottom: 0; display: flex; gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(transparent, var(--bg) 30%);
}

.load-wrap { min-height: 100dvh; display: grid; place-items: center; padding: 30px; text-align: center; }
.legal-links { text-align: center; margin: 8px 16px 20px; }
.legal-links a { color: var(--muted); font-weight: 700; }
.spinner {
  width: 54px; height: 54px; border-radius: 50%;
  border: 5px solid #eadfd4; border-top-color: var(--primary);
  animation: spin 1s linear infinite; margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.day-scroller {
  display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px;
  background: #fff; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20; scrollbar-width: none;
  width: 100%; max-width: 100%;
}
.day-scroller::-webkit-scrollbar { display: none; }
.day-btn {
  flex: 0 0 auto; border: 1px solid var(--line); background: var(--bg);
  border-radius: 999px; padding: 10px 16px; font-weight: 700; color: var(--muted);
}
.day-btn.on { background: var(--primary); color: #fff; border-color: var(--primary); }
.day-btn.today { outline: 2px solid var(--accent); }
.quick-bar {
  display: flex; gap: 8px; padding: 0 16px 10px;
}
.quick-bar a {
  flex: 1; text-align: center; text-decoration: none; font-weight: 800;
  padding: 10px 8px; border-radius: 14px; font-size: 14px;
}
.quick-sos { background: #DC2626; color: #fff; }
.quick-hotel { background: #1E6091; color: #fff; }
.wx { color: var(--muted); font-size: 13px; font-weight: 700; }
.now-banner {
  margin: 0 16px 12px; background: #FFF7ED; border: 1px solid #FED7AA;
  border-radius: 16px; padding: 12px 14px;
}
.now-banner strong { display: block; margin-bottom: 6px; }
.activity.now { border: 2px solid var(--accent); box-shadow: 0 0 0 4px #FDEEE9; }
.note-box { width: 100%; min-height: 64px; margin-top: 8px; font-size: 14px; }
.hide-done { background: none; border: 0; color: var(--primary); font-weight: 800; font-size: 13px; }
.activity {
  background: #fff; border-radius: var(--radius); padding: 16px; margin: 0 16px 12px;
  box-shadow: var(--shadow);
}
.review-day { margin: 18px 0 8px; }
.review-day .card-photo { margin-top: 8px; }
.card-photo, .review-hero {
  width: 100%; height: 160px; object-fit: cover; border-radius: 16px; margin-bottom: 12px;
}
.review-hero { height: 190px; }
.activity.done { opacity: 1; }
.activity.compact {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
}
.activity.compact h3 {
  margin: 0; font-size: 15px; flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.activity.compact .mini { flex: 0 0 auto; }
.time { background: #E9F4F9; color: var(--primary); font-weight: 800; font-size: 13px; padding: 4px 10px; border-radius: 999px; }
.activity h3 { margin: 8px 0 6px; font-size: 18px; }
.note { background: var(--accent-soft); border-left: 4px solid var(--accent); padding: 10px 12px; border-radius: 10px; color: #9C3818; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.mini {
  background: #F3EEE8; border: 0; border-radius: 12px; padding: 8px 12px;
  font-weight: 700; font-size: 13px; text-decoration: none; color: var(--ink);
}
.mini.map { background: #E8F5E9; color: #2E7D32; }
.mini.done-on { background: #E8F5E9; color: #2E7D32; }
.mini.ticket { background: #FFF3E0; color: #E65100; }
.bottom {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 40;
  background: #fff;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-around;
  gap: 2px;
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 24px rgba(28, 25, 23, .06);
}
.nav-item {
  background: none; border: 0; color: var(--muted); font-size: 11px; font-weight: 800;
  display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer;
}
.nav-item.on { color: var(--primary); }
.pad { padding: 16px; }
.quick {
  display: flex; justify-content: space-between; align-items: center;
  background: #fff; border-radius: 16px; padding: 14px; margin-bottom: 10px; box-shadow: var(--shadow);
}
.call { background: #16a34a; color: #fff; text-decoration: none; padding: 10px 14px; border-radius: 12px; font-weight: 800; }
.modal {
  display: none; position: fixed; inset: 0; background: rgba(28, 25, 23, .48);
  align-items: center; justify-content: center; z-index: 50; padding: 24px;
}
.modal.show { display: flex; }
.sheet {
  background: #fff; width: min(100%, 360px); margin: 0;
  border-radius: 24px; padding: 22px 18px 20px; position: relative;
  box-shadow: 0 18px 50px rgba(28, 25, 23, .18);
  max-height: 85dvh; overflow-y: auto;
}
.sheet small { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 4px; }
#swap-opts { max-height: 46vh; overflow-y: auto; }
.notice {
  display: none; position: fixed; inset: 0; background: rgba(28, 25, 23, .48);
  align-items: center; justify-content: center; z-index: 200; padding: 24px;
}
.notice.show { display: flex; }
.notice-sheet {
  background: #fff; width: min(100%, 360px); margin: 0;
  border-radius: 24px; padding: 22px 18px 20px; position: relative;
  box-shadow: 0 18px 50px rgba(28, 25, 23, .18);
}
.notice-close, .sheet-close {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px;
  border: 0; border-radius: 12px; background: #F3EEE8; color: var(--ink);
  font-size: 22px; line-height: 1; cursor: pointer;
}
.notice-hint { margin: 10px 0 0; font-size: 12px; color: var(--muted); text-align: center; }
.notice-icon {
  width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 12px;
}
.notice-icon.ask { background: #E9F4F9; color: var(--primary); }
.notice-icon.ok { background: #E8F5E9; color: var(--ok); }
.notice-sheet h3 { margin: 0 0 8px; font-size: 22px; }
.notice-sheet p { margin: 0 0 18px; color: var(--muted); }
.review-day { margin-bottom: 18px; }
.review-day h3 { margin: 0 0 8px; }
.tiny { font-size: 13px; color: var(--muted); }
.city-app {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--bg); border-radius: 14px; padding: 10px 12px; margin-top: 8px;
}
.city-app-links { display: flex; flex-wrap: wrap; gap: 8px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 11px; border-radius: 10px;
  background: #111; color: #fff; text-decoration: none;
  font-size: 12px; font-weight: 800; line-height: 1; white-space: nowrap;
}
.store-badge .store-ico { width: 16px; height: 16px; display: block; flex: 0 0 auto; }
.store-ios .store-ico { width: 14px; height: 14px; }
.fab {
  margin: 8px 16px 24px;
}
.google {
  background: #fff; color: #1f1f1f; border: 1px solid #dadce0;
  text-decoration: none;
}
.google svg { width: 18px; height: 18px; }
.field { margin-bottom: 14px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.hello { font-size: 13px; color: var(--muted); font-weight: 700; }
.top h1 { letter-spacing: -0.03em; }
.trip-cover {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  margin-bottom: 12px;
  min-height: 250px;
  color: #fff;
  box-shadow: var(--shadow);
}
.trip-cover .cover-photo {
  width: 100%; height: 260px; object-fit: cover; margin: 0; border-radius: 0;
}
.trip-cover .shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,.1) 18%, rgba(15,23,42,.82) 100%);
  padding: 16px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.trip-cover h4 { margin: 0 0 4px; font-size: 24px; color: #fff; }
.trip-cover .trip-meta { color: rgba(255,255,255,.9); margin-bottom: 12px; }
.trip-cover .badge.ok { background: rgba(220,252,231,.95); }
.trip-cover .row-btns .btn-ghost { background: rgba(255,255,255,.16); color: #fff; border-color: transparent; }
.mini-trip {
  display: grid; grid-template-columns: 92px 1fr; gap: 0;
  background: #fff; border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow); margin-bottom: 12px;
}
.mini-trip .cover-photo {
  width: 92px; height: 100%; min-height: 108px; object-fit: cover; margin: 0; border-radius: 0;
}
.mini-trip .mini-body { padding: 12px 14px; }
.mini-trip h4 { margin: 4px 0 2px; font-size: 16px; }
.review-cover {
  position: relative;
  margin: 0 0 8px;
}
.review-cover .cover-photo {
  width: 100%; height: 240px; object-fit: cover; margin: 0; border-radius: 0;
}
.review-cover .shade {
  position: absolute; inset: auto 0 0;
  padding: 48px 20px 18px;
  background: linear-gradient(transparent, rgba(15,23,42,.82));
  color: #fff;
}
.review-cover h1 { margin: 0 0 4px; font-size: 24px; color: #fff; }
.review-cover p { margin: 0; opacity: .92; }
.review-cover .back-on-photo,
.pocket-hero .back-on-photo,
.back-on-photo {
  position: absolute; top: 14px; left: 14px; z-index: 2;
}
.now-hero {
  margin: 0 16px 12px;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  color: #fff;
}
.now-hero .cover-photo {
  width: 100%; height: 200px; object-fit: cover; margin: 0; border-radius: 0;
}
.now-hero .shade {
  position: absolute; inset: auto 0 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(15,23,42,.86));
}
.now-hero small {
  font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  font-size: 11px; opacity: .9;
}
.now-hero h2 { margin: 4px 0 10px; font-size: 22px; color: #fff; }
.now-hero .go-there {
  display: block; text-align: center; text-decoration: none;
  background: var(--accent); color: #fff; border-radius: 14px;
  padding: 12px 16px; font-weight: 800;
}
.pocket-top {
  padding: 16px 16px 8px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
  min-width: 0;
}
.pocket-top > div { min-width: 0; flex: 1; }
.pocket-top h1 {
  font-size: 22px; margin: 0;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pocket-hero {
  position: relative;
  margin: 0 0 8px;
  min-height: 210px;
  background: #1E6091;
}
.pocket-hero .cover-photo {
  width: 100%; height: 230px; object-fit: cover; margin: 0; border-radius: 0;
}
.pocket-hero .shade {
  position: absolute; inset: auto 0 0;
  padding: 40px 16px 16px;
  background: linear-gradient(transparent, rgba(15,23,42,.86));
  color: #fff;
}
.pocket-hero h1 {
  margin: 2px 0 4px; font-size: 26px; color: #fff;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pocket-hero .hello, .pocket-hero .tiny { color: rgba(255,255,255,.88); }
.pocket-hero small {
  font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  font-size: 11px; opacity: .9;
}
.pocket-hero .pocket-wx {
  margin-top: 6px; font-size: 12px; font-weight: 700;
  white-space: normal; max-width: 100%;
}
.pocket-hero .go-there { margin-top: 10px; }
.wx-pill {
  background: #fff; border-radius: 999px; padding: 6px 10px;
  font-size: 12px; font-weight: 800; color: var(--muted);
  box-shadow: var(--shadow); white-space: normal; max-width: 42%;
  line-height: 1.25;
}
.wx-pill:empty { display: none; }
.pocket-screen { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
.nav-item { flex: 1; min-width: 0; padding: 6px 2px; font-size: 10px; }
.food-line {
  background: #fff; border-radius: 16px; padding: 12px 14px;
  margin: 0 16px 10px; box-shadow: var(--shadow);
  overflow-wrap: anywhere;
}
.activity, .pad, p, h1, h2, h3 { overflow-wrap: anywhere; }

@media (min-width: 900px) {
  .app,
  .app.wide {
    max-width: none;
    width: 100%;
  }
  .bottom {
    left: 0;
    transform: none;
    max-width: none;
  }
  .screen-login {
    display: grid;
    grid-template-columns: minmax(380px, 1.1fr) minmax(440px, 1fr);
    min-height: 100dvh;
    padding-bottom: 0;
    align-items: stretch;
  }
  .screen-login .login-hero {
    height: 100dvh;
    position: sticky;
    top: 0;
  }
  .screen-login .login-sheet {
    margin: 0;
    border-radius: 0;
    padding: 48px 56px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .top,
  .explain,
  .features,
  .home-how,
  .admin-banner,
  .price-banner,
  .section,
  .fab,
  .legal-links,
  .hero-card,
  .ai-fuel,
  .admin-money,
  .admin-stats,
  .admin-board,
  .now-banner {
    max-width: 1120px;
    width: calc(100% - 64px);
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hero-card {
    margin-top: 8px;
    margin-bottom: 24px;
    min-height: 300px;
  }
  .hero-card img { height: 340px; }
  .home-how {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
  }
  .section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
  }
  .section > h3,
  .section > .empty { grid-column: 1 / -1; }
  .admin-stats { grid-template-columns: repeat(3, 1fr); }
  .trip-cover .cover-photo { height: 280px; }
  .review-cover .cover-photo { height: 380px; }
  .pocket-hero { min-height: 280px; }
  .pocket-hero .cover-photo { height: 300px; }
  .wizard-head,
  .wizard-body,
  .wizard-nav {
    max-width: 780px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .cal-months { grid-template-columns: 1fr 1fr; gap: 18px; }
  .screen > .pad {
    max-width: 1120px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .review-day {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 8px 20px;
    align-items: start;
  }
  .review-day .card-photo {
    grid-column: 1;
    grid-row: 1 / 20;
    height: 200px;
    margin: 0;
  }
  .review-day h3,
  .review-day p,
  .review-day .tiny { grid-column: 2; }
  .pocket-screen .activity,
  .pocket-screen .food-line,
  .pocket-screen .now-banner,
  .pocket-screen .now-hero,
  .pocket-screen > .pad {
    max-width: 960px;
    width: calc(100% - 48px);
    margin-left: auto;
    margin-right: auto;
  }
  .fab .btn { max-width: 420px; }
}
