/* ============================================
   myhouses.site — posting wizard styles
   ============================================ */

.wizard-wrap {
  min-height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

/* ----- Progress rail ----- */
.progress {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 234, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 16px 32px;
}
.progress-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.progress-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
  min-width: 90px;
}
.progress-label strong { color: var(--ink); font-weight: 500; }
.progress-bar {
  flex: 1;
  height: 3px;
  background: var(--line);
  border-radius: 100px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 100px;
  transition: width 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.progress-exit {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-decoration: none;
}
.progress-exit:hover { color: var(--accent); }

/* ----- Step content ----- */
.step-wrap {
  flex: 1;
  padding: 60px 32px 140px;
}
.step {
  max-width: 640px;
  margin: 0 auto;
  display: none;
}
.step.active {
  display: block;
  animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.step-title {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 16px;
  color: var(--ink);
}
.step-title em { font-style: italic; color: var(--accent); font-weight: 300; }
.step-sub {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 40px;
}

/* ----- Option cards (radio-style big buttons) ----- */
.option-grid {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}
.option-grid.two-col { grid-template-columns: 1fr 1fr; }
.option-grid.three-col { grid-template-columns: repeat(3, 1fr); }
.option-grid.six-col  { grid-template-columns: repeat(6, 1fr); gap: 8px; }

.option-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
  width: 100%;
  font-family: inherit;
}
.option-card:hover { border-color: var(--ink); }
.option-card.selected {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
  background: #FBF3EE;
}
.option-card .icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ink-soft);
}
.option-card.selected .icon {
  background: var(--accent);
  color: #fff;
}
.option-card .option-label {
  font-weight: 500;
  font-size: 15px;
  line-height: 1.3;
  margin-bottom: 2px;
}
.option-card .option-desc {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.4;
}

/* Small option buttons (bedroom count, etc.) */
.option-card.compact {
  flex-direction: column;
  align-items: center;
  padding: 16px 8px;
  text-align: center;
  gap: 4px;
}
.option-card.compact .option-label {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: -0.02em;
  margin: 0;
}

/* ----- Inputs ----- */
.field-group { margin-bottom: 22px; }
.field-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
  display: block;
}
.field-label .req { color: var(--accent); margin-left: 2px; }
.field-hint {
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 6px;
  line-height: 1.4;
}

.input, .textarea, .select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  transition: border-color 0.15s;
}
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--ink);
}
.textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234A5061' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr 100px;
  gap: 10px;
  align-items: stretch;
}
.input-row .input, .input-row .select { height: 100%; }

.prefix-input {
  position: relative;
}
.prefix-input .prefix {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink-muted);
  pointer-events: none;
}
.prefix-input .input { padding-left: 36px; }

/* ----- Feature chips (multi-select) ----- */
.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.feat-chip {
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  background: var(--surface);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.feat-chip:hover { border-color: var(--ink); }
.feat-chip.selected {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.feat-chip.selected::before {
  content: '✓';
  font-weight: 500;
}

/* ----- Toggle (yes/no) ----- */
.toggle-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ----- Photo uploader ----- */
.photo-nudge {
  background: #FBF3EE;
  border: 1px solid #F0D5C3;
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 24px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--accent-dark);
  line-height: 1.55;
}
.photo-nudge svg { flex-shrink: 0; margin-top: 1px; color: var(--accent); }
.photo-nudge strong { font-weight: 500; }

.photo-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.photo-slot {
  background: var(--surface);
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  position: relative;
  transition: all 0.15s;
  overflow: hidden;
}
.photo-slot:hover {
  border-color: var(--ink);
  background: var(--bg-alt);
}
.photo-slot.required {
  border-color: var(--accent);
  background: #FDF9F6;
}
.photo-slot.filled {
  border-style: solid;
  border-color: var(--line);
  background: var(--bg-alt);
}
.photo-slot .slot-icon {
  color: var(--ink-muted);
}
.photo-slot.required .slot-icon {
  color: var(--accent);
}
.photo-slot .slot-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  text-align: center;
  padding: 0 6px;
  line-height: 1.3;
}
.photo-slot.required .slot-label { color: var(--accent-dark); }
.photo-slot.filled .slot-label { color: var(--ink); }
.photo-slot .slot-req-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.photo-slot .slot-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-slot .slot-thumb svg { width: 100%; height: 100%; }
.photo-slot .slot-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(26, 31, 43, 0.8);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.photo-slot.filled:hover .slot-remove { display: flex; }
.photo-slot.filled:hover .slot-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 6px;
  background: rgba(26, 31, 43, 0.8);
  color: #fff;
}

