
.ds-wizard {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 16px 48px;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #222;
  box-sizing: border-box;
}

.ds-wizard *,
.ds-wizard *::before,
.ds-wizard *::after {
  box-sizing: inherit;
}

.ds-loading {
  display: flex;
  justify-content: center;
  padding: 48px 0;
}

.ds-spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 3px solid #e0e0e0;
  border-top-color: #1a73e8;
  border-radius: 50%;
  animation: ds-spin 0.8s linear infinite;
}

@keyframes ds-spin {
  to { transform: rotate(360deg); }
}


.ds-noscript-notice {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 6px;
  padding: 16px;
  text-align: center;
}

.ds-timeline {
  display: block;
  margin: 0 0 28px;
  padding: 0;
  user-select: none;
}

.ds-timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  min-width: 0;
  padding: 0 4px;
}

.ds-timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 22px;
  left: calc(50% + 26px);
  right: calc(-50% + 26px);
  height: 2px;
  background: #d0d0d0;
  transition: background 0.4s ease;
  z-index: 0;
}

.ds-timeline-item.ds-completed:not(:last-child)::after {
  background: #1a73e8;
}

.ds-timeline-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e0e0e0;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  pointer-events: none;
  transition: background 0.4s ease, color 0.4s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.ds-timeline-item.ds-completed .ds-timeline-circle {
  background: #1a73e8;
  color: #fff;
}

.ds-timeline-item.ds-active .ds-timeline-circle {
  background: #1a73e8;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.25);
}

.ds-timeline-label {
  font-size: 12px;
  color: #888;
  margin-top: 10px;
  text-align: center;
  line-height: 1.3;
  pointer-events: none;
  transition: color 0.3s;
  word-break: break-word;
  hyphens: auto;
}

.ds-timeline-item.ds-active .ds-timeline-label,
.ds-timeline-item.ds-completed .ds-timeline-label {
  color: #1a73e8;
  font-weight: 600;
}


.ds-welcome {
  text-align: left;
}

.ds-welcome-header {
  margin-bottom: 24px;
}

.ds-welcome-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin: 0 0 8px;
}

.ds-welcome-intro {
  background: #f8f9fa;
  border-left: 4px solid #1a73e8;
  border-radius: 0 6px 6px 0;
  padding: 16px 20px;
  margin-bottom: 20px;
}

.ds-welcome-intro p {
  margin: 0 0 10px;
}

.ds-welcome-intro p:last-child {
  margin-bottom: 0;
}

.ds-welcome-highlight {
  font-weight: 700;
  color: #1a1a1a;
}

.ds-welcome-options {
  margin-bottom: 24px;
}

.ds-welcome-options h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 12px;
}

.ds-welcome-options ul {
  padding-left: 20px;
  margin: 0;
}

.ds-welcome-options li {
  margin-bottom: 8px;
}

.ds-phone-notice {
  background: #e8f4fd;
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 24px;
  font-size: 14px;
  color: #0d47a1;
}

.ds-step {
  animation: ds-fade-in 0.25s ease;
}

@keyframes ds-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ds-step-title {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin: 0 0 16px;
}

.ds-step-description {
  color: #555;
  margin: 0 0 24px;
  font-size: 15px;
}

.ds-field-group {
  margin-bottom: 28px;
}

.ds-field-label {
  display: block;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 10px;
  color: #222;
}

.ds-field-label .ds-required {
  color: #c62828;
  margin-left: 2px;
}

.ds-field-hint {
  font-size: 13px;
  color: #666;
  margin-top: 6px;
  font-style: italic;
}

.ds-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ds-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  font-size: 15px;
  line-height: 1.4;
}

.ds-option:hover {
  border-color: #90bbf5;
  background: #f5f9ff;
}

.ds-option input[type="radio"],
.ds-option input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: #1a73e8;
  cursor: pointer;
}

.ds-option.ds-selected {
  border-color: #1a73e8;
  background: #f0f5ff;
}

