.q17,
.q17-m {
  --q17-soft: #fbf7ef;
  --q17-focus: #f3e6c9;
  --q17-active: #f7e8c3;
  --q17-gold-ink: #7a5717;
  --q17-gold-line: #d9c6a2;
  --q17-code-border: #e4d6bd;
  --q17-pass-soft: #eef5f1;
  --q17-bad-soft: #f7edee;
  --q17-mono: "SFMono-Regular", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
}

.q17 [hidden],
.q17-m [hidden] {
  display: none !important;
}

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

.q17-head {
  position: absolute;
  left: 64px;
  top: 56px;
  width: 1472px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.q17-heading {
  min-width: 0;
}

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

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

.q17-scope {
  flex: 0 0 auto;
  margin: 0 0 2px;
  max-width: 520px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--muted);
  text-align: right;
}

.q17-body {
  position: absolute;
  left: 64px;
  top: 162px;
  width: 1472px;
  height: 614px;
  display: grid;
  grid-template-columns: 760px minmax(0, 1fr);
  gap: 24px;
}

.q17[data-q17-cue="b0"] .q17-body {
  grid-template-columns: minmax(0, 1fr);
}

.q17-card {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.q17-card-head {
  min-width: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

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

.q17-code-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--navy);
}

.q17-code-host {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.q17-code {
  margin: 0;
  padding: 14px 16px;
  background: var(--q17-soft);
  border: 1px solid var(--q17-code-border);
  border-radius: 10px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--q17-gold-line) transparent;
}

.q17-code-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: max-content;
  padding: 2px 8px 2px 0;
  border-radius: 6px;
}

.q17-ln {
  flex: 0 0 22px;
  text-align: right;
  font-family: var(--q17-mono);
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  user-select: none;
  -webkit-user-select: none;
}

.q17-code-text {
  font-family: var(--q17-mono);
  font-size: 20px;
  line-height: 1.65;
  color: var(--navy);
  white-space: pre;
}

.q17-code-line.is-focus {
  background: var(--q17-focus);
}

.q17-code-line.is-active {
  background: var(--q17-active);
}

.q17-code-line.is-active .q17-ln {
  color: var(--q17-gold-ink);
  font-weight: 700;
}

.q17-origin-note {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.q17-indent {
  padding: 10px 12px;
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: 10px;
}

.q17-indent-title {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: 600;
  color: var(--muted);
}

.q17-indent ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
}

.q17-indent li {
  min-width: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}

.q17-indent code {
  font-family: var(--q17-mono);
  font-size: 13px;
  color: var(--navy);
}

.q17-code-foot {
  margin: auto 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 600;
  color: var(--q17-gold-ink);
}

.q17-right {
  position: relative;
  min-width: 0;
  height: 100%;
}

.q17-panel {
  gap: 14px;
}

.q17-panel-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--navy);
}

