/* ════════════════════════════════════════════════════════════
   VERGLIE — typed widget editors (trip-create) + view-page render.
   Loaded by trip-create.html and trip-view.html.
   Relies on the design tokens in verglie-system.css / page <style>.
   ════════════════════════════════════════════════════════════ */

:root{
  --we-fill:#f3f6fa;          /* field background */
  --we-line:#cdd6e4;          /* dashed border    */
  --we-ph:#9aa6bb;            /* placeholder text */
}

/* ── per-category accent for the widget icon bubble ───────────── */
.cat-trip        { --c-bg:#fbe6d6; --c-fg:#c1652e; }  /* peach  */
.cat-destination { --c-bg:#e9e3f6; --c-fg:#6f5aa6; }  /* lilac  */
.cat-transport   { --c-bg:#d8e8f6; --c-fg:#2f6aa0; }  /* blue   */
.cat-activities  { --c-bg:#dcecd5; --c-fg:#4a7a3a; }  /* green  */

/* ════ BLOCK EDITOR ═══════════════════════════════════════════ */
.we-block{
  position:relative;
  border:2px dashed var(--we-line);
  border-radius:18px;
  background:#fff;
  padding:46px 30px 26px;
  margin:18px 0;
}
.we-block.is-sub{ background:#fbfcfe; margin:14px 0 0; }
.we-block.is-divider{ padding:30px; }

.we-toolbar{
  position:absolute; top:14px; left:18px; right:16px;
  display:flex; align-items:center; justify-content:space-between;
}
.we-moves{ display:flex; gap:4px; }
.we-moves button, .we-del{
  background:none; border:0; cursor:pointer; padding:4px;
  color:#7a869c; display:grid; place-items:center; border-radius:7px;
}
.we-moves button:hover{ background:rgba(11,27,51,.06); color:var(--navy); }
.we-del{ color:#e23b3b; }
.we-del:hover{ background:rgba(226,59,59,.10); }

.we-title-c{
  text-align:center; margin:0 0 24px;
  font-family:'Plus Jakarta Sans',sans-serif; font-weight:800;
  font-size:22px; color:#3a3b66; letter-spacing:-.01em;
}
.we-title-c i{ font-style:normal; }

.we-grid{ display:grid; grid-template-columns:1.45fr 1fr; gap:34px; align-items:start; }
.we-grid.solo{ grid-template-columns:1fr; max-width:620px; margin:0 auto; }
.we-main{ display:flex; flex-direction:column; gap:16px; min-width:0; }
.we-side{ display:flex; flex-direction:column; gap:14px; align-items:center; }

.we-field{
  width:100%; box-sizing:border-box;
  background:var(--we-fill); border:0; border-radius:11px;
  padding:14px 18px; font:inherit; font-size:14px; color:var(--navy);
  text-align:center;
}
.we-field:focus{ outline:2px solid var(--accent); outline-offset:1px; }
.we-field::placeholder{ color:var(--we-ph); }
select.we-field{ -webkit-appearance:none; appearance:none; cursor:pointer; }
textarea.we-desc{ min-height:200px; resize:vertical; line-height:1.5; }

.we-icon{
  width:64px; height:64px; border-radius:50%;
  display:grid; place-items:center;
  background:var(--c-bg,#eef1f6); color:var(--c-fg,#5d6b85);
  margin-bottom:4px;
}
.we-icon svg{ width:28px; height:28px; }

/* big-title widget editor */
.we-field.we-big{ font-family:'Instrument Serif',serif; font-size:26px; font-style:italic; }

/* divider widgets */
.we-divider-row{ display:flex; align-items:center; gap:16px; color:var(--muted); }
.we-divider-row .ln{ flex:1; height:2px; background:var(--we-line); border-radius:2px; }
.we-divider-row.day .ln, .we-divider-row.week .ln{ background:var(--accent); opacity:.5; }
.we-divider-label{ font-family:'JetBrains Mono',monospace; font-size:11px; letter-spacing:.14em; text-transform:uppercase; white-space:nowrap; }

/* ════ MEDIA pickers ══════════════════════════════════════════ */
.we-media{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; width:100%; }
.we-gallery{ display:grid; grid-template-columns:1fr 1fr; gap:10px; width:230px; margin:0 auto; }
.we-thumb{
  position:relative; border-radius:11px; overflow:hidden; background:#eef1f6;
  width:92px; height:92px; flex:0 0 auto;
}
.we-gallery .we-thumb{ width:100%; height:auto; aspect-ratio:1; }
.we-thumb img, .we-thumb video{ width:100%; height:100%; object-fit:cover; display:block; }
.we-thumb .rm{
  position:absolute; top:4px; right:4px; width:20px; height:20px; border-radius:50%;
  background:rgba(11,27,51,.7); color:#fff; border:0; cursor:pointer;
  display:grid; place-items:center; font-size:13px; line-height:1;
}
.we-slot{
  border:2px dashed var(--we-line); background:var(--we-fill);
  border-radius:11px; cursor:pointer; color:#8b97ad;
  display:grid; place-items:center; gap:4px; font-size:11px; text-align:center;
  width:92px; height:92px; flex:0 0 auto;
}
.we-gallery .we-slot{ width:100%; height:auto; aspect-ratio:1; }
.we-slot:hover{ border-color:var(--accent); color:var(--accent); }
.we-slot svg{ width:20px; height:20px; }
.we-media-wide .we-slot{ width:100%; height:150px; }
.we-hint{ font-size:11px; color:var(--muted); text-align:center; margin-top:2px; }

/* ════ ADD-WIDGET CTA (matches "Create a sub block" mock) ══════ */
.we-addsub{
  margin-top:26px; border-radius:18px; background:var(--we-fill);
  padding:40px 30px; text-align:center; width:100%; box-sizing:border-box;
}
.we-addsub h4{ margin:0 0 6px; font-family:'Plus Jakarta Sans'; font-weight:800; font-size:20px; color:#3a3b66; }
.we-addsub p{ margin:0 0 18px; color:#5d6b85; font-size:14px; }
.we-addsub-cta{
  display:inline-flex; align-items:center; gap:9px; cursor:pointer;
  padding:13px 26px; border:0; border-radius:999px;
  background:var(--accent); color:#fff;
  font-family:'Plus Jakarta Sans',sans-serif; font-weight:700; font-size:15px;
  box-shadow:0 8px 20px -8px rgba(193,101,46,.6); transition:background .15s,transform .15s;
}
.we-addsub-cta:hover{ background:var(--accent-deep,#b4571f); transform:translateY(-1px); }

/* ════════════════════════════════════════════════════════════
   VIEW PAGE (trip-view.html) — read-only render
   ════════════════════════════════════════════════════════════ */
.vw-wrap{ max-width:760px; margin:0 auto; padding:40px 22px 140px; }
.vw-status{
  display:inline-flex; align-items:center; gap:8px; margin-bottom:18px;
  font-size:12px; font-weight:600; padding:6px 12px; border-radius:999px;
}
.vw-status.draft{ background:#fff4e6; color:#b5651d; }
.vw-status.published{ background:#e3f3e6; color:#2f7d3b; }
.vw-status .dot{ width:7px; height:7px; border-radius:50%; background:currentColor; }

.vw-cover{ width:100%; aspect-ratio:21/9; border-radius:20px; object-fit:cover; background:#dce4ef; margin:6px 0 26px; }
.vw-eyebrow{ font-family:'JetBrains Mono',monospace; font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); }
.vw-title{ font-family:'Instrument Serif',serif; font-size:46px; line-height:1.05; color:var(--navy); margin:6px 0 14px; }
.vw-intro{ font-size:17px; line-height:1.7; color:#3c4a63; margin:0 0 22px; }

.vw-meta{ display:flex; flex-wrap:wrap; gap:8px; margin:0 0 34px; }
.vw-meta span{ background:#f1f4f9; border-radius:999px; padding:6px 13px; font-size:12.5px; color:#46546e; }

.vw-block{ margin:30px 0; }
.vw-block-title{ font-family:'Instrument Serif',serif; font-size:24px; color:var(--navy); margin:0 0 10px; }
.vw-desc{ font-size:16px; line-height:1.7; color:#3c4a63; margin:0 0 12px; white-space:pre-wrap; }
.vw-sub{ margin:16px 0 16px 18px; padding-left:16px; border-left:2px solid #e6ebf3; }

/* view media */
.vw-slider{ display:flex; gap:10px; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:6px; }
.vw-slider img{ flex:0 0 78%; scroll-snap-align:center; border-radius:14px; aspect-ratio:3/2; object-fit:cover; }
.vw-gallery{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.vw-gallery img{ width:100%; aspect-ratio:1; object-fit:cover; border-radius:14px; }
.vw-img{ width:100%; border-radius:16px; object-fit:cover; }
.vw-cap{ font-size:13px; color:var(--muted); text-align:center; margin-top:6px; }
.vw-video{ width:100%; border-radius:16px; background:#000; }
.vw-banner{ position:relative; border-radius:18px; overflow:hidden; }
.vw-banner img{ width:100%; aspect-ratio:21/9; object-fit:cover; display:block; }
.vw-banner span{ position:absolute; inset:auto 0 0 0; padding:22px; color:#fff; font-family:'Instrument Serif',serif; font-size:26px; background:linear-gradient(transparent,rgba(0,0,0,.55)); }
.vw-bigtitle{ font-family:'Instrument Serif',serif; font-size:38px; font-style:italic; color:var(--navy); text-align:center; margin:30px 0; }
.vw-hr{ border:0; border-top:2px solid #e6ebf3; margin:34px 0; }
.vw-hr.day, .vw-hr.week{ border-top:2px solid var(--accent); opacity:.5; }
.vw-divider-label{ text-align:center; font-family:'JetBrains Mono',monospace; font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--accent); margin:30px 0 6px; }

/* location map */
.vw-map{ position:relative; border-radius:16px; overflow:hidden; background:#e8eef6; height:240px; }
.vw-map img{ width:100%; height:100%; object-fit:cover; display:block; }
.vw-pin{ position:absolute; top:50%; left:50%; transform:translate(-50%,-100%); color:#e23b3b; }
.vw-map-cap{ display:flex; gap:6px; align-items:center; margin-top:8px; font-size:13px; color:#46546e; }

/* place card (restaurant / stay) */
.vw-place{ display:flex; gap:14px; align-items:center; background:#f7f9fc; border-radius:16px; padding:16px 18px; }
.vw-place .ic{ width:46px; height:46px; border-radius:50%; display:grid; place-items:center; background:var(--c-bg,#eef1f6); color:var(--c-fg,#5d6b85); flex:0 0 auto; }
.vw-place .nm{ font-weight:700; color:var(--navy); }
.vw-place .ad{ font-size:13px; color:var(--muted); }
.vw-place .tag{ margin-left:auto; font-size:11px; background:#eaeff6; border-radius:999px; padding:4px 10px; color:#46546e; }

/* edit bar */
.vw-editbar{
  position:fixed; left:0; right:0; bottom:0; z-index:40;
  display:flex; justify-content:center; gap:12px; align-items:center;
  padding:14px; background:rgba(255,255,255,.92); backdrop-filter:blur(8px);
  border-top:1px solid #e6ebf3;
}
.vw-editbar small{ color:var(--muted); font-size:12.5px; }

@media (max-width:680px){
  .we-grid{ grid-template-columns:1fr; }
  .vw-title{ font-size:34px; }
}

/* ════════════════════════════════════════════════════════════
   VIEW PAGE v2 — wide layout (story + per-widget icon rail),
   sticky Trip-details card, like/view/save, full-bleed banner.
   ════════════════════════════════════════════════════════════ */
.vw2{ --rail:408px; }
.vw2-cover{ position:relative; width:100%; height:min(46vh,440px); overflow:hidden; }
.vw2-cover img{ width:100%; height:100%; object-fit:cover; display:block; }
.vw2-covercap{ position:absolute; left:0; bottom:18px; width:100%; text-align:center; color:#fff; font-family:'Instrument Serif',serif; font-size:30px; text-shadow:0 2px 16px rgba(11,27,51,.5); }

.vw2-inner{ max-width:1240px; margin:0 auto; padding:0 32px 160px; }

.vw2-grid{ display:grid; grid-template-columns:minmax(0,1fr) var(--rail); gap:54px; align-items:start; }
.vw2-head{ padding-top:34px; }
.vw2-block{ padding:30px 0; border-top:1px solid #eef1f6; }
.vw2-main{ min-width:0; }

/* sticky details rail */
.vw2-headside{ position:sticky; top:78px; margin-top:-120px; z-index:5; }
@media (min-width:861px){ .vw2-headside{ margin-top:-120px; } }

/* ── headline ── */
.vw2-status{ display:inline-flex; align-items:center; gap:8px; margin-bottom:14px; font-size:12px; font-weight:600; padding:6px 12px; border-radius:999px; }
.vw2-status.draft{ background:#fff4e6; color:#b5651d; } .vw2-status.published{ background:#e3f3e6; color:#2f7d3b; }
.vw2-status .dot{ width:7px; height:7px; border-radius:50%; background:currentColor; }
.vw2-eyebrow{ font-family:'JetBrains Mono',monospace; font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); }
.vw2-title{ font-family:'Fredoka','Plus Jakarta Sans',sans-serif; font-weight:700; font-size:48px; line-height:1.05; color:var(--navy); margin:8px 0 16px; letter-spacing:-.01em; }
.vw2-intro{ font-size:18px; line-height:1.75; color:#3c4a63; margin:0; }

/* ── widget story (left) ── */
.vw2-wtitle{ font-family:'Fredoka','Plus Jakarta Sans',sans-serif; font-weight:700; font-size:30px; line-height:1.15; color:var(--navy); margin:0 0 16px; }
.vw2-wtitle.vw2-big{ font-size:40px; }
.vw2-wdesc{ font-size:17px; line-height:1.8; color:#3c4a63; margin:0 0 14px; white-space:pre-wrap; }

/* ── per-widget icon rail (right) ── */
.vw2-side{ display:flex; flex-direction:column; align-items:center; gap:8px; text-align:center; padding-top:6px; }
.vw2-side.sm .vw2-wicon{ width:46px; height:46px; }
.vw2-wicon{ width:62px; height:62px; border-radius:50%; display:grid; place-items:center; background:var(--c-bg,#eef1f6); color:var(--c-fg,#5d6b85); }
.vw2-wicon svg{ width:28px; height:28px; }
.vw2-wlabel{ font-weight:700; color:var(--navy); font-size:15px; }
.vw2-wloc{ font-size:13px; color:var(--navy); font-weight:600; }
.vw2-wsub{ font-size:12px; color:var(--muted); line-height:1.45; }

/* ── details card (matches editor sidebar) ── */
.vw2-card{ background:#fbfcfe; border:1px solid #eef1f6; border-radius:18px; padding:22px 22px 8px; box-shadow:0 18px 40px -26px rgba(11,27,51,.3); }
.vw2-author{ position:relative; text-align:center; margin:-54px 0 14px; }
.vw2-avatar{ width:78px; height:78px; border-radius:50%; margin:0 auto; background:linear-gradient(135deg,#7c9, #4a7a3a); display:grid; place-items:center; color:#fff; font-weight:800; font-size:24px; border:4px solid #fff; overflow:hidden; box-shadow:0 8px 20px -8px rgba(11,27,51,.4); }
.vw2-avatar img{ width:100%; height:100%; object-fit:cover; }
.vw2-share{ display:inline-grid; place-items:center; margin:10px auto 4px; width:30px; height:30px; border-radius:50%; border:0; background:none; color:var(--muted); cursor:pointer; }
.vw2-share:hover, .vw2-share.done{ color:var(--accent); }
.vw2-by{ font-size:13px; color:var(--muted); }
.vw2-name{ font-family:'Instrument Serif',serif; font-style:italic; font-size:20px; color:var(--navy); margin-bottom:4px; }
.vw2-drow{ padding:13px 0; border-top:1px solid #e9edf3; text-align:left; }
.vw2-dl{ display:flex; align-items:center; gap:8px; font-weight:700; color:var(--navy); font-size:14px; }
.vw2-dl svg{ color:var(--accent); }
.vw2-dv{ margin-top:3px; padding-left:23px; color:#5566809; color:#56668a; font-size:14px; word-break:break-word; }
.vw2-drow.last{ }

/* ── like / view / save ── */
.vw2-actions{ display:flex; justify-content:center; gap:26px; margin:22px 0 0; }
.vw2-act{ display:flex; flex-direction:column; align-items:center; gap:7px; border:0; background:none; cursor:pointer; color:var(--accent); }
.vw2-act .ic{ width:50px; height:50px; border-radius:50%; display:grid; place-items:center; background:var(--accent); color:#fff; box-shadow:0 10px 22px -10px rgba(193,101,46,.7); transition:transform .12s; }
.vw2-act:hover .ic{ transform:translateY(-2px); }
.vw2-act.on .ic{ background:var(--accent-deep,#b4571f); }
.vw2-act .cnt{ font-size:14px; font-weight:700; color:var(--navy); }
.vw2-act[data-act="view"]{ cursor:default; }
.vw2-act[data-act="view"] .ic{ box-shadow:none; }

/* ── media + place + map (view) ── */
.vw2-slider{ display:flex; gap:12px; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:8px; }
.vw2-slider img{ flex:0 0 86%; scroll-snap-align:center; border-radius:16px; aspect-ratio:3/2; object-fit:cover; }
.vw2-gallery{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.vw2-gallery img{ width:100%; aspect-ratio:1; object-fit:cover; border-radius:16px; }
.vw2-img{ width:100%; border-radius:18px; object-fit:cover; display:block; }
.vw2-cap{ font-size:13px; color:var(--muted); text-align:center; margin-top:8px; }
.vw2-map{ position:relative; border-radius:18px; overflow:hidden; background:#e8eef6; height:260px; }
.vw2-map img{ width:100%; height:100%; object-fit:cover; display:block; }
.vw2-pin{ position:absolute; top:50%; left:50%; transform:translate(-50%,-100%); color:#e23b3b; }
.vw2-mapcap{ margin-top:10px; color:#46546e; font-size:14px; }
.vw2-place{ display:flex; gap:14px; align-items:center; background:#f7f9fc; border-radius:16px; padding:14px 18px; margin-top:10px; }
.vw2-place .vw2-wicon{ width:46px; height:46px; flex:0 0 auto; } .vw2-place .vw2-wicon svg{ width:22px; height:22px; }
.vw2-place .nm{ font-weight:700; color:var(--navy); } .vw2-place .ad{ font-size:13px; color:var(--muted); }
.vw2-tag{ margin-left:auto; font-size:11px; background:#eaeff6; border-radius:999px; padding:4px 10px; color:#46546e; }

/* nested sub block */
.vw2-sub{ margin:16px 0 0; padding-left:16px; border-left:2px solid #eef1f6; }
.vw2-subgrid{ display:grid; grid-template-columns:minmax(0,1fr) 130px; gap:20px; align-items:start; }

/* full-bleed banner widget */
.vw2-fullbanner{ position:relative; width:100vw; margin-left:calc(50% - 50vw); margin-top:22px; }
.vw2-fullbanner img{ width:100%; aspect-ratio:24/9; object-fit:cover; display:block; }
.vw2-fullbanner .ph{ width:100%; aspect-ratio:24/9; background:#dce4ef; }
.vw2-fullbanner span{ position:absolute; left:0; bottom:0; width:100%; padding:30px; box-sizing:border-box; color:#fff; font-family:'Instrument Serif',serif; font-size:30px; background:linear-gradient(transparent,rgba(0,0,0,.55)); }

/* dividers */
.vw2-hr{ border:0; border-top:2px solid #e6ebf3; margin:34px 0; }
.vw2-hr.day,.vw2-hr.week{ border-top:2px solid var(--accent); opacity:.5; }
.vw2-dividerlabel{ text-align:center; font-family:'JetBrains Mono',monospace; font-size:12px; letter-spacing:.16em; text-transform:uppercase; color:var(--accent); margin:34px 0 4px; padding-top:24px; border-top:2px solid var(--accent); opacity:.85; }

/* owner edit bar */
.vw2-editbar{ position:fixed; left:0; right:0; bottom:0; z-index:40; display:flex; justify-content:center; gap:12px; align-items:center; padding:14px; background:rgba(255,255,255,.93); backdrop-filter:blur(8px); border-top:1px solid #e6ebf3; }
.vw2-editbar small{ color:var(--muted); font-size:12.5px; }

@media (max-width:860px){
  .vw2-grid{ grid-template-columns:minmax(0,1fr); gap:24px; }
  .vw2-headside{ position:static; margin-top:18px; }
  .vw2-subgrid{ grid-template-columns:1fr; }
  .vw2-title{ font-size:36px; }
}

/* ════ VIEW v2 — batch updates (margin, media, arrival, social, flags, author) ════ */
/* 1. breathing room between header and first widget */
.vw2-head{ padding-bottom:48px; }
.vw2-blocks{ margin-top:6px; }

/* 3. bigger media (full width, no rail) */
.vw2-mediablock{ padding:32px 0; border-top:1px solid #eef1f6; }
.vw2-mediablock .vw2-wtitle{ margin-bottom:18px; }
.vw2-mediablock .vw2-slider img{ flex-basis:88%; aspect-ratio:auto; }
.vw2-mediablock .vw2-gallery{ gap:14px; }
.vw2-submedia{ margin-top:14px; }
.vw2-submedia .vw2-slider img{ flex-basis:70%; }

/* 4. arrival on two rows */
.vw2-arrival .vw2-dv2{ margin-top:2px; padding-left:23px; font-size:12.5px; color:var(--muted); }

/* 5. share + report buttons */
.vw2-authbtns{ display:flex; justify-content:center; gap:8px; margin:10px 0 6px; }
.vw2-iconbtn{ width:32px; height:32px; border-radius:50%; border:0; background:rgba(11,27,51,.05); color:var(--muted); cursor:pointer; display:grid; place-items:center; }
.vw2-iconbtn:hover{ color:var(--navy); background:rgba(11,27,51,.09); }
.vw2-share.done{ color:var(--accent); background:rgba(232,154,94,.15); }
.vw2-report.on{ color:#e23b3b; background:rgba(226,59,59,.12); }

/* 6 + 8. follow button (visitor only) */
.vw2-follow{ display:inline-flex; align-items:center; gap:5px; margin-top:10px; padding:8px 16px; border:0; border-radius:999px; background:#7cb342; color:#fff; font-weight:700; font-size:14px; cursor:pointer; }
.vw2-follow .ic{ display:grid; place-items:center; }
.vw2-follow.on{ background:#5a6b78; }
.vw2-follow:hover{ filter:brightness(1.04); }

/* 7. location flags in the card */
.vw2-locs{ display:inline-flex; flex-wrap:wrap; gap:6px 12px; min-width: 320px; }
.vw2-locitem{ display:inline-flex; align-items:center; gap:6px; }
.vw2-flag{ width:20px; height:11px; border-radius:2px; box-shadow:0 0 0 1px rgba(11,27,51,.12); display:inline-block; flex:0 0 auto; }

/* 8. bottom author card */
.vw2-authorcard{ display:flex; align-items:center; gap:16px; margin:52px 0 8px; padding:20px 24px; background:#fbfcfe; border:1px solid #eef1f6; border-radius:18px; }
.vw2-authorcard .vw2-acmeta{ flex:1; text-align:left; }
.vw2-authorcard .vw2-by{ font-size:12px; }
.vw2-authorcard .vw2-name{ font-size:19px; margin:0; }
.vw2-avatar.sm{ width:54px; height:54px; font-size:18px; border-width:3px; margin:0; box-shadow:none; }
.vw2-authorcard .vw2-follow{ margin-top:0; }

/* ════ EDITOR — image settings popover (image / gallery / slider) ════ */
.we-settings{ position:absolute; top:50px; left:24px; z-index:30; }
.we-settings[hidden]{ display:none; }
.we-settings-card{ background:#fff; border-radius:16px; box-shadow:0 28px 70px -22px rgba(11,27,51,.45); padding:24px 26px; width:340px; max-width:82vw; }
.we-settings-card h4{ font-family:'Plus Jakarta Sans',sans-serif; font-weight:800; font-size:21px; color:#2f3168; margin:0 0 14px; border-bottom:2px solid #2f3168; padding-bottom:12px; }
.we-shint{ font-size:13px; color:var(--muted); margin:4px 0 10px; line-height:1.4; }
.we-srad{ display:flex; align-items:center; gap:10px; padding:7px 0; font-weight:600; color:var(--navy); cursor:pointer; font-size:15px; }
.we-srad input{ accent-color:var(--accent); width:17px; height:17px; cursor:pointer; }
.we-sdiv{ border:0; border-top:1px solid #d8def0; margin:14px 0; }
.we-sclose{ margin-top:16px; padding:10px 22px; border:0; border-radius:999px; background:var(--accent); color:#fff; font-weight:700; font-size:14px; cursor:pointer; }
.we-sclose:hover{ background:var(--accent-deep,#b4571f); }

/* ════ card author header — follow under avatar, plain share/report icons ════ */
.vw2-author .vw2-follow{ margin:12px 0 2px; }
.vw2-authbtns{ gap:20px; margin:14px 0 6px; }
.vw2-iconbtn{ width:auto; height:auto; border-radius:0; background:none; color:var(--navy); padding:2px; }
.vw2-iconbtn:hover{ background:none; color:var(--accent); }
.vw2-share.done{ background:none; color:var(--accent); }
.vw2-report.on{ background:none; color:#e23b3b; }

/* kill the stray auto-margins on share/report so they sit tight together */
.vw2-authbtns .vw2-iconbtn{ margin:0; }
.vw2-authbtns{ gap:14px; }

/* album thumbnail (hero cover photo) under the intro */
.vw2-herophoto{ width:100%; border-radius:20px; aspect-ratio:16/9; object-fit:cover; display:block; margin:24px 0 6px; }

/* ════ subwidget = like main widget, no rail/line; more breathing room ════ */
.vw2-sub{ margin-top:26px; padding-left:0; border-left:0; }      /* +~10% gap, no divider line */
.vw2-block{ padding:38px 0; }                                     /* +25% margin between blocks */
.vw2-mediablock{ padding:40px 0; }

/* no automatic line between widgets — only explicit divider widgets */
.vw2-block, .vw2-mediablock{ border-top:0; }
/* divider label a bit bolder + bigger */
.vw2-dividerlabel{ font-size:15px; font-weight:700; letter-spacing:.1em; }

/* ── real Leaflet map for the Location widget (faux bg = fallback) ── */
.vw2-leafmap{ position:relative; height:260px; border-radius:18px; overflow:hidden; background:#e8eef0 center/cover no-repeat; }
.vw2-leafmap.is-live{ background:none; }
.vw2-leafpin{ background:none; border:0; }
.vw2-leafmap .leaflet-control-attribution{ font-size:9px; }
.vw2-leafmap .leaflet-popup-content{ font-family:'Plus Jakarta Sans',sans-serif; }




/* ════ BUSINESS — Budget control in trip-details sidebar ════ */
.tc-bud-modes{display:inline-flex;background:#eef1f6;border-radius:999px;padding:3px;gap:2px}
.tc-bud-modes button{border:0;background:none;padding:7px 15px;border-radius:999px;font:inherit;font-size:12.5px;font-weight:700;color:var(--muted);cursor:pointer}
.tc-bud-modes button.active{background:#fff;color:var(--navy);box-shadow:0 1px 4px rgba(11,27,51,.12)}
.tc-bud-signs{display:flex;gap:6px}
.tc-bud-signs button{flex:1;border:1px solid #e1e7f0;background:#fff;border-radius:9px;padding:9px 0;font:inherit;font-weight:700;font-size:15px;color:#c9ced8;cursor:pointer;transition:all .12s}
.tc-bud-signs button.on{border-color:var(--accent);color:var(--accent-deep);background:rgba(232,154,94,.10)}
.tc-bud-hint{font-size:11px;color:var(--muted);margin-top:6px}
.tc-bud-persons{margin-top:12px;display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--muted)}
.tc-bud-persons input{width:62px;padding:8px 10px;border:1px solid #e1e7f0;border-radius:9px;font:inherit;font-size:13px;color:var(--navy)}

/* ════ BUSINESS — view-page CTA cards (Book Now / Connect Request) ════ */
.vw2-cta{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:22px}
.vw2-ctacard{position:relative;display:flex;flex-direction:column;gap:14px;min-height:184px;padding:22px;border-radius:24px;text-decoration:none;overflow:hidden;isolation:isolate;transition:transform .2s cubic-bezier(.2,.7,.3,1),box-shadow .2s ease}
/* cohesive 2-tone palette (slate-navy + warm stone), inverted per card. No orange.
   Book = filled slate (primary, stands out) + stone pill. Connect = stone card + slate pill. */
.vw2-ctacard.book{background:linear-gradient(155deg,#37506f 0%,#26384f 65%);color:#fff;border:1.5px solid rgba(244,240,232,.45);box-shadow:0 16px 34px -16px rgba(11,27,51,.5)}
.vw2-ctacard.connect{background:linear-gradient(155deg,#f4f0e8 0%,#e9e3d7 100%);color:var(--navy);border:1.5px solid rgba(38,56,79,.4);box-shadow:0 14px 30px -18px rgba(11,27,51,.26)}
.vw2-ctacard:hover{transform:translateY(-5px)}
.vw2-ctacard.book:hover{box-shadow:0 28px 52px -18px rgba(11,27,51,.64)}
.vw2-ctacard.connect:hover{box-shadow:0 24px 46px -20px rgba(11,27,51,.32)}
.vw2-ctacard::after{content:"";position:absolute;top:-46%;right:-24%;width:180px;height:180px;border-radius:50%;background:rgba(255,255,255,.14);filter:blur(22px);z-index:-1;pointer-events:none}
.vw2-ctacard.connect::after{background:rgba(255,255,255,.5)}
.vw2-ctaic{width:44px;height:44px;border-radius:14px;background:rgba(255,255,255,.16);display:grid;place-items:center}
.vw2-ctacard.connect .vw2-ctaic{background:rgba(11,27,51,.06)}
.vw2-ctaic svg{width:22px;height:22px;color:#fff}
.vw2-ctacard.connect .vw2-ctaic svg{color:var(--navy)}
.vw2-ctatxt h4{margin:0 0 5px;font-family:'Plus Jakarta Sans',sans-serif;font-weight:800;font-size:18px;letter-spacing:-.01em}
.vw2-ctatxt p{margin:0;font-size:12.5px;line-height:1.5;opacity:.9}
.vw2-ctacard.connect .vw2-ctatxt p{color:var(--muted);opacity:1}
.vw2-ctago{margin-top:auto;align-self:flex-start;display:inline-flex;align-items:center;gap:7px;padding:9px 16px;border-radius:999px;font-family:'Plus Jakarta Sans',sans-serif;font-weight:800;font-size:13px}
.vw2-ctacard.book .vw2-ctago{background:#f4f0e8;color:var(--navy)}
.vw2-ctacard.connect .vw2-ctago{background:var(--navy);color:#fff}
.vw2-ctago svg{width:15px;height:15px;transition:transform .2s ease}
.vw2-ctacard:hover .vw2-ctago svg{transform:translate(2px,-2px)}
@media (max-width:520px){ .vw2-cta{grid-template-columns:1fr} }

/* budget € signs in the view details card */
.vw2-eur{font-weight:800;color:var(--accent-deep);letter-spacing:1px}
.vw2-eur .off{color:#cbd2dd}
.vw2-budpers{color:var(--muted);font-weight:500;font-size:.9em}

