/* Añadir vino — wizard 5 pasos (paridad referencias) */
.saw-root {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
  min-height: 0;
  width: 100%;
  background: #0a0c12;
  color: var(--text-primary, #f1f5f9);
  overflow: hidden;
}

.saw-page {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.saw-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 28px 10px;
  flex-shrink: 0;
}

.saw-header-back {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.saw-header h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.saw-header p {
  margin: 6px 0 0;
  font-size: 13px;
  color: #94a3b8;
}

.saw-stepper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 4px 48px 22px;
  gap: 8px;
  flex-shrink: 0;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.saw-stepper::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 80px;
  right: 80px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 0;
}

.saw-stepper-progress {
  position: absolute;
  top: 18px;
  left: 80px;
  height: 2px;
  background: linear-gradient(90deg, #7c4dff, #a78bfa);
  z-index: 1;
  transition: width 0.3s ease;
  max-width: calc(100% - 160px);
}

.saw-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.saw-step-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: #12141c;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.saw-step.done .saw-step-dot {
  border-color: #7c4dff;
  background: #7c4dff;
  color: #fff;
}

.saw-step.active .saw-step-dot {
  border-color: #7c4dff;
  background: #7c4dff;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(124, 77, 255, 0.22);
}

.saw-step-label {
  font-size: 11px;
  color: #64748b;
  text-align: center;
  line-height: 1.35;
  max-width: 120px;
}

.saw-step.active .saw-step-label,
.saw-step.done .saw-step-label { color: #c4b5fd; font-weight: 500; }

.saw-body {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 28px 20px;
  scrollbar-width: thin;
  scrollbar-color: rgba(124, 77, 255, 0.35) transparent;
}

.saw-footer {
  flex-shrink: 0;
  z-index: 5;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 10, 16, 0.98);
}

.saw-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 28px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.saw-footer-right { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }

.saw-btn {
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.saw-btn svg { width: 14px; height: 14px; }

.saw-btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
}

.saw-btn-ghost:hover { border-color: rgba(255, 255, 255, 0.25); color: #fff; }

.saw-btn-primary {
  border: none;
  background: linear-gradient(135deg, #7c4dff, #6d28d9);
  color: #fff;
  box-shadow: 0 4px 18px rgba(124, 77, 255, 0.4);
  min-width: 130px;
  justify-content: center;
}

.saw-btn-primary:hover { filter: brightness(1.08); }

.saw-btn-full {
  width: 100%;
  margin-top: 10px;
  justify-content: center;
}

.saw-sublabel {
  font-size: 10px;
  color: #94a3b8;
  margin: 0 0 8px;
}

.saw-sublabel--row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

.saw-sublabel--row span { color: #64748b; }

.saw-sublabel--accent {
  color: #a78bfa;
  margin-top: 14px;
}

.saw-footnote {
  font-size: 10px;
  color: #64748b;
  margin: 8px 0 0;
}

.saw-rating-hint {
  font-size: 11px;
  color: #94a3b8;
  margin: 0;
  text-align: center;
}

.saw-field--flush { margin-bottom: 10px; }

.saw-card {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(18, 20, 30, 0.85);
  padding: 18px 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.saw-card-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}

.saw-card-head svg { width: 18px; height: 18px; color: #a78bfa; flex-shrink: 0; margin-top: 2px; }

.saw-card-head h3 {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: #e9d5ff;
}

.saw-card-head p {
  margin: 4px 0 0;
  font-size: 11px;
  color: #94a3b8;
}

.saw-field { margin-bottom: 14px; }

.saw-field label {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 6px;
}

.saw-field label .req { color: #a78bfa; }

.saw-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.4);
  padding: 0 12px;
  min-height: 40px;
}

.saw-input-wrap svg { width: 15px; height: 15px; color: #a78bfa; flex-shrink: 0; }

.saw-input-wrap input,
.saw-input-wrap select,
.saw-input-wrap textarea {
  flex: 1;
  border: none;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 12px;
  padding: 9px 0;
  min-width: 0;
}

.saw-input-wrap input:focus,
.saw-input-wrap select:focus,
.saw-input-wrap textarea:focus { outline: none; }

.saw-input-wrap select { cursor: pointer; }

.saw-input-suffix {
  font-size: 11px;
  color: #64748b;
  white-space: nowrap;
}

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

/* —— Paso 1 —— */
.saw-step1 {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1400px;
  margin: 0 auto;
}

.saw-step1-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 16px;
  align-items: start;
}

.saw-step1-form,
.saw-step1-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.saw-step1-side { position: sticky; top: 0; }

.saw-step1-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.saw-field--last { margin-bottom: 0; }

.saw-stars--lg { justify-content: center; }
.saw-stars--lg .saw-star { font-size: 36px; }
.saw-stars--md .saw-star { font-size: 26px; }
.saw-stars--sm { justify-content: center; gap: 4px; margin: 6px 0; }
.saw-stars--sm .saw-star { font-size: 14px; }
.saw-star--readonly { cursor: default; pointer-events: none; }

.saw-grape-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding: 8px 10px;
  min-height: 40px;
  width: 100%;
}

.saw-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(124, 77, 255, 0.4);
  background: rgba(124, 77, 255, 0.14);
  font-size: 11px;
  color: #e9d5ff;
}

.saw-chip button {
  border: none;
  background: none;
  color: #c4b5fd;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.saw-link-btn {
  border: none;
  background: none;
  color: #a78bfa;
  font-size: 11px;
  cursor: pointer;
  padding: 4px 0;
}

.saw-textarea-wrap {
  align-items: flex-start;
  padding: 12px;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}

.saw-textarea-wrap textarea {
  width: 100%;
  min-height: 88px;
  resize: vertical;
  padding: 0;
}

.saw-char-count {
  align-self: flex-end;
  font-size: 10px;
  color: #a78bfa;
  margin-top: 6px;
}

.saw-upload {
  border: 2px dashed rgba(124, 77, 255, 0.45);
  border-radius: 12px;
  padding: 32px 16px;
  text-align: center;
  background: rgba(124, 77, 255, 0.06);
  cursor: pointer;
  display: block;
  transition: border-color 0.15s, background 0.15s;
}

.saw-upload:hover { border-color: rgba(124, 77, 255, 0.7); background: rgba(124, 77, 255, 0.1); }

.saw-upload svg { width: 32px; height: 32px; color: #a78bfa; margin: 0 auto 10px; display: block; }

.saw-upload strong { display: block; font-size: 13px; margin-bottom: 4px; }
.saw-upload small { font-size: 10px; color: #64748b; }

.saw-upload-preview {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 200px;
}

.saw-upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 200px;
  display: block;
}

.saw-upload-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #7c4dff;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
}

.saw-summary-bottle {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.saw-bottle-silhouette {
  width: 52px;
  height: 130px;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, rgba(124, 77, 255, 0.4), rgba(124, 77, 255, 0.08));
  border: 1px solid rgba(124, 77, 255, 0.35);
  flex-shrink: 0;
  box-shadow: 0 0 24px rgba(124, 77, 255, 0.2);
}

.saw-summary-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 11px;
}

.saw-summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.saw-summary-list em { color: #64748b; font-style: normal; }
.saw-summary-list strong { color: #fff; font-weight: 500; text-align: right; }

.saw-tip-box {
  margin-top: 14px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(124, 77, 255, 0.08);
  border: 1px solid rgba(124, 77, 255, 0.22);
  font-size: 11px;
  color: #cbd5e1;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.45;
}

.saw-tip-box svg { width: 15px; height: 15px; color: #a78bfa; flex-shrink: 0; margin-top: 1px; }

.saw-tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }

.saw-tag-pill {
  border: 1px solid rgba(124, 77, 255, 0.38);
  background: transparent;
  color: #c4b5fd;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 10px;
  cursor: pointer;
}

.saw-tag-pill:hover,
.saw-tag-pill.on {
  background: rgba(124, 77, 255, 0.18);
  border-color: rgba(124, 77, 255, 0.6);
}

.saw-stars {
  display: flex;
  gap: 8px;
  margin: 12px 0 8px;
}

.saw-star {
  border: none;
  background: none;
  font-size: 32px;
  color: rgba(124, 77, 255, 0.22);
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.saw-star.on { color: #a78bfa; }

/* —— Paso 2 —— */
.saw-step2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}

.saw-step2-left,
.saw-step2-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.saw-grape-row {
  display: grid;
  grid-template-columns: 1fr 72px 28px;
  gap: 8px;
  align-items: end;
  margin-bottom: 8px;
}

.saw-grape-row button {
  border: none;
  background: none;
  color: #f87171;
  cursor: pointer;
  font-size: 16px;
  padding-bottom: 10px;
}

.saw-map-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 11px;
}

.saw-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.saw-toggle-track {
  width: 46px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  position: relative;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.saw-toggle-track.on { background: #7c4dff; }

.saw-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
}

.saw-toggle-track.on .saw-toggle-thumb { transform: translateX(22px); }

/* —— Paso 3 —— */
.saw-step3 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(280px, 320px);
  grid-template-rows: auto auto;
  gap: 14px;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}

.saw-step3 > .saw-card:nth-child(1) { grid-column: 1; grid-row: 1; }
.saw-step3 > .saw-step3-visual { grid-column: 2; grid-row: 1; }
.saw-step3 > .saw-step3-nota { grid-column: 3; grid-row: 1 / span 2; align-self: stretch; }
.saw-step3 > .saw-step3-olf { grid-column: 1; grid-row: 2; }
.saw-step3 > .saw-step3-gus { grid-column: 2; grid-row: 2; }

.saw-card-head--spaced { margin-top: 16px; }

.saw-textarea-wrap--tall { min-height: 160px; }

.saw-summary-list--compact li { padding: 4px 0; }

.saw-analysis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.saw-dot-row {
  display: grid;
  grid-template-columns: 68px 32px 1fr 32px;
  gap: 6px;
  align-items: center;
  margin: 8px 0;
  font-size: 10px;
}

.saw-dot-label { color: #94a3b8; font-size: 11px; }

.saw-dot-end {
  color: #64748b;
  font-size: 9px;
  white-space: nowrap;
}

.saw-dot-end--start { text-align: left; }
.saw-dot-end:last-child { text-align: right; }

.saw-dots { display: flex; gap: 5px; justify-content: center; }

.saw-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid rgba(124, 77, 255, 0.45);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.saw-dot.on { background: #7c4dff; border-color: #7c4dff; box-shadow: 0 0 6px rgba(124, 77, 255, 0.5); }

.saw-visual-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 140px);
  gap: 14px;
  align-items: start;
}

.saw-visual-fields { min-width: 0; }

.saw-visual-ref {
  border-radius: 10px;
  overflow: hidden;
  margin-top: 0;
}

.saw-visual-ref img { width: 100%; display: block; }

.saw-aroma-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }

.saw-aroma-tag {
  font-size: 9px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(124, 77, 255, 0.32);
  color: #c4b5fd;
}

.saw-score-box {
  text-align: center;
  padding: 16px;
  border-radius: 10px;
  border: 1px solid rgba(124, 77, 255, 0.32);
  background: rgba(124, 77, 255, 0.08);
  margin: 14px 0;
}

.saw-score-box strong { font-size: 30px; color: #e9d5ff; }

/* —— Paso 4 —— */
.saw-step4 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}

.saw-step4-left,
.saw-step4-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.saw-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.saw-photo-grid--6 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.saw-upload--compact {
  padding: 20px 12px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.saw-upload-preview--sq {
  min-height: 0;
  aspect-ratio: 1;
}

.saw-upload-preview--sq img {
  min-height: 0;
  aspect-ratio: 1;
  object-fit: cover;
}

.saw-photo-add {
  aspect-ratio: 1;
  border: 2px dashed rgba(124, 77, 255, 0.38);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a78bfa;
  font-size: 28px;
  cursor: pointer;
  background: rgba(124, 77, 255, 0.05);
}

.saw-photo-thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.saw-photo-thumb img { width: 100%; height: 100%; object-fit: cover; }

.saw-photo-hints {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.saw-photo-hint {
  text-align: center;
  font-size: 9px;
  color: #64748b;
  padding: 10px 4px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  line-height: 1.35;
}

.saw-photo-hint svg { width: 18px; height: 18px; color: #a78bfa; display: block; margin: 0 auto 5px; }

.saw-empty-dashed {
  border: 2px dashed rgba(124, 77, 255, 0.32);
  border-radius: 10px;
  padding: 28px 16px;
  text-align: center;
  font-size: 11px;
  color: #64748b;
}

/* —— Paso 5 —— */
.saw-step5 {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 320px);
  gap: 16px;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}

.saw-step5-left,
.saw-step5-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.saw-step5-right {
  position: sticky;
  top: 0;
}

.saw-hero-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) minmax(118px, 132px);
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
  background: linear-gradient(135deg, rgba(124, 77, 255, 0.14), rgba(18, 20, 30, 0.96));
  border-color: rgba(124, 77, 255, 0.28);
}

.saw-hero-bottle {
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.saw-hero-card img {
  width: 72px;
  height: 148px;
  object-fit: contain;
  display: block;
}

.saw-hero-info h2 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.saw-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(124, 77, 255, 0.22);
  color: #c4b5fd;
  font-size: 10px;
  margin-bottom: 10px;
}

.saw-hero-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  font-size: 11px;
  color: #94a3b8;
}

.saw-hero-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.saw-hero-meta svg { width: 13px; height: 13px; color: #a78bfa; flex-shrink: 0; }

.saw-hero-score {
  text-align: center;
  padding: 12px 10px;
  border-radius: 12px;
  border: 1px solid rgba(124, 77, 255, 0.32);
  background: rgba(124, 77, 255, 0.08);
}

.saw-hero-score small {
  display: block;
  color: #94a3b8;
  font-size: 10px;
  margin-bottom: 4px;
}

.saw-hero-score strong {
  font-size: 28px;
  color: #e9d5ff;
  line-height: 1;
  display: inline;
}

.saw-hero-score-sub {
  display: inline;
  font-size: 12px;
  color: #94a3b8;
  margin-left: 2px;
}

.saw-hero-score-label {
  display: block;
  color: #a78bfa !important;
  margin-top: 4px;
}

.saw-review-card .saw-card-head { margin-bottom: 8px; }

.saw-review-section {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.saw-review-section--last {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.saw-review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.saw-review-head h4 {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #a78bfa;
  display: flex;
  align-items: center;
  gap: 8px;
}

.saw-review-edit {
  border: none;
  background: none;
  color: #a78bfa;
  font-size: 11px;
  cursor: pointer;
  padding: 0;
}

.saw-review-edit:hover { color: #e9d5ff; }

.saw-review-pairs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 20px;
}

.saw-review-pair {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  min-width: 0;
}

.saw-review-pair span { color: #64748b; flex-shrink: 0; }
.saw-review-pair strong { color: #fff; font-weight: 500; text-align: right; }

.saw-review-analysis {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(124, 77, 255, 0.2);
}

.saw-review-note {
  font-size: 12px;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.saw-int-dots { display: inline-flex; gap: 4px; vertical-align: middle; }

.saw-int-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(124, 77, 255, 0.45);
  background: transparent;
}

.saw-int-dot.on { background: #7c4dff; border-color: #7c4dff; }

.saw-valid-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 11px;
}

.saw-valid-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  color: #cbd5e1;
}

.saw-valid-ok {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.saw-valid-ok--pending {
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.saw-valid-banner {
  margin-top: 14px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
  font-size: 11px;
  text-align: center;
  line-height: 1.45;
}

.saw-valid-banner--warn {
  background: rgba(234, 179, 8, 0.1);
  border-color: rgba(234, 179, 8, 0.28);
  color: #fcd34d;
}

.saw-preview-card {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.saw-preview-card img {
  width: 48px;
  height: 78px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.3);
}

.saw-preview-body { min-width: 0; flex: 1; }

.saw-preview-body > strong {
  display: block;
  font-size: 12px;
  margin-bottom: 2px;
}

.saw-preview-winery {
  display: block;
  font-size: 10px;
  color: #94a3b8;
  margin-bottom: 6px;
}

.saw-preview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 9px;
  color: #64748b;
  margin-bottom: 6px;
}

.saw-preview-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.saw-preview-meta svg { width: 11px; height: 11px; color: #a78bfa; }

.saw-preview-note {
  font-size: 10px;
  color: #94a3b8;
  line-height: 1.45;
  margin: 0 0 8px;
}

.saw-preview-score strong {
  font-size: 16px;
  color: #a78bfa;
}

.saw-preview-score small {
  font-size: 10px;
  color: #64748b;
  margin-left: 2px;
}

.saw-tips-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.saw-tips-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 0;
  font-size: 11px;
  color: #cbd5e1;
  line-height: 1.4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.saw-tips-list li:last-child { border-bottom: none; }

.saw-tips-list svg {
  width: 14px;
  height: 14px;
  color: #a78bfa;
  flex-shrink: 0;
  margin-top: 1px;
}

.saw-hidden-input { display: none; }

/* Solo colapsar en ventanas estrechas reales */
@media (max-width: 960px) {
  .saw-step1-top,
  .saw-step1-bottom,
  .saw-step2,
  .saw-step3,
  .saw-step4,
  .saw-step5 {
    grid-template-columns: 1fr;
  }

  .saw-step1-side { position: static; }

  .saw-step5-right { position: static; }

  .saw-hero-card {
    grid-template-columns: 72px 1fr;
    grid-template-rows: auto auto;
  }

  .saw-hero-score {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    padding: 12px 14px;
  }

  .saw-hero-score strong { font-size: 22px; }

  .saw-review-pairs { grid-template-columns: 1fr; }

  .saw-grid-3,
  .saw-grid-2,
  .saw-analysis-grid,
  .saw-photo-hints,
  .saw-photo-grid,
  .saw-photo-grid--6,
  .saw-visual-split {
    grid-template-columns: 1fr;
  }

  .saw-step3 > .saw-step3-nota { grid-column: 1; grid-row: auto; }
  .saw-step3 > .saw-card:nth-child(1),
  .saw-step3 > .saw-step3-visual,
  .saw-step3 > .saw-step3-olf,
  .saw-step3 > .saw-step3-gus {
    grid-column: 1;
    grid-row: auto;
  }

  .saw-stepper { padding: 4px 16px 18px; }
  .saw-stepper::before,
  .saw-stepper-progress { left: 24px; right: 24px; }
  .saw-step-label { font-size: 9px; max-width: 72px; }

  .saw-footer-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px;
  }

  .saw-footer-right {
    justify-content: stretch;
    flex-wrap: wrap;
  }

  .saw-footer-right .saw-btn { flex: 1; min-width: 120px; }
}