.ds-option-label {
  flex: 1;
  pointer-events: none;
}

.ds-input,
.ds-textarea,
.ds-select {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid #d0d0d0;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: #222;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}

.ds-input:focus,
.ds-textarea:focus,
.ds-select:focus {
  outline: none;
  border-color: #1a73e8;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}

.ds-textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

.ds-input-date {
  max-width: 200px;
}

.ds-char-count {
  font-size: 12px;
  color: #888;
  text-align: right;
  margin-top: 4px;
}

.ds-char-count.ds-near-limit {
  color: #e65100;
}

.ds-autocomplete-wrapper {
  position: relative;
}

.ds-autocomplete-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 2px solid #1a73e8;
  border-top: none;
  border-radius: 0 0 8px 8px;
  max-height: 220px;
  overflow-y: auto;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.ds-autocomplete-item {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 15px;
  transition: background 0.15s;
}

.ds-autocomplete-item:hover,
.ds-autocomplete-item.ds-focused {
  background: #f0f5ff;
}

.ds-conditional {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease, margin 0.25s ease;
  padding: 0 0 0 14px;
  margin: 0;
  border-left: 0 solid transparent;
  background: #f8fafc;
  border-radius: 6px;
}

.ds-conditional.ds-open {
  max-height: 4000px;
  opacity: 1;
  padding: 12px 14px;
  margin: 6px 0 8px 12px;
  border-left: 3px solid #1a73e8;
}

.ds-info-box {
  background: #fff8e1;
  border: 1px solid #ffca28;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 14px;
  color: #5d4037;
  margin-bottom: 12px;
}

.ds-upload-zone {
  border: 2px dashed #90bbf5;
  border-radius: 10px;
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.ds-upload-zone:hover,
.ds-upload-zone.ds-drag-over {
  border-color: #1a73e8;
  background: #f0f5ff;
}

.ds-upload-zone input[type="file"] {
  display: none;
}

.ds-upload-zone-text {
  color: #555;
  font-size: 15px;
}

.ds-upload-zone-hint {
  font-size: 12px;
  color: #888;
  margin-top: 6px;
}

.ds-upload-preview {
  margin-top: 12px;
  padding: 10px 14px;
  background: #e8f5e9;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.ds-upload-progress {
  height: 4px;
  background: #e0e0e0;
  border-radius: 2px;
  overflow: hidden;
  margin-top: 8px;
}

.ds-upload-progress-bar {
  height: 100%;
  background: #1a73e8;
  transition: width 0.3s;
  border-radius: 2px;
}

.ds-field-error {
  color: #c62828;
  font-size: 13px;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ds-field-error::before {
  content: '⚠';
  font-size: 12px;
}

.ds-input.ds-error,
.ds-textarea.ds-error,
.ds-select.ds-error {
  border-color: #c62828;
}

.ds-global-error {
  background: #ffebee;
  border: 1px solid #ef9a9a;
  border-radius: 8px;
  padding: 14px 18px;
  color: #b71c1c;
  margin-bottom: 20px;
  font-size: 14px;
}

.ds-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  gap: 12px;
}

.ds-btn,
.ds-btn-primary,
.ds-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
  border: 1px solid transparent;
  line-height: 1.2;
}

.ds-btn:disabled,
.ds-btn-primary:disabled,
.ds-btn-secondary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.ds-btn-primary {
  background: #1a73e8;
  color: #fff;
  border-color: #1a73e8;
}

.ds-btn-primary:hover:not(:disabled) {
  background: #1557b0;
  border-color: #1557b0;
}

.ds-btn-primary:focus-visible {
  outline: 2px solid #1a73e8;
  outline-offset: 2px;
}

.ds-btn-secondary {
  background: transparent;
  color: #1a73e8;
  border-color: #c0d2ee;
}

.ds-btn-secondary:hover:not(:disabled) {
  background: #f0f5ff;
  border-color: #1a73e8;
}

.ds-btn-secondary:focus-visible {
  outline: 2px solid #1a73e8;
  outline-offset: 2px;
}

.ds-btn-large {
  padding: 14px 32px;
  font-size: 15px;
  border-radius: 8px;
}

.ds-btn-danger {
  background: #c62828;
  color: #fff;
}

.ds-nav-spacer {
  flex: 1;
}

.ds-review {
  animation: ds-fade-in 0.25s ease;
}

.ds-review-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
}

.ds-review-subtitle {
  color: #555;
  font-size: 15px;
  margin: 0 0 24px;
}

.ds-review-step {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  margin-bottom: 16px;
  overflow: hidden;
}

.ds-review-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #f8f9fa;
  border-bottom: 1px solid #e0e0e0;
}

