/* #1247: personal course editor and account-only saved map content */
body.gimyo-app-shell .is-curated-map #gimyo-custom-course-tab {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  flex-wrap: wrap;
}
body.gimyo-app-shell .is-curated-map #gimyo-custom-course-tab[aria-pressed="true"] {
  background: #f2ebfa !important;
  border-color: #7d62ab !important;
}
body.gimyo-app-shell .is-curated-map #gimyo-custom-course-tab strong { white-space: normal; word-break: keep-all; }
body.gimyo-app-shell .is-curated-map .map-list__tabs { flex-wrap: wrap; }
body.gimyo-app-shell .is-curated-map .gimyo-course-builder { display: flex; flex-direction: column; gap: 9px; padding: 11px 7px 20px; }
body.gimyo-app-shell .is-curated-map .gimyo-course-builder label { font-size: 12px; font-weight: 800; color: #3d3451; }
body.gimyo-app-shell .is-curated-map .gimyo-course-builder input {
  box-sizing: border-box; width: 100%; min-width: 0; padding: 9px 11px;
  border: 1px solid #afa2c3; border-radius: 10px; font: inherit; color: #302d43; background: #fff;
}
body.gimyo-app-shell .is-curated-map .gimyo-course-count { color: #514767; font-size: 12px; margin: 0; }
body.gimyo-app-shell .is-curated-map .gimyo-course-stops {
  display: grid; gap: 7px; margin: 0; padding: 0; list-style: none;
}
body.gimyo-app-shell .is-curated-map .gimyo-course-stops li {
  display: flex; gap: 7px; align-items: center; flex-wrap: wrap;
  padding: 9px; border: 1px solid #d8cee5; border-radius: 11px; background: #faf8fd;
}
body.gimyo-app-shell .is-curated-map .gimyo-course-stops strong { font-size: 12px; flex: 1 1 115px; min-width: 0; overflow-wrap: anywhere; }
body.gimyo-app-shell .is-curated-map .gimyo-course-order,
body.gimyo-app-shell .is-curated-map .curated-map__course-stop span {
  display: grid; place-items: center; border-radius: 50%; background: #624ba1; color: #fff; font-weight: 850; font-size: 13px;
}
body.gimyo-app-shell .is-curated-map .gimyo-course-order { flex: 0 0 27px; height: 27px; }
body.gimyo-app-shell .is-curated-map .curated-map__course-stop span {
  width: 32px; height: 32px; border: 2px solid #fff; box-shadow: 0 0 0 2px #6850a8,0 2px 8px #20263a55;
}
body.gimyo-app-shell .is-curated-map .gimyo-course-stop-actions { display: flex; gap: 3px; }
body.gimyo-app-shell .is-curated-map .gimyo-course-stop-actions button {
  min-height: 31px; min-width: 30px; padding: 3px 5px; border: 1px solid #ccbfe0; border-radius: 7px;
}
body.gimyo-app-shell .is-curated-map .gimyo-course-actions { display: flex; gap: 6px; flex-wrap: wrap; }
body.gimyo-app-shell .is-curated-map .gimyo-course-actions button {
  border-radius: 10px; border: 1px solid #afa0cb; padding: 9px; font-size: 12px; font-weight: 800;
}
body.gimyo-app-shell .is-curated-map [data-action="course-save"] { background: #654d9f; color: #fff; }
body.gimyo-app-shell .is-curated-map #gimyo-course-status { font-size: 12px; margin: 0; line-height: 1.5; }
body.gimyo-app-shell .is-curated-map .gimyo-course-candidates { display: grid; gap: 6px; }
body.gimyo-app-shell .is-curated-map .gimyo-course-candidates button {
  width: 100%; min-height: 45px; border: 1px solid #ddd5e9; padding: 9px;
  border-radius: 10px; background: #fff; text-align: left; display: flex; flex-direction: column; gap: 3px;
}
body.gimyo-app-shell .is-curated-map .gimyo-course-candidates small { color: #53556c; font-size: 11px; }
body.gimyo-app-shell .is-curated-map .gimyo-course-builder button:focus-visible { outline: 3px solid #8066b4; outline-offset: 2px; }
body.gimyo-app-shell .is-curated-map [data-action="set-search-anchor"] { min-height: 44px; font-weight: 800; }
body.gimyo-app-shell .is-curated-map .gimyo-search-save-login { display: inline-block; padding: 8px 12px; color: #594581; }
#gimyo-my-centers, #gimyo-my-courses {
  margin: 20px 0; padding: 18px 20px; border-radius: 15px;
  background: #fffefa; border: 2px solid #c1d1da; color: #1c2b49;
}
#gimyo-my-centers h2, #gimyo-my-courses h2 { margin: 0 0 7px; }
.gimyo-my-item { padding: 12px; margin: 10px 0; border: 1px solid #d1dce2; background: #fff; border-radius: 12px; overflow-wrap: anywhere; }
.gimyo-my-item strong { display: block; margin-bottom: 5px; font-size: 15px; }
.gimyo-my-item ol { margin: 7px 0; padding-left: 21px; }
.gimyo-my-item ol li { margin: 2px 0; }
.gimyo-my-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.gimyo-my-actions a, .gimyo-my-actions button {
  display: inline-block; min-height: 38px; border-radius: 9px; text-decoration: none;
  border: 1px solid #8ca3b7; padding: 7px 11px; font: 750 13px/1.6 system-ui,sans-serif;
  background: #eaf3f7; color: #1b3d57; cursor: pointer;
}
.gimyo-my-actions button { background: #fff; }
@media(max-width:700px) {
  #gimyo-my-centers,#gimyo-my-courses { padding: 12px; }
  body.gimyo-app-shell .is-curated-map #gimyo-custom-course-tab { min-height: 46px; }
  body.gimyo-app-shell .is-curated-map .gimyo-course-builder { padding: 8px 2px 16px; }
}
