/* rhd-plan-viewer.css — minimal styles */

.rhd-modal-open { overflow: hidden; }

/* Overlay */
.rhd-plan-modal {
  position: fixed; inset: 0;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(15, 23, 42, 0.45);
  z-index: 10000;
  padding: 16px;
}

/* Card */
.rhd-plan-card {
  background: #fff;
  color: #0f172a;
  width: min(920px, 96vw);
  max-height: 90vh;
  overflow: auto;
  border-radius: 12px;
  box-shadow: 0 20px 48px rgba(0,0,0,.25);
  padding: 16px 16px 20px;
}

.rhd-plan-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
.rhd-plan-head h3 { margin: 0; font-size: 1.25rem; }
.rhd-close {
  background: transparent; border: 0; font-size: 1.75rem;
  line-height: 1; cursor: pointer; color: #334155;
}
.rhd-close:hover { color: #0f172a; }

.rhd-plan-meta {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px 16px;
  padding: 8px 0 4px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 12px;
}

.rhd-plan-lists {
  display: grid; grid-template-columns: 1fr; gap: 12px;
}
.rhd-plan-lists h4 { margin: 8px 0 6px; font-size: 1rem; }
.rhd-mono {
  background: #f8fafc; border: 1px solid #e5e7eb;
  border-radius: 8px; padding: 10px; margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  white-space: pre-wrap;
}

.rhd-plan-actions {
  display: flex; gap: 8px; align-items: center;
  margin: 12px 0 8px;
}


.rhd-map-wrap { margin-top: 8px; }
.rhd-map { width: 100%; height: 360px; border-radius: 8px; overflow: hidden;}

/* Small screens */
@media (min-width: 720px) {
  .rhd-plan-lists { grid-template-columns: repeat(3, 1fr); }
}
