.q15,
.q15-m {
  --q15-soft: #fbf7ef;
  --q15-gold-ink: #7a5717;
  --q15-connector: #647a91;
  --q15-paused: #eef1f5;
  --q15-paused-ink: #52647b;
  --q15-paused-line: #6f8093;
  --q15-replay: #43566c;
  --q15-replay-bg: #fbfcfd;
}

.q15 {
  position: absolute;
  inset: 0;
  color: var(--ink);
}

.q15-head {
  position: absolute;
  left: 64px;
  top: 64px;
  width: 660px;
}

.q15-title {
  margin: 0;
  font-size: 40px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--navy);
}

.q15-state {
  margin: 6px 0 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.q15-scope {
  margin: 4px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}

.q15-banner {
  position: absolute;
  left: 760px;
  top: 64px;
  width: 440px;
  min-height: 84px;
  padding: 12px 14px;
  background: var(--q15-soft);
  border: 1px solid var(--gold);
  border-radius: 10px;
}

.q15-banner-title {
  margin: 0;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--navy);
}

.q15-banner-sub {
  margin: 5px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--q15-gold-ink);
}

.q15-lines {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.q15-line {
  fill: none;
  stroke: var(--q15-connector);
  stroke-width: 2.5;
  stroke-linecap: square;
  stroke-linejoin: round;
}

.q15-line.is-off {
  display: none;
}

.q15-line.is-retained {
  stroke: var(--gold);
  stroke-width: 3;
}

.q15-line.is-paused {
  stroke: var(--q15-paused-line);
}

.q15-line.is-replay {
  stroke: var(--q15-replay);
  stroke-width: 2;
  stroke-dasharray: 7 6;
}

.q15-trace {
  fill: none;
  stroke: #c08a2e;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  display: none;
  pointer-events: none;
}

.q15-trace.is-drawing {
  display: block;
  animation: q15-trace-draw 420ms ease-out both;
}

@keyframes q15-trace-draw {
  from {
    stroke-dashoffset: 1;
    opacity: 1;
  }
  to {
    stroke-dashoffset: 0;
    opacity: 0.4;
  }
}

.q15-node {
  position: absolute;
}

.q15-pos-r {
  left: 100px;
  top: 410px;
  width: 180px;
  height: 90px;
}

.q15-pos-s1 {
  left: 430px;
  top: 240px;
  width: 220px;
  height: 90px;
}

.q15-pos-s2 {
  left: 430px;
  top: 410px;
  width: 220px;
  height: 90px;
}

.q15-pos-s3 {
  left: 430px;
  top: 580px;
  width: 220px;
  height: 90px;
}

.q15-pos-s11 {
  left: 760px;
  top: 207px;
  width: 200px;
  height: 70px;
}

.q15-pos-s12 {
  left: 760px;
  top: 293px;
  width: 200px;
  height: 70px;
}

.q15-pos-s21 {
  left: 760px;
  top: 377px;
  width: 200px;
  height: 70px;
}

.q15-pos-s22 {
  left: 760px;
  top: 463px;
  width: 200px;
  height: 70px;
}

.q15-pos-s31 {
  left: 760px;
  top: 547px;
  width: 200px;
  height: 70px;
}

.q15-pos-s32 {
  left: 760px;
  top: 633px;
  width: 200px;
  height: 70px;
}

.q15-pos-l11 {
  left: 1000px;
  top: 207px;
  width: 200px;
  height: 70px;
}

.q15-pos-l12 {
  left: 1000px;
  top: 293px;
  width: 200px;
  height: 70px;
}

.q15-pos-l21 {
  left: 1000px;
  top: 377px;
  width: 200px;
  height: 70px;
}

.q15-pos-l22 {
  left: 1000px;
  top: 463px;
  width: 200px;
  height: 70px;
}

.q15-pos-l31 {
  left: 1000px;
  top: 547px;
  width: 200px;
  height: 70px;
}

.q15-pos-l32 {
  left: 1000px;
  top: 633px;
  width: 200px;
  height: 70px;
}

.q15-node-box {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  padding: 5px 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.q15-node-branch .q15-node-box,
.q15-node-root .q15-node-box {
  padding: 9px 12px;
}

.q15-node-root .q15-node-box {
  padding: 8px 12px;
  border: 2px solid var(--navy);
}

.q15-node-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 20px;
}

.q15-node-tag {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 19px;
  padding: 0 6px;
  border-radius: 4px;
  background: #e3ebf2;
  color: var(--navy);
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.q15-node-root .q15-node-tag {
  background: var(--navy);
  color: var(--white);
}

.q15-node-branch .q15-node-tag {
  min-width: 30px;
  height: 20px;
  font-size: 12px;
}

.q15-score {
  margin-left: auto;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.q15-score-value {
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.q15-node-branch .q15-score-value {
  font-size: 24px;
}

.q15-score-label {
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.q15-node-title {
  margin: 0;
  font-size: 15px;
  line-height: 1.32;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--navy);
  overflow-wrap: anywhere;
}

.q15-node-branch .q15-node-title {
  font-size: 20px;
  line-height: 1.3;
}

.q15-node-root .q15-node-title {
  font-size: 22px;
  line-height: 1.35;
}

.q15-node-leaf .q15-node-title {
  font-size: 15px;
}

.q15-node-note {
  margin: 0;
  min-height: 14px;
  font-size: 11px;
  line-height: 1.35;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.q15-node-branch .q15-node-note,
.q15-node-root .q15-node-note {
  min-height: 18px;
  font-size: 13px;
}

.q15-node.is-retained .q15-node-box {
  border-color: var(--gold);
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.q15-node.is-retained .q15-node-note {
  color: var(--q15-gold-ink);
  font-weight: 600;
}

.q15-node.is-selected .q15-node-box {
  border: 2px solid var(--gold);
  background: var(--q15-soft);
}

.q15-node.is-selected .q15-node-note {
  color: var(--q15-gold-ink);
  font-weight: 600;
}

.q15-node.is-paused .q15-node-box {
  background: var(--q15-paused);
  border-color: var(--line);
}

.q15-node.is-paused .q15-node-tag {
  background: #e2e7ee;
  color: var(--q15-paused-ink);
}

.q15-node.is-paused .q15-node-title,
.q15-node.is-paused .q15-node-note,
.q15-node.is-paused .q15-score-value {
  color: var(--q15-paused-ink);
}

.q15-node.is-replay .q15-node-box {
  background: var(--q15-replay-bg);
  border: 1px dashed var(--q15-replay);
}

.q15-node.is-replay .q15-node-note {
  color: var(--q15-replay);
  font-weight: 600;
}

.q15-panel {
  position: absolute;
  left: 1240px;
  top: 200px;
  width: 296px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.q15-block + .q15-block {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.q15-block-label {
  margin: 0 0 7px;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.q15-rule {
  margin: 0;
  font-size: 19px;
  line-height: 1.55;
  font-weight: 600;
  color: var(--navy);
  overflow-wrap: anywhere;
}

.q15-rounds {
  display: grid;
  gap: 10px;
}

.q15-round {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.q15-round-key {
  padding-top: 7px;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.q15-round-val {
  min-width: 0;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.q15-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 6px 10px;
  background: var(--paper);
  border: 2px dashed var(--line);
  border-radius: 8px;
  color: var(--navy);
}

.q15-slot.is-filled {
  background: var(--q15-soft);
  border-color: var(--gold);
  border-style: solid;
}

.q15-question {
  margin: 12px 0 0;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--navy);
}

.q15-panel-note {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.q15-conclusion {
  position: absolute;
  left: 64px;
  top: 780px;
  width: 1160px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.q15-conclusion-label {
  flex: 0 0 auto;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.q15-conclusion-text {
  min-width: 0;
  font-size: 25px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--navy);
  overflow-wrap: anywhere;
}

.q15-compare {
  position: absolute;
  left: 64px;
  top: 736px;
  width: 1160px;
}

.q15-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.q15-compare-card {
  min-height: 76px;
  padding: 11px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.q15-compare-card.is-primary {
  border-color: var(--gold);
  background: var(--q15-soft);
}

.q15-compare-label {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.q15-compare-body {
  margin: 5px 0 0;
  font-size: 21px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--navy);
}

.q15-compare-note {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--q15-gold-ink);
}

.q15-m {
  min-width: 0;
  color: var(--ink);
}

.q15-m .q15-head {
  position: static;
  width: auto;
}

.q15-m .q15-title {
  margin: 6px 0 0;
  font-size: 30px;
  line-height: 1.4;
}

.q15-m .q15-state {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.6;
}

.q15-m .q15-scope {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.6;
}

.q15-m .q15-banner {
  position: static;
  width: auto;
  min-height: 0;
  margin-top: 16px;
  padding: 12px 14px;
}

.q15-m .q15-banner-title {
  font-size: 17px;
  line-height: 1.5;
}

.q15-m .q15-banner-sub {
  font-size: 13px;
  line-height: 1.6;
}

.q15-m-tree {
  margin-top: 18px;
}

.q15-m-root-row {
  margin-bottom: 12px;
}

.q15-m-level1 {
  position: relative;
  margin: 0 0 0 10px;
  padding-left: 18px;
  border-left: 1.5px solid var(--line);
  display: grid;
  gap: 16px;
}

.q15-m-branch {
  position: relative;
}

.q15-m-branch::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 40px;
  width: 18px;
  border-top: 1.5px solid var(--line);
}

.q15-m .q15-node {
  position: static;
  left: auto;
  top: auto;
  width: auto;
  height: auto;
}

.q15-m .q15-node-box {
  height: auto;
  min-height: 84px;
  padding: 10px 12px;
}

.q15-m .q15-node-root .q15-node-box {
  min-height: 80px;
}

.q15-m .q15-node-l2 .q15-node-box,
.q15-m .q15-node-leaf .q15-node-box {
  min-height: 76px;
}

.q15-m .q15-node-title {
  font-size: 18px;
  line-height: 1.4;
}

.q15-m .q15-node-branch .q15-node-title,
.q15-m .q15-node-root .q15-node-title {
  font-size: 20px;
  line-height: 1.35;
}

.q15-m .q15-node-leaf .q15-node-title {
  font-size: 16px;
}

.q15-m .q15-score-value {
  font-size: 20px;
}

.q15-m .q15-node-branch .q15-score-value {
  font-size: 22px;
}

.q15-m .q15-score-label {
  font-size: 11px;
}

.q15-m .q15-node-note {
  font-size: 12px;
  line-height: 1.45;
}

.q15-m .q15-node-branch .q15-node-note,
.q15-m .q15-node-root .q15-node-note {
  font-size: 13px;
}

.q15-m-level2 {
  display: grid;
  gap: 12px;
  margin: 10px 0 0 16px;
  padding-left: 16px;
  border-left: 1.5px solid var(--line);
}

.q15-m-child {
  position: relative;
}

.q15-m-child::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 38px;
  width: 16px;
  border-top: 1.5px solid var(--line);
}

.q15-m-leaf {
  position: relative;
  margin: 8px 0 0 14px;
  padding-left: 16px;
  border-left: 1.5px solid var(--line);
}

.q15-m-leaf::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 38px;
  width: 14px;
  border-top: 1.5px solid var(--line);
}

.q15-m .q15-panel {
  position: static;
  width: auto;
  margin-top: 22px;
  padding: 16px;
}

.q15-m .q15-rule {
  font-size: 18px;
  line-height: 1.6;
}

.q15-m .q15-round {
  grid-template-columns: 54px minmax(0, 1fr);
}

.q15-m .q15-round-val {
  font-size: 16px;
}

.q15-m .q15-question {
  font-size: 17px;
}

.q15-m .q15-conclusion {
  position: static;
  width: auto;
  margin-top: 20px;
  display: block;
}

.q15-m .q15-conclusion-label {
  display: block;
  margin-bottom: 4px;
}

.q15-m .q15-conclusion-text {
  display: block;
  font-size: 20px;
  line-height: 1.6;
}

.q15-m .q15-compare {
  position: static;
  width: auto;
  margin-top: 22px;
}

.q15-m .q15-compare-grid {
  grid-template-columns: 1fr;
  gap: 12px;
}

.q15-m .q15-compare-card {
  min-height: 0;
}

.q15-m .q15-compare-body {
  font-size: 19px;
}

.q15-m .q15-compare-note {
  font-size: 14px;
  line-height: 1.6;
}

.q15-m-link {
  margin: 24px 0 0;
  font-size: 16px;
  line-height: 1.6;
}

.is-instant .q15 .q15-trace,
.is-instant .q15-m *,
.is-instant .q15 *,
.is-instant .q15 *::before,
.is-instant .q15 *::after,
.is-instant .q15-m *::before,
.is-instant .q15-m *::after {
  animation: none !important;
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .q15 .q15-trace,
  .q15 *,
  .q15-m *,
  .q15 *::before,
  .q15-m *::before,
  .q15 *::after,
  .q15-m *::after {
    animation: none !important;
    transition: none !important;
  }

  .q15 .q15-trace {
    display: none !important;
  }
}