.ds-review-step-title {
  font-weight: 600;
  font-size: 15px;
  color: #333;
}

.ds-review-step-edit {
  font-size: 13px;
  color: #1a73e8;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.2s;
}

.ds-review-step-edit:hover {
  background: #e8f0fd;
}

.ds-review-step-body {
  padding: 14px 18px;
}

.ds-review-field {
  margin-bottom: 10px;
  font-size: 14px;
}

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

.ds-review-field-label {
  font-weight: 600;
  color: #555;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.ds-review-field-value {
  color: #222;
}

.ds-review-empty {
  color: #aaa;
  font-style: italic;
  font-size: 14px;
}

.ds-review-submit-notice {
  background: #e8f5e9;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 14px;
  color: #2e7d32;
  margin-bottom: 20px;
}

.ds-success {
  text-align: center;
  padding: 32px 16px;
  animation: ds-fade-in 0.4s ease;
}

.ds-success-icon {
  font-size: 64px;
  margin-bottom: 20px;
  display: block;
}

.ds-success h2 {
  font-size: 24px;
  color: #2e7d32;
  margin: 0 0 12px;
}

.ds-success p {
  color: #555;
  font-size: 15px;
  max-width: 460px;
  margin: 0 auto 16px;
}

.ds-protocol-box {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px 24px;
  display: inline-block;
  margin: 20px 0;
}

.ds-protocol-label {
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.ds-protocol-value {
  font-size: 24px;
  font-weight: 700;
  color: #111;
  letter-spacing: 0.15em;
  font-family: monospace;
}

/* Error Screen ------------------------------------- */
.ds-error-screen {
  text-align: center;
  padding: 32px 16px;
}

.ds-error-screen h2 {
  font-size: 20px;
  color: #c62828;
  margin: 0 0 12px;
}

.ds-error-screen p {
  color: #555;
  max-width: 440px;
  margin: 0 auto 20px;
}

.ds-welcome-title {
  font-size: 24px;
  font-weight: 700;
  color: #111;
  margin: 0 0 4px;
}

.ds-welcome-subtitle {
  font-size: 15px;
  color: #666;
  margin: 0 0 20px;
}

.ds-welcome-body {
  background: #f8f9fa;
  border-left: 4px solid #1a73e8;
  border-radius: 0 6px 6px 0;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.ds-welcome-body p {
  margin: 0 0 10px;
  color: #444;
}

.ds-welcome-body p:last-child {
  margin-bottom: 0;
}


.ds-review-section {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  margin-bottom: 16px;
  overflow: hidden;
}

.ds-review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #f8f9fa;
  border-bottom: 1px solid #e0e0e0;
}

.ds-review-section .ds-review-title {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.ds-btn-link {
  font-size: 13px;
  color: #1a73e8;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.2s;
  text-decoration: none;
}

.ds-btn-link:hover {
  background: #e8f0fd;
}

.ds-review-dl {
  padding: 14px 18px;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(120px, 30%) 1fr;
  gap: 6px 12px;
  font-size: 14px;
}

.ds-review-dl dt {
  font-weight: 600;
  color: #555;
  font-size: 13px;
  padding-top: 2px;
}

.ds-review-dl dd {
  margin: 0;
  color: #222;
  word-break: break-word;
}

.ds-review-consent-note {
  background: #e8f5e9;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 14px;
  color: #2e7d32;
  margin-bottom: 20px;
}

.ds-success-logo {
  display: block;
  max-width: 240px;
  width: 100%;
  height: auto;
  margin: 0 auto 24px;
}

.ds-success-title {
  font-size: 24px;
  color: #2e7d32;
  margin: 0 0 12px;
}

.ds-success-text {
  color: #555;
  font-size: 15px;
  max-width: 460px;
  margin: 0 auto 16px;
}


.ds-upload-status {
  margin-top: 10px;
  font-size: 14px;
  color: #555;
}

.ds-upload-ok {
  color: #2e7d32;
  font-weight: 600;
}

.ds-upload-error {
  color: #cc0000;
}

.ds-question-card {
  border: 1px solid #e1e5eb;
  border-radius: 10px;
  background: #fff;
  margin-bottom: 18px;
  overflow: hidden;
}

.ds-question-card__header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 18px;
  background: #f4f7fb;
  border-bottom: 1px solid #e1e5eb;
}

.ds-question-card__number {
  font-weight: 700;
  font-size: 15px;
  color: #1a73e8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.ds-question-card__title {
  font-size: 16px;
  font-weight: 600;
  color: #111;
  margin: 0;
  line-height: 1.4;
}

.ds-question-card__body {
  padding: 16px 18px;
}

.ds-option-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px;
  margin-bottom: 4px;
}

