/* LandAI CSS owner: Shared side panels, waypoint details, measurement details, folders, and edit forms. */
.pin-details-panel {
  position: fixed;
  top: calc(var(--premium-banner-offset) + 74px);
  left: calc(var(--left-rail-width) + 12px);
  z-index: 4;
  width: 375px;
  max-width: calc(100vw - var(--left-rail-width) - 24px);
  height: calc(100vh - var(--premium-banner-offset) - 86px);
  max-height: calc(100vh - var(--premium-banner-offset) - 86px);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18);
  color: #2f3437;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.pin-details-panel.is-closed {
  transform: translateX(calc(-100% - 24px));
  opacity: 0;
  pointer-events: none;
}

.my-content-panel {
  position: fixed;
  top: calc(var(--premium-banner-offset) + 74px);
  left: calc(var(--left-rail-width) + 12px);
  z-index: 4;
  width: 375px;
  max-width: calc(100vw - var(--left-rail-width) - 24px);
  height: calc(100vh - var(--premium-banner-offset) - 86px);
  max-height: calc(100vh - var(--premium-banner-offset) - 86px);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18);
  color: #2f3437;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.my-content-panel.is-closed {
  transform: translateX(calc(-100% - 24px));
  opacity: 0;
  pointer-events: none;
}

#my-content-content,
.my-content-shell {
  height: 100%;
}

.my-content-shell {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.my-content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 22px 18px 12px;
  border-bottom: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.my-content-title-wrap {
  min-width: 0;
}

.my-content-eyebrow {
  margin: 0 0 3px;
  color: #16a34a;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.my-content-title {
  margin: 0;
  color: #1f2933;
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.my-content-header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.my-content-icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #334155;
  font-family: inherit;
  font-size: 2.15rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

.my-content-icon-btn:hover,
.my-content-icon-btn:focus-visible {
  background: #f1f5f9;
  outline: none;
}

.my-content-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 14px 14px 18px;
}

.my-content-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.my-content-summary-card {
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
}

.my-content-summary-value {
  display: block;
  color: #0f172a;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
}

.my-content-summary-label {
  display: block;
  margin-top: 5px;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 800;
}

.my-content-filter-row {
  display: flex;
  gap: 7px;
  margin: 0 0 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.my-content-filter-row::-webkit-scrollbar {
  display: none;
}

.my-content-filter-btn,
.my-content-folder-back {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #dbe2ea;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
}

.my-content-filter-btn:hover,
.my-content-filter-btn:focus-visible,
.my-content-folder-back:hover,
.my-content-folder-back:focus-visible {
  background: #f1f5f9;
  outline: none;
}

.my-content-filter-btn.is-active {
  border-color: rgba(22, 163, 74, 0.25);
  background: #dcfce7;
  color: #166534;
}

.my-content-folder-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.my-content-section-title {
  margin: 16px 0 8px;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.my-content-list {
  display: grid;
  gap: 8px;
}

.my-content-row {
  width: 100%;
  min-height: 68px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  color: #1f2933;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}

.my-content-row:hover,
.my-content-row:focus-visible {
  border-color: rgba(22, 163, 74, 0.35);
  background: #f8fafc;
  outline: none;
}

.my-content-row:active {
  transform: scale(0.99);
}

.my-content-row-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #ecfdf5;
  color: #16a34a;
  flex-shrink: 0;
}

.my-content-row-icon svg {
  width: 22px;
  height: 22px;
}

.my-content-row-main {
  min-width: 0;
}

.my-content-row-title {
  display: block;
  color: #1f2933;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-content-row-meta,
.my-content-row-subtitle {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-content-row-badge {
  justify-self: end;
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 900;
}

.my-content-row-chevron {
  justify-self: end;
  color: #94a3b8;
  font-size: 1.35rem;
  font-weight: 500;
}

.my-content-status {
  margin: 18px 4px 0;
  padding: 18px 14px;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  background: #f8fafc;
  color: #64748b;
  font-weight: 800;
  text-align: center;
  line-height: 1.35;
}

.my-content-status.is-error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

#pin-details-content,
.pin-detail-shell {
  height: 100%;
}

.pin-detail-shell {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.pin-detail-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 28px 18px 18px;
}

.pin-detail-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #2f3437;
  font-family: inherit;
  font-size: 2.15rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

.pin-detail-close:hover,
.pin-detail-close:focus-visible {
  background: #f1f5f9;
  outline: none;
}

.pin-detail-title {
  margin: 48px 0 6px;
  padding-right: 30px;
  color: #2f3437;
  font-size: 1.72rem;
  font-weight: 900;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.pin-detail-date {
  margin: 0;
  color: #4b5563;
  font-size: 0.98rem;
  font-weight: 800;
}

.pin-detail-tabs {
  display: flex;
  gap: 16px;
  margin: 26px -18px 0;
  padding: 0 18px;
  border-bottom: 1px solid #dbe2ea;
  overflow-x: auto;
  scrollbar-width: none;
}

.pin-detail-tabs::-webkit-scrollbar {
  display: none;
}

.pin-detail-tab {
  position: relative;
  flex-shrink: 0;
  padding: 0 0 12px;
  border: none;
  background: transparent;
  color: #9ca3af;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 900;
  white-space: nowrap;
}

.pin-detail-tab.is-active {
  color: #2f3437;
}

.pin-detail-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: var(--accent);
}

.pin-detail-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 22px 0 18px;
  padding: 10px 12px 10px 14px;
  border-radius: 999px;
  background: #f1f1f1;
  color: #2f3437;
  font-size: 1rem;
  font-weight: 700;
}

.pin-detail-switch {
  position: relative;
  width: 52px;
  height: 30px;
  flex-shrink: 0;
}

.pin-detail-switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.pin-detail-switch span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #c7c7c7;
  transition: background 0.15s ease;
}

.pin-detail-switch span::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.28);
  transition: transform 0.15s ease;
}

.pin-detail-switch input:checked + span {
  background: var(--accent);
}

.pin-detail-switch input:checked + span::after {
  transform: translateX(22px);
}

.pin-detail-info-row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: start;
  gap: 6px 10px;
  margin: 0 -18px;
  padding: 16px 18px;
  border-top: 1px solid #eee5dc;
  border-bottom: 1px solid #eee5dc;
}

