.q42,
.q42-m {
  --q42-gold-ink: #7a5717;
  --q42-gold-soft: #fbf3e2;
  --q42-gold-line: #e4d2ae;
  --q42-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color: var(--ink);
  font-family: var(--font-sans);
}

.q42 *,
.q42-m * {
  box-sizing: border-box;
}

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

.q42 {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 52px 64px 26px;
  background: var(--paper);
  overflow: hidden;
}

.q42-head {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

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

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

.q42-sub {
  margin: 6px 0 0;
  font-size: 20px;
  line-height: 1.7;
  color: var(--muted);
}

.q42-head-meta {
  flex: 0 0 auto;
  padding-bottom: 2px;
  text-align: right;
}

.q42-state {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.q42-tag {
  margin: 4px 0 0;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--q42-gold-ink);
  white-space: nowrap;
}

.q42-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 18px 0 10px;
  overflow: hidden;
}

.q42-view {
  height: 100%;
  min-height: 0;
}

.q42-view-b0 {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.q42-view-chart {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 356px;
  gap: 30px;
}

.q42-view-b3 {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr);
  gap: 34px;
}

.q42-conds {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.q42-cond {
  min-width: 0;
  padding: 17px 20px 18px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 12px;
  background: var(--white);
}

.q42-cond-k {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--q42-gold-ink);
  white-space: nowrap;
}