.photo-progress {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.photo-progress .count {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
}
.photo-progress .bar {
  flex: 1;
  max-width: 180px;
  height: 4px;
  background: var(--line);
  border-radius: 100px;
  margin: 0 16px;
  overflow: hidden;
}
.photo-progress .bar-fill {
  height: 100%;
  background: var(--forest);
  transition: width 0.3s;
}

/* ----- Review step ----- */
.review-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
}
.review-section-head {
  padding: 14px 18px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.review-section-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.review-edit {
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.review-edit:hover { color: var(--accent-dark); }
.review-body { padding: 16px 18px; }
.review-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 6px 0;
  font-size: 14px;
}
.review-row .label {
  color: var(--ink-muted);
  font-size: 13px;
}

/* ----- Bottom nav ----- */
.wizard-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(244, 241, 234, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 16px 32px calc(16px + env(safe-area-inset-bottom));
  z-index: 100;
}
.wizard-nav-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.wizard-nav .btn {
  padding: 13px 24px;
  font-size: 14px;
}
.wizard-nav .btn-primary {
  background: var(--ink);
}
.wizard-nav .btn-primary:hover { background: var(--accent); }
.wizard-nav .btn-primary:disabled {
  background: var(--line-strong);
  cursor: not-allowed;
}
.wizard-nav .btn-back {
  color: var(--ink-soft);
  padding: 13px 0;
}
.wizard-nav .btn-back:hover { color: var(--ink); }

/* ----- Success / pending approval page ----- */
.success-wrap {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 32px 120px;
}
.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--oha-ok-bg);
  color: var(--oha-ok);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
}
.success-title {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-bottom: 20px;
}
.success-title em { font-style: italic; color: var(--accent); }
.success-sub {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 480px;
  margin: 0 auto 40px;
}

.status-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: left;
  margin-bottom: 40px;
}
.status-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--verified-bg);
  color: var(--verified);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.status-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--verified);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.status-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.status-step {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  align-items: flex-start;
}
.status-step:not(:last-child) {
  border-bottom: 1px solid var(--line);
}
.status-step .dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  background: var(--surface);
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.status-step.done .dot {
  background: var(--forest);
  border-color: var(--forest);
}
.status-step.done .dot::after {
  content: '';
  width: 8px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}
