/* Hjälp på vägen (hjalp.js). Klasser börjar med hj-. Rött används här för att det gäller nödläge. */
.hj-head{margin-right:-6px}
.hj-head svg{width:22px;height:22px}
.hj-dot{position:absolute;top:7px;right:7px;width:9px;height:9px;border-radius:50%;background:var(--no);border:2px solid #fff}
.hj-banner{display:flex;align-items:center;gap:12px;padding:12px 16px;margin:0 0 16px;border:1px solid #F0C9C5;border-radius:14px;background:var(--no-soft);color:var(--ink);text-decoration:none}
.hj-banner>svg:first-child{flex:none;width:24px;height:24px;color:var(--no)}
.hj-banner span{flex:1;min-width:0}
.hj-banner b{display:block;font-weight:600}
.hj-banner small{font-size:13px;color:var(--muted)}
.hj-banner>svg:last-child{flex:none;width:18px;height:18px;color:var(--muted)}
.hj-banner.me{border-color:#F0C9B2;background:var(--mist)}
.hj-banner.me>svg:first-child{color:var(--act)}

.hj .intro{color:var(--muted);font-size:17px;margin:6px 0 16px;max-width:36em}
.hj-112{display:flex;align-items:center;gap:16px;padding:16px 18px;border-radius:16px;background:var(--no-soft);border:1px solid #F0C9C5;margin-bottom:22px}
.hj-112>div{flex:1}
.hj-112 b{font-weight:600}
.hj-112 p{margin:2px 0 0;font-size:15px}
.hj-call{flex:none;background:var(--no);border-color:var(--no);color:#fff}
.hj-call:hover{background:#94201A}
.hj-call svg{width:18px;height:18px}
.hj-112.sm{display:block;padding:10px 14px;margin:10px 0 0;font-size:14px}
.hj-112.sm a{color:var(--no);font-weight:700}
.hj-grid{display:grid;grid-template-columns:1fr 420px;gap:32px;align-items:start}
.hj-mapcol{position:sticky;top:calc(var(--top) + 20px);height:min(560px,calc(100vh - var(--top) - 40px));border-radius:18px;overflow:hidden;border:1px solid var(--line)}
#hjMap{position:absolute;inset:0}
.hj-ask{padding:20px;border:1px solid var(--line);border-radius:18px;margin-bottom:24px}
.hj-ask h2{font-size:20px}
.hj-ask .btn{margin-top:14px}
.hj-ask .btn svg,.hj-acts .btn svg{width:17px;height:17px}
.hj-h{font-size:19px;margin:6px 0 12px}
.hj-h small{font-size:14px;font-weight:500;color:var(--muted)}
.hj-card{padding:16px;border:1px solid var(--line);border-radius:16px;background:#fff;margin-bottom:12px}
.hj-card.me{border-color:#F0C9B2}
.hj-ch{display:flex;align-items:center;gap:10px;justify-content:space-between}
.hj-ch small{font-size:13px;color:var(--muted)}
.hj-what{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:var(--no);background:var(--no-soft);border-radius:6px;padding:3px 8px}
.hj-card p{margin:8px 0 0}
.hj-meta{font-size:13px;color:var(--muted)}
.hj-acts{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px}
.hj-ok{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:var(--ok)}
.hj-ok svg{width:16px;height:16px}
.hj-mine{margin-bottom:26px}
.hj-mine .sec-h small{font-size:13px;color:var(--muted)}
.hj-reply{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;background:var(--ok-soft);margin:0 0 10px}
.hj-reply span:nth-child(2){flex:1;min-width:0}
.hj-reply b{display:block;font-weight:600}
.hj-reply small{font-size:14px;color:var(--muted)}
.hj-reply .btn svg{width:16px;height:16px}
.hj-wait{margin:0 0 10px}
.hj-pin{position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:var(--no);color:#fff;border:2px solid #fff;box-shadow:0 0 0 6px rgba(179,38,30,.18),0 2px 6px rgba(23,25,28,.35)}
.hj-pin svg{width:18px;height:18px}
.hj-pin.me{background:var(--act);box-shadow:0 0 0 6px rgba(194,65,12,.18),0 2px 6px rgba(23,25,28,.35)}
.hj-peek{grid-template-columns:1fr}
.hj-peek h3{margin-top:4px}

/* Formuläret */
.hj-sheet{max-width:600px}
.hj-whats{border:0;padding:0;margin:16px 0 0;display:flex;flex-wrap:wrap;gap:8px}
.hj-whats legend{font-size:14px;font-weight:600;margin-bottom:8px;padding:0}
.hj-whats label{position:relative;display:inline-flex;align-items:center;padding:0 13px;min-height:40px;border:1px solid var(--line);border-radius:999px;font-size:14px;font-weight:500;cursor:pointer;background:#fff}
.hj-whats input{position:absolute;opacity:0;pointer-events:none}
.hj-whats label.on{background:var(--ink);border-color:var(--ink);color:#fff}
.hj-whats label:focus-within{outline:2px solid var(--act);outline-offset:2px}
.hj-phone{margin-top:16px;padding:14px;border-radius:14px;background:var(--mist)}
.hj-phone .fld{margin-top:10px}
.hj-phone .check+.fld+.check{margin-top:10px}

@media (max-width:860px){
  .hj-head{margin:0 0 0 auto}
  .hj-head+.msgbtn{margin-left:0}
  .hj-grid{display:flex;flex-direction:column;align-items:stretch;gap:0}
  .hj-mapcol{order:-1;position:relative;top:auto;height:280px;margin:0 -16px 20px;border-radius:0;border-left:0;border-right:0}
  .hj-112{flex-direction:column;align-items:stretch}
  .hj-call{justify-content:center}
}
