/* Anket akışı: panelde "Akış" modalı ve aynı içeriğin PDF (yazdırma) çıktısı. Yazdırmada içerik ayrı bir iframe'e
   kopyalanır ve yalnız bu dosya yüklenir; bu yüzden ikon fontlarına ve tema sınıflarına dayanmaz. */
.survey-flow {
  font-family: Poppins, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #3f4254;
}
.survey-flow .flow-summary {
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #ebedf3;
}
.survey-flow .flow-survey-name {
  font-size: 18px;
  font-weight: 600;
  color: #181c32;
}
.survey-flow .flow-counts {
  color: #7e8299;
  margin-top: 2px;
}
.survey-flow .flow-counts-warn {
  color: #b77900;
  font-weight: 600;
}
.survey-flow .flow-legend {
  margin-top: 6px;
  font-size: 12px;
  color: #7e8299;
}
.survey-flow .flow-item {
  border: 1px solid #e4e6ef;
  border-radius: 6px;
  padding: 12px 14px;
  margin-bottom: 12px;
  background: #fff;
  break-inside: avoid;
  page-break-inside: avoid;
}
.survey-flow .flow-item.flow-has-cond {
  border-left: 4px solid #1bc5bd;
}
.survey-flow .flow-item.flow-passive {
  opacity: 0.6;
  border-style: dashed;
}
.survey-flow .flow-item.flow-final {
  background: #f9fafc;
}
.survey-flow .flow-cond {
  margin: -12px -14px 10px -14px;
  padding: 7px 14px;
  background: #e8fff3;
  color: #0b7a54;
  border-radius: 0 6px 0 0;
  font-weight: 500;
}
.survey-flow .flow-cond.flow-cond-hide {
  background: #fff4de;
  color: #8a5a00;
}
.survey-flow .flow-cond-label {
  font-weight: 700;
}
.survey-flow .flow-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}
.survey-flow .flow-no {
  display: inline-block;
  min-width: 26px;
  padding: 0 6px;
  border-radius: 4px;
  background: #f3f6f9;
  color: #3f4254;
  font-weight: 700;
  text-align: center;
}
.survey-flow .flow-title {
  font-weight: 700;
  color: #181c32;
}
.survey-flow .flow-type {
  color: #7e8299;
  font-size: 12px;
}
.survey-flow .flow-badge {
  font-size: 11px;
  font-weight: 600;
  color: #f64e60;
}
.survey-flow .flow-text {
  margin-top: 6px;
}
.survey-flow .flow-text p {
  margin: 0 0 4px 0;
}
.survey-flow .flow-info {
  margin-top: 4px;
  font-size: 12px;
  font-style: italic;
  color: #7e8299;
}
.survey-flow .flow-options {
  margin: 8px 0 0 0;
  padding-left: 20px;
  color: #5e6278;
}
.survey-flow .flow-options li {
  break-inside: avoid;
}
.survey-flow .flow-options.flow-options-cols {
  columns: 3 200px;
  column-gap: 24px;
}
.survey-flow .flow-deps {
  margin-top: 8px;
  font-size: 12px;
  color: #3699ff;
}
.survey-flow .flow-warn {
  margin-top: 6px;
  padding: 5px 10px;
  border-radius: 4px;
  background: #fff4de;
  color: #8a5a00;
  font-size: 12px;
  font-weight: 500;
}

/* Yazdırma (PDF) */
@page {
  size: A4;
  margin: 14mm 12mm;
}
@media print {
  body.flow-print {
    margin: 0;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .survey-flow {
    font-size: 11px;
  }
  .survey-flow .flow-item {
    margin-bottom: 8px;
  }
}
