/* Aufmaß-Tour monteur page */
.tour-page {
  background: #f0f9ff;
}
.tour-main {
  max-width: 640px;
  margin: 0 auto;
  padding: 12px 12px 40px;
}
.tour-summary-card {
  margin-bottom: 12px;
}
.tour-summary-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.tour-summary-row label {
  font-weight: 600;
  margin: 0;
}
.tour-summary-row input[type="date"] {
  flex: 1;
  min-width: 140px;
}
.tour-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tour-stop {
  background: #fff;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  padding: 14px 14px 12px;
  box-shadow: 0 1px 3px rgba(14, 116, 144, 0.08);
}
.tour-stop.is-measured {
  border-color: #67e8f9;
  background: #ecfeff;
  opacity: 0.95;
}
.tour-stop-head {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 8px;
}
.tour-stop-order {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0e7490;
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.tour-stop.is-measured .tour-stop-order {
  background: #0891b2;
}
.tour-stop-title {
  flex: 1;
  min-width: 0;
}
.tour-stop-title h2 {
  margin: 0 0 2px;
  font-size: 1.05rem;
  line-height: 1.25;
  color: #0f172a;
}
.tour-stop-addr {
  margin: 0;
  font-size: 0.9rem;
  color: #475569;
}
.tour-stop-time {
  margin: 2px 0 0;
  font-size: 0.82rem;
  color: #64748b;
}
.tour-stop-badge {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: #cffafe;
  color: #155e75;
}
.tour-stop-badge.is-open {
  background: #fef3c7;
  color: #92400e;
}
.tour-stop-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.tour-stop-actions .btn-wide {
  grid-column: 1 / -1;
}
.tour-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 10px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  text-align: center;
  line-height: 1.2;
  min-height: 46px;
}
.tour-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.tour-btn-navi {
  background: #1e3a5f;
  color: #fff;
}
.tour-btn-tg {
  background: #229ed9;
  color: #fff;
}
.tour-btn-tg.is-missing {
  background: #e2e8f0;
  color: #64748b;
}
.tour-btn-meimeter {
  background: #0d9488;
  color: #fff;
}
.tour-btn-measured {
  background: #0891b2;
  color: #fff;
}
.tour-btn-undo {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}
.tour-empty {
  text-align: center;
  padding: 28px 16px;
  color: #64748b;
  background: #fff;
  border-radius: 12px;
  border: 1px dashed #94a3b8;
}
.tour-hint {
  margin-top: 16px;
  font-size: 0.85rem;
  line-height: 1.45;
}
