/* Width preferences apply to resizable island edges. */
body{
 --detail-resize-max:min(820px,var(--detail-panel-space));
 --detail-resize-min:min(320px,var(--detail-resize-max));
 --detail-panel-width:clamp(var(--detail-resize-min),var(--detail-user-width,var(--island-detail-width)),var(--detail-resize-max));
}
@media(min-width:761px){
 body{
  --island-resize-space:calc(100vw - 2 * var(--island-margin) - var(--island-reserved-left,0px) - var(--island-side-reserve,146px));
  --places-resize-max:min(640px,max(240px,var(--island-resize-space)));
  --places-resize-min:min(280px,var(--places-resize-max));
  --places-width:clamp(var(--places-resize-min),var(--places-user-width,var(--places-base-width,380px)),var(--places-resize-max));
  --route-resize-max:min(520px,max(280px,calc(100vw - 780px)));
  --route-resize-min:280px;
  --route-drawer-width:clamp(var(--route-resize-min),var(--route-user-width,340px),var(--route-resize-max));
 }
}
@media(max-width:760px){
 body{
  --places-resize-max:calc(100vw - 2 * var(--island-margin) - var(--island-reserved-left,0px));
  --places-resize-min:min(280px,var(--places-resize-max));
  --places-width:clamp(var(--places-resize-min),var(--places-mobile-user-width,var(--places-resize-max)),var(--places-resize-max));
  --detail-resize-min:min(var(--detail-resize-max),max(230px,min(280px,calc(var(--detail-resize-max) - 18px))));
  --detail-panel-width:clamp(var(--detail-resize-min),var(--detail-mobile-user-width,var(--island-detail-width)),var(--detail-resize-max));
  --route-resize-max:min(380px,calc(100vw - 2 * var(--island-margin)));
  --route-resize-min:min(280px,var(--route-resize-max));
  --route-drawer-width:clamp(var(--route-resize-min),var(--route-mobile-user-width,340px),var(--route-resize-max));
 }
}
.island-width-handle{
 --island-edge-hit-size:16px;
 position:absolute;z-index:20;inset-block:0;width:var(--island-edge-hit-size);
 background:transparent;cursor:col-resize;touch-action:none;user-select:none;
}
#places-width-handle{right:0;pointer-events:auto;--island-handle-min:var(--places-resize-min);--island-handle-max:var(--places-resize-max)}
#workspace-nav-width-handle{inset-inline-start:calc(var(--workspace-nav-width) - var(--island-edge-hit-size) / 2);--island-handle-min:var(--workspace-nav-resize-min);--island-handle-max:var(--workspace-nav-resize-max)}
#places-island:has(> #workspace-nav) > #places-width-handle{right:calc(-1 * var(--island-edge-hit-size) / 2)}
#detail-width-handle{right:calc(-1 * var(--island-edge-hit-size));--island-handle-min:var(--detail-resize-min);--island-handle-max:var(--detail-resize-max)}
#route-width-handle{left:0;--island-handle-min:var(--route-resize-min);--island-handle-max:var(--route-resize-max)}
.island-width-handle[data-fixed-width]{visibility:hidden;pointer-events:none}
/* Resolve responsive lengths for the keyboard limits and separator values. */
.island-width-handle::before{
 position:fixed;top:0;left:var(--island-handle-min);width:var(--island-handle-max);height:0;
 visibility:hidden;pointer-events:none;content:"";
}
.island-width-handle:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}
body.places-island-collapsed #places-width-handle,
body.workspace-nav-collapsed #workspace-nav-width-handle,
body.detail-open #places-island:has(> #workspace-nav) > #places-width-handle{display:none}
@media(max-width:760px){
 #places-island:has(> #workspace-nav) > :is(#places-width-handle,#workspace-nav-width-handle),
 #detail-width-handle{display:none}
}
@media(max-width:1049px){body.detail-open #places-width-handle{display:none}}
body.island-width-resizing{cursor:col-resize;user-select:none}
body:is(.island-width-resizing,:has(.island-width-handle:focus-visible)) :is(#places-island,#search-stack,#atlas-toolbar,.map-tools){transition:none}
