/* Approved map A. One spacing contract for full map, dashboard, and inspection. */
.portal-authenticated .mp-workspace {
  color: var(--portal-plum);
  border: 1px solid var(--portal-line);
  border-radius: 12px;
  background: var(--portal-paper);
  overflow: hidden;
  min-width: 0;
}
.portal-authenticated .pa-overview-map {
  grid-column: 1/-1;
  padding: 0;
  overflow: hidden;
}
.portal-authenticated .pa-overview-map .pa-panel-header {
  padding: 20px 24px;
  gap: 16px;
  align-items: center;
  margin: 0;
}
.portal-authenticated .pa-overview-map .pa-panel-header h2 {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 28px;
}
.portal-authenticated .pa-overview-map .pa-panel-header p {
  margin: 0;
  font-size: 13px;
  line-height: 20px;
}
.portal-authenticated .pa-overview-map .pa-panel-header > .pd-secondary {
  min-height: 36px;
  padding: 8px 12px;
  font-size: 12px;
  white-space: nowrap;
  border-radius: 8px;
}
.portal-authenticated .pa-overview-map .mp-workspace {
  border: 0;
  border-top: 1px solid var(--portal-line);
  border-radius: 0;
}
.mp-tools {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  min-width: 0;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--portal-line);
}
.portal-authenticated .mp-workspace .mp-search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 240px;
  max-width: 480px;
  min-width: 0;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}