.q42-cond-v {
  margin: 4px 0 0;
  font-size: 44px;
  line-height: 1.15;
  font-weight: 600;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.q42-cond-v span {
  margin-left: 6px;
  font-size: 19px;
  font-weight: 500;
  color: var(--muted);
}

.q42-cond-switch {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 30px;
  line-height: 1.3;
  flex-wrap: wrap;
}

.q42-cond-switch span {
  margin-left: 0;
  font-size: 30px;
  font-weight: 600;
  color: var(--navy);
}

.q42-cond-switch em {
  font-style: normal;
  font-size: 20px;
  font-weight: 400;
  color: var(--muted);
}

.q42-cond-t {
  margin: 6px 0 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
}

.q42-axis-panel {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 16px 20px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.q42-panel-head {
  flex: 0 0 auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  min-height: 30px;
}

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

.q42-panel-meta {
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.q42-axiswrap {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.q42-axis-svg {
  display: block;
  width: 100%;
  height: auto;
}

.q42-axis-note {
  flex: 0 0 auto;
  margin: 4px 0 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
}

.q42-axis-line {
  stroke: var(--navy);
  stroke-width: 2;
}

.q42-axis-tick {
  stroke: var(--navy);
  stroke-width: 2;
}

.q42-axis-lab {
  fill: var(--navy);
  font-family: var(--q42-mono);
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.q42-axis-end {
  fill: var(--q42-gold-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
}

.q42-chartpanel {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 14px 20px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.q42-chart-head {
  flex: 0 0 auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  min-height: 32px;
}

.q42-legend {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 4px 0 4px;
}

.q42-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}

.q42-sw {
  display: inline-block;
  flex: 0 0 auto;
  width: 30px;
  height: 10px;
}

.q42-sw-bar {
  border-radius: 3px;
  background: var(--navy);
}

.q42-sw-tick {
  width: 10px;
  height: 16px;
  border-top: 2px solid var(--q42-gold-ink);
  border-bottom: 2px solid var(--q42-gold-ink);
  background: linear-gradient(var(--q42-gold-ink), var(--q42-gold-ink)) center / 2px 100% no-repeat;
}

.q42-sw-dash {
  height: 0;
  border-top: 2px dashed var(--muted);
}

.q42-sw-gap {
  height: 0;
  border-top: 2px dotted var(--q42-gold-ink);
}

.q42-chartwrap {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.q42-chart-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.q42-rail {
  stroke: #e3eaf1;
  stroke-width: 2;
}

.q42-lane-id {
  fill: var(--navy);
  font-family: var(--q42-mono);
  font-size: 22px;
  font-weight: 600;
}

.q42-start-tick {
  stroke: var(--navy);
  stroke-width: 2;
}

.q42-start-lab {
  fill: var(--muted);
  font-family: var(--q42-mono);
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.q42-wait {
  fill: var(--navy);
}

.q42-deadline-tick {
  stroke: var(--gold);
  stroke-width: 3;
}

.q42-deadline-lab {
  fill: var(--q42-gold-ink);
  font-family: var(--q42-mono);
  font-size: 18px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.q42-nominal {
  stroke: var(--muted);
  stroke-width: 2;
  stroke-dasharray: 7 6;
}

.q42-nominal-dot {
  fill: var(--white);
  stroke: var(--muted);
  stroke-width: 2;
}

.q42-nominal-lab {
  fill: var(--muted);
  font-family: var(--q42-mono);
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.q42-backoff {
  stroke: var(--q42-gold-ink);
  stroke-width: 2;
  stroke-dasharray: 2 4;
}

.q42-backoff-lab {
  fill: var(--q42-gold-ink);
  font-family: var(--q42-mono);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.q42-divider {
  stroke: var(--q42-gold-line);
  stroke-width: 1;
}

.q42-offhead-lab {
  fill: var(--q42-gold-ink);
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
}

.q42-note-box {
  fill: #fbfcfe;
  stroke: var(--line);
  stroke-width: 1;
}

.q42-note-k {
  fill: var(--q42-gold-ink);
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.q42-note-big {
  fill: var(--navy);
  font-family: var(--font-sans);
  font-size: 25px;
  font-weight: 600;
}

.q42-note-line {
  fill: var(--ink);
  font-family: var(--font-sans);
  font-size: 21px;
}

.q42-note-sub {
  fill: var(--muted);
  font-family: var(--font-sans);
  font-size: 19px;
}

.q42-side {
  min-width: 0;
  min-height: 0;
  padding-top: 12px;
  border-top: 2px solid var(--gold);
  overflow: hidden;
}

.q42-side-block {
  min-width: 0;
}

.q42-side-k {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--q42-gold-ink);
}

.q42-side-title {
  margin: 6px 0 0;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--navy);
}

.q42-defs {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.q42-defs li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.q42-defs b {
  font-size: 19px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--navy);
}

.q42-defs span {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

.q42-side-note {
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}

.q42-side-note.is-strong {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid var(--q42-gold-line);
  border-radius: 10px;
  background: var(--q42-gold-soft);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 600;
  color: var(--navy);
}

.q42-result {
  margin-top: 14px;
  padding: 13px 16px 14px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 12px;
  background: var(--white);
}

.q42-result.is-off {
  border-top-color: var(--q42-gold-line);
}

.q42-result-k {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--q42-gold-ink);
}

.q42-result-v {
  margin: 2px 0 0;
  font-size: 38px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.q42-result-v span {
  margin-left: 6px;
  font-size: 18px;
  font-weight: 500;
  color: var(--muted);
}

.q42-result-t {
  margin: 2px 0 0;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 600;
  color: var(--ink);
}

.q42-result-s {
  margin: 2px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}

.q42-concl {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.q42-concl-item {
  min-width: 0;
  padding: 18px 22px 20px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 12px;
  background: var(--white);
}

.q42-concl-h {
  margin: 6px 0 0;
  font-size: 28px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--navy);
}

.q42-concl-t {
  margin: 10px 0 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

.q42-chips {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.q42-chip-set {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.q42-chip-set i {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--gold);
}

.q42-chip-set.is-off i {
  background: var(--muted);
}

.q42-chip-set b {
  margin-left: 5px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.q42-chip-sep {
  font-size: 20px;
  color: var(--line);
}

.q42-bars {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.q42-bar-row {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) 68px;
  align-items: center;
  gap: 10px;
}

.q42-bar-k {
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
  white-space: nowrap;
}

.q42-bar {
  display: block;
  height: 18px;
  border-radius: 3px;
  background: #eef3f8;
  overflow: hidden;
}

.q42-bar i {
  display: block;
  height: 100%;
  background: var(--navy);
}

.q42-bar-300 i {
  width: 100%;
}

.q42-bar-200 i {
  width: 66.67%;
  background: var(--gold);
}

.q42-bar-v {
  font-family: var(--q42-mono);
  font-size: 17px;
  line-height: 1.5;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.q42-caveat {
  min-width: 0;
  padding: 18px 20px 20px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--q42-gold-line);
  border-radius: 12px;
  background: var(--white);
}

.q42-caveat-k {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--q42-gold-ink);
}

.q42-caveat ul {
  margin: 10px 0 0;
  padding-left: 1.1em;
}

.q42-caveat li {
  font-size: 18px;
  line-height: 1.68;
  color: var(--ink);
}

.q42-caveat li + li {
  margin-top: 8px;
}

.q42-foot {
  flex: 0 0 auto;
  min-height: 104px;
  display: flex;
  align-items: center;
  padding-top: 12px;
  border-top: 2px solid var(--gold);
}

.q42-foot > div {
  width: 100%;
}

.q42-foot-q {
  margin: 0;
  font-size: 34px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--navy);
}

.q42-foot-line {
  margin: 0;
  font-size: 29px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--navy);
}

.q42-foot-sub {
  margin: 5px 0 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

@keyframes q42-rise {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.q42-motion .q42-in {
  animation: q42-rise 240ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.q42.q42-m {
  position: static;
  inset: auto;
  display: block;
  height: auto;
  padding: 0;
  overflow: visible;
  background: transparent;
}

.q42-m {
  min-width: 0;
}

.q42-m .q42-head {
  display: block;
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.q42-m .q42-title {
  font-size: 28px;
  line-height: 1.38;
}

.q42-m .q42-sub {
  font-size: 16px;
  line-height: 1.75;
}

.q42-m .q42-head-meta {
  margin-top: 10px;
  text-align: left;
}

.q42-m .q42-state {
  font-size: 15px;
  line-height: 1.6;
  white-space: normal;
}

.q42-m .q42-tag {
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.5;
  white-space: normal;
}

.q42-m .q42-body {
  display: block;
  padding: 0;
  overflow: visible;
}

.q42-m .q42-view {
  height: auto;
}

.q42-m .q42-view-b0,
.q42-m .q42-view-chart,
.q42-m .q42-view-b3 {
  display: block;
}

.q42-m .q42-conds {
  grid-template-columns: 1fr;
  gap: 12px;
}

.q42-m .q42-cond {
  padding: 14px 16px;
}

.q42-m .q42-cond-v {
  font-size: 38px;
}

.q42-m .q42-cond-switch {
  font-size: 27px;
}

.q42-m .q42-cond-switch span {
  font-size: 27px;
}

.q42-m .q42-cond-t {
  font-size: 16px;
  line-height: 1.65;
}

.q42-m .q42-axis-panel {
  margin-top: 16px;
  padding: 14px 16px;
}

.q42-m .q42-axiswrap {
  display: block;
  overflow-x: auto;
  scrollbar-color: var(--line) transparent;
}

.q42-m .q42-axis-svg {
  min-width: 820px;
}

.q42-m .q42-axis-note {
  font-size: 16px;
  line-height: 1.65;
}

.q42-m .q42-chartpanel {
  padding: 14px 14px 10px;
}

.q42-m .q42-chart-head {
  display: block;
}

.q42-m .q42-panel-meta {
  display: block;
  margin-top: 2px;
  white-space: normal;
}

.q42-m .q42-legend {
  gap: 6px 16px;
  margin: 8px 0;
}

.q42-m .q42-lg {
  font-size: 14px;
}

.q42-m .q42-chartwrap {
  display: block;
  overflow-x: auto;
  scrollbar-color: var(--line) transparent;
}

.q42-m .q42-chart-svg {
  width: 980px;
  max-width: none;
  height: auto;
}

.q42-m .q42-side {
  margin-top: 22px;
  padding-top: 12px;
  overflow: visible;
}

.q42-m .q42-side-title {
  font-size: 22px;
  line-height: 1.45;
}

.q42-m .q42-defs b {
  font-size: 18px;
}

.q42-m .q42-defs span {
  font-size: 16px;
  line-height: 1.65;
}

.q42-m .q42-side-note {
  font-size: 16px;
  line-height: 1.7;
}

.q42-m .q42-side-note.is-strong {
  font-size: 17px;
  line-height: 1.65;
}

.q42-m .q42-result {
  margin-top: 12px;
}

.q42-m .q42-concl {
  gap: 14px;
}

.q42-m .q42-concl-item {
  padding: 16px;
}

.q42-m .q42-concl-h {
  font-size: 22px;
  line-height: 1.45;
}

.q42-m .q42-concl-t {
  font-size: 16px;
  line-height: 1.7;
}

.q42-m .q42-chip-set b,
.q42-m .q42-bar-v {
  font-size: 16px;
}

.q42-m .q42-bar-row {
  grid-template-columns: 68px minmax(0, 1fr) 62px;
  gap: 8px;
}

.q42-m .q42-bar-k {
  font-size: 14px;
}

.q42-m .q42-caveat {
  margin-top: 18px;
  padding: 16px;
}

.q42-m .q42-caveat li {
  font-size: 16px;
  line-height: 1.7;
}

.q42-m .q42-foot {
  display: block;
  min-height: 0;
  margin-top: 24px;
  padding-top: 14px;
}

.q42-m .q42-foot-q {
  font-size: 25px;
  line-height: 1.45;
}

.q42-m .q42-foot-line {
  font-size: 23px;
  line-height: 1.5;
}

.q42-m .q42-foot-sub {
  font-size: 16px;
  line-height: 1.7;
}

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

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

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