:root {
  font-family: Pretendard, SUIT, "Noto Sans KR", Arial, sans-serif;
  color-scheme: light;
  font-size: clamp(15px, min(0.833333vw, 1.481481vh), 28px);
}

* {
  box-sizing: border-box;
}

html,
body,
.review-lab {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #f6f7f6;
}

.review-preview {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.review-switcher {
  position: fixed;
  z-index: 10;
  top: 1rem;
  left: 1rem;
  width: min(25rem, calc(100vw - 2rem));
  padding: 0.85rem;
  border: 1px solid rgb(30 36 33 / 12%);
  border-radius: 0.55rem;
  background: rgb(244 246 245 / 88%);
  box-shadow: 0 0.8rem 2.8rem rgb(24 31 28 / 13%);
  color: #1b211e;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.review-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.review-heading p,
.review-description,
.review-stage,
.review-help {
  margin: 0;
}

.review-heading p {
  color: #69716d;
  font-size: 0.56rem;
  font-weight: 820;
  letter-spacing: 0.12em;
}

.review-heading strong {
  color: #313936;
  font-size: 0.62rem;
  font-variant-numeric: tabular-nums;
}

.review-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.3rem;
  margin-top: 0.65rem;
}

.review-options button {
  min-width: 0;
  min-height: 2rem;
  padding: 0.35rem 0.25rem;
  border: 1px solid rgb(30 36 33 / 12%);
  border-radius: 0.35rem;
  background: rgb(255 255 255 / 62%);
  color: #4e5753;
  cursor: pointer;
  font: inherit;
  font-size: 0.6rem;
  font-weight: 720;
}

.review-options button[aria-pressed="true"] {
  border-color: rgb(34 42 38 / 38%);
  background: rgb(39 46 43 / 90%);
  color: #fff;
}

.review-options button:focus-visible {
  outline: 2px solid #2f7462;
  outline-offset: 2px;
}

.review-description {
  min-height: 2.2em;
  margin-top: 0.65rem;
  color: #4f5954;
  font-size: 0.58rem;
  line-height: 1.5;
}

.review-stage {
  margin-top: 0.5rem;
  color: #737b77;
  font-size: 0.53rem;
}

.review-stage strong {
  color: #242b28;
  font-weight: 780;
}

.review-help {
  margin-top: 0.42rem;
  color: #848b88;
  font-size: 0.49rem;
}

.review-help kbd {
  display: inline-grid;
  min-width: 1.2rem;
  height: 1.15rem;
  place-items: center;
  margin-right: 0.15rem;
  border: 1px solid rgb(30 36 33 / 14%);
  border-radius: 0.2rem;
  background: rgb(255 255 255 / 72%);
  color: #3e4743;
  font: inherit;
}

@media (max-width: 42rem) {
  .review-switcher {
    top: auto;
    right: 0.55rem;
    bottom: 0.55rem;
    left: 0.55rem;
    width: auto;
  }

  .review-options {
    grid-template-columns: repeat(2, 1fr);
  }
}
