/* Layovers 1.2: what the screens add to the app styles. Tokens only, plus the four layover pin colours (design/layovers-1.2). */
/* What Layovers adds to the v2 app's own styles. Tokens only: every colour
   here is a variable from the app's light and dark palettes, plus the one new
   pin colour Layovers needs (a horse motel), which would join the map tokens. */
/* PROPOSED MAP TOKENS (2 Nov, after review). --map-motel is #1D3461, a deep
   navy: not the trail orange, trailhead yellow, camp magenta, fairground
   violet, tip teal, fire rust or burn-scar charcoal, and well apart from the
   map's light-cyan water and its greens. White glyph on it 12.2:1; the fill
   against the map is 9.6:1 on bare land, 8.4:1 on forest and 7.0:1 on water.
   ON THE DARK AND SATELLITE MAPS THE WHITE RING CARRIES THE PIN (12.6:1 and
   7.3:1), exactly as the app's trailhead pin draws its edge: no fill can be
   >=3:1 against a dark map and still hold a white glyph at >=4.5:1 - the two
   bounds do not overlap (a fill would need luminance above .205 and below .183).
   The pins keep one colour in both themes, like the app's --map-* tokens.
   RV park moved to a slate blue so it reads apart from the navy by lightness. */
html { --lv-motel:#1D3461; --lv-stable:#5C6B52; --lv-ranch:#8A6551; --lv-rv:#4F6D8F; }

/* map pins, one colour and one letter per type, as the key says */
.lv-pin { width:30px; height:30px; border-radius:50%; border:2.5px solid #fff; box-shadow:0 1px 4px rgba(0,0,0,.35);
  display:flex; align-items:center; justify-content:center; color:#fff; font:800 12.5px/1 system-ui, sans-serif; }
.lv-pin.t-motel { background:var(--lv-motel); } .lv-pin.t-camp { background:var(--map-camp); }
.lv-pin.t-fair { background:var(--map-fair); } .lv-pin.t-stable { background:var(--lv-stable); }
.lv-pin.t-ranch { background:var(--lv-ranch); }
/* an Outposts host's pin carries the ask beside it, as CLAUDE.md requires */
.lv-pinwrap { display:flex; align-items:center; gap:5px; }
.lv-pinwrap .ask { padding:4px 8px; border-radius:999px; background:#fff; color:#17150F; font:700 11.5px/1.2 system-ui, sans-serif; box-shadow:0 1px 4px rgba(0,0,0,.3); white-space:nowrap; } .lv-pin.t-rv { background:var(--lv-rv); }

/* type chip on a card or a page */
.lv-type { display:inline-flex; align-items:center; gap:6px; height:24px; padding:0 9px; border-radius:999px; font-size:12.5px; font-weight:700;
  background:var(--pill); color:var(--pill-ink); }
.lv-type i { width:9px; height:9px; border-radius:50%; }
.lv-host { display:inline-flex; align-items:center; height:24px; padding:0 9px; border-radius:999px; font-size:12.5px; font-weight:700;
  background:var(--tile-on); color:var(--gold-ink); border:1px solid var(--line); }
.lv-sample { display:inline-block; font-size:10.5px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-3); }

/* list cards */
.lv-list { display:flex; flex-direction:column; gap:10px; padding:4px 16px 16px; }
.lv-card { display:grid; grid-template-columns:84px 1fr; gap:12px; padding:10px; border-radius:16px; background:var(--surface);
  border:1px solid var(--line); text-align:left; color:var(--ink); font:inherit; width:100%; }
.lv-card .ph { width:84px; height:84px; border-radius:12px; object-fit:cover; background:var(--tile-2); display:flex; align-items:center; justify-content:center; color:var(--tile-2-ink); }
.lv-card b { font-size:16px; line-height:1.25; display:block; }
.lv-card .m { font-size:13px; color:var(--ink-2); }
.lv-card .pr { font-size:14px; margin-top:3px; }
.lv-card .pr b { display:inline; font-size:inherit; }
.lv-card .pr small { color:var(--ink-3); font-size:12px; }
.lv-facts { display:flex; flex-wrap:wrap; gap:5px; margin-top:6px; }
.lv-facts i { font-style:normal; font-size:12px; padding:3px 8px; border-radius:8px; background:var(--ground); color:var(--ink-2); }

/* a layover's page */
.lv-hero { position:relative; height:220px; background:var(--tile-2); color:var(--tile-2-ink); display:flex; align-items:center; justify-content:center; }
.lv-hero img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.lv-head { padding:14px 16px 4px; }
.lv-head h1 { margin:6px 0 2px; font-size:26px; line-height:1.15; letter-spacing:-.01em; }
.lv-head .where { color:var(--ink-2); font-size:14px; }
.lv-head .row { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.lv-upd { font-size:13px; color:var(--ink-3); }
.lv-price { margin:12px 16px 0; padding:14px 16px; border-radius:16px; background:var(--surface); border:1px solid var(--line); }
.lv-price .big { font-size:22px; font-weight:800; }
.lv-price .big small { font-size:13.5px; font-weight:500; color:var(--ink-2); }
.lv-price .sm { font-size:13.5px; color:var(--ink-2); margin-top:2px; }
.lv-price .asof { font-size:12.5px; color:var(--ink-3); margin-top:6px; }
.lv-acts { display:grid; grid-template-columns:repeat(3, 1fr); gap:8px; margin:12px 16px 0; }
.lv-acts .ph-btn { margin:0; width:100%; }
.lv-papers { display:flex; flex-wrap:wrap; gap:6px; padding:4px 16px 0; }
.lv-papers i { font-style:normal; font-size:13.5px; padding:6px 11px; border-radius:10px; background:var(--surface); border:1px solid var(--line); }
.lv-note { margin:10px 16px 0; padding:10px 12px; border-radius:12px; background:var(--tile-on); color:var(--ink-2); font-size:13px; line-height:1.45; }
.lv-link { display:block; margin:14px 16px 0; color:var(--gold-ink); font-weight:700; font-size:14.5px; text-decoration:none; }

/* the form */
.lv-form { padding:6px 16px 16px; display:flex; flex-direction:column; gap:16px; }
.lv-form .q { font-size:14px; font-weight:700; margin:0 0 7px; }
.lv-form .q span { font-weight:400; color:var(--ink-3); }
.lv-form input, .lv-form textarea { width:100%; box-sizing:border-box; height:46px; padding:0 12px; border-radius:12px; border:1px solid var(--line);
  background:var(--surface); color:var(--ink); font:inherit; font-size:15.5px; }
.lv-form textarea { height:84px; padding:10px 12px; resize:none; }
.lv-form label { display:block; font-size:13.5px; font-weight:700; }
.lv-form label input { margin-top:6px; }
.lv-two { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.lv-three { display:grid; grid-template-columns:1fr 1fr 1fr; gap:10px; }
.lv-pins { height:150px; border-radius:14px; overflow:hidden; position:relative; }
.lv-pins .lv-centre { position:absolute; left:50%; top:50%; transform:translate(-50%,-100%); z-index:3; }
.lv-photos { display:flex; gap:8px; }
.lv-photos .t { width:68px; height:68px; border-radius:12px; background:var(--tile-1); }
.lv-photos .t.b { background:var(--tile-3); }
.lv-photos button { width:68px; height:68px; border-radius:12px; border:1.5px dashed var(--line); background:none; color:var(--ink-2); font-size:24px; }
.lv-foot { position:sticky; bottom:0; padding:10px 16px 14px; background:var(--ground); border-top:1px solid var(--line); }
.lv-foot p { margin:0 0 8px; text-align:center; font-size:12.5px; color:var(--ink-3); }
.lv-foot .ph-btn { margin:0; width:100%; }
.lv-chips { display:flex; flex-wrap:wrap; gap:7px; }
.lv-chips .rx-chip { margin:0; }

/* Part B: checked in, stays, the stay post */
.lv-now { margin:12px 16px 0; padding:14px; border-radius:18px; background:var(--card-dk); color:var(--on-card-dk); }
.lv-now .k { display:flex; justify-content:space-between; font-size:11.5px; font-weight:800; letter-spacing:.08em; }
.lv-now .k span:last-child { font-weight:600; letter-spacing:0; opacity:.75; }
.lv-now b { display:block; font-size:18px; margin:8px 0 2px; }
.lv-now .m { font-size:13px; opacity:.8; }
.lv-now .two { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:12px; }
.lv-now .two button { height:44px; border-radius:12px; font:inherit; font-size:15px; font-weight:700; }
.lv-now .two .o { background:transparent; color:var(--on-card-dk); border:1px solid rgba(255,255,255,.35); }
.lv-now .two .g { background:var(--gold); color:#17150F; border:0; }
.lv-stay { display:grid; grid-template-columns:auto 1fr auto; gap:10px; align-items:center; margin:0 16px 10px; padding:10px 12px; border-radius:16px;
  background:var(--surface); border:1px solid var(--line); }
.lv-stay .th { display:flex; gap:4px; }
.lv-stay .th i { width:42px; height:42px; border-radius:10px; background:var(--tile-2); }
.lv-stay .th i + i { background:var(--tile-1); }
.lv-stay b { font-size:15px; display:block; }
.lv-stay span { font-size:12.5px; color:var(--ink-2); }
.lv-tag { font-size:12px; font-weight:700; padding:4px 9px; border-radius:999px; background:var(--pill); color:var(--pill-ink); white-space:nowrap; }
.lv-tag.sh { background:var(--tile-1); color:var(--tile-1-ink); }
.lv-only { margin:10px 16px 0; padding:8px 12px; border-radius:10px; background:var(--tile-on); color:var(--ink-2); font-size:13px; font-weight:600; }
.lv-sheetbg { position:fixed; inset:0; background:rgba(23,21,15,.45); z-index:50; }
.lv-sheet { position:fixed; left:0; right:0; bottom:0; z-index:51; padding:10px 18px 22px; border-radius:22px 22px 0 0; background:var(--surface); color:var(--ink); }
.lv-sheet .grab { width:44px; height:5px; border-radius:3px; background:var(--line); margin:0 auto 12px; }
.lv-sheet h2 { margin:0 0 6px; font-size:21px; }
.lv-sheet p { margin:0 0 12px; color:var(--ink-2); font-size:14.5px; line-height:1.5; }
.lv-sheet .ph-btn { margin:0 0 8px; width:100%; }
.lv-post { margin:0 16px 12px; border-radius:18px; background:var(--surface); border:1px solid var(--line); overflow:hidden; }
.lv-post .who { display:flex; gap:10px; align-items:center; padding:12px 14px; }
.lv-post .av { width:40px; height:40px; border-radius:50%; background:var(--tile-3); color:var(--tile-3-ink); display:flex; align-items:center; justify-content:center; font-weight:800; }
.lv-post .who b { display:block; font-size:15px; } .lv-post .who span { font-size:12.5px; color:var(--ink-2); }
.lv-post .pics { display:grid; grid-template-columns:2fr 1fr; gap:3px; height:200px; }
.lv-post .pics i { background:var(--tile-1); } .lv-post .pics i:nth-child(2) { background:var(--tile-2); }
.lv-post .body { padding:12px 14px; }
.lv-post p { margin:0 0 10px; font-size:15px; line-height:1.5; }
.lv-linked { display:grid; grid-template-columns:44px 1fr auto; gap:10px; align-items:center; padding:9px; border-radius:12px; background:var(--ground); margin-bottom:10px; }
.lv-linked i { width:44px; height:44px; border-radius:9px; background:var(--tile-2); }
.lv-linked b { font-size:14px; display:block; } .lv-linked span { font-size:12px; color:var(--ink-2); }

/* distance filter (3 Nov) */
.lv-dist { display:flex; align-items:center; gap:6px; padding:0 16px; overflow-x:auto; white-space:nowrap; }
.lv-dist > span { font-size:12.5px; font-weight:700; color:var(--ink-3); margin-right:2px; }
.lv-dist .rx-chip { height:30px; padding:0 11px; font-size:13px; margin:0; flex:none; }
.lv-distmap { position:absolute; left:0; right:0; top:118px; z-index:4; }
.lv-distmap .lv-dist .rx-chip { box-shadow:0 2px 8px rgba(23,21,15,.12); }
.lv-distmap .lv-dist > span { background:var(--surface); padding:4px 8px; border-radius:999px; box-shadow:0 2px 8px rgba(23,21,15,.12); }

/* THE STAY TAG, in the feed (1.2 hit list, item 5) */
.lv-post .who .lv-staytag { font-size:11px; font-weight:800; letter-spacing:.6px; padding:3px 8px; border-radius:6px; background:#F6EAD0; color:#7A5200; }

/* LOG YOUR STAY (owner, 9 Nov) */
#shell .lv-log { margin:14px 16px 0; width:calc(100% - 32px); border:0; border-radius:16px; background:#1C1A17; color:#fff; padding:12px 16px; display:flex; align-items:center; gap:14px; text-align:left; font:inherit; cursor:pointer; }
#shell .lv-log .ic { width:40px; height:40px; border-radius:12px; background:rgba(242,196,107,.16); color:#F2C46B; display:grid; place-items:center; flex:none; }
#shell .lv-log b { font-size:17px; font-weight:800; }
#shell .lv-two { display:grid; grid-template-columns:repeat(auto-fit, minmax(0, 1fr)); gap:8px; margin:10px 16px 0; }
#shell .lv-sm { height:40px; border:1px solid #E4DDCF; border-radius:12px; background:#fff; font:inherit; font-weight:600; font-size:13.5px; color:#1C1A17; display:flex; align-items:center; justify-content:center; gap:6px; cursor:pointer; }
#shell .lv-sm.dark { background:#1C1A17; color:#fff; border-color:#1C1A17; }
#shell .lv-posted { margin:14px 16px 0; display:flex; align-items:center; gap:8px; font-size:13.5px; color:#4A443B; }
#shell .lv-posted .av { display:flex; } #shell .lv-posted .av i { width:24px; height:24px; border-radius:12px; border:2px solid #F7F4EE; margin-left:-8px; background:#A8743A; }
#shell .lv-posted .av i:first-child { margin-left:0; } #shell .lv-posted .av i:nth-child(2) { background:#6F8F5E; } #shell .lv-posted .av i:nth-child(3) { background:#4E8C8A; }
.lv-sheet .lg h2 { margin:0; } .lv-sheet .lg-p { margin:2px 0 0; color:#5E574C; font-size:14px; }
.lv-sheet .lg-k { margin:16px 0 8px; font-size:12px; font-weight:700; letter-spacing:1.2px; color:#6B6458; }
.lv-sheet .lg-chips { display:flex; gap:6px; flex-wrap:wrap; }
.lv-sheet .lg-c { height:36px; padding:0 14px; border:1px solid #E0D9CB; border-radius:18px; background:#fff; color:#1C1A17; font:inherit; font-weight:600; font-size:14px; cursor:pointer; }
.lv-sheet .lg-c.on { background:#1C1A17; border-color:#1C1A17; color:#fff; }
.lv-sheet .lg-pn { display:flex; gap:10px; align-items:stretch; }
.lv-sheet .lg-ph { width:64px; min-height:64px; border-radius:12px; border:1.5px dashed #CFC6B4; background:#F7F4EE; display:grid; place-items:center; color:#6B6458; cursor:pointer; flex:none; }
.lv-sheet .lg-pn textarea { flex:1; border:1px solid #E0D9CB; border-radius:12px; padding:10px 12px; font:inherit; font-size:14.5px; resize:none; }
.lv-sheet .lg-only { display:flex; gap:8px; align-items:center; margin:14px 0 0; font-size:13.5px; color:#4A443B; }

/* STAY PAGE TOP (owner, 9 Nov round 2) */
#shell .lv-top { padding:16px 16px 0; }
#shell .lv-hero2 { position:relative; height:210px; border-radius:18px; overflow:hidden; background:var(--tile-2); color:var(--tile-2-ink); display:flex; align-items:center; justify-content:center; }
#shell .lv-hero2 img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
#shell .lv-hero2 .cap { position:absolute; left:0; right:0; bottom:0; padding:40px 16px 14px; background:linear-gradient(transparent, rgba(0,0,0,.6)); color:#fff; display:flex; flex-direction:column; }
#shell .lv-hero2 .cap small { font-size:11.5px; font-weight:700; letter-spacing:1.5px; opacity:.9; }
#shell .lv-hero2 .cap b { font-size:22px; font-weight:800; } #shell .lv-hero2 .cap span { font-size:13px; opacity:.9; }
#shell .lv-top .lv-two { margin:12px 0 0; grid-template-columns:1fr 1fr; }
#shell .lv-sbx { margin-top:12px; display:grid; grid-template-columns:repeat(auto-fit, minmax(0, 1fr)); background:#fff; border:1px solid #E4DDCF; border-radius:16px; padding:12px 0; text-align:center; }
#shell .lv-sbx > div + div { border-left:1px solid #EEE8DC; }
#shell .lv-sbx b { display:block; font-size:17px; font-weight:800; } #shell .lv-sbx span { font-size:11.5px; color:#5E574C; }
#shell .lv-top .lv-log { margin:12px 0 0; width:100%; }
#shell .lv-asof { margin:8px 2px 0; font-size:12.5px; color:#6B6458; }
#shell .lv-k { margin:22px 0 0; font-weight:800; font-size:12px; letter-spacing:2px; color:#5E574C; }
#shell .lv-bcard { margin-top:8px; background:#fff; border:1px solid #E4DDCF; border-radius:16px; overflow:hidden; }
#shell .lv-bc { display:flex; align-items:center; gap:12px; padding:13px 14px; border-bottom:1px solid #EEE8DC; color:#1C1A17; text-decoration:none; }
#shell .lv-bc:last-child { border-bottom:0; }
#shell .lv-bc .ic { width:34px; height:34px; border-radius:10px; background:#F1ECE3; display:grid; place-items:center; flex:none; }
#shell .lv-bc .tx { flex:1; min-width:0; display:flex; flex-direction:column; } #shell .lv-bc .tx b { font-weight:600; font-size:15px; } #shell .lv-bc .tx span { font-size:12.5px; color:#6B6458; }
