
  .flowchart-wrapper {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    max-width: 900px;
    margin: 40px auto;
    padding: 44px 24px 48px;
    background: #f8f9fc;
    border: 1px solid #e2e6ef;
    border-radius: 20px;
    color: #2d3748;
    overflow-x: auto;
  }

  .flowchart-title {
    text-align: center;
    font-size: 1.55em;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 40px;
    letter-spacing: 0.3px;
  }

  .flowchart-title span {
    background: linear-gradient(90deg, #4f6df5, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .fc-node {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 14px;
    padding: 16px 24px;
    font-weight: 600;
    font-size: 0.95em;
    line-height: 1.4;
    position: relative;
    transition: transform 0.25s, box-shadow 0.25s;
    cursor: default;
  }
  .fc-node:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }

  .fc-start {
    background: linear-gradient(135deg, #4f6df5, #7c3aed);
    color: #fff;
    max-width: 340px;
    margin: 0 auto;
    font-size: 1.1em;
    box-shadow: 0 4px 16px rgba(79,109,245,0.3);
  }

  .fc-branch {
    background: #fff;
    border: 1.5px solid #d1d9e6;
    color: #4a5568;
    max-width: 220px;
    font-size: 0.88em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  }

  .fc-result-left {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #fff;
    max-width: 240px;
    box-shadow: 0 4px 14px rgba(14,165,233,0.3);
  }

  .fc-result-right {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    max-width: 240px;
    box-shadow: 0 4px 14px rgba(245,158,11,0.3);
  }

  .fc-sub-q {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: #fff;
    max-width: 280px;
    box-shadow: 0 4px 14px rgba(124,58,237,0.3);
  }

  .fc-terminal {
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 0.9em;
    max-width: 210px;
  }
  .fc-terminal .label {
    font-size: 0.72em;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    opacity: 0.8;
    margin-bottom: 4px;
  }
  .fc-terminal .value {
    font-weight: 700;
    font-size: 1em;
  }
  .fc-terminal .example {
    font-size: 0.8em;
    opacity: 0.8;
    margin-top: 4px;
    font-weight: 400;
  }

  .fc-t-blue {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    box-shadow: 0 4px 14px rgba(16,185,129,0.25);
  }
  .fc-t-orange {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    box-shadow: 0 4px 14px rgba(249,115,22,0.25);
  }

  .fc-connector {
    display: flex;
    justify-content: center;
    padding: 6px 0;
  }
  .fc-line-v {
    width: 2px;
    height: 32px;
    background: linear-gradient(180deg, #a5b4cf, #d1d9e6);
    border-radius: 1px;
  }
  .fc-line-v-short {
    width: 2px;
    height: 22px;
    background: linear-gradient(180deg, #a5b4cf, #d1d9e6);
    border-radius: 1px;
  }

  .fc-split {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
  }
  .fc-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 240px;
    max-width: 380px;
  }

  .fc-h-branch {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .fc-h-branch::before {
    content: '';
    position: absolute;
    top: 0;
    left: calc(50% - 150px);
    width: 300px;
    height: 2px;
    background: linear-gradient(90deg, #0ea5e9, #a5b4cf, #f59e0b);
    border-radius: 1px;
  }
  .fc-h-branch .fc-drop-left,
  .fc-h-branch .fc-drop-right {
    width: 2px;
    height: 24px;
    border-radius: 1px;
  }
  .fc-h-branch .fc-drop-left {
    background: linear-gradient(180deg, #0ea5e9, #bae6fd);
    margin-left: calc(50% - 150px);
  }
  .fc-h-branch .fc-drop-right {
    background: linear-gradient(180deg, #f59e0b, #fde68a);
    margin-right: calc(50% - 150px);
    margin-left: auto;
  }

  .fc-arrow-down {
    width: 0; height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #a5b4cf;
    margin: 0 auto;
  }
  .fc-arrow-down-blue { border-top-color: #0ea5e9; }
  .fc-arrow-down-orange { border-top-color: #f59e0b; }

  .fc-sub-split {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    position: relative;
    width: 100%;
  }
  .fc-sub-split::before {
    content: '';
    position: absolute;
    top: 0;
    left: calc(50% - 110px);
    width: 220px;
    height: 2px;
    background: linear-gradient(90deg, #10b981, #f97316);
  }
  .fc-sub-split .fc-drop-l,
  .fc-sub-split .fc-drop-r {
    width: 2px;
    height: 20px;
    border-radius: 1px;
  }
  .fc-sub-split .fc-drop-l {
    background: linear-gradient(180deg, #10b981, #a7f3d0);
    margin-left: calc(50% - 110px);
  }
  .fc-sub-split .fc-drop-r {
    background: linear-gradient(180deg, #f97316, #fed7aa);
    margin-left: auto;
    margin-right: calc(50% - 110px);
  }

  .fc-tag {
    display: inline-block;
    font-size: 0.72em;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
  }
  .fc-tag-puffs {
    background: rgba(255,255,255,0.25);
    color: #fff;
  }
  .fc-tag-puffs-h {
    background: rgba(255,255,255,0.25);
    color: #fff;
  }

  .fc-yes-no {
    font-size: 0.78em;
    font-weight: 700;
    margin: 4px 0;
  }
  .fc-yes-no-no { color: #059669; }
  .fc-yes-no-yes { color: #ea580c; }

  @media (max-width: 640px) {
    .fc-split { gap: 24px; }
    .fc-col { min-width: 100%; }
    .fc-h-branch::before { left: 10%; width: 80%; }
    .fc-h-branch .fc-drop-left { margin-left: 10%; }
    .fc-h-branch .fc-drop-right { margin-right: 10%; }
    .fc-sub-split::before { left: 10%; width: 80%; }
    .fc-sub-split .fc-drop-l { margin-left: 10%; }
    .fc-sub-split .fc-drop-r { margin-right: 10%; }
  }