.pin-detail-row-icon {
  width: 24px;
  height: 24px;
  grid-row: 1 / span 2;
  margin-top: 1px;
  color: #2f3437;
}

.pin-detail-row-label,
.pin-detail-coords,
.pin-tools-title,
.pin-tool-title {
  color: #2f3437;
}

.pin-detail-row-label {
  font-size: 1rem;
  font-weight: 900;
}

.pin-detail-coords {
  grid-column: 2 / 4;
  min-width: 0;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.32;
  white-space: normal;
  overflow-wrap: anywhere;
}

.pin-detail-copy {
  grid-column: 3;
  grid-row: 1;
  border: none;
  background: transparent;
  color: var(--accent);
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 900;
  cursor: pointer;
}

.pin-detail-copy:hover,
.pin-detail-copy:focus-visible {
  color: #15803d;
  outline: none;
  text-decoration: underline;
}

.measurement-detail-info-row {
  margin-top: 0;
}

.measurement-detail-notes {
  margin: 20px 0 0;
  padding: 14px;
  border-radius: 14px;
  background: #f8fafc;
  color: #334155;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.38;
  white-space: pre-wrap;
}

.measurement-detail-actions {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.measurement-detail-actions .pin-detail-action-icon {
  width: 42px;
  height: 42px;
}

.measurement-edit-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
}

.measurement-edit-metrics div {
  min-width: 0;
  padding: 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

.measurement-edit-metrics span {
  display: block;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 900;
}

.measurement-edit-metrics strong {
  display: block;
  margin-top: 4px;
  color: #1e293b;
  font-size: 0.98rem;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.measurement-edit-option-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.measurement-edit-pill {
  position: relative;
  cursor: pointer;
}

.measurement-edit-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.measurement-edit-pill span {
  display: block;
  min-width: 78px;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fafafa;
  color: #334155;
  font-size: 0.85rem;
  font-weight: 900;
  text-align: center;
}

.measurement-edit-pill input:checked + span {
  border-color: rgba(22, 163, 74, 0.72);
  background: #ecfdf5;
  color: #15803d;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.13);
}

.measurement-edit-pill input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.pin-tools-title {
  margin: 26px 0 14px;
  font-size: 1.28rem;
  font-weight: 900;
}

.pin-tool-card {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 12px;
  min-height: 84px;
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 18px;
  background: #f2f2f2;
}

.pin-tool-graphic {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #555;
}

.pin-tool-graphic.is-radius {
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.65) 0 12px, rgba(255,255,255,0.3) 13px 24px, transparent 25px),
    linear-gradient(90deg, transparent 49%, rgba(255,255,255,0.92) 49% 51%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(255,255,255,0.92) 49% 51%, transparent 51%),
    rgba(22, 163, 74, 0.18);
  border: 1.5px solid var(--accent);
  color: var(--accent);
}

.pin-tool-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 900;
}

.pin-tool-copy {
  margin: 3px 0 0;
  color: #2f3437;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.25;
}

