:root {
  --dt-bg: #f6f7fb;
  --dt-card: #ffffff;
  --dt-text: #111827;
  --dt-muted: #6b7280;
  --dt-line: #e5e7eb;
  --dt-line-strong: #d1d5db;
  --dt-primary: #e03a2f;
  --dt-primary-dark: #c92f25;
  --dt-green-soft: #e8f7ef;
  --dt-green-text: #166534;
  --dt-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --dt-radius-lg: 20px;
  --dt-radius-md: 16px;
  --dt-radius-sm: 12px;
}

.dt-page {
  background: var(--dt-bg);
  min-height: 100vh;
  padding: 24px 0 96px;
}

.dt-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

.dt-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.dt-topbar-left h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 800;
  color: var(--dt-text);
}

.dt-topbar-left p {
  margin: 8px 0 0;
  color: var(--dt-muted);
  font-size: 16px;
}

.dt-topbar-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.dt-btn {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all .18s ease;
}

.dt-btn:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.dt-btn-secondary {
  background: #fff;
  color: var(--dt-text);
  border: 1px solid var(--dt-line-strong);
}

.dt-btn-secondary:hover:not(:disabled) {
  background: #f9fafb;
}

.dt-btn-primary {
  background: var(--dt-primary);
  color: #fff;
  box-shadow: 0 8px 18px rgba(224, 58, 47, .22);
}

.dt-btn-primary:hover:not(:disabled) {
  background: var(--dt-primary-dark);
  transform: translateY(-1px);
}

.dt-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.dt-main {
  min-width: 0;
}

.dt-sidebar {
  position: sticky;
  top: 24px;
}

.dt-stepper {
  background: #fff;
  border: 1px solid var(--dt-line);
  border-radius: var(--dt-radius-lg);
  padding: 18px 20px;
  box-shadow: var(--dt-shadow);
  margin-bottom: 20px;
}

.dt-stepper-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.dt-stepper-label {
  font-weight: 800;
  color: var(--dt-text);
}

.dt-stepper-track {
  display: flex;
  gap: 10px;
}

.dt-stepper-line {
  height: 6px;
  width: 72px;
  border-radius: 999px;
  background: #e5e7eb;
}

.dt-stepper-line.is-active {
  background: var(--dt-primary);
}

.dt-section {
  background: var(--dt-card);
  border: 1px solid var(--dt-line);
  border-radius: var(--dt-radius-lg);
  box-shadow: var(--dt-shadow);
  overflow: hidden;
  margin-bottom: 16px;
}

.dt-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  cursor: pointer;
}

.dt-section-title-wrap {
  min-width: 0;
}

.dt-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--dt-text);
  font-size: 18px;
}

.dt-required {
  color: #dc2626;
}

.dt-section-summary {
  margin-top: 6px;
  color: var(--dt-muted);
  font-size: 14px;
  line-height: 1.45;
}

.dt-section-chevron {
  font-size: 18px;
  color: var(--dt-muted);
  transition: transform .2s ease;
}

.dt-section.is-open .dt-section-chevron {
  transform: rotate(180deg);
}

.dt-section-body {
  border-top: 1px solid var(--dt-line);
  padding: 24px;
  display: none;
}

.dt-section.is-open .dt-section-body {
  display: block;
}

.dt-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.dt-grid-3 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
}

.dt-field {
  margin-bottom: 18px;
}

.dt-field:last-child {
  margin-bottom: 0;
}

.dt-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--dt-text);
  margin-bottom: 8px;
}

.dt-input,
.dt-select,
.dt-textarea {
  width: 100%;
  min-height: 52px;
  border-radius: 999px;
  border: 1px solid var(--dt-line-strong);
  background: #fff;
  padding: 0 18px;
  font-size: 16px;
  color: var(--dt-text);
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.dt-textarea {
  min-height: 140px;
  border-radius: 20px;
  padding: 14px 18px;
  resize: vertical;
}

.dt-input:focus,
.dt-select:focus,
.dt-textarea:focus {
  border-color: #9ca3af;
  box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.05);
}

.dt-hint {
  margin-top: 7px;
  color: var(--dt-muted);
  font-size: 13px;
}

.dt-selection-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.dt-selection-card {
  border: 1px solid var(--dt-line-strong);
  border-radius: 18px;
  background: #fff;
  padding: 18px;
  cursor: pointer;
  transition: all .18s ease;
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.dt-selection-card:hover {
  border-color: #9ca3af;
  transform: translateY(-1px);
}

.dt-selection-card.is-active {
  border-color: var(--dt-text);
  background: #f9fafb;
  box-shadow: inset 0 0 0 1px var(--dt-text);
}

.dt-selection-title {
  font-weight: 800;
  font-size: 17px;
}

.dt-selection-desc {
  color: var(--dt-muted);
  font-size: 14px;
}

.dt-counter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.dt-counter-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--dt-line-strong);
  border-radius: 999px;
  background: #fff;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
}

.dt-counter-value {
  min-width: 28px;
  text-align: center;
  font-weight: 700;
}

.dt-address-preview {
  border: 1px solid var(--dt-line);
  border-radius: 18px;
  background: #fafafa;
  padding: 16px 18px;
  margin-top: 12px;
}

.dt-address-preview-label {
  font-size: 13px;
  color: var(--dt-muted);
  margin-bottom: 6px;
}

.dt-address-preview-text {
  font-weight: 600;
  line-height: 1.45;
}

.dt-inline-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.dt-upload-drop {
  border: 1.5px dashed #cbd5e1;
  border-radius: 24px;
  background: #fff;
  padding: 28px 20px;
  text-align: center;
  transition: all .18s ease;
}

