.rw-cmp-copy {
  margin: 0;
}
.rw-cmp-pill {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  padding: 5px 12px;
  border-radius: var(--ef-r-pill);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 18px;
  font-weight: 500;
}
[data-theme="dark"] .rw-cmp-pill {
  background: rgba(245, 244, 239, 0.08);
  color: var(--text-body);
}
.rw-cmp-badge svg {
  width: 15px;
  height: 15px;
  flex: none;
}
.rw-steps-grid {
  max-width: 1160px;
  grid-template-columns: minmax(0, 1.26fr) minmax(0, 0.74fr);
  gap: 48px;
}
.rw-stage-frame {
  padding: 24px 24px 70px;
}
.ef-tool-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  min-width: 0;
}
.ef-tone-box {
  background: #5f7263;
  color: #ffffff;
  border-radius: 18px;
  padding: 16px 18px 14px;
  box-shadow: 0 8px 18px rgba(71, 86, 75, 0.14);
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.ef-tone-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
}
.ef-tone-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  line-height: 22px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}
.ef-tone-title svg {
  width: 17px;
  height: 17px;
  flex: none;
}
.ef-tone-count {
  font-size: 12.5px;
  line-height: 18px;
  font-weight: 600;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex-shrink: 0;
}
.ef-tone-sub {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: #ffffff;
}
.ef-range-wrap {
  position: relative;
  display: flex;
  align-items: center;
  height: 24px;
  margin: 2px -4px 0;
}
.ef-range-dots {
  position: absolute;
  left: 8px;
  right: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}