.pin-tool-add {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 3px solid #2f3437;
  border-radius: 50%;
  background: transparent;
  color: #2f3437;
  font-family: inherit;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.pin-tool-add:hover,
.pin-tool-add:focus-visible {
  background: #fff;
  outline: none;
}

.gather-info-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 14px;
}

.gather-info-metrics div {
  min-width: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f4f7f5;
}

.gather-info-metrics strong {
  display: block;
  color: #243033;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.gather-info-metrics span {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.gather-info-error {
  margin: 10px 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
}

.gather-info-loading,
.gather-info-empty {
  margin: 18px 0;
  padding: 22px 12px;
  border-radius: 14px;
  background: #f8fafc;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 800;
  text-align: center;
}

.gather-info-list {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
  border-top: 1px solid #eef2f7;
}

.gather-info-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid #eef2f7;
}

.gather-info-row strong {
  color: #243033;
  font-size: 0.96rem;
  font-weight: 900;
  line-height: 1.25;
}

.gather-info-row span {
  color: #536267;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.gather-info-row em {
  color: var(--accent);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

body.is-gather-info-locked {
  cursor: progress;
}

.gather-info-lock-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.46);
  backdrop-filter: blur(3px);
  color: #1f2933;
}

.gather-info-lock-overlay[hidden] {
  display: none;
}

.gather-info-lock-overlay:focus {
  outline: none;
}

.gather-info-lock-card {
  width: min(380px, calc(100vw - 40px));
  padding: 26px 24px 24px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 58px rgba(15, 23, 42, 0.28);
  text-align: center;
}

.gather-info-lock-spinner {
  display: inline-block;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border: 3px solid #d7e3df;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: map-loading-spin 0.8s linear infinite;
}

.gather-info-lock-kicker,
.gather-info-lock-card h2,
.gather-info-lock-card p {
  margin: 0;
}

.gather-info-lock-kicker {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.gather-info-lock-card h2 {
  margin-top: 8px;
  color: #111827;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.12;
}

.gather-info-lock-card p {
  margin-top: 10px;
  color: #536267;
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.4;
}

.gather-info-lock-card .gather-info-lock-progress {
  margin-top: 16px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f4f7f5;
  color: #243033;
  font-size: 0.86rem;
  font-weight: 900;
}

.pin-detail-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 12px 14px 16px;
  background: #fff;
  border-top: 1px solid #eef2f7;
}

.pin-detail-action {
  min-width: 0;
  border: none;
  background: transparent;
  color: #2f3437;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  cursor: pointer;
}

.pin-detail-action-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin: 0 auto 6px;
  border: 2px solid #e5e7eb;
  border-radius: 50%;
  background: #fff;
  color: #2f3437;
}

