.vobixLocationCard{display:flex;flex-direction:column;gap:9px;min-width:190px;max-width:100%;padding:14px;border:1px solid #64c9ef;border-radius:14px;background:#083858;color:#eefaff;overflow-wrap:anywhere}
.vobixLocationCard p{margin:0;font-size:13px}.vobixLocationCard small{font-size:12px;color:#c3e5f3}
.vobixLocationCard a{display:block;text-align:center;border-radius:9px;padding:10px;background:#00a9e5;color:#001b35;font-weight:700;text-decoration:none;min-height:44px}
.vobixLocationStatus{flex:none;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;background:#083858;color:#fff;font-size:12px;overflow-wrap:anywhere}
.vobixLocationStatus[hidden]{display:none}.vobixLocationStatus span{min-width:0}.vobixLocationStatus button{flex:none;border:1px solid #6ccdef;background:transparent;color:#fff;border-radius:9px;padding:8px;min-height:44px;max-width:135px}
#locationChoicePanel .mediaPermissionCard{min-height:0;max-height:100%;overflow-y:auto;max-width:min(420px,calc(100vw - 24px));box-sizing:border-box}
#locationChoicePanel .cameraChoiceButton{width:100%;margin:10px 0;min-height:48px}#locationChoicePanel label{display:block;margin:12px 0 6px}#liveLocationDuration{width:100%;padding:12px;border:1px solid #87c4df;border-radius:10px;font:inherit;background:#fff;color:#083858}#locationChoicePanel .small{font-size:12px;line-height:1.5}

body #locationChoicePanel.open{grid-template-rows:minmax(0,1fr)}

#locationChoicePanel .locationFreeLabel{display:inline-block;margin:0 0 8px;padding:4px 9px;background:#eaf6ff;color:#086da7;border-radius:8px;font-size:12px;font-weight:600}
#locationChoicePanel .cameraChoiceButton{display:flex;align-items:center;justify-content:flex-start;text-align:left;gap:12px;padding:12px 14px;min-height:48px;border-radius:12px;font-size:15px}
#locationChoicePanel .cameraChoiceButton span{margin:0;font-size:21px}
#locationChoicePanel #startLiveLocation{background:#0095ff;color:#fff}
#locationChoicePanel #sendCurrentLocation{background:#f4f8fb;color:#123d57;border:1px solid #c4d8e6}


/* Release hardening: keep the location dialog usable at narrow widths and
   after viewport changes. The close action must remain inside the scrollable
   card and receive the tap instead of the card background. */
#locationChoicePanel .mediaPermissionCard{
  display:block;
  width:min(100%,390px);
  max-height:min(100%,calc(var(--vobix-menu-height,100dvh) - var(--vobix-safe-top,0px) - var(--vobix-menu-safe-bottom,0px) - 24px));
  overflow-y:auto;
  overscroll-behavior:contain;
  box-sizing:border-box;
}
#locationChoicePanel #cancelLocationChoice{
  position:relative;
  z-index:1;
  flex:none;
  width:100%;
  margin-top:10px;
  pointer-events:auto;
}

/* A location is one quiet, readable card; updates stay inside it. */
.vobixLocationCard{position:relative;gap:7px;min-width:0;width:min(300px,100%);box-sizing:border-box;padding:17px;border:1px solid #d6e8fa;border-radius:20px;background:linear-gradient(145deg,#f5fbff,#e8f4ff);color:#14344d;box-shadow:0 3px 12px #166bbb0a}
.vobixLocationCard::before{content:'📍';display:grid;place-items:center;width:42px;height:42px;margin-bottom:3px;border-radius:14px;background:#d9edff;font-size:24px}
.vobixLocationCard strong{font-size:15px;line-height:1.3;color:#123b60}
.vobixLocationCard p{font-size:12px;line-height:1.5;color:#47667f}
.vobixLocationCard small{font-size:11px;line-height:1.5;color:#5c748b}
.vobixLocationCard a{margin-top:5px;display:grid;place-items:center;padding:8px 12px;min-height:28px;border-radius:12px;background:#087ff5;color:white;font-size:13px}
.vobixLocationCard a[hidden]{display:none}
.vobixLocationRefresh{align-self:flex-end;border:0;background:transparent;color:#1266a9;padding:8px 4px;min-height:36px;font:600 12px system-ui;cursor:pointer}
.vobixLocationRefresh:disabled{opacity:.5;cursor:wait}
.vobixLocationCard :is(a,button):focus-visible{outline:3px solid #76b9ff;outline-offset:3px}
.vobixLocationStatus{background:#eef7ff;color:#244e70;border-top:1px solid #dbeaf7}
.vobixLocationStatus button{border-color:#b3d3ec;color:#1266a9}
