@media (max-width: 960px) {
  .points-rows {
    gap: 0.54rem;
  }

  .points-header {
    display: none;
  }

  .points-header,
  .points-row {
    --points-tune-column-width: 44px;
    --points-font-size-column-width: 72px;
    --points-actions-column-width: 42px;
  }

  .points-row {
    --point-mobile-main-control-width: min(100%, 170px);
    grid-template-columns:
      minmax(64px, 78px)
      minmax(0, 1fr)
      var(--points-actions-column-width);
    grid-template-rows: auto auto auto;
    column-gap: 0.42rem;
    grid-template-areas:
      "distance note actions"
      "tune size hide"
      ". type .";
    row-gap: 0.42rem;
    align-items: start;
    padding: 0.52rem;
    border: 1px solid #d9e3ec;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(16, 32, 48, 0.05);
  }

  .points-row.hide-poi-marker-columns,
  .points-rows.hide-poi-marker-columns .points-row {
    grid-template-columns:
      minmax(64px, 78px)
      minmax(0, 1fr)
      var(--points-actions-column-width);
    column-gap: 0.42rem;
    grid-template-areas:
      "distance note actions"
      "tune size size";
  }

  .points-quick-add-row.hide-poi-marker-columns {
    grid-template-columns:
      minmax(64px, 78px)
      minmax(0, 1fr)
      var(--points-actions-column-width);
    column-gap: 0.42rem;
    grid-template-areas: "distance note actions";
  }

  .points-quick-add-row {
    grid-template-columns:
      minmax(64px, 78px)
      minmax(0, 1fr)
      var(--points-actions-column-width);
    grid-template-areas: "distance note actions";
    align-items: start;
    margin-bottom: 0.5rem;
    padding: 0.52rem;
    border: 1px solid #d5e3ef;
    border-bottom: 1px solid #d5e3ef;
    border-radius: 14px;
    background: #f8fbff;
    box-shadow: 0 3px 10px rgba(15, 61, 97, 0.05);
  }

  .points-row > .point-distance {
    grid-area: distance;
    align-self: start;
  }

  .points-row > .point-note {
    grid-area: note;
    grid-row: auto;
    min-width: 0;
    align-self: start;
    min-height: 0;
    height: calc(2 * 1.24em + 0.78rem);
    max-height: calc(2 * 1.24em + 0.78rem);
    overflow-y: auto;
    padding-top: 0.42rem;
    padding-bottom: 0.36rem;
    line-height: 1.24;
    white-space: pre-wrap;
  }

  .points-quick-add-row > .point-distance {
    grid-area: distance;
    align-self: start;
  }

  .points-quick-add-row > .point-note {
    grid-area: note;
    min-width: 0;
    align-self: start;
    min-height: 0;
    height: calc(2 * 1.24em + 0.78rem);
    max-height: calc(2 * 1.24em + 0.78rem);
    overflow-y: auto;
    padding-top: 0.42rem;
    padding-bottom: 0.36rem;
    line-height: 1.24;
    white-space: pre-wrap;
  }

  .points-quick-add-row > .point-tune-spacer {
    display: none;
  }

  .points-row > .point-tune-controls {
    grid-area: tune;
    display: grid;
    grid-template-rows: auto 1fr;
    align-self: stretch;
    justify-self: stretch;
    align-content: start;
    justify-content: stretch;
    gap: 0.26rem;
    width: 100%;
  }

  .points-quick-add-row > .point-mobile-controls {
    display: none;
  }

  .points-row > .point-tune-controls::before {
    content: attr(data-mobile-label);
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #607488;
    text-align: center;
  }

  .point-tune-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.08rem;
  }

  .points-row > .point-tune-controls,
  .points-row > .point-poi-picker,
  .points-row > .point-mark-only-wrap,
  .points-row > .point-text-size-wrap,
  .points-row > .point-actions {
    margin-left: 0;
  }

  .point-mobile-controls {
    display: contents;
  }

  .point-mobile-controls > .point-mark-only-wrap,
  .point-mobile-controls > .point-poi-picker,
  .point-mobile-controls > .point-text-size-wrap {
    min-width: 0;
  }

  .point-mobile-controls > .point-mark-only-wrap {
    grid-area: hide;
    display: grid;
    grid-template-rows: auto 1fr;
    justify-items: center;
    align-items: start;
    align-self: stretch;
    gap: 0.22rem;
    min-height: 36px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .point-mobile-controls > .point-mark-only-wrap .point-mark-only {
    width: 20px;
    height: 20px;
    align-self: center;
  }

  .point-mark-only-label {
    display: inline;
    font-size: 0.6rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  .point-mobile-controls > .point-poi-picker {
    grid-area: type;
    width: var(--point-mobile-main-control-width);
    min-width: 0;
    align-self: stretch;
    justify-self: start;
  }

  .point-mobile-controls > .point-text-size-wrap {
    grid-area: size;
    width: var(--point-mobile-main-control-width);
    align-self: stretch;
    justify-self: start;
  }

  .point-poi-picker {
    width: 100%;
    min-width: 0;
    justify-self: stretch;
  }

  .point-poi-picker-toggle {
    min-height: 32px;
    justify-content: space-between;
    gap: 0.35rem;
    padding: 0.28rem 0.52rem;
    border-radius: 12px;
    text-align: left;
  }

  .point-poi-picker-toggle .point-poi-picker-value {
    justify-content: flex-start;
    gap: 0.38rem;
    min-width: 0;
    flex: 1 1 auto;
  }

  .point-poi-picker-toggle .point-poi-picker-label {
    display: block;
    font-size: 0.64rem;
    font-weight: 600;
    line-height: 1.15;
  }

  .point-poi-picker-caret {
    display: block;
  }

  .point-tune-controls {
    min-height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .point-tune-spacer {
    width: 100%;
    min-height: 36px;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .point-tune-value {
    font-size: 0.62rem;
  }

  .point-poi-picker-menu {
    max-width: min(220px, calc(100vw - 2rem));
  }

  .point-text-size-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.24rem;
  }

  .point-text-size-wrap-label {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #607488;
  }

  .point-text-size-buttons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.18rem;
  }

  .point-text-size-option {
    min-height: 36px;
    padding: 0;
    border-radius: 10px;
  }

  .point-text-size-wrap .point-text-size {
    display: none;
  }

  .points-row > .point-actions {
    grid-area: actions;
    justify-self: end;
    align-self: start;
  }

  .points-quick-add-row > .point-actions {
    grid-area: actions;
    justify-self: end;
    align-self: start;
  }

  .point-actions {
    gap: 0.24rem;
  }

  .point-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    font-size: 1.08rem;
    font-weight: 600;
  }

  .points-quick-add-btn {
    min-width: 36px;
  }

}
