/* Local preview mobile repairs verified at 320, 375, 390, and 430px. */
@media (max-width: 740px) {
  body:has(#checkin-title) .text-button {
    min-height: 44px;
  }
  .feature-dialog .cdetail > summary {
    min-height: 44px;
    padding-block: 10px;
  }
  .focus-resources-page .school-overview > summary {
    min-height: 44px;
    align-items: center;
  }
}

@media (max-width: 900px) {
  body[data-studio-tool="schools"] .chip,
  body[data-studio-tool="schools"] .tgl {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  body[data-studio-tool="schools"] select#sort {
    min-height: 44px;
    font-size: 16px;
  }
  body[data-studio-tool="schools"] .budget input {
    min-height: 44px;
  }
  body[data-studio-tool="schools"] .mtoggle {
    width: max-content;
    max-width: calc(100vw - 32px);
  }
  body[data-studio-tool="schools"] .mtoggle button {
    min-height: 44px;
    white-space: nowrap;
  }
  body[data-studio-tool="schools"] .leaflet-control-zoom a {
    width: 44px;
    height: 44px;
    line-height: 44px;
  }
  body[data-studio-tool="schools"] .studio-notice > summary {
    min-height: 44px;
    padding-block: 8px;
  }
  body[data-studio-tool="schools"] .dcopy,
  body[data-studio-tool="schools"] .dclose {
    min-height: 44px;
    min-width: 44px;
  }
  body[data-studio-tool="schools"] .dhead {
    padding-top: 68px;
  }
  body[data-studio-tool="schools"] .detail:not(.open) {
    visibility: hidden;
    pointer-events: none;
  }
  body[data-studio-tool="schools"] .star {
    display: grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    top: 4px;
    right: 3px;
  }
  body[data-studio-tool="schools"] .card {
    padding-right: 48px;
  }
  body[data-studio-tool="schools"] .dweb,
  body[data-studio-tool="schools"] .dguide,
  body[data-studio-tool="schools"] .pop-more {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
  body[data-studio-tool="schools"] .dguide {
    justify-content: center;
  }
}

@media (max-width: 430px) {
  body.resource-page:has(#calc) .resource-header {
    height: auto;
    min-height: 70px;
    padding-block: 12px;
    flex-wrap: wrap;
    gap: 4px 12px;
  }
  body.resource-page:has(#calc) .resource-header nav {
    width: 100%;
    justify-content: space-between;
    font-size: 14px;
  }
  body.resource-page:has(#calc) .resource-header nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    white-space: nowrap;
  }
}

@media (max-width: 360px) {
  body[data-studio-tool="news"] .studio-top {
    flex-wrap: wrap;
    gap: 4px 12px;
  }
  body[data-studio-tool="news"] .studio-top nav {
    width: 100%;
    justify-content: space-between;
  }
  body[data-studio-tool="schools"] .studio-map-title {
    align-items: flex-start;
    flex-direction: column;
  }
  body[data-studio-tool="schools"] .studio-map-title h1 {
    font-size: 21px;
  }
  body[data-studio-tool="schools"] .studio-map-title h1 span {
    display: inline;
    margin-left: 6px;
  }
  body[data-studio-tool="schools"] .finderlink {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}