.q17-caption {
  margin: auto 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.q17-b0-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.q17-b0-code {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.q17-b0-code-row {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.q17-b0-code-row .q17-code {
  width: max-content;
  max-width: 100%;
}

.q17-b0-code-label {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--q17-gold-ink);
}

.q17-feedback {
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.q17-feedback.is-specific {
  background: var(--q17-soft);
  border-color: var(--q17-gold-line);
}

.q17-feedback-tag {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: 600;
  color: var(--muted);
}

.q17-feedback-quote {
  margin: 0;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--navy);
  overflow-wrap: anywhere;
}

.q17-feedback-quote code {
  font-family: var(--q17-mono);
  font-size: 0.92em;
  color: var(--danger);
}

.q17-feedback-note {
  margin: 8px 0 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

.q17-walk {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.q17-walk li {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 54px;
  padding: 10px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.q17-walk-key {
  font-family: var(--q17-mono);
  font-size: 17px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--q17-gold-ink);
  overflow-wrap: anywhere;
}

.q17-walk-text {
  min-width: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
}

.q17-walk-text code {
  font-family: var(--q17-mono);
  font-size: 17px;
  color: var(--navy);
}

.q17-question-box {
  margin-top: auto;
  padding: 20px 22px;
  background: var(--q17-soft);
  border: 1px solid var(--q17-gold-line);
  border-radius: 12px;
}

.q17-params {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.q17-question {
  margin: 10px 0 0;
  font-size: 30px;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--navy);
}

.q17-question-sub {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--q17-gold-ink);
}

.q17-trace-panel {
  gap: 12px;
}

.q17-trace-status {
  margin: 0;
  min-height: 26px;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--q17-gold-ink);
  font-variant-numeric: tabular-nums;
}

.q17-slots-wrap {
  position: relative;
  padding-bottom: 30px;
}

.q17-slots {
  display: flex;
  gap: 24px;
}

.q17-slot-col {
  flex: 1 1 0;
  min-width: 0;
}

.q17-slot-col.is-pending,
.q17-result.is-pending,
.q17-verdict.is-pending {
  visibility: hidden;
}

.q17-slot-key {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  font-weight: 600;
  color: var(--muted);
}

.q17-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 8px 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.q17-slot-value {
  font-family: var(--q17-mono);
  font-size: 24px;
  line-height: 1;
  font-weight: 600;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.q17-link {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 28px;
  overflow: visible;
  pointer-events: none;
}

.q17-link path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.5;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.q17-dup {
  color: var(--q17-gold-ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.q17-result-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 286px;
  gap: 20px;
  align-items: stretch;
}

.q17-result {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 14px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
}

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

.q17-result-value {
  font-family: var(--q17-mono);
  font-size: 24px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: thin;
}

.q17-verdict {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.q17-verdict-row {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
}

.q17-verdict-name {
  color: var(--muted);
}

.q17-verdict-row code {
  font-family: var(--q17-mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}

.q17-verdict-row.is-pass {
  color: var(--pass);
}

.q17-verdict-row.is-bad {
  color: var(--danger);
}

.q17-verdict-meaning {
  margin-left: auto;
  white-space: nowrap;
}

.q17-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  overflow: visible;
}

.q17-icon circle,
.q17-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.q17-trace-note {
  margin: auto 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.q17-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.q17-check {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 92px;
  gap: 16px;
  align-items: center;
  min-height: 92px;
  padding: 12px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.q17-check-in {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.q17-check-name {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--muted);
}

.q17-check-in code,
.q17-check-out code {
  font-family: var(--q17-mono);
  font-size: 17px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--navy);
  overflow-wrap: anywhere;
}

.q17-check-out {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.q17-check-arrow {
  flex: 0 0 auto;
  font-size: 17px;
  color: var(--muted);
}

.q17-check-verdict {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 600;
  white-space: nowrap;
}

.q17-check-verdict.is-pass {
  color: var(--pass);
  background: var(--q17-pass-soft);
}

.q17-check-verdict.is-bad {
  color: var(--danger);
  background: var(--q17-bad-soft);
}

.q17-scope-note {
  margin: auto 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.q17-conclusion {
  position: absolute;
  left: 64px;
  top: 806px;
  width: 1472px;
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 14px;
}

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

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

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

.q17-m-head {
  min-width: 0;
}

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

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

.q17-m .q17-scope {
  margin: 6px 0 0;
  max-width: none;
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
}

.q17-m .q17-right {
  height: auto;
}

.q17-m .q17-card {
  height: auto;
  margin-top: 18px;
  padding: 16px;
  gap: 12px;
}

.q17-m .q17-code {
  padding: 10px 12px;
  -webkit-overflow-scrolling: touch;
}

.q17-m .q17-code-line {
  padding: 1px 6px 1px 0;
}

.q17-m .q17-ln {
  flex-basis: 18px;
  font-size: 12px;
  line-height: 1.7;
}

.q17-m .q17-code-text {
  font-size: 16px;
  line-height: 1.7;
}

.q17-m .q17-code-title {
  font-size: 17px;
  line-height: 1.4;
}

.q17-m .q17-origin-note {
  font-size: 16px;
  line-height: 1.6;
}

.q17-m .q17-indent ul {
  grid-template-columns: 1fr;
  gap: 4px;
}

.q17-m .q17-indent li {
  font-size: 14px;
  line-height: 1.5;
}

.q17-m .q17-code-foot {
  font-size: 14px;
  line-height: 1.55;
}

.q17-m .q17-panel-title {
  font-size: 20px;
  line-height: 1.4;
}

.q17-m .q17-caption {
  margin-top: 0;
  font-size: 14px;
  line-height: 1.6;
}

.q17-m .q17-b0-cards {
  grid-template-columns: 1fr;
  gap: 12px;
}

.q17-m .q17-b0-code-label {
  font-size: 14px;
  line-height: 1.6;
}

.q17-m .q17-b0-code-row {
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: start;
}

.q17-m .q17-feedback {
  padding: 14px;
}

.q17-m .q17-feedback-quote {
  font-size: 20px;
  line-height: 1.55;
}

.q17-m .q17-feedback-note {
  font-size: 16px;
  line-height: 1.6;
}

.q17-m .q17-walk li {
  grid-template-columns: 1fr;
  gap: 4px;
  min-height: 0;
  padding: 10px 12px;
}

.q17-m .q17-walk-key {
  font-size: 15px;
}

.q17-m .q17-walk-text {
  font-size: 16px;
  line-height: 1.55;
}

.q17-m .q17-question-box {
  margin-top: 0;
  padding: 16px;
}

.q17-m .q17-params {
  font-size: 14px;
  line-height: 1.55;
}

.q17-m .q17-question {
  margin-top: 8px;
  font-size: 21px;
  line-height: 1.5;
}

.q17-m .q17-question-sub {
  font-size: 15px;
  line-height: 1.6;
}

.q17-m .q17-trace-status {
  min-height: 0;
  font-size: 15px;
  line-height: 1.5;
}

.q17-m .q17-slots {
  gap: 10px;
}

.q17-m .q17-slot-key {
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.35;
}

.q17-m .q17-slot {
  min-height: 62px;
  padding: 6px;
}

.q17-m .q17-slot-value {
  font-size: 20px;
}

.q17-m .q17-slots-wrap {
  padding-bottom: 24px;
}

.q17-m .q17-link {
  height: 22px;
}

.q17-m .q17-result-wrap {
  grid-template-columns: 1fr;
  gap: 10px;
}

.q17-m .q17-result {
  min-height: 84px;
  padding: 12px 14px;
}

.q17-m .q17-result-value {
  font-size: 20px;
}

.q17-m .q17-verdict {
  padding: 12px 14px;
}

.q17-m .q17-verdict-row {
  font-size: 15px;
}

.q17-m .q17-trace-note {
  margin-top: 0;
  font-size: 14px;
  line-height: 1.6;
}

.q17-m .q17-check {
  grid-template-columns: 1fr;
  gap: 8px;
  min-height: 0;
  padding: 14px;
}

.q17-m .q17-check-in code,
.q17-m .q17-check-out code {
  font-size: 15px;
}

.q17-m .q17-check-verdict {
  justify-self: start;
}

.q17-m .q17-scope-note {
  margin-top: 0;
  font-size: 14px;
  line-height: 1.6;
}

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

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

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

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

.is-instant .q17 *,
.is-instant .q17-m * {
  transition: none !important;
  animation: none !important;
}

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