.ds-option-cards--sub {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 6px;
  margin-top: 4px;
}

.ds-option-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: 1px solid #d6dbe2;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  line-height: 1.4;
  transition: border-color 120ms ease, background 120ms ease;
  color: #222;
}

.ds-option-card:hover {
  border-color: #1a73e8;
  background: #f5f9ff;
}

.ds-option-card.ds-selected {
  border-color: #1a73e8;
  background: #e8f0fe;
  font-weight: 600;
  color: #0d47a1;
}

.ds-option-card__indicator {
  width: 16px;
  height: 16px;
  border: 2px solid #b0b8c1;
  background: #fff;
  flex-shrink: 0;
  margin-top: 2px;
  transition: border-color 120ms ease, background 120ms ease;
  position: relative;
}

.ds-option-cards[data-multiple="0"] > .ds-option-card .ds-option-card__indicator {
  border-radius: 50%;
}

.ds-option-cards[data-multiple="1"] > .ds-option-card .ds-option-card__indicator {
  border-radius: 3px;
}

.ds-option-card.ds-selected .ds-option-card__indicator {
  border-color: #1a73e8;
  background: #1a73e8;
}

.ds-option-cards[data-multiple="0"] > .ds-option-card.ds-selected .ds-option-card__indicator::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #fff;
}

.ds-option-cards[data-multiple="1"] > .ds-option-card.ds-selected .ds-option-card__indicator::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 0;
  width: 4px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.ds-option-card__label {
  flex: 1;
  pointer-events: none;
}

.ds-option-card:focus-visible {
  outline: 2px solid #1a73e8;
  outline-offset: 2px;
}

/* Conditional reveal posicionada inline dentro do grid de cards */
.ds-option-cards > .ds-conditional {
  grid-column: 1 / -1;
}

.ds-option-cards > .ds-conditional.ds-open {
  margin: 0 0 0 12px;
}

/* Timeline list */
.ds-timeline-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: start;
  gap: 0;
}


.ds-step-content {
  animation: ds-fade-in 0.25s ease;
  outline: none;
}

.ds-upload-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.ds-upload-btn {
  white-space: nowrap;
}


.ds-label {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  font-size: 15px;
}

.ds-label-group {
  display: block;
  font-weight: 700;
  color: #111;
  margin: 0 0 12px;
  font-size: 15px;
}

