/* Island maps keep one stable canvas. Selection and legend never become a sidebar. */
.pq-app .pq-atlas-dialog.pq-atlas-island281 .pq-atlas-layout {
  display:grid; flex:1 1 0; grid-template-columns:minmax(0,1fr);
  grid-template-rows:minmax(0,1fr); align-content:stretch; align-items:stretch;
  gap:0; min-width:0; min-height:0;
}
.pq-app .pq-atlas-dialog.pq-atlas-island281 .pq-atlas-content {
  display:grid; grid-row:1/-1; grid-template-columns:minmax(0,1fr);
  grid-template-rows:minmax(0,1fr); gap:0; min-width:0; min-height:0;
}
.pq-app .pq-atlas-dialog.pq-atlas-island281 .pq-atlas-main,
.pq-app.pq-portrait162 .pq-atlas-dialog.pq-atlas-island281 .pq-atlas-main:has(>.pq-atlas-legend158:not([hidden])) {
  display:block; position:relative; width:100%; height:100%; min-width:0; min-height:0;
  overflow:hidden; flex:1 1 0;
}
.pq-app .pq-atlas-dialog.pq-atlas-island281 .pq-atlas-canvas {
  display:block; width:100%; height:100%; min-height:0; max-width:none; aspect-ratio:auto;
}
.pq-app .pq-atlas-island281 .pq-island-map-card282 {
  position:absolute; z-index:3; right:12px; bottom:12px; left:auto;
  display:grid; gap:8px; width:min(340px,calc(100% - 24px)); min-width:0;
  padding:12px; border:1px solid #b4b78b; border-radius:12px;
  background:linear-gradient(145deg,#133d49f7,#082c38fa);
  box-shadow:0 8px 24px #001b2870; color:#e8edd6;
}
.pq-app .pq-atlas-island281 .pq-island-map-card282[data-side=left] { left:12px; right:auto; }
.pq-app .pq-atlas-island281 .pq-island-map-card282[hidden] { display:none; }
.pq-app .pq-atlas-island281 .pq-island-map-card282 [data-atlas-detail] {
  display:grid; position:relative; gap:4px; min-width:0; padding:0 34px 0 0;
  overflow:visible; max-height:none; border:0; background:none;
}
.pq-app .pq-atlas-island281 .pq-island-map-name282 {
  display:block; margin:0; color:#ffe8b4; font-size:clamp(15px,1.2vw,19px);
  line-height:1.2; overflow-wrap:anywhere;
}
.pq-app .pq-atlas-island281 .pq-island-map-type282,
.pq-app .pq-atlas-island281 .pq-island-map-progress282 {
  display:block; margin:0; font-size:clamp(12px,1vw,14px); line-height:1.35;
  color:#c5dacf; overflow-wrap:anywhere;
}
.pq-app .pq-atlas-island281 .pq-island-map-close282 {
  position:absolute; right:-3px; top:-3px; width:32px; min-width:32px;
  height:32px; min-height:32px; padding:3px; border:0; background:#1e4857;
}
.pq-app .pq-atlas-island281 .pq-island-map-close282 svg { width:22px; height:22px; flex-basis:22px; }
.pq-app .pq-atlas-island281 .pq-island-map-actions282 { display:flex; margin:0; padding:0; }
.pq-app .pq-atlas-island281 .pq-island-map-actions282[hidden] { display:none; }
.pq-app .pq-atlas-island281 .pq-island-map-actions282 .pq-button {
  width:100%; min-height:40px; margin:0; padding:7px 10px;
  font-size:clamp(14px,1.1vw,17px); line-height:1.2;
}
.pq-app .pq-atlas-dialog.pq-atlas-island281 .pq-atlas-legend158 {
  position:absolute; z-index:6; inset:8px 8px auto auto;
  width:min(420px,calc(100% - 16px)); height:auto; max-height:calc(100% - 16px);
}
.pq-app .pq-atlas-dialog.pq-atlas-island281 .pq-atlas-legend-trigger158 { z-index:4; }
@media(max-width:480px) {
  .pq-app .pq-atlas-island281 .pq-island-map-card282 { padding:10px; gap:6px; }
  .pq-app .pq-atlas-island281 .pq-island-map-card282 [data-atlas-detail] { padding-right:28px; }
  .pq-app .pq-atlas-dialog.pq-atlas-island281 .pq-atlas-legend158 {
    inset:6px; width:calc(100% - 12px); max-height:calc(100% - 12px);
  }
}
.pq-app .pq-brand[aria-disabled=true] { cursor:default; opacity:.58; }