.ef-range-dots::before {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: 50%;
  height: 4px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
}
.ef-range-dots i {
  position: relative;
  z-index: 1;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
}
.ef-range {
  position: relative;
  z-index: 2;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 24px;
  background: transparent;
  outline: none;
  margin: 0;
  cursor: pointer;
  touch-action: pan-y;
}
.ef-range:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
  border-radius: 999px;
}
.ef-range::-moz-range-track {
  background: transparent;
  border: 0;
}
.ef-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.24);
  cursor: pointer;
}
.ef-range::-moz-range-thumb {
  width: 19px;
  height: 19px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.24);
  cursor: pointer;
}
.ef-range-stops {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-top: 2px;
}
.ef-range-stop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 4px 10px;
  border: 0;
  border-radius: var(--ef-r-pill);
  background: transparent;
  color: #ffffff;
  font-family: inherit;
  font-size: 12.5px;
  line-height: 18px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition: background-color 140ms ease, color 140ms ease;
}
.ef-range-stop[aria-pressed="true"] {
  background: #fffefb;
  color: #26241f;
  font-weight: 600;
}
@media (hover: hover) and (pointer: fine) {
  .ef-range-stop:not([aria-pressed="true"]):hover {
    background: rgba(255, 255, 255, 0.16);
  }
}
.ef-range-stop:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}
.ef-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
  flex: 1;
}
.ef-two > * {
  min-width: 0;
}
.ef-wcard {
  background: var(--bg-linen);
  border: 1px solid var(--border-main);
  border-radius: 16px;
  padding: 16px;
  color: var(--text-ink);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
[data-theme="dark"] .ef-wcard {
  background: #1d2821;
  border-color: rgba(245, 244, 239, 0.1);
  color: #f0f3ed;
}
.ef-om-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.ef-micro-label {
  font-size: 12px;
  line-height: 18px;
  font-weight: 700;
  color: var(--accent);
}
.ef-om-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--ef-r-pill);
  background: var(--bg-sage);
  color: var(--accent);
  font-size: 11.5px;
  line-height: 16px;
  font-weight: 700;
  white-space: nowrap;
}
.ef-om-badge--muted {
  background: var(--bg-card);
  color: var(--text-muted);
}
[data-theme="dark"] .ef-om-badge {
  background: #26352c;
  color: #dce5de;
}
[data-theme="dark"] .ef-om-badge--muted {
  background: #222b25;
  color: #b4bfb6;
}
.ef-om-orig,
.ef-om-out {
  font-family: var(--df);
  font-size: 15.5px;
  line-height: 1.58;
  color: var(--text-ink);
}
.ef-om-out {
  min-height: 98px;
}
.ef-foot-row {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}
.ef-foot-note {
  font-size: 12px;
  line-height: 18px;
  color: var(--text-muted);
}
.ef-foot-btns {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ef-btn-green,
.ef-btn-soft {
  height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--ef-r-pill);
  font-family: inherit;
  font-size: 12.5px;
  line-height: 18px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition: background-color 150ms ease, color 150ms ease;
}
.ef-btn-green {
  min-width: 88px;
  background: #5f7263;
  color: #ffffff;
}
.ef-btn-soft {
  min-width: 82px;
  background: var(--bg-sage);
  color: var(--text-ink);
}
[data-theme="dark"] .ef-btn-soft {
  background: #26352c;
  color: #dce5de;
}
@media (hover: hover) and (pointer: fine) {
  .ef-btn-green:hover {
    background: #4e5f53;
  }
  .ef-btn-soft:hover {
    background: var(--bg-tint);
  }
  [data-theme="dark"] .ef-btn-soft:hover {
    background: #314738;
    color: #ffffff;
  }
}
.ef-btn-soft svg {
  width: 13px;
  height: 13px;
  flex: none;
}
.ef-spk-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: var(--bg-sage);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: none;
  touch-action: manipulation;
  transition: background-color 150ms ease, color 150ms ease;
}
[data-theme="dark"] .ef-spk-btn {
  background: #26352c;
  color: #dce5de;
}
@media (hover: hover) and (pointer: fine) {
  .ef-spk-btn:hover {
    background: var(--bg-tint);
  }
  [data-theme="dark"] .ef-spk-btn:hover {
    background: #314738;
    color: #ffffff;
  }
}
.ef-spk-btn[aria-pressed="true"] {
  background: #5f7263;
  color: #ffffff;
}
.ef-spk-btn svg {
  width: 15px;
  height: 15px;
}
.ef-spk-btn span {
  display: none;
}
.rw-sheet-head {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.rw-tone-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.rw-tone-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 13px;
  background: var(--bg-linen);
  font-size: 14.5px;
  color: var(--text-ink);
}
.rw-tone-row strong {
  font-weight: 600;
  color: var(--accent);
}
.rw-tone-row span {
  font-size: 13px;
  color: var(--text-muted);
  text-align: right;
}
.rw-tone-row.is-active {
  background: var(--ef-card-sage);
  box-shadow: inset 0 0 0 1.5px var(--accent);
}
.rw-diff-foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-main);
  font-size: 13px;
  line-height: 19px;
  color: var(--text-muted);
}
.rw-grammar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-main);
  font-size: 13px;
  color: var(--text-muted);
}
.rw-legend-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.rw-legend-dot i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.sp-faq-item summary h3 {
  margin: 0;
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}
.ef-faq-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 1024px) {
  .rw-steps-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
}
@media (max-width: 767px) {
  .efd-step-detail {
    min-height: 228px;
  }
  .rw-stage-frame {
    padding: 16px 14px 68px;
  }
  .ef-two {
    grid-template-columns: minmax(0, 1fr);
  }
  .ef-tone-box {
    padding: 14px 13px 13px;
  }
  .ef-range-stops {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
    margin-top: 4px;
  }
  .ef-range-stop {
    padding: 5px 6px;
    font-size: 12.5px;
    min-height: 36px;
    width: 100%;
    grid-column: span 2;
  }
  .ef-range-stop[data-om-step="3"] {
    grid-column: 1 / span 3;
  }
  .ef-range-stop[data-om-step="4"] {
    grid-column: 4 / span 3;
  }
  .ef-wcard {
    padding: 14px;
  }
  .ef-om-out {
    min-height: 108px;
  }
}
@media (max-width: 360px) {
  .efd-step-detail {
    min-height: 260px;
  }
  .ef-tone-title {
    font-size: 15px;
  }
  .ef-tone-count {
    font-size: 11.5px;
  }
  .ef-range-stop {
    font-size: 11.5px;
    padding: 5px 4px;
  }
  .ef-om-out {
    min-height: 124px;
  }
}
