:root {
  --navy: #262f1d;
  --ink: #343b2c;
  --muted: #6c7163;
  --teal: #56693a;
  --teal-dark: #44532d;
  --teal-soft: #eceee1;
  --sand: #f7f1e6;
  --line: #e9e6dc;
  --bg: #f6f4ee;
  --white: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
svg { display: block; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }

.app { max-width: 480px; margin: 0 auto; background: var(--bg); min-height: 100vh; padding-bottom: 96px; }

.cover { position: relative; height: 230px; overflow: hidden; color: var(--white); }
.cover-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(38,47,29,0) 35%, rgba(38,47,29,.75) 100%); }
.cover-text { position: absolute; left: 20px; right: 20px; bottom: 18px; }
.cover-text .eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.cover-text h1 { font-size: 28px; font-weight: 800; letter-spacing: -0.01em; margin-top: 2px; color: var(--white); }
.cover-text p { font-size: 14px; opacity: .92; margin-top: 2px; }

.lang { position: absolute; top: 14px; right: 14px; display: flex; gap: 4px; background: rgba(255,255,255,.92); padding: 4px; border-radius: 999px; z-index: 2; }
.lang button { border: 0; background: transparent; font-family: inherit; font-weight: 600; font-size: 12px; line-height: 1; color: var(--navy); width: 34px; height: 28px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--teal); color: var(--white); }

.welcome { margin: -1px 0 0; background: var(--white); padding: 18px 20px; display: flex; gap: 14px; align-items: center; border-bottom: 1px solid var(--line); }
.avatar { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--sand); color: var(--teal-dark); display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.welcome p { font-size: 14px; color: var(--muted); }
.welcome strong { color: var(--navy); }

.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px; }
.quick a { background: var(--white); border-radius: 14px; padding: 14px 8px; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--navy); border: 1px solid var(--line); text-align: center; min-height: 84px; justify-content: center; }
.quick a:active { background: var(--teal-soft); }
.quick .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--teal-soft); display: grid; place-items: center; }
.quick .ic svg { width: 20px; height: 20px; fill: var(--teal); }

.card { background: var(--white); margin: 0 16px 14px; border-radius: 18px; padding: 20px; border: 1px solid var(--line); }
.card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.card-head .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--teal-soft); display: grid; place-items: center; flex-shrink: 0; }
.card-head .ic svg { width: 20px; height: 20px; fill: var(--teal); }
.card h2 { font-size: 18px; font-weight: 700; color: var(--navy); }
.card .sub { font-size: 13px; color: var(--muted); }

.kv { display: grid; gap: 10px; }
.kv-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--bg); border-radius: 12px; padding: 12px 14px; min-height: 60px; }
.kv-row .k { font-size: 12px; color: var(--muted); font-weight: 500; }
.kv-row .v { font-size: 16px; font-weight: 700; color: var(--navy); word-break: break-all; }
.direct .note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.chip-btn { flex-shrink: 0; border: 0; background: var(--teal); color: var(--white); font-family: inherit; font-weight: 600; font-size: 13px; line-height: 1; height: 36px; padding: 0 14px; border-radius: 10px; cursor: pointer; }
.chip-btn:active { background: var(--teal-dark); }

.times { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.time { background: var(--sand); border-radius: 12px; padding: 12px 14px; }
.time .k { font-size: 12px; color: var(--muted); font-weight: 500; }
.time .v { font-size: 20px; font-weight: 800; color: var(--navy); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: step; }
.steps li { position: relative; padding-left: 38px; font-size: 15px; min-height: 26px; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 8px; background: var(--teal); color: var(--white); font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.code { display: inline-block; background: var(--navy); color: var(--white); font-weight: 800; letter-spacing: .2em; padding: 2px 10px; border-radius: 8px; }

.btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 12px; font-weight: 600; font-size: 14px; text-decoration: none; border: 1.5px solid var(--line); color: var(--navy); background: var(--white); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-primary { background: var(--teal); border-color: var(--teal); color: var(--white); }

.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.list li { display: flex; gap: 10px; font-size: 15px; align-items: flex-start; }
.list li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; fill: var(--teal); }
.list li.no svg { fill: #c0392b; }

.acc details { border-top: 1px solid var(--line); }
.acc details:first-child { border-top: 0; }
.acc summary { list-style: none; cursor: pointer; padding: 14px 0; font-weight: 600; font-size: 15px; color: var(--navy); display: flex; justify-content: space-between; align-items: center; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; color: var(--teal); font-size: 20px; line-height: 1; }
.acc details[open] summary::after { content: "–"; }
.acc details p { font-size: 14px; color: var(--muted); padding-bottom: 14px; }

.tabs { display: flex; gap: 8px; margin-bottom: 14px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex-shrink: 0; border: 1.5px solid var(--line); background: var(--white); color: var(--navy); font-family: inherit; font-weight: 600; font-size: 13px; line-height: 1; height: 34px; padding: 0 14px; border-radius: 999px; cursor: pointer; }
.tabs button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.places { display: grid; gap: 10px; }
.place { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--bg); text-decoration: none; }
.place .thumb { width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; }
.place .thumb svg { width: 24px; height: 24px; fill: var(--white); }
.place .meta { flex: 1; min-width: 0; }
.place .name { font-weight: 700; font-size: 15px; color: var(--navy); }
.place .desc { font-size: 13px; color: var(--muted); }
.place .dist { font-size: 12px; font-weight: 700; color: var(--teal-dark); background: var(--teal-soft); padding: 4px 8px; border-radius: 8px; flex-shrink: 0; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checklist label { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--bg); border-radius: 12px; font-size: 15px; cursor: pointer; min-height: 48px; }
.checklist input { width: 20px; height: 20px; accent-color: var(--teal); flex-shrink: 0; margin: 0; }
.checklist input:checked + span { text-decoration: line-through; color: var(--muted); }

.contacts { display: grid; gap: 10px; }
.contact { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--bg); border-radius: 12px; text-decoration: none; min-height: 60px; }
.contact .k { font-size: 12px; color: var(--muted); }
.contact .v { font-weight: 700; color: var(--navy); font-size: 15px; }
.contact .call { width: 38px; height: 38px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; flex-shrink: 0; }
.contact .call svg { width: 18px; height: 18px; fill: var(--white); }
.contact.sos .call { background: #c0392b; }

.powered { text-align: center; font-size: 12px; color: var(--muted); padding: 8px 0 0; }
.btn-review { display: flex; width: 100%; margin-top: 16px; }
.btn-review svg { fill: #e0a526; }
.powered a { color: var(--teal-dark); font-weight: 600; text-decoration: none; }

.fab { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); width: calc(100% - 32px); max-width: 448px; display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px; border-radius: 16px; background: #1f9d55; color: var(--white); font-weight: 700; font-size: 15px; text-decoration: none; box-shadow: 0 10px 24px rgba(31,157,85,.35); z-index: 5; }
.fab svg { width: 20px; height: 20px; fill: var(--white); }

.toast { position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 20px); background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 6; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 520px) {
  .app { box-shadow: 0 0 0 1px var(--line); }
}

.embed { scrollbar-width: none; }
.embed::-webkit-scrollbar { display: none; }
.embed .lang { top: 44px; }
