/* ScoutTract party toolbar dock (party-dock.js). navy #1F2A44, copper #B87333, alert red #b42318 */
.pd-probe{position:fixed;left:0;top:0;width:0;height:0;visibility:hidden;pointer-events:none;
  padding:max(env(safe-area-inset-top,0px),var(--safe-area-inset-top,0px)) max(env(safe-area-inset-right,0px),var(--safe-area-inset-right,0px)) max(env(safe-area-inset-bottom,0px),var(--safe-area-inset-bottom,0px)) max(env(safe-area-inset-left,0px),var(--safe-area-inset-left,0px))}
/* member chips + grip/minimize share one row */
.pt-hud .pd-row{display:flex;align-items:center;gap:6px;min-width:0;pointer-events:none}
.pt-hud .pd-row>*{pointer-events:auto}
.pt-hud .pd-row .pt-strip{flex:1 1 auto;min-width:0}
.pt-hud .pd-row .pt-torow{flex:1 1 auto;min-width:0}
.pd-bar{display:flex;gap:4px;flex:none;margin-left:auto}
.pd-grip,.pd-fold,.pd-exp{flex:none;display:inline-flex;align-items:center;justify-content:center;border:1px solid #B87333;background:#1F2A44;color:#fff;border-radius:999px;cursor:pointer;box-shadow:0 2px 8px rgba(15,23,42,.3);font:700 13px system-ui,-apple-system,Segoe UI,Roboto,sans-serif}
.pd-grip{width:40px;height:36px;font-size:20px;line-height:1;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:grab}
.pd-fold{width:36px;height:36px;font-size:16px}
.pd-grip:focus-visible,.pd-fold:focus-visible,.pd-exp:focus-visible{outline:3px solid #f3d48b;outline-offset:2px}
.pt-hud.pd-drag{transition:none!important;opacity:.92}
.pt-hud.pd-drag .pd-grip{cursor:grabbing;background:#B87333}
.pd-grip2,.pd-exp{display:none}
/* moved / yielding: our inline top/left wins over party.js's bottom anchor */
.pt-hud.pd-abs{bottom:auto!important;transform:none!important}
.pt-hud.pd-yield{z-index:1150}
body.ch-open .pt-hud.pd-yield{visibility:visible!important}
/* ---- minimized pill: [grip] [SOS] [Party ▴] ---- */
.pt-hud.pd-min{flex-direction:row;align-items:center;gap:6px;width:auto!important;max-width:calc(100vw - 16px);padding:5px;border-radius:999px;background:rgba(31,42,68,.92);box-shadow:0 4px 16px rgba(15,23,42,.35);pointer-events:auto}
.pt-hud.pd-min.mobile{left:8px}
.pt-hud.pd-min:not(.pd-abs):not(.mobile){left:50%;transform:translateX(-50%)}
.pt-hud.pd-min>*:not(.pt-ctl):not(.pd-grip2):not(.pd-exp){display:none!important}
.pt-hud.pd-min .pt-ctl{display:flex!important}
.pt-hud.pd-min .pt-ctl>*:not(.pt-sos-btn){display:none!important}
.pt-hud.pd-min .pt-sos-btn{width:52px;height:52px;font-size:14px}
.pt-hud.pd-min .pd-grip2{display:inline-flex;order:-1;height:44px;width:34px;background:transparent;border-color:#5a6a8a;box-shadow:none}
.pt-hud.pd-min .pd-exp{display:inline-flex;position:relative;gap:5px;height:44px;padding:0 12px;min-width:44px}
.pd-exp.sharing{background:#B87333;border-color:#fff}
.pd-exp [hidden]{display:none}
.pd-exp .pd-dot{position:absolute;top:2px;right:2px;width:10px;height:10px;border-radius:50%;background:#f3d48b;box-shadow:0 0 0 2px #1F2A44}
/* grip menu */
.pd-menu{position:fixed;z-index:1260;display:flex;flex-direction:column;gap:6px;min-width:210px;max-width:calc(100vw - 16px);padding:10px;border-radius:12px;background:#fff;color:#1F2A44;border-top:3px solid #B87333;box-shadow:0 8px 30px rgba(15,23,42,.4);font:14px system-ui,-apple-system,Segoe UI,Roboto,sans-serif}
.pd-menu small{color:#667085;font-size:12px}
.pd-menu button{min-height:44px;border:1px solid #d6dbe4;border-radius:10px;background:#f4f6fa;color:#1F2A44;font-weight:700;text-align:left;padding:0 12px;cursor:pointer}
.pd-menu button[disabled]{opacity:.45;cursor:default}
/* phone map tool column: fold to one button */
.st-map-ctrls.st-fold>.st-ctrl:not(#stCtrlFold){display:none!important}
.st-ctrl.st-fold-btn{min-height:40px;background:#1F2A44e6}
@media (prefers-reduced-motion:reduce){.pt-hud.pd-drag{opacity:1}}
/* phone landscape (body.ga-land, pwa.js): slimmer sharing strip under the compact 44px top bar, and the party
   toolbar (PTT + SOS) sits right of the left rail / open side panel, above the collapsed-panel pill and clear of
   the right-hand map tool buttons (party-dock.js bounds() uses the same edges for dragged / saved spots) */
body.ga-mobile.ga-land.pt-sharebar-on{--pt-sb-h:30px;--ga-top:calc(44px + var(--st-sat,0px) + var(--pt-sb-h))}
body.ga-mobile.ga-land .pt-banner.pt-sharebar{top:calc(44px + var(--st-sat,0px));padding-left:calc(var(--ga-rail,58px) + 8px)}
body.ga-mobile.ga-land .pt-banner.pt-sharebar button{min-height:26px;height:26px}
body.ga-land .pt-hud.mobile{left:calc(var(--ga-rail,58px) + 8px);bottom:calc(env(safe-area-inset-bottom,0px) + 58px);width:min(560px,calc(100vw - var(--ga-rail,58px) - 190px))}
body.ga-land:not([data-sheet=peek]) .pt-hud.mobile{left:calc(var(--ga-rail,58px) + var(--ga-side,340px) + 8px);bottom:calc(env(safe-area-inset-bottom,0px) + 10px);width:calc(100vw - var(--ga-rail,58px) - var(--ga-side,340px) - 190px)}
body.ga-land .pt-hud.pd-min.mobile:not(.pd-abs){left:calc(var(--ga-rail,58px) + 8px)}
body.ga-land:not([data-sheet=peek]) .pt-hud.pd-min.mobile:not(.pd-abs){left:calc(var(--ga-rail,58px) + var(--ga-side,340px) + 8px)}