.ds-conditional .ds-option-cards + .ds-label-group,
.ds-conditional .ds-conditional + .ds-label-group,
.ds-conditional .ds-field-group + .ds-label-group {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #e4e7eb;
}

.ds-legend {
  font-weight: 600;
  color: #333;
  font-size: 15px;
  margin-bottom: 10px;
  padding: 0;
}


.ds-hint {
  font-size: 13px;
  color: #666;
  margin: 4px 0 8px;
}


.ds-question {
  font-size: 15px;
  font-weight: 600;
  color: #111;
  margin: 16px 0 8px;
  line-height: 1.4;
  display: block;
}

.ds-subquestion {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 12px 0 8px;
  line-height: 1.4;
  display: block;
}

.ds-subquestion:first-child,
.ds-question:first-child {
  margin-top: 0;
}

.ds-question-number {
  display: inline-block;
  min-width: 2em;
  margin-right: 6px;
  color: #1a73e8;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}

label.ds-question,
label.ds-subquestion {
  cursor: default;
}


.ds-info-notice {
  background: #e8f0fe;
  border-left: 4px solid #1a73e8;
  border-radius: 0 6px 6px 0;
  padding: 12px 16px;
  margin: 12px 0 16px;
  font-size: 14px;
  color: #0d47a1;
}


.ds-clip-list {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.ds-clip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #f0f5ff;
  border: 1px solid #c0d2ee;
  border-radius: 8px;
  flex-wrap: wrap;
}

.ds-clip-player {
  height: 36px;
  flex: 1;
  min-width: 140px;
  max-width: 280px;
}

.ds-clip-label {
  font-size: 14px;
  color: #333;
  flex: 1;
  min-width: 0;
  word-break: break-word;
}

.ds-clip-delete {
  flex-shrink: 0;
  font-size: 13px;
  padding: 5px 10px;
  color: #c62828;
  border-color: #e8a0a0;
}

.ds-clip-delete:hover:not(:disabled) {
  background: #ffebee;
  border-color: #c62828;
}

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

.ds-record-btn {
  white-space: nowrap;
}

.ds-upload-divider {
  font-size: 13px;
  color: #999;
  margin: 2px 0;
  align-self: center;
}

.ds-record-section {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}

.ds-record-status {
  font-size: 14px;
  color: #555;
  font-variant-numeric: tabular-nums;
}

.ds-narrative-audio {
  margin-top: 12px;
}

.ds-narrative-audio__btn {
  white-space: nowrap;
}

.ds-clip-sent {
  font-size: 14px;
  color: #2e7d32;
  flex: 1;
}

.ds-attach-slots {
  width: 100%;
}

.ds-attach-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.ds-attach-slot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #f4f7fb;
  border: 1px dashed #b8cde8;
  border-radius: 8px;
  min-height: 52px;
  flex-wrap: wrap;
  transition: border-color 0.2s, background 0.2s;
}

.ds-attach-slot--filled {
  background: #f0f5ff;
  border: 1px solid #c0d2ee;
}

.ds-attach-slot__placeholder {
  flex: 1;
  font-size: 14px;
  color: #7a9abe;
  font-style: italic;
  min-width: 0;
}

.ds-attach-slot__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.ds-attach-slot__label {
  font-size: 14px;
  color: #333;
  flex: 1;
  min-width: 0;
  word-break: break-word;
}

.ds-attach-add {
  margin-top: 8px;
  font-size: 13px;
  padding: 7px 14px;
}

@media (max-width: 600px) {
  .ds-wizard {
    padding: 8px 12px 32px;
  }

  .ds-timeline-label {
    display: none;
  }

  .ds-timeline-circle {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .ds-timeline-item:not(:last-child)::after {
    top: 18px;
    left: calc(50% + 22px);
    right: calc(-50% + 22px);
  }

  .ds-btn {
    padding: 11px 18px;
    font-size: 14px;
  }

  .ds-btn-large {
    padding: 14px 28px;
    font-size: 16px;
  }
}