.mp-search > svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--portal-muted);
  pointer-events: none;
}
.portal-authenticated .mp-workspace .mp-search input[type="search"] {
  height: 40px;
  min-height: 40px;
  line-height: 20px;
  width: 100%;
  min-width: 0;
  padding: 8px 40px 8px 36px;
  margin: 0;
  border: 1px solid var(--portal-line);
  border-radius: 8px;
  background: var(--portal-paper);
  font-size: 13px;
  color: var(--portal-plum);
  font-weight: 400;
}
.portal-authenticated .mp-search > button {
  position: absolute;
  right: 4px;
  top: 4px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 8px;
  background: none;
  border: 0;
  border-radius: 4px;
}
.mp-search > button[hidden] {
  display: none;
}
.mp-search > button svg {
  width: 16px;
  height: 16px;
}
.portal-authenticated .mp-status-filter {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--portal-muted);
  margin: 0;
}
.portal-authenticated .mp-workspace .mp-status-filter select {
  height: 40px;
  min-height: 40px;
  min-width: 140px;
  padding: 8px 12px;
  font-size: 13px;
  line-height: 20px;
  border: 1px solid var(--portal-line);
  border-radius: 8px;
  margin: 0;
  background: white;
  color: var(--portal-plum);
}
.mp-count {
  margin-left: auto;
  font-size: 12px;
  line-height: 20px;
  color: var(--portal-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.portal-authenticated .mp-collapse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px;
  font-size: 12px;
  line-height: 20px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--portal-plum);
  white-space: nowrap;
}
.mp-collapse svg {
  width: 14px;
  height: 14px;
}
.mp-scope-note:empty {
  display: none;
}
.mp-scope-note {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px;
  font-size: 12px;
  line-height: 20px;
  background: var(--portal-secondary);
}
.portal-authenticated .mp-scope-note button {
  min-height: 28px;
  padding: 4px 0;
  border: 0;
  background: none;
  font-size: 12px;
  text-decoration: underline;
  border-radius: 0;
}
.mp-layout {
  --mp-list-width: 464px;
  display: grid;
  grid-template-columns: minmax(0, var(--mp-list-width)) 8px minmax(0, 1fr);
  height: 600px;
  min-width: 0;
  position: relative;
}
.mp-compact .mp-layout {
  --mp-list-width: 416px;
  height: 432px;
}
.mp-list {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: var(--portal-paper);
  grid-column: 1;
  grid-row: 1;
}
.mp-list-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 12px 16px;
  border-bottom: 1px solid var(--portal-line);
  font-size: 12px;
  line-height: 20px;
}
.mp-list-heading > span {
  font-size: 10px;
  color: var(--portal-muted);
  white-space: nowrap;
}
.mp-results {
  overflow: auto;
  min-width: 0;
  min-height: 0;
  scrollbar-width: thin;
  overscroll-behavior: contain;
}
.mp-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--portal-line);
  min-width: 0;
}
.mp-card:last-child {
  border-bottom: 0;
}
.mp-card.is-selected {
  background: var(--portal-secondary);
}
.portal-authenticated .mp-card .mp-locate {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 4px;
  text-align: left;
  color: var(--portal-plum);
  font-size: 12px;
  line-height: 20px;
}
.mp-photo {
  width: 64px;
  height: 72px;
  flex: 0 0 64px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--portal-secondary);
  overflow: hidden;
}
.mp-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mp-photo > svg {
  width: 24px;
  height: 24px;
}
.mp-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}
.mp-info-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.mp-info-top > strong {
  font-size: 13px;
  line-height: 20px;
  font-variant-numeric: tabular-nums;
}
.mp-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  line-height: 18px;
  color: var(--portal-muted);
  font-weight: 600;
  white-space: nowrap;
}
.mp-status i {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  background: currentColor;
  border-radius: 50%;
}
.mp-status.mp-live {
  color: var(--portal-success);
}
.mp-status.mp-inactive {
  color: var(--portal-danger);
}
.mp-address {
  font-size: 13px;
  line-height: 20px;
  font-weight: 700;
  overflow-wrap: anywhere;
  letter-spacing: -0.2px;
}
.mp-location,
.mp-facts {
  font-size: 11px;
  line-height: 18px;
  color: var(--portal-muted);
  font-weight: 400;
  overflow-wrap: anywhere;
}
.mp-event-count,
.mp-unmapped,
.mp-private {
  font-size: 10px;
  line-height: 16px;
  font-weight: 400;
}
.mp-unmapped {
  color: var(--portal-danger);
}
.mp-private {
  color: var(--portal-plum);
}
.mp-row-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.portal-authenticated .mp-workspace .mp-row-actions button {
  width: 120px;
  min-height: 36px;
  height: 36px;
  padding: 8px;
  font-size: 11px;
  line-height: 20px;
  border: 1px solid var(--portal-line);
  border-radius: 8px;
  background: var(--portal-paper);
  color: var(--portal-plum);
  margin: 0;
  white-space: nowrap;
  font-weight: 600;
  justify-content: center;
}
.portal-authenticated .mp-workspace .mp-row-actions button:first-child {
  background: transparent;
  border-color: transparent;
}
.portal-authenticated .mp-workspace .mp-row-actions button:hover {
  background: var(--portal-pressed);
}
.mp-divider {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 2;
  background: var(--portal-line);
  cursor: col-resize;
  touch-action: none;
}
.mp-divider:after {
  content: "";
  position: absolute;
  left: 2px;
  top: calc(50% - 24px);
  width: 4px;
  height: 48px;
  border-radius: 4px;
  background: var(--portal-pressed);
}
.mp-canvas {
  grid-column: 3;
  grid-row: 1;
  min-width: 0;
  min-height: 0;
  position: relative;
  overflow: hidden;
  background: #dae7e6;
}
.mp-map {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.mp-map[data-engine="illustrated"] {
  touch-action: none;
  cursor: grab;
}
.mp-map[data-engine="illustrated"]:active {
  cursor: grabbing;
}
.mp-base,
.mp-base > svg,
.mp-pin-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.portal-authenticated .mp-base > svg {
  stroke: none;
  fill: none;
  stroke-width: initial;
}
.mp-map-top {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 16px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.portal-authenticated .mp-map-top button {
  pointer-events: auto;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--portal-plum);
  background: var(--portal-plum);
  color: white;
  font-size: 12px;
  line-height: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px #48233f18;
}
.mp-map-controls {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  pointer-events: none;
  gap: 12px;
}
.portal-authenticated .mp-map-controls button {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--portal-line);
  border-radius: 8px;
  background: white;
  color: var(--portal-plum);
  font-size: 12px;
  line-height: 20px;
  box-shadow: 0 2px 8px #48233f0a;
}
.mp-map-controls > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.portal-authenticated .mp-map-controls > div button {
  width: 36px;
  height: 36px;
  min-height: 36px;
  font-size: 20px;
  padding: 4px;
}
.portal-authenticated .mp-map-controls svg {
  width: 16px;
  height: 16px;
}
.portal-authenticated .mp-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  min-height: 36px;
  padding: 6px 12px;
  background: white;
  border: 1px solid var(--portal-plum);
  border-radius: 8px;
  box-shadow: 0 2px 8px #48233f18;
  color: var(--portal-plum);
  font-size: 12px;
  line-height: 20px;
  font-weight: 700;
  white-space: nowrap;
}
.portal-authenticated .mp-pin[aria-pressed="true"],
.portal-authenticated .mp-pin.is-hovered {
  background: var(--portal-plum);
  color: white;
}
.portal-authenticated .mp-cluster {
  background: var(--portal-secondary);
  border: 2px solid white;
  outline: 1px solid var(--portal-line);
  padding: 4px 12px;
}
.mp-attribution {
  position: absolute;
  bottom: 28px;
  right: 8px;
  background: #ffffffed;
  padding: 2px 4px;
  font-size: 9px;
  color: var(--portal-muted);
  pointer-events: none;
}
.mp-selection {
  padding: 8px 16px;
  border-top: 1px solid var(--portal-line);
  font-size: 11px;
  line-height: 20px;
  color: var(--portal-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: var(--portal-paper);
}
.mp-expanded {
  display: block;
}
.mp-expanded .mp-list,
.mp-expanded .mp-divider {
  display: none;
}
.mp-expanded .mp-canvas {
  position: absolute;
  inset: 0;
}
.mp-empty,
.mp-map-error,
.mp-map-loading {
  padding: 32px;
  text-align: center;
  font-size: 13px;
  line-height: 22px;
  color: var(--portal-muted);
}
.mp-empty h3,
.mp-map-error h3 {
  font-size: 16px;
  line-height: 24px;
  margin: 0 0 8px;
  color: var(--portal-plum);
}
.mp-empty p,
.mp-map-error p {
  margin: 0 0 16px;
  line-height: 22px;
}
.mp-map-error,
.mp-map-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--portal-secondary);
}
.portal-authenticated .mp-empty button,
.portal-authenticated .mp-map-error button {
  padding: 8px 12px;
  min-height: 36px;
  border-radius: 8px;
  border: 1px solid var(--portal-line);
  font-size: 12px;
  background: white;
}
.portal-authenticated .pm-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 16px;
}
.portal-authenticated .pm-toolbar .pd-subnav {
  margin: 0;
}
.portal-authenticated .pm-toolbar label {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 8px;
  margin: 0;
  font-size: 12px;
}
.portal-authenticated .pm-toolbar input[type="date"] {
  height: 40px;
  min-height: 40px;
  padding: 8px 12px;
  margin: 0;
  font-size: 13px;
  border: 1px solid var(--portal-line);
  border-radius: 8px;
  background: white;
}
.portal-authenticated .pm-toolbar .pd-muted {
  font-size: 12px;
  line-height: 20px;
  margin: 0;
}
.mp-dialog .pd-dialog {
  border-radius: 12px;
  max-width: 640px;
}
.mp-dialog .pd-dialog > header {
  padding: 16px 24px;
  gap: 16px;
  border-bottom: 1px solid var(--portal-line);
}
.mp-dialog .pd-dialog h2 {
  font-size: 20px;
  line-height: 28px;
  margin: 4px 0;
  overflow-wrap: anywhere;
}
.mp-dialog .pd-dialog-body {
  padding: 24px;
  font-size: 13px;
  line-height: 22px;
  color: var(--portal-plum);
}
.mp-dialog .pd-dialog p {
  font-size: 13px;
  line-height: 22px;
  color: var(--portal-muted);
  margin: 8px 0 16px;
  overflow-wrap: anywhere;
}
.mp-dialog .pd-dialog h3 {
  font-size: 14px;
  line-height: 22px;
  margin: 24px 0 8px;
}
.mp-dialog button,
.mp-dialog a.pd-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 12px;
  font-size: 12px;
  line-height: 20px;
  border: 1px solid var(--portal-line);
  border-radius: 8px;
  background: white;
  color: var(--portal-plum);
  font-family: inherit;
  text-decoration: none;
}
.mp-dialog button.pd-primary {
  background: var(--portal-plum);
  color: white;
  border-color: var(--portal-plum);
}
.mp-dialog svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.mp-group-list {
  border-top: 1px solid var(--portal-line);
  display: flex;
  flex-direction: column;
}
.mp-dialog .mp-group-list button {
  justify-content: space-between;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--portal-line);
  border-radius: 0;
  padding: 12px 0;
  gap: 16px;
  min-width: 0;
  background: none;
}
.mp-group-list button > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.mp-group-list small {
  font-size: 11px;
  line-height: 18px;
  color: var(--portal-muted);
  font-weight: 400;
}
.mp-group-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.mp-inspect {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 16px;
}
.mp-inspect .pd-dialog {
  width: 640px;
  max-width: calc(100vw - 32px);
  height: calc(100dvh - 32px);
  max-height: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 0;
}
.mp-inspect .pd-dialog > header {
  flex-shrink: 0;
}
.mp-inspect .pd-dialog-body {
  overflow: auto;
  min-height: 0;
}
.mp-detail-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.mp-detail-top > strong {
  font-size: 18px;
  line-height: 28px;
  margin-right: auto;
  font-variant-numeric: tabular-nums;
}
.mp-detail-top .mp-status {
  font-size: 12px;
}
.mp-private-note {
  padding: 12px 16px;
  background: var(--portal-secondary);
  border-radius: 8px;
  margin-top: 16px;
  font-size: 12px;
  line-height: 20px;
}
.mp-detail-tabs {
  display: flex;
  gap: 24px;
  margin: 16px 0;
  border-bottom: 1px solid var(--portal-line);
}
.mp-dialog .mp-detail-tabs button {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 12px 0;
}
.mp-dialog .mp-detail-tabs button[aria-pressed="true"] {
  border-bottom-color: var(--portal-coral);
  font-weight: 700;
}
.mp-detail-cover {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
}
.mp-no-cover {
  height: 160px;
  display: grid;
  place-items: center;
  background: var(--portal-secondary);
  color: var(--portal-muted);
  border-radius: 8px;
}
.mp-detail-grid,
.mp-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.mp-dialog dt {
  font-size: 12px;
  line-height: 20px;
  color: var(--portal-muted);
}
.mp-dialog dd {
  font-size: 13px;
  line-height: 22px;
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}
.mp-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}
.mp-description {
  white-space: pre-wrap;
}
.mp-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}
.mp-gallery figure {
  margin: 0;
  min-width: 0;
}
.mp-gallery img,
.mp-photo-missing {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  background: var(--portal-secondary);
}
.mp-gallery figcaption {
  font-size: 11px;
  line-height: 18px;
  margin-top: 4px;
  color: var(--portal-muted);
}
.mp-dialog video,
.mp-plan {
  max-width: 100%;
  max-height: 400px;
  border-radius: 8px;
}
.portal-authenticated .mp-workspace button:focus-visible,
.portal-authenticated .mp-workspace [role="separator"]:focus-visible,
.mp-dialog button:focus-visible {
  outline: 2px solid var(--portal-plum);
  outline-offset: 3px;
}
@media (max-width: 1400px) {
  .mp-layout {
    --mp-list-width: 416px;
  }
  .mp-compact .mp-layout {
    --mp-list-width: 400px;
  }
  .mp-list-heading > span {
    font-size: 9px;
  }
  .mp-card {
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 12px;
    padding: 12px;
  }
  .portal-authenticated .mp-workspace .mp-row-actions button {
    width: 112px;
    font-size: 10px;
  }
  .mp-photo {
    width: 56px;
    height: 64px;
    flex-basis: 56px;
  }
  .mp-count {
    font-size: 11px;
  }
  .mp-tools {
    gap: 12px;
    padding: 16px;
  }
  .mp-address {
    font-size: 12px;
  }
  .mp-facts,
  .mp-location {
    font-size: 10px;
  }
}
@media (max-width: 1100px) {
  .mp-tools {
    flex-wrap: wrap;
  }
  .portal-authenticated .mp-workspace .mp-search {
    flex-basis: 100%;
    max-width: none;
  }
  .mp-count {
    margin-left: 0;
  }
  .mp-collapse {
    margin-left: auto;
  }
  .mp-layout {
    --mp-list-width: 360px;
  }
  .mp-compact .mp-layout {
    --mp-list-width: 360px;
  }
  .mp-list-heading > span {
    display: none;
  }
  .mp-card {
    grid-template-columns: minmax(0, 1fr) 104px;
    gap: 8px;
  }
  .portal-authenticated .mp-workspace .mp-row-actions button {
    width: 104px;
    font-size: 10px;
    padding: 8px 4px;
  }
  .mp-info-top > strong {
    font-size: 12px;
  }
  .mp-photo {
    width: 48px;
    height: 56px;
    flex-basis: 48px;
  }
}
@media (max-width: 760px) {
  .portal-authenticated .pa-overview-map .pa-panel-header {
    padding: 16px;
    gap: 12px;
  }
  .portal-authenticated .pa-overview-map .pa-panel-header h2 {
    font-size: 16px;
    line-height: 24px;
  }
  .portal-authenticated .pa-overview-map .pa-panel-header p {
    font-size: 12px;
    line-height: 20px;
  }
  .portal-authenticated .pa-overview-map .pa-panel-header > .pd-secondary {
    width: auto;
    min-height: 44px;
  }
  .mp-tools {
    padding: 12px;
    gap: 12px;
  }
  .portal-authenticated .mp-workspace .mp-search input[type="search"] {
    height: 44px;
    min-height: 44px;
    font-size: 12px;
  }
  .portal-authenticated .mp-search > button {
    top: 6px;
  }
  .portal-authenticated .mp-workspace .mp-status-filter select {
    min-height: 44px;
    height: 44px;
    font-size: 12px;
  }
  .mp-status-filter {
    font-size: 11px;
  }
  .mp-count {
    flex-basis: 100%;
    font-size: 11px;
    white-space: normal;
  }
  .portal-authenticated .mp-collapse {
    min-height: 44px;
    font-size: 12px;
    margin-left: auto;
  }
  .mp-layout,
  .mp-compact .mp-layout {
    display: flex;
    flex-direction: column;
    height: 736px;
  }
  .mp-divider {
    display: none;
  }
  .mp-canvas {
    order: 0;
    flex: 0 0 320px;
    height: 320px;
    min-height: 320px;
  }
  .mp-list {
    order: 1;
    flex: 1;
    min-height: 0;
    border-top: 1px solid var(--portal-line);
  }
  .mp-compact .mp-layout {
    height: 680px;
  }
  .mp-list-heading {
    padding: 12px;
  }
  .mp-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }
  .mp-photo {
    width: 64px;
    height: 72px;
    flex-basis: 64px;
  }
  .mp-info {
    gap: 4px;
  }
  .mp-info-top {
    justify-content: space-between;
  }
  .mp-address {
    font-size: 13px;
    line-height: 20px;
  }
  .mp-location,
  .mp-facts {
    font-size: 11px;
    line-height: 18px;
  }
  .mp-row-actions {
    flex-direction: row;
    justify-content: flex-end;
    gap: 8px;
  }
  .portal-authenticated .mp-workspace .mp-row-actions button {
    min-height: 44px;
    height: 44px;
    width: 128px;
    font-size: 11px;
    padding: 8px;
  }
  .portal-authenticated .mp-workspace .mp-row-actions button:first-child {
    width: 80px;
  }
  .mp-expanded {
    display: block;
  }
  .mp-expanded .mp-canvas {
    position: absolute;
    inset: 0;
    height: auto;
    min-height: 0;
  }
  .mp-map-controls {
    left: 12px;
    right: 12px;
    bottom: 48px;
  }
  .portal-authenticated .mp-map-controls button,
  .portal-authenticated .mp-map-top button {
    min-height: 44px;
  }
  .portal-authenticated .mp-map-controls > div button {
    width: 44px;
    height: 44px;
    min-height: 44px;
  }
  .mp-selection {
    font-size: 10px;
    padding: 8px 12px;
  }
  .mp-scope-note {
    padding: 8px 12px;
    gap: 8px;
    font-size: 11px;
  }
  .portal-authenticated .mp-pin {
    min-height: 40px;
  }
  .mp-inspect {
    padding: 8px;
  }
  .mp-inspect .pd-dialog {
    max-width: calc(100vw - 16px);
    height: calc(100dvh - 16px);
  }
  .mp-dialog .pd-dialog > header,
  .mp-dialog .pd-dialog-body {
    padding: 16px;
  }
  .mp-dialog .pd-dialog h2 {
    font-size: 18px;
    line-height: 26px;
  }
  .mp-dialog button,
  .mp-dialog a.pd-secondary {
    min-height: 44px;
  }
  .mp-detail-top > strong {
    flex-basis: 100%;
    order: 1;
  }
  .mp-detail-top > button {
    order: 2;
  }
  .mp-detail-cover {
    height: 180px;
  }
  .mp-gallery,
  .mp-feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .mp-group-list button {
    flex-wrap: wrap;
  }
  .portal-authenticated .pm-toolbar label {
    flex-wrap: wrap;
  }
  .portal-authenticated .pm-toolbar .pd-subnav {
    gap: 16px;
  }
  .mp-attribution {
    font-size: 8px;
    max-width: calc(100% - 16px);
    text-align: right;
    line-height: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mp-workspace *,
  .mp-dialog * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
.mp-workspace:fullscreen {
  background: var(--portal-paper);
  display: flex;
  flex-direction: column;
  border: 0;
  border-radius: 0;
}
.mp-workspace:fullscreen .mp-layout {
  flex: 1;
  height: auto;
  min-height: 0;
}
.mp-workspace:fullscreen .mp-selection {
  flex-shrink: 0;
}
.mp-workspace:fullscreen .mp-canvas {
  min-height: 0;
}

.portal-authenticated .pa-dashboard-grid > .pa-leads {
  grid-column: 1/-1;
}
