.mj-start {
  display: grid;
  gap: 0.55rem;
  max-width: 28rem;
  margin: 1.25rem auto 0;
}
.mj-start-btn {
  width: 100%;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 7px 7px 0 rgba(201, 162, 39, 0.28);
}
.mj-start-btn svg { width: 22px; height: 22px; flex: 0 0 auto; }
.mj-start-btn:disabled { opacity: 0.75; cursor: progress; }
.mj-start-hint {
  margin: 0;
  color: rgba(244, 234, 214, 0.88);
  font-size: 0.9rem;
  line-height: 1.45;
  text-align: center;
}

.mj-wrap { max-width: 860px; }
.mj-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: stretch;
  margin-bottom: 1rem;
}
.mj-search {
  flex: 1 1 260px;
  display: flex;
  gap: 0.45rem;
}
.mj-search input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 46px;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--ic-line);
  border-radius: var(--radius-sm);
  background: var(--ic-white);
  font: inherit;
  font-size: 0.95rem;
  color: var(--ic-ink);
}
.mj-search input:focus { outline: 2px solid var(--ic-gold); outline-offset: 1px; border-color: var(--ic-gold); }
.mj-search .btn { min-height: 46px; padding: 0 0.95rem; }
.mj-search .btn svg { width: 20px; height: 20px; }
.mj-radius {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 0.3rem 0 0.75rem;
  border: 1px solid var(--ic-line);
  border-radius: var(--radius-sm);
  background: var(--ic-white);
  font-size: 0.88rem;
  color: var(--ic-muted);
}
.mj-radius select {
  min-height: 44px;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  color: var(--ic-ink);
  cursor: pointer;
}

.mj-status {
  margin: 0 0 1rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--ic-paper);
  border: 1px solid var(--ic-line);
  color: var(--ic-ink);
  font-size: 0.93rem;
  line-height: 1.5;
}
.mj-status.is-ok { border-color: rgba(45, 106, 79, 0.35); background: #eef6f0; }
.mj-status.is-warn { border-color: rgba(155, 34, 38, 0.3); background: #fbf0ee; }
.mj-status.is-wait { position: relative; padding-left: 2.6rem; }
.mj-status.is-wait::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border: 2px solid var(--ic-line);
  border-top-color: var(--ic-walnut);
  border-radius: 50%;
  animation: mjSpin 0.8s linear infinite;
}
@keyframes mjSpin { to { transform: rotate(360deg); } }

.mj-map {
  width: 100%;
  height: 320px;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--ic-line);
  box-shadow: var(--shadow-soft);
  background: var(--ic-paper);
}
.mj-map[hidden] { display: none; }

.mj-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.mj-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 0.95rem;
  background: var(--ic-white);
  border: 1px solid var(--ic-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.mj-item.is-on { border-color: var(--ic-gold); transform: translateY(-1px); }
.mj-num {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ic-walnut);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}
.mj-body { display: grid; gap: 0.15rem; min-width: 0; }
.mj-body strong { font-size: 0.98rem; line-height: 1.3; color: var(--ic-ink); }
.mj-body > span {
  font-size: 0.82rem;
  color: var(--ic-muted);
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.mj-body em { font-style: normal; font-size: 0.82rem; font-weight: 700; color: var(--ic-walnut); }
.mj-closed { color: var(--ic-danger); }
.mj-go { white-space: nowrap; }

.mj-fallback {
  margin-top: 0.4rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--ic-paper);
  border: 1px dashed var(--ic-line);
  text-align: center;
}
.mj-fallback p { margin: 0 0 0.75rem; color: var(--ic-muted); font-size: 0.92rem; }
.mj-attr { margin: 0.75rem 0 0; font-size: 0.75rem; color: var(--ic-muted); text-align: right; }
.mj-help { margin-top: 1.1rem; }

@media (max-width: 560px) {
  .mj-tools { flex-direction: column; }
  .mj-search { flex: 0 0 auto; }
  .mj-radius { justify-content: space-between; }
  .mj-map { height: 260px; }
  .mj-item { grid-template-columns: auto 1fr; }
  .mj-go { grid-column: 1 / -1; width: 100%; justify-content: center; }
}

.is-app-page .mj-start { margin: 16px 0 0; max-width: none; }
.is-app-page .mj-start-hint { text-align: left; }
.is-app-page .mj-wrap { padding-top: 4px; }
