.dtw-app { max-width: 760px; }
.dtw-panel { background: #fff; border: 1px solid #ddd; border-radius: 12px; padding: 32px; }
.dtw-panel h2 { margin: 0 0 6px; font-size: 20px; }
.dtw-sub { color: #888; font-size: 13px; margin: 0 0 24px; }
.dtw-steps { display: flex; gap: 0; margin-bottom: 28px; }
.dtw-step { flex: 1; text-align: center; position: relative; font-size: 12px; color: #888; }
.dtw-step::before { content: attr(data-num); display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #ddd; color: #888; font-weight: 700; font-size: 13px; margin: 0 auto 6px; position: relative; z-index: 1; }
.dtw-step.active::before { background: #FF6B35; color: #fff; }
.dtw-step.done::before { background: #22C55E; color: #fff; content: "✓"; }
.dtw-step::after { content: ""; position: absolute; top: 16px; left: 50%; right: -50%; height: 2px; background: #ddd; z-index: 0; }
.dtw-step:last-child::after { display: none; }
.dtw-step.done::after { background: #22C55E; }
.dtw-step.active span { color: #FF6B35; font-weight: 600; }
.dtw-search-wrap { position: relative; }
.dtw-search-wrap input[type="text"] { width: 100%; padding: 14px 16px; font-size: 16px; border: 2px solid #ddd; border-radius: 10px; }
.dtw-search-wrap input[type="text"]:focus { border-color: #FF6B35; outline: none; box-shadow: 0 0 0 3px rgba(255,107,53,.15); }
.dtw-manual-toggle { margin-top: 16px; font-size: 13px; }
.dtw-manual-toggle a { color: #FF6B35; cursor: pointer; }
.dtw-review-card { background: #FFF8F5; border: 1px solid #FFD0B8; border-radius: 10px; padding: 16px; margin-bottom: 12px; font-size: 13px; }
.dtw-review-card strong { display: block; margin-bottom: 4px; }
.dtw-stars { color: #FFB800; letter-spacing: 1px; }
.dtw-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; gap: 12px; }
.dtw-tpl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 700px) { .dtw-tpl-grid { grid-template-columns: 1fr; } }
.dtw-tpl { border: 3px solid #ddd; border-radius: 12px; padding: 18px; text-align: center; cursor: pointer; transition: border-color .2s, box-shadow .2s; position: relative; }
.dtw-tpl:hover, .dtw-tpl.selected { border-color: #FF6B35; box-shadow: 0 4px 16px rgba(255,107,53,.15); background: #FFF8F5; }
.dtw-tpl-emoji { font-size: 2.5rem; margin-bottom: 8px; }
.dtw-tpl-icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 100%);
	color: #6366f1;
}
.dtw-tpl.selected .dtw-tpl-icon {
	background: linear-gradient(135deg, #ffe8de 0%, #fff8f5 100%);
	color: #ff6b35;
}
.dtw-tpl-icon svg {
	width: 32px;
	height: 32px;
	display: block;
}
.dtw-tpl h4 { margin: 0 0 4px; font-size: 14px; }
.dtw-tpl p { margin: 0; font-size: 12px; color: #888; }
.dtw-tpl-check { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: 50%; background: #FF6B35; color: #fff; display: none; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.dtw-tpl.selected .dtw-tpl-check { display: flex; }

.dtw-vertical-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 8px; }
@media (max-width: 640px) { .dtw-vertical-grid { grid-template-columns: 1fr; } }
.dtw-vertical-card { display: block; border: 2px solid #e5e7eb; border-radius: 12px; padding: 16px 18px; cursor: pointer; transition: border-color .2s, background .2s; }
.dtw-vertical-card:hover, .dtw-vertical-card.selected { border-color: #FF6B35; background: #FFF8F5; }
.dtw-vertical-card input { position: absolute; opacity: 0; pointer-events: none; }
.dtw-vertical-card strong { display: block; font-size: 15px; margin-bottom: 6px; color: #1f2937; }
.dtw-vertical-card span { display: block; font-size: 12px; color: #64748b; line-height: 1.45; }
.dtw-business-types { margin: 18px 0 8px; padding: 16px 18px; border: 1px solid #e5e7eb; border-radius: 12px; background: #f8fafc; }
.dtw-type-chip-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.dtw-type-chip { border: 1px solid #cbd5e1; background: #fff; color: #334155; border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.dtw-type-chip:hover { border-color: #FF6B35; }
.dtw-type-chip.is-selected { border-color: #FF6B35; background: #FFF8F5; color: #c2410c; }
.dtw-salon-vertical-pick { padding: 4px 0 8px; border-top: 1px solid #f1f5f9; }
.dtw-preview { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; padding: 8px; margin-bottom: 12px; text-align: left; overflow: hidden; }
.dtw-preview-top { display: flex; align-items: center; justify-content: space-between; gap: 5px; margin-bottom: 8px; }
.dtw-preview-top span:first-child { width: 30%; height: 7px; background: var(--dtw-secondary); border-radius: 99px; }
.dtw-preview-top span { height: 5px; width: 18%; background: #cbd5e1; border-radius: 99px; }
.dtw-preview-hero { min-height: 54px; background: linear-gradient(135deg, var(--dtw-primary), var(--dtw-secondary)); border-radius: 8px; padding: 10px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 8px; align-items: center; }
.dtw-preview-hero i { display: block; height: 8px; background: #fff; opacity: .9; border-radius: 99px; box-shadow: 0 14px 0 rgba(255,255,255,.55), 0 28px 0 rgba(255,255,255,.28); }
.dtw-preview-hero b { display: block; height: 38px; background: var(--dtw-accent); border-radius: 8px; opacity: .9; }
.dtw-preview-body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.dtw-preview-body span { height: 26px; background: #e2e8f0; border-radius: 7px; }
.dtw-preview-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 8px; }
.dtw-preview-tags em { font-style: normal; font-size: 9px; font-weight: 700; color: var(--dtw-secondary); background: color-mix(in srgb, var(--dtw-accent) 30%, #fff); border-radius: 99px; padding: 3px 6px; }
.dtw-preview-quickview .dtw-preview-hero { grid-template-columns: 1fr; min-height: 46px; }
.dtw-preview-quickview .dtw-preview-hero b { display: none; }
.dtw-preview-spotlight .dtw-preview-hero, .dtw-preview-showcase .dtw-preview-hero { min-height: 68px; }
.dtw-preview-proservice .dtw-preview-body span:first-child { background: var(--dtw-primary); opacity: .2; }
.dtw-build { text-align: center; padding: 20px 0; }
.dtw-build-spinner { width: 48px; height: 48px; border: 4px solid #f0f0f0; border-top-color: #FF6B35; border-radius: 50%; animation: dtw-spin .8s linear infinite; margin: 0 auto 20px; }
@keyframes dtw-spin { to { transform: rotate(360deg); } }
.dtw-task-list { list-style: none; margin: 20px 0 0; padding: 0; text-align: left; max-width: 400px; margin-left: auto; margin-right: auto; }
.dtw-task-list li { padding: 10px 0; border-bottom: 1px solid #f0f0f0; font-size: 14px; display: flex; align-items: center; gap: 10px; }
.dtw-task-list li.done { color: #22C55E; }
.dtw-task-list li.active { color: #FF6B35; font-weight: 600; }
.dtw-task-icon { width: 20px; text-align: center; flex-shrink: 0; }
.dtw-alert { background: #FFF8F5; border: 1px solid #FFD0B8; border-radius: 8px; padding: 14px 16px; font-size: 13px; color: #666; margin-bottom: 20px; }
.dtw-alert a { color: #FF6B35; font-weight: 600; }
.dtw-search-modes { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; }
.dtw-search-mode { border: 1px solid #d1d5db; background: #fff; color: #374151; border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 700; cursor: pointer; }
.dtw-search-mode.is-active { border-color: #FF6B35; background: #FFF8F5; color: #c2410c; }
.dtw-discovery-status { margin: 0 0 12px !important; color: #64748b; }
.dtw-discovery-status:empty { display: none; }
.dtw-lead-search-usage.is-exhausted { color: #b45309; font-weight: 600; }
.dtw-discovery-actions .dte-btn-primary:disabled,
.dtw-discovery-actions .dte-btn-secondary:disabled { opacity: .55; cursor: not-allowed; }
.dtw-discovery-panel input:disabled,
.dtw-discovery-panel select:disabled { background: #f8fafc; color: #94a3b8; cursor: not-allowed; }
.dtw-discovery-panel .dte-field-group select { width: 100%; padding: 10px 12px; border: 1px solid #ccc; border-radius: 8px; font-size: 14px; }
.dtw-discovery-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0 16px; }
.dtw-discovery-actions .dte-btn-secondary { background: #f0f0f0; color: #333; border: none; padding: 11px 24px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; }
.dtw-discovery-actions .dte-btn-secondary:hover { background: #e0e0e0; }
.dtw-discovery-results { display: grid; gap: 10px; max-height: 360px; overflow: auto; margin-top: 8px; }
.dtw-discovery-results.is-empty { padding: 12px 0 4px; }
.dtw-discovery-count em { font-style: normal; color: #64748b; }
.dtw-discovery-item { display: block; width: 100%; text-align: left; border: 1px solid #e5e7eb; background: #fff; border-radius: 12px; padding: 14px 16px; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.dtw-discovery-item:hover { border-color: #FF6B35; box-shadow: 0 4px 16px rgba(255,107,53,.12); }
.dtw-discovery-item strong { display: block; font-size: 15px; color: #111827; margin-bottom: 4px; }
.dtw-discovery-item > span { display: block; font-size: 12px; color: #64748b; line-height: 1.45; }
.dtw-discovery-meta { margin-top: 4px !important; color: #94a3b8 !important; }
.dtw-website-badge { display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; border-radius: 999px; padding: 4px 10px; }
.dtw-website-badge.no-site { background: #ecfdf5; color: #047857; }
.dtw-website-badge.has-site { background: #eff6ff; color: #1d4ed8; }
.dtw-done { text-align: center; padding: 24px 0; }
.dtw-done-icon { font-size: 3rem; margin-bottom: 12px; }

/* Shared form + buttons (frontend shortcode; admin uses inline CSS too) */
.dte-wizard-embed { max-width: 820px; margin: 0 auto; }
.dte-wizard-embed .dte-page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.dte-wizard-embed .dte-page-header h1 { margin: 0; font-size: 1.5rem; display: flex; align-items: center; gap: 10px; }
.dte-wizard-embed .dte-field-group { margin-bottom: 18px; }
.dte-wizard-embed .dte-field-group label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 5px; }
.dte-wizard-embed .dte-field-group input[type=text],
.dte-wizard-embed .dte-field-group input[type=url],
.dte-wizard-embed .dte-field-group input[type=email],
.dte-wizard-embed .dte-field-group input[type=tel],
.dte-wizard-embed .dte-field-group select,
.dte-wizard-embed .dte-field-group textarea { width: 100%; padding: 10px 12px; border: 1px solid #ccc; border-radius: 8px; font-size: 14px; box-sizing: border-box; }
.dte-wizard-embed .dte-field-group textarea { min-height: 80px; resize: vertical; }
.dte-wizard-embed .dte-field-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .dte-wizard-embed .dte-field-row-2 { grid-template-columns: 1fr; } }
.dte-wizard-embed .dte-btn-primary { background: #FF6B35; color: #fff; border: none; padding: 11px 28px; border-radius: 8px; font-size: 14px; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-block; }
.dte-wizard-embed .dte-btn-primary:hover { background: #e55a25; color: #fff; }
.dte-wizard-embed .dte-btn-secondary { background: #f0f0f0; color: #333; border: none; padding: 11px 24px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-block; }
.dte-wizard-embed .dte-btn-secondary:hover { background: #e0e0e0; color: #333; }
.dte-wizard-embed .dte-wizard-login { background: #fff; border: 1px solid #ddd; border-radius: 12px; padding: 32px; text-align: center; }
.dte-wizard-embed .dte-wizard-login p { color: #666; margin: 0 0 16px; }
