/* Board, Send help panel (public/pages/board-help.js), in the floating panel language Jay approved on 2026-11-17
   (docs/ui_2026-11-17/map2_light_1440.png, routes_light.png): a bold title over one grey status line, quiet rows split
   by hairlines, status as a dot and a coloured word, small crisp type, nothing boxed. The chosen van is the one large
   object and "Send van ..." the one blue fill. Colours only from the app.css theme properties, so light and dark follow
   document.documentElement.dataset.theme. Every class is hp-. */
.hp{container-type:inline-size;display:flex;flex-direction:column;height:100%;min-height:0;background:var(--bg);color:var(--text);font-size:12.5px;line-height:1.4;font-variant-numeric:tabular-nums}
.hp:focus{outline:none}
.hp-ico{flex:none;display:inline-block;vertical-align:middle}
.hp em{font-style:normal}

/* head: title, one grey line, where the riders are */
.hp-head{flex:none;padding:18px 16px 12px;border-bottom:1px solid var(--line)}
.hp-titlerow{display:flex;align-items:center;justify-content:space-between;gap:8px}
.hp .hp-title{margin:0;font-size:17px;font-weight:700;line-height:1.2;letter-spacing:-.01em;color:var(--text)}
.hp-title:focus{outline:none}
.hp-x{flex:none;display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;margin:-6px -7px -6px 0;padding:0;border:0;border-radius:8px;background:none;color:var(--text-2);cursor:pointer;transition:background-color 140ms ease,color 140ms ease}
.hp-x:hover{background:var(--row-hover);color:var(--text)}
.hp-sub{margin:3px 0 0;font-size:12.5px;color:var(--text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hp-late{font-weight:600;color:var(--red-ink)}
.hp-late i{display:inline-block;width:7px;height:7px;margin:0 5px 0 1px;vertical-align:1px;border-radius:50%;background:currentColor}
.hp-where{margin:6px 0 0;font-size:12.5px;color:var(--text)}

.hp-scroll{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;padding-bottom:20px}

/* section labels: quiet text, a count beside */
.hp-sec{padding:0}
.hp-sech{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;min-height:34px;padding:0 16px 6px}
.hp .hp-sech h3{margin:0;font-size:11.5px;font-weight:600;line-height:1.2;letter-spacing:0;color:var(--text-2)}
.hp-n{margin-left:6px;color:var(--text);font-weight:650}
.hp-link{display:inline-flex;align-items:center;gap:4px;padding:2px 0;border:0;background:none;color:var(--primary-ink);font:inherit;font-size:12px;font-weight:600;cursor:pointer;white-space:nowrap;text-underline-offset:3px}
.hp-link:hover{text-decoration:underline}

/* the stops: a checklist, one row each, hairlines */
.hp-stops,.hp-rows,.hp-calls,.hp-steps{list-style:none;margin:0;padding:0}
.hp-stops{border-top:1px solid var(--line)}
.hp-stop{border-bottom:1px solid var(--line)}
.hp-stopl{display:flex;gap:10px;padding:9px 16px 9px;cursor:pointer;transition:background-color 140ms ease}
.hp-stopl:hover{background:var(--row-hover)}
.hp-cb{flex:none;width:15px;height:15px;margin:1px 0 0;accent-color:var(--primary);cursor:pointer}
.hp-stopb{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}
.hp-stop1{display:flex;align-items:baseline;gap:8px;min-width:0}
.hp-stop1 b{flex:none;font-weight:650}
.hp-addr{flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--text)}
.hp-due{flex:none;margin-left:auto;font-size:12px;color:var(--text-2)}
.hp-stop2{font-size:11.5px;color:var(--text-2)}
.hp-stop3{font-size:11.5px;line-height:1.4;color:var(--text-2)}
.hp-stop:not(.hp-on) .hp-stop1 b,.hp-stop:not(.hp-on) .hp-addr{color:var(--text-2);font-weight:500}
.hp-stop:not(.hp-on) .hp-stop1 b{font-weight:600}
.hp-warn{color:var(--amber-ink)}
.hp-stop3.hp-warn{color:var(--amber-ink)}

/* the chosen van: the one large object */
.hp-hero{padding:16px 16px 18px;border-bottom:1px solid var(--line)}
.hp-hero.hp-stale{opacity:.5}
.hp-heroh{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.hp-kicker{margin:0;font-size:11.5px;font-weight:600;color:var(--text-2);white-space:nowrap}
.hp-whyrank{margin:3px 0 0;font-size:12px;color:var(--text-2)}
.hp-van{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px;margin:4px 0 0}
.hp-van b{font-size:24px;font-weight:750;line-height:1.15;letter-spacing:-.02em}
.hp-who{font-size:13.5px;font-weight:500;color:var(--text)}
.hp-owner{font-size:11.5px;font-weight:600;color:var(--amber-ink);white-space:nowrap}
.hp-rwho .hp-owner{margin-left:6px}

.hp-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:14px 0 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.hp-facts>div{padding:9px 0 9px 12px;border-left:1px solid var(--line);min-width:0}
.hp-facts>div:first-child{padding-left:0;border-left:0}
.hp-facts dt{font-size:11.5px;color:var(--text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hp-facts dd{margin:2px 0 0;font-size:21px;font-weight:700;line-height:1.1;letter-spacing:-.015em;color:var(--text)}
.hp-facts dd small{font-size:12.5px;font-weight:600;letter-spacing:0;color:var(--text-2)}
.hp-facts dd.hp-at{margin-top:3px;font-size:11.5px;font-weight:500;letter-spacing:0;color:var(--text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hp-own{margin:10px 0 0;font-size:12.5px;line-height:1.45;color:var(--text)}
.hp-own+.hp-own{margin-top:4px}
.hp-own.hp-warn{color:var(--amber-ink)}

.hp-say{margin:12px 0 0;padding:0 0 0 12px;border-left:2px solid var(--line-strong)}
.hp-say figcaption{font-size:11.5px;font-weight:600;color:var(--text-2)}
.hp-say blockquote{margin:3px 0 0;font-size:13px;line-height:1.45;color:var(--text)}

.hp-send{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;margin:16px 0 0;padding:8px 14px;border:1.5px solid var(--primary);border-radius:var(--r-sm);background:var(--primary);color:#FFFFFF;font:inherit;font-size:15px;font-weight:650;letter-spacing:-.005em;cursor:pointer;transition:background-color 140ms ease,border-color 140ms ease,transform 90ms ease}
.hp-send:hover{background:var(--primary-press);border-color:var(--primary-press)}
.hp-send:active{transform:scale(.985)}
.hp-send:disabled{opacity:.5;cursor:default;transform:none}
.hp-send[aria-busy="true"]{opacity:.72;cursor:progress}
.hp-hint{margin:7px 0 0;font-size:11.5px;color:var(--text-2);text-align:center}
.hp-hint[hidden],.hp-miss[hidden]{display:none}
.hp-miss{margin:12px 0 0;font-size:12.5px;font-weight:600;color:var(--red-ink)}

/* why another van: big tap targets */
.hp-reason{margin:16px 0 0;padding:0;border:0;min-width:0}
.hp-reason legend{padding:0;margin:0 0 8px;font-size:13px;font-weight:650;color:var(--text)}
.hp-chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.hp-chip{position:relative;display:flex;align-items:center;min-height:40px;padding:6px 11px;border:1px solid var(--line-strong);border-radius:8px;background:var(--bg);font-size:12.5px;font-weight:500;line-height:1.25;color:var(--text);cursor:pointer;transition:background-color 140ms ease,border-color 140ms ease}
.hp-chip:hover{background:var(--row-hover)}
.hp-chip input{position:absolute;opacity:0;pointer-events:none}
.hp-chip:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:1px}
.hp-chip-on{border-color:var(--primary);background:var(--primary-tint);color:var(--primary-ink);font-weight:650}
.hp-chip-on:hover{background:var(--primary-tint)}
.hp-notel{display:flex;flex-direction:column;gap:5px;margin:10px 0 0;font-size:11.5px;font-weight:600;color:var(--text-2)}
.hp-note{width:100%;min-height:52px;padding:8px 10px;border:1px solid var(--line-strong);border-radius:8px;background:var(--bg);color:var(--text);font:inherit;font-size:12.5px;font-weight:400;line-height:1.4;resize:vertical}
.hp-note::placeholder{color:var(--text-2);opacity:.8}
.hp-note:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 1px var(--primary)}

/* other vans: quiet rows like the Routes table */
.hp-rows{border-top:1px solid var(--line)}
.hp-rows>li{border-bottom:1px solid var(--line)}
.hp-row{display:flex;align-items:center;gap:10px;width:100%;min-height:36px;padding:0 16px;border:0;background:none;color:var(--text);font:inherit;font-size:12.5px;text-align:left;cursor:pointer;transition:background-color 140ms ease}
.hp-row:hover{background:var(--row-hover)}
.hp-row:focus-visible{outline:none;box-shadow:inset 2px 0 0 var(--primary);background:var(--row-hover)}
.hp-tag{flex:none;width:40px;font-weight:650}
.hp-star{margin-left:3px;font-style:normal;color:var(--primary)}
.hp-rwho{flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--text)}
.hp-rnum{flex:none;min-width:44px;text-align:right;color:var(--text)}
.hp-radd{min-width:50px;color:var(--text-2)}
.hp-rnote{margin:-6px 0 0;padding:0 16px 8px 66px;font-size:11.5px}
.hp-li{display:flex;align-items:center;gap:10px;min-height:36px;padding:7px 16px}
.hp-un{align-items:flex-start}
.hp-un .hp-tag{color:var(--text-2)}
.hp-unb{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}
.hp-un .hp-rwho{color:var(--text-2)}
.hp-why{font-size:11.5px;line-height:1.4;color:var(--text-2)}
.hp-un .hp-link{margin-top:-1px}
.hp-sel{box-shadow:inset 2px 0 0 var(--primary);background:var(--row-hover)}

.hp-latevan{margin:14px 16px 0;font-size:12px;line-height:1.45;color:var(--text-2)}
.hp-asof{margin:6px 16px 0;font-size:11.5px;color:var(--text-2)}

/* no van, nothing ahead */
.hp-none .hp-nonet{margin:0;font-size:15px;font-weight:650;color:var(--text)}
.hp-none .hp-own{color:var(--text-2)}
.hp-empty{padding:28px 16px;font-size:13px;color:var(--text-2)}
.hp-empty p{margin:0 0 14px;color:var(--text)}

/* messages: one line in the ink of what it means */
.hp-msg{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:12px 16px 0;padding:9px 12px;border-radius:8px;font-size:12.5px;line-height:1.4}
.hp-msg p{flex:1 1 220px;margin:0}
.hp-msg-bad{background:var(--red-bg);color:var(--red-ink)}
.hp-msg-warn{background:var(--amber-bg);color:var(--amber-ink)}
.hp-msg-ok{background:var(--primary-tint);color:var(--primary-ink)}
.hp-btn2{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:5px 12px;border:1.5px solid var(--line-strong);border-radius:var(--r-sm);background:var(--bg);color:var(--text);font:inherit;font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap;transition:background-color 140ms ease,border-color 140ms ease}
.hp-btn2:hover{background:var(--row-hover);border-color:var(--text-2)}
.hp-btn2:disabled{opacity:.5;cursor:default}

/* loading in words */
.hp-loading{padding:18px 16px}
.hp-lead{margin:0 0 10px;font-size:13px;font-weight:650;color:var(--text)}
.hp-step{display:flex;align-items:center;gap:8px;min-height:24px;font-size:12.5px;color:var(--text-2);opacity:.55}
.hp-step .hp-ico{color:var(--text-2)}
.hp-dotw{flex:none;display:inline-block;width:6px;height:6px;margin:0 4px;border-radius:50%;background:var(--line-strong)}
.hp-step.hp-past{opacity:1}
.hp-step.hp-now{opacity:1;color:var(--text);font-weight:600}
.hp-step.hp-now .hp-dotw{background:var(--primary)}
.hp-slow{margin:10px 0 0;font-size:12px;color:var(--amber-ink)}

/* confirmation and result */
.hp-confirm,.hp-done{padding:16px 16px 4px}
.hp-cfmain{margin:6px 0 0;font-size:17px;font-weight:650;line-height:1.35;letter-spacing:-.01em;color:var(--text)}
.hp-cfreach{margin:4px 0 0;font-size:15px;line-height:1.4;color:var(--text)}
.hp-dl{margin:16px 0 0;border-top:1px solid var(--line)}
.hp-dl>div{display:grid;grid-template-columns:118px minmax(0,1fr);gap:12px;padding:9px 0;border-bottom:1px solid var(--line)}
.hp-dl dt{font-size:12px;color:var(--text-2)}
.hp-dl dd{margin:0;font-size:12.5px;line-height:1.45;color:var(--text)}
.hp-confirm .hp-msg{margin:12px 0 0}
.hp-actions{display:flex;align-items:center;gap:10px;margin:16px 0 0}
.hp-actions .hp-send{flex:1 1 auto;width:auto;margin:0}
.hp-actions .hp-btn2{min-height:44px}
.hp-done .hp-actions{justify-content:space-between}
.hp-ok{display:flex;align-items:center;gap:6px;margin:0;font-size:13px;font-weight:650;color:var(--primary-ink)}
.hp-ok:focus{outline:none}
.hp-rec{margin:6px 0 0;font-size:12px;color:var(--text-2)}
.hp-done .hp-sech{min-height:0;padding:0 0 8px;margin-top:20px}
.hp .hp-done .hp-sech h3{font-size:13px;font-weight:650;color:var(--text)}
.hp-calls{border-top:1px solid var(--line)}
.hp-call{padding:10px 0;border-bottom:1px solid var(--line)}
.hp-call1{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.hp-call1 b{min-width:0;font-size:13.5px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hp-tel{flex:none;display:inline-flex;align-items:center;gap:5px;font-size:15px;font-weight:650;color:var(--primary-ink);text-decoration:none}
.hp-tel:hover{text-decoration:underline}
.hp-nophone{flex:none;font-size:12px;color:var(--amber-ink);font-weight:600}
.hp-text{margin:5px 0 0;font-size:12px;line-height:1.45;color:var(--text-2)}
.hp-copy{margin-top:4px;font-size:11.5px}
.hp-qryde{margin:0;padding:9px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:12.5px;line-height:1.45;color:var(--text)}

/* a narrow panel */
@container (max-width:400px){
  .hp-head,.hp-sech,.hp-stopl,.hp-hero,.hp-row,.hp-li,.hp-confirm,.hp-done,.hp-loading{padding-left:14px;padding-right:14px}
  .hp-facts dd{font-size:19px}
  .hp-dl>div{grid-template-columns:96px minmax(0,1fr)}
}
@container (max-width:340px){.hp-chips{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){.hp *{transition:none!important}}