.status-step.active .dot {
  border-color: var(--verified);
  background: var(--verified-bg);
}
.status-step.active .dot::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--verified);
  animation: pulse 2s ease-in-out infinite;
}
.status-step .step-content .title {
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 2px;
}
.status-step .step-content .desc {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.5;
}
.status-step .step-content .time {
  font-size: 11px;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.submitted-preview {
  display: flex;
  gap: 16px;
  align-items: center;
}
.submitted-preview .thumb {
  width: 90px;
  height: 70px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-alt);
  flex-shrink: 0;
}
.submitted-preview .info {
  flex: 1;
  min-width: 0;
}
.submitted-preview .headline {
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.submitted-preview .meta {
  font-size: 13px;
  color: var(--ink-muted);
}
.submitted-preview .ref {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
  margin-top: 6px;
}

/* ----- Mobile ----- */
@media (max-width: 768px) {
  .progress { padding: 12px 16px; }
  .progress-inner { gap: 12px; }
  .progress-label { min-width: 60px; font-size: 10px; }
  .progress-exit { display: none; }

  .step-wrap { padding: 32px 16px 140px; }
  .step-title { font-size: 30px; }
  .step-sub { font-size: 14px; margin-bottom: 28px; }
  .step-num { font-size: 10px; }

  .option-grid.two-col { grid-template-columns: 1fr; }
  .option-grid.three-col { grid-template-columns: 1fr 1fr 1fr; }
  .option-grid.six-col { grid-template-columns: repeat(4, 1fr); }

  .option-card { padding: 16px; }
  .option-card .icon { width: 32px; height: 32px; }
  .option-card.compact { padding: 14px 4px; }
  .option-card.compact .option-label { font-size: 20px; }

  .photo-slots { grid-template-columns: repeat(2, 1fr); gap: 8px; }

  .wizard-nav { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  .wizard-nav .btn { padding: 14px 20px; font-size: 13px; }

  .success-wrap { padding: 40px 16px 120px; }
  .success-title { font-size: 36px; }
  .success-sub { font-size: 15px; }
  .status-card { padding: 20px; }

  .review-row { grid-template-columns: 1fr; gap: 2px; }
  .review-row .label { font-size: 11px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.05em; }
}

/* ============================================
   Step 10 — Payment (simulated)
   ============================================ */
.plan-card {
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}
.plan-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle at top right, rgba(200, 80, 46, 0.08), transparent 70%);
  pointer-events: none;
}
.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #fff;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.plan-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.plan-desc {
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 20px;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.plan-price .amt {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.plan-price .per {
  font-size: 14px;
  color: var(--ink-muted);
}
.plan-includes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-includes li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.plan-includes svg {
  flex-shrink: 0;
  color: var(--forest);
  margin-top: 2px;
}

.pay-method-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.card-visual {
  width: 44px;
  height: 30px;
  border-radius: 4px;
  background: linear-gradient(135deg, #1a2a4f 0%, #2d4676 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}
.pay-method-card .card-info {
  flex: 1;
  min-width: 0;
}
.pay-method-card .card-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 2px;
}
.pay-method-card .card-sub {
  font-size: 12px;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}
.pay-method-card .demo-tag {
  background: var(--olive-soft);
  color: var(--olive);
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 500;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pay-summary {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 20px;
}
.pay-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding: 4px 0;
}
.pay-summary-row.total {
  padding-top: 12px;
  margin-top: 8px;
  border-top: 1px solid var(--line);
  font-weight: 500;
  font-size: 16px;
}
.pay-summary-row .total-amt {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.pay-summary-row .label { color: var(--ink-soft); }

.pay-agree-box {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.15s;
  margin-bottom: 16px;
  align-items: flex-start;
}
.pay-agree-box:hover { border-color: var(--ink); }
.pay-agree-box.checked {
  border-color: var(--accent);
  background: #FDF9F6;
}
.pay-agree-box .checkbox {
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--line-strong);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  transition: all 0.15s;
}
.pay-agree-box.checked .checkbox {
  background: var(--accent);
  border-color: var(--accent);
}
.pay-agree-box.checked .checkbox::after {
  content: '';
  width: 10px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}
.pay-agree-box .agree-text {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.pay-simulated-banner {
  background: var(--verified-bg);
  border: 1px solid #E8D59B;
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 24px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--verified);
  line-height: 1.5;
}
.pay-simulated-banner svg { flex-shrink: 0; margin-top: 1px; color: var(--verified); }
.pay-simulated-banner strong { color: #5E4816; font-weight: 500; }

@media (max-width: 768px) {
  .plan-card { padding: 22px 20px; }
  .plan-name { font-size: 22px; }
  .plan-price .amt { font-size: 38px; }
}

/* ============================================
   Pin map (wizard step 2)
   ============================================ */
.pin-map-wrapper {
  position: relative;
  height: 260px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--bg-alt);
}
.pin-map {
  width: 100%;
  height: 100%;
}
.pin-map-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--ink-muted);
  font-size: 13px;
  text-align: center;
  padding: 24px;
  z-index: 10;
  pointer-events: none;
  background: var(--bg-alt);
}
.pin-map-empty.hidden {
  display: none;
}
.pin-adjust-toggle {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  font-size: 14px;
  transition: border-color 0.15s;
}
.pin-adjust-toggle:hover { border-color: var(--ink); }
.pin-adjust-toggle input { width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; }

/* Custom marker for the wizard pin */
.wizard-pin {
  width: 28px;
  height: 28px;
  border-radius: 50% 50% 50% 0;
  background: var(--accent);
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  transform: rotate(-45deg);
  position: relative;
}
.wizard-pin::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
}

/* Pin source badge */
.pin-source-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 100px;
}
.pin-source-badge.auto { background: var(--oha-ok-bg); color: var(--oha-ok); }
.pin-source-badge.manual { background: #F0E8D9; color: #7A5A20; }
.pin-source-badge.fallback { background: var(--bg-alt); color: var(--ink-muted); }

@media (max-width: 768px) {
  .pin-map-wrapper { height: 220px; }
}
