/* SiChatFish — peta budi daya (Phase 9). Memakai variabel warna chat.css. */
.mp-body { margin: 0; }
.mp-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 16px;
  border-bottom: 1px solid var(--sc-line); }
.mp-header h1 { font-size: 18px; margin: 0; }
.mp-header a { color: var(--sc-accent); text-decoration: none; font-size: 14px; }
.mp-who { font-size: 13px; color: var(--sc-ink-soft); }
.mp-main { display: grid; grid-template-columns: minmax(0, 1fr) 320px; height: calc(100vh - 52px); }
.mp-main[hidden], .mp-login[hidden], .mp-error[hidden] { display: none; }
.mp-mapwrap { position: relative; min-height: 360px; }
.mp-map { position: absolute; inset: 0; }
.mp-mapnote { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 800;
  background: rgba(255, 255, 255, 0.92); color: #1f2a33; border: 1px solid #c9d3da; border-radius: 999px;
  padding: 4px 12px; font-size: 13px; pointer-events: none; }
.mp-mapnote[hidden] { display: none; }
.leaflet-control-layers-base label, .leaflet-control-layers-overlays label { font-size: 13px; }
.mp-side { overflow-y: auto; padding: 0 12px 16px; border-left: 1px solid var(--sc-line); }
.mp-card { background: var(--sc-bg-soft); border: 1px solid var(--sc-line); border-radius: var(--sc-radius);
  padding: 12px; margin: 12px 0 0; font-size: 14px; }
.mp-login { max-width: 560px; margin: 16px auto; }
.mp-card h2 { font-size: 15px; margin: 0 0 8px; }
.mp-row { display: flex; align-items: center; gap: 6px; margin: 6px 0; flex-wrap: wrap; }
.mp-row select { font: inherit; padding: 3px 6px; border-radius: 8px; border: 1px solid var(--sc-line);
  background: var(--sc-bg); color: var(--sc-ink); }
.mp-tag { font-size: 11px; padding: 1px 6px; border-radius: 999px; background: var(--sc-notice);
  border: 1px solid var(--sc-notice-line); }
.mp-tag-syn { background: #fdecea; border-color: #f5c2bd; color: #8a1c12; }
.mp-src { font-size: 12px; color: var(--sc-ink-soft); margin: -2px 0 6px 22px; }
.mp-muted { font-size: 12px; color: var(--sc-ink-soft); margin-top: 4px; }
.mp-legend { margin-top: 10px; font-size: 12px; }
.mp-legend-title { font-weight: 600; margin-bottom: 4px; }
.mp-legend-row { display: flex; align-items: center; gap: 6px; margin: 2px 0; }
.mp-swatch { display: inline-block; width: 16px; height: 12px; border: 1px solid #35607a; }
.mp-c0 { background: #e6f2f7; } .mp-c1 { background: #b9dbe8; } .mp-c2 { background: #84bfd6; }
.mp-c3 { background: #4f9fc0; } .mp-c4 { background: #2a7ba3; } .mp-c5 { background: #155a80; }
.mp-cx { background: #9aa0a6; }
.mp-info ul { margin: 6px 0 0; padding-left: 18px; }
.mp-coord { font-family: ui-monospace, monospace; font-size: 12px; color: var(--sc-ink-soft); }
.mp-note { font-size: 12px; color: var(--sc-ink-soft); margin-top: 10px; }
.mp-error { background: var(--sc-error); border: 1px solid var(--sc-error-line); border-radius: var(--sc-radius);
  padding: 10px 12px; margin: 12px 16px; }
.mp-pop { font-size: 13px; line-height: 1.4; max-width: 260px; }
@media (max-width: 760px) {
  .mp-main { grid-template-columns: 1fr; grid-template-rows: 60vh auto; height: auto; }
  .mp-mapwrap { height: 60vh; }
  .mp-side { border-left: 0; }
}
/* Di dalam kerangka sidebar (shell.css): peta mengisi sisa layar. */
.sh-page-peta .mp-main { flex: 1; height: auto; min-height: 0; }
.sh-page-peta .mp-error { margin: 12px 16px; }
@media (max-width: 760px) {
  .sh-page-peta .sh-content { overflow-y: auto; display: block; }
}
.mp-row[hidden] { display: none; }
