/* TaTasque — floating panels registry (public/shared/floatpanels/v1). Copyright Rapid Surveys Pty Ltd. CSS prefix .thfp- */
.thfp-off { display:none !important; }
/* the close x every floating panel carries: top right of the panel, 44 px on a phone */
.thfp-x { flex:none; width:36px; min-width:36px; height:36px; min-height:36px; padding:0; border:1px solid var(--line, #d1d5db); border-radius:8px; background:var(--bg, #f6f7f9); color:var(--ink, #111); font:600 16px/1 system-ui, sans-serif; cursor:pointer; }
.thfp-x:hover { background:var(--hover, #eef1f4); }
.thfp-x:focus-visible { outline:2px solid var(--accent, #2563eb); outline-offset:2px; }
.thfp-abs { position:absolute; top:4px; right:4px; z-index:2; }
@media (max-width: 767px) { .thfp-x { width:44px; min-width:44px; height:44px; min-height:44px; } }
/* the bottom-left stack: the colour key and the alignment card sit one above the other, never over each other */
.thfp-stack { position:absolute; left:10px; bottom:72px; z-index:700; display:flex; flex-direction:column-reverse; align-items:flex-start; gap:8px; width:max-content; max-width:min(360px, calc(100% - 20px)); max-height:calc(100% - 200px); pointer-events:none; }
.thfp-stack > * { pointer-events:auto; position:relative !important; left:auto !important; top:auto !important; bottom:auto !important; right:auto !important; flex:0 0 auto; margin:0 !important; max-width:100%; box-sizing:border-box; }
.thfp-stack > .thfp-shrink { flex:0 1 auto; min-height:0; max-height:none !important; }
.thfp-stack:empty { display:none; }
/* the Hide / Show floating panels tool (the Map's tools row) */
.thfp-ctl button { display:flex; align-items:center; justify-content:center; }
.thfp-ctl svg { width:20px; height:20px; }