.dt-upload-drop.is-dragover {
  border-color: var(--dt-primary);
  background: #fff8f7;
}

.dt-upload-title {
  margin: 12px 0 6px;
  font-weight: 800;
  font-size: 18px;
}

.dt-upload-sub {
  color: var(--dt-muted);
  font-size: 14px;
}

.dt-upload-actions {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.dt-media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.dt-media-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #f3f4f6;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--dt-line);
}

.dt-media-card img,
.dt-media-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dt-media-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(17, 24, 39, 0.85);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 10px;
}

.dt-media-actions {
  position: absolute;
  inset: auto 10px 10px 10px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.dt-media-mini-btn {
  border: 0;
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255,255,255,.94);
  cursor: pointer;
}

.dt-media-caption {
  margin-top: 8px;
}

.dt-alert-soft {
  background: var(--dt-green-soft);
  border: 1px solid #ccebd7;
  color: var(--dt-green-text);
  border-radius: 18px;
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.5;
}

.dt-preview-card {
  background: #fff;
  border: 1px solid var(--dt-line);
  border-radius: var(--dt-radius-lg);
  box-shadow: var(--dt-shadow);
  padding: 20px;
}

.dt-preview-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
}

.dt-preview-box {
  border: 1px solid var(--dt-line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.dt-preview-cover {
  aspect-ratio: 16 / 10;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dt-muted);
  font-size: 14px;
}

.dt-preview-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dt-preview-body {
  padding: 16px;
}

.dt-preview-meta {
  font-size: 13px;
  color: var(--dt-muted);
  margin-bottom: 8px;
}

.dt-preview-headline {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 8px;
}

.dt-preview-price {
  color: var(--dt-primary);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.dt-preview-address,
.dt-preview-desc {
  color: #374151;
  font-size: 14px;
  line-height: 1.5;
}

.dt-footer-bar {
  position: sticky;
  bottom: 0;
  z-index: 10;
  margin-top: 20px;
}

.dt-footer-inner {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--dt-line);
  border-radius: 24px;
  box-shadow: var(--dt-shadow);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dt-footer-note {
  color: var(--dt-muted);
  font-size: 14px;
}

.dt-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.dt-modal.is-open {
  display: block;
}

.dt-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
}

.dt-modal-panel {
  position: relative;
  width: min(980px, calc(100vw - 32px));
  margin: 28px auto;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
  max-height: calc(100vh - 56px);
  display: flex;
  flex-direction: column;
}

.dt-modal-header {
  background: #111827;
  color: #fff;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dt-modal-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.dt-modal-close {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.dt-modal-body {
  padding: 22px 24px;
  overflow: auto;
}

.dt-modal-footer {
  padding: 18px 24px;
  border-top: 1px solid var(--dt-line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
}

.dt-map-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--dt-line);
  height: 360px;
  margin-top: 16px;
}

#dt-address-map {
  width: 100%;
  height: 100%;
}

.dt-suggest-list {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.dt-suggest-item {
  border: 1px solid var(--dt-line);
  border-radius: 16px;
  padding: 14px 16px;
  background: #fff;
  cursor: pointer;
  transition: all .16s ease;
}

.dt-suggest-item:hover,
.dt-suggest-item.is-active {
  border-color: var(--dt-primary);
  background: #fff7f6;
}

.dt-suggest-item-title {
  font-weight: 700;
  line-height: 1.45;
}

.dt-suggest-item-sub {
  font-size: 13px;
  color: var(--dt-muted);
  margin-top: 4px;
}

.dt-building-match {
  margin-top: 14px;
  border: 1px solid #dbeafe;
  background: #eff6ff;
  border-radius: 18px;
  padding: 14px 16px;
}

.dt-building-match strong {
  color: #1d4ed8;
}

.dt-hidden {
  display: none !important;
}

@media (max-width: 1080px) {
  .dt-layout {
    grid-template-columns: 1fr;
  }

  .dt-sidebar {
    position: static;
  }

  .dt-media-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .dt-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .dt-grid-2,
  .dt-grid-3 {
    grid-template-columns: 1fr;
  }

  .dt-selection-group {
    grid-template-columns: 1fr;
  }

  .dt-media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dt-footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .dt-modal-panel {
    width: calc(100vw - 16px);
    margin: 8px auto;
    max-height: calc(100vh - 16px);
  }
}

.dt-hidden {
  display: none !important;
}

.dt-step-screen {
  width: 100%;
}

.dt-review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.dt-review-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 16px;
}

.dt-review-item-full {
  grid-column: 1 / -1;
}

.dt-review-label {
  font-size: 13px;
  line-height: 18px;
  color: #6b7280;
  margin-bottom: 6px;
}

.dt-review-value {
  font-size: 15px;
  line-height: 22px;
  color: #111827;
  word-break: break-word;
}

.dt-success-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.dt-success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 700;
}

.dt-success-title {
  font-size: 32px;
  line-height: 40px;
  margin-bottom: 10px;
}

.dt-success-subtitle {
  max-width: 640px;
  margin: 0 auto 24px;
  color: #4b5563;
}

.dt-success-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 24px 0;
  text-align: left;
}

.dt-success-meta-item {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 14px 16px;
}

.dt-success-meta-label {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 4px;
}

.dt-success-meta-value {
  font-size: 15px;
  color: #111827;
  font-weight: 600;
}

.dt-success-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .dt-review-grid {
    grid-template-columns: 1fr;
  }
}