.pin-detail-action.is-primary .pin-detail-action-icon {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.pin-detail-action:hover .pin-detail-action-icon,
.pin-detail-action:focus-visible .pin-detail-action-icon {
  border-color: rgba(22, 163, 74, 0.45);
  outline: none;
}

.pin-edit-form {
  background: #fff;
}

.pin-edit-scroll {
  padding-top: 28px;
}

.pin-folder-scroll {
  padding-top: 28px;
}

.pin-folder-create {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 12px;
  margin: 18px 0 24px;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fafafa;
}

.pin-folder-create .pin-edit-field {
  grid-column: 1 / -1;
  margin: 0;
}

.pin-folder-color-grid {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.pin-folder-color-grid::-webkit-scrollbar {
  display: none;
}

.pin-folder-color-option {
  position: relative;
  flex: 0 0 auto;
  cursor: pointer;
}

.pin-folder-color-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pin-folder-color-swatch {
  width: 32px;
  height: 32px;
  display: block;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 50%;
  background: var(--folder-color);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.pin-folder-color-option input:checked + .pin-folder-color-swatch {
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 6px var(--accent),
    inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.pin-folder-create-btn {
  min-width: 92px;
  height: 40px;
  align-self: center;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
}

.pin-folder-create-btn:disabled,
.pin-edit-save:disabled,
.pin-edit-cancel:disabled {
  cursor: progress;
  opacity: 0.68;
}

.pin-folder-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  color: #2f3437;
  font-size: 0.9rem;
  font-weight: 900;
}

.pin-folder-heading button {
  border: none;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
}

.pin-folder-list {
  display: grid;
  gap: 8px;
}

.pin-folder-row {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.pin-folder-row:hover,
.pin-folder-row:focus-within {
  border-color: rgba(22, 163, 74, 0.38);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.pin-folder-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pin-folder-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--folder-color);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.36);
}

.pin-folder-main {
  min-width: 0;
}

.pin-folder-name,
.pin-folder-meta {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pin-folder-name {
  color: #2f3437;
  font-size: 0.98rem;
  font-weight: 900;
}

.pin-folder-meta {
  margin-top: 2px;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 750;
}

.pin-folder-check {
  width: 24px;
  height: 24px;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  background: #fff;
}

.pin-folder-row input:checked ~ .pin-folder-check {
  border-color: var(--accent);
  background:
    radial-gradient(circle at center, #fff 0 4px, transparent 5px),
    var(--accent);
}

.pin-folder-empty {
  margin: 8px 0 0;
  padding: 28px 12px;
  border: 1px dashed #d1d5db;
  border-radius: 8px;
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
}

.pin-land-content {
  padding-top: 18px;
}

.pin-land-content .info-topcards {
  margin-bottom: 10px;
}

.pin-land-content .info-section {
  margin-bottom: 14px;
}

.pin-land-content .parcel-table td:last-child {
  overflow-wrap: anywhere;
}

.pin-land-anchor {
  margin: 0 0 16px;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.3;
}

.pin-land-status {
  padding: 16px 0;
}

.pin-edit-field {
  display: block;
  margin: 0 0 18px;
}

.pin-edit-field span,
.pin-edit-section h3 {
  display: block;
  margin: 0 0 8px;
  color: #2f3437;
  font-size: 0.9rem;
  font-weight: 900;
}

.pin-edit-field input,
.pin-edit-field textarea {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fafafa;
  color: #2f3437;
  font: inherit;
  font-size: 1rem;
  font-weight: 750;
  outline: none;
}

.pin-edit-field input {
  height: 50px;
  padding: 0 13px;
}

.pin-edit-field textarea {
  min-height: 116px;
  resize: vertical;
  padding: 12px 13px;
  line-height: 1.35;
}

.pin-edit-field input:focus,
.pin-edit-field textarea:focus {
  border-color: rgba(22, 163, 74, 0.72);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.13);
  background: #fff;
}

.pin-edit-section {
  margin: 0 0 18px;
}

.pin-edit-icon-grid,
.pin-edit-color-grid {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 9px;
  scrollbar-width: none;
}

.pin-edit-icon-grid::-webkit-scrollbar,
.pin-edit-color-grid::-webkit-scrollbar {
  display: none;
}

.pin-edit-icon-option,
.pin-edit-color-option {
  position: relative;
  flex: 0 0 auto;
  cursor: pointer;
}

.pin-edit-icon-option input,
.pin-edit-color-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pin-edit-icon-swatch {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fafafa;
  color: #2f3437;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.pin-edit-icon-swatch .web-map-pin-icon {
  width: 25px;
  height: 25px;
}

.pin-edit-icon-label {
  display: block;
  width: 58px;
  margin-top: 5px;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1.1;
  text-align: center;
  overflow-wrap: anywhere;
}

.pin-edit-icon-option input:checked + .pin-edit-icon-swatch {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 7px 16px rgba(22, 163, 74, 0.23);
}

.pin-edit-icon-option input:focus-visible + .pin-edit-icon-swatch,
.pin-edit-color-option input:focus-visible + .pin-edit-color-swatch {
  outline: 3px solid rgba(22, 163, 74, 0.22);
  outline-offset: 2px;
}

.pin-edit-icon-option input:checked ~ .pin-edit-icon-label {
  color: #2f3437;
}

.pin-edit-color-grid {
  align-items: center;
  min-height: 62px;
}

.pin-edit-color-swatch {
  width: 48px;
  height: 48px;
  display: block;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 50%;
  background: var(--pin-edit-color);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.3);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}

.pin-edit-color-option input:checked + .pin-edit-color-swatch {
  transform: scale(0.95);
  border-color: var(--accent);
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 6px var(--accent),
    inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.pin-edit-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 10px;
  padding: 12px 18px 16px;
  border-top: 1px solid #eef2f7;
  background: #fff;
}

.pin-edit-cancel,
.pin-edit-save {
  height: 48px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
}

.pin-edit-cancel {
  border: 1px solid #dbe2ea;
  background: #fff;
  color: #2f3437;
}

.pin-edit-save {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
}

.pin-edit-cancel:hover,
.pin-edit-cancel:focus-visible {
  background: #f8fafc;
  outline: none;
}

.pin-edit-save:hover,
.pin-edit-save:focus-visible {
  background: #15803d;
  border-color: #15803d;
  outline: none;
}

.pin-edit-cancel:disabled,
.pin-edit-save:disabled {
  cursor: wait;
  opacity: 0.68;
}
