/* Varifrån kom båten? — scoped to .vf (standalone page + [varifran] embeds).
   Mobile-first single column; ≥960px: tool left, harbours + CTA right. */
.vf, .vf * { box-sizing: border-box; }
body.vf-standalone { margin: 0; background: #f2f7fb; }
.vf {
  font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #16232f;
  line-height: 1.5;
  max-width: 520px;
  margin: 0 auto;
  padding: 28px 20px 40px;
  background: #fff;
}
body.vf-standalone .vf { min-height: 100vh; }
.sbr2-varifran-embed .vf { border: 1px solid #d5e0ea; border-radius: 14px; }

.vf-head { text-align: center; }
.vf-logo { margin-bottom: 6px; }
.vf-title { font-size: 26px; color: #0b3d66; margin: 0 0 6px; }
.vf-lead { color: #33475b; font-size: 15px; margin: 0 auto 22px; max-width: 600px; }
.vf-label { display: block; font-weight: 600; font-size: 14px; margin: 16px 0 6px; }
.vf-map { width: 100%; height: 300px; border-radius: 10px; background: #e3eef7; margin-bottom: 8px; }
.vf-pos-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.vf-btn-ghost { background: #e3eef7; color: #0b3d66; border: 0; border-radius: 8px; padding: 9px 14px; font-size: 14px; font-weight: 600; cursor: pointer; }
.vf-pos-label { font-size: 13px; color: #5a6b7a; }
.vf-coords { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.vf-coords input, #vf-found, #vf-since { width: 100%; font-size: 15px; padding: 10px 12px; border: 1px solid #c7d3de; border-radius: 8px; background: #fff; color: #16232f; }
.vf-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.vf-chips button { background: #eef2f6; color: #33475b; border: 1px solid #d5e0ea; border-radius: 999px; padding: 8px 16px; font-size: 14px; cursor: pointer; }
.vf-chips button.on { background: #0b3d66; color: #fff; border-color: #0b3d66; }
.vf-label-sub { font-weight: 400; color: #5a6b7a; font-size: 12px; }
.vf-typecards { display: grid; gap: 8px; }
.vf-typecards button {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left;
  background: #fff; border: 2px solid #d5e0ea; border-radius: 10px; padding: 10px 14px;
  font: inherit; cursor: pointer; color: #16232f;
}
.vf-typecards button b { font-size: 14px; color: #0b3d66; }
.vf-typecards button small { font-size: 12px; color: #5a6b7a; }
.vf-typecards button.on { border-color: #0b3d66; background: #e7f0f8; }
.vf-typecards button.on b::after { content: '  ✓'; }
.vf-hint { font-size: 12px; color: #5a6b7a; margin: 6px 0 0; }
#vf-submit { width: 100%; background: #0b3d66; color: #fff; border: 0; border-radius: 10px; padding: 14px; font-size: 16px; font-weight: 600; cursor: pointer; margin-top: 18px; }
#vf-submit[disabled] { opacity: 0.6; }
.vf-out { margin-top: 18px; }
.vf-error { margin-top: 18px; background: #fdf6e8; border: 2px solid #ecd9ac; border-radius: 12px; padding: 12px; font-size: 14px; }
.vf-svg { width: 100%; background: #f2f7fb; border: 1px solid #d5e0ea; border-radius: 10px; }
.vf-legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; font-size: 12px; color: #33475b; }
.vf-key i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; }
.vf-caveat { color: #8a6d1a; font-size: 12px; margin: 6px 0 0; }
.vf-harbors { margin-top: 26px; }
.vf-harbors h2 { font-size: 17px; color: #0b3d66; margin: 0 0 4px; }
.vf-harbor { border: 1px solid #d5e0ea; border-radius: 10px; padding: 10px 14px; margin-top: 8px; }
.vf-harbor-name { font-weight: 700; color: #0b3d66; text-decoration: none; font-size: 15px; }
.vf-harbor-meta { font-size: 12px; color: #5a6b7a; margin: 2px 0 6px; }
.vf-harbor-actions { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; }
.vf-harbor-tel { color: #16232f; text-decoration: none; font-weight: 600; }
.vf-harbor-web { color: #0b3d66; }
.vf-cta { margin-top: 26px; background: #f2f7fb; border-radius: 12px; padding: 16px 18px; }
.vf-cta h2 { font-size: 16px; color: #0b3d66; margin: 0 0 6px; }
.vf-cta p { font-size: 14px; color: #33475b; margin: 0 0 12px; }
.vf-cta-btn { display: block; text-align: center; background: #0b3d66; color: #fff; border-radius: 10px; padding: 12px; font-weight: 600; text-decoration: none; }
.vf-foot { margin-top: 28px; text-align: center; font-size: 12px; color: #5a6b7a; }

@media (min-width: 960px) {
  .vf { max-width: 1060px; padding: 48px 40px; }
  body.vf-standalone .vf { background: transparent; }
  .vf-cols { display: grid; grid-template-columns: minmax(420px, 560px) minmax(300px, 400px); gap: 44px; justify-content: center; align-items: start; }
  body.vf-standalone .vf-main { background: #fff; border-radius: 14px; padding: 24px 28px; box-shadow: 0 1px 3px rgba(10,48,80,0.08), 0 4px 16px rgba(10,48,80,0.06); }
  body.vf-standalone .vf-side > * { background: #fff; border-radius: 14px; padding: 20px 22px; box-shadow: 0 1px 3px rgba(10,48,80,0.08), 0 4px 16px rgba(10,48,80,0.06); }
  body.vf-standalone .vf-side .vf-cta { margin-top: 20px; background: #fff; }
  .vf-harbors { margin-top: 0; }
  .vf-title { font-size: 32px; }
  .vf-map { height: 360px; }
}
