.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 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-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-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; }
