.fq {
  --fq-ink: #133a36;
  --fq-deep: #103c37;
  --fq-teal: #126960;
  --fq-muted: #466660;
  --fq-line: #bdcfc5;
  --fq-bg: #f5f8f2;
  --fq-surface: #fffefa;
  --fq-green: #e0ede2;
  --fq-alert: #9c3d2c;
  color: var(--fq-ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  min-width: 0;
  width: 100%;
  text-align: left;
  color-scheme: light;
}

.fq *,.fq *::before,.fq *::after {
  box-sizing: border-box;
}

.fq [hidden] {
  display: none!important;
}

.fq button,.fq input,.fq textarea {
  font: inherit;
}

.fq .fq-top {
  display: flex;
  justify-content: flex-start;
  margin: 0 0 .45rem;
}

.fq .fq-page,.fq .fq-content {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.fq .fq-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.3rem,4vw,2.4rem);
  background: var(--fq-deep);
  color: #fffdf0;
  border-radius: 1.25rem;
}

.fq .fq-hero::before,.fq .fq-hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  right: -3rem;
  top: 50%;
  border: 1.5px solid #67a78866;
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.fq .fq-hero::before {
  width: 12rem;
  height: 12rem;
}

.fq .fq-hero::after {
  width: 8rem;
  height: 8rem;
}

.fq .fq-hero h2,.fq .fq-hero p,.fq .fq-hero span {
  position: relative;
  max-width: 90%;
  overflow-wrap: anywhere;
}

.fq .fq-kicker {
  display: block;
  font-size: .81rem;
  font-weight: 720;
  letter-spacing: .07em;
  color: #b9daca;
  margin: 0 0 .3rem;
}

.fq .fq-heading {
  font: inherit;
  font-weight: 730;
  line-height: 1.15;
  letter-spacing: -.032em;
  color: inherit;
  margin: 0;
  overflow-wrap: anywhere;
}

.fq h2.fq-heading {
  font-size: clamp(1.85rem,5vw,3rem);
}

.fq h3.fq-heading {
  font-size: clamp(1.15rem,2.6vw,1.5rem);
}

.fq h4.fq-heading {
  font-size: 1.1rem;
}

.fq .fq-hero-detail {
  color: #e5eee4;
  line-height: 1.4;
  margin: .65rem 0 0;
}

.fq .fq-card,.fq .fq-group {
  background: var(--fq-surface);
  border: 1px solid var(--fq-line);
  border-radius: 1.1rem;
  padding: clamp(1rem,3vw,1.6rem);
  display: grid;
  gap: 1.05rem;
  min-width: 0;
}

.fq .fq-group {
  gap: 0;
}

.fq .fq-group h3 {
  margin: 0 0 .45rem;
}

.fq .fq-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  border-top: 1px solid var(--fq-line);
  padding: .8rem 0;
}

.fq .fq-row:last-child {
  padding-bottom: 0;
}

.fq .fq-row-info {
  display: grid;
  gap: .15rem;
  min-width: 0;
  overflow-wrap: anywhere;
}

.fq .fq-muted {
  color: var(--fq-muted);
  margin: 0;
  font-size: 1rem;
}

.fq .fq-actions,.fq .fq-edit-heading,.fq .fq-progress-row {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-wrap: wrap;
}

.fq .fq-edit-heading,.fq .fq-progress-row {
  justify-content: space-between;
}

.fq .fq-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .56rem 1rem;
  background: var(--fq-surface);
  border: 1px solid #8eaaa0;
  border-radius: .72rem;
  color: var(--fq-deep);
  font-weight: 680;
  line-height: 1.35;
  cursor: pointer;
  transition: background .15s,box-shadow .15s;
}

.fq .fq-primary {
  background: var(--fq-teal);
  color: white;
  border-color: var(--fq-teal);
}

.fq .fq-link {
  background: transparent;
  border-color: transparent;
  padding: .45rem .35rem;
  text-decoration: underline;
  text-underline-offset: .2em;
  color: inherit;
}

.fq .fq-btn:hover:not(:disabled) {
  background: var(--fq-green);
  color: var(--fq-deep);
}

.fq .fq-primary:hover:not(:disabled) {
  background: #0b4d45;
  border-color: #0b4d45;
  color: white;
}

.fq .fq-btn:disabled {
  opacity: .52;
  cursor: default;
}

.fq :focus-visible {
  outline: 3px solid #da814d;
  outline-offset: 3px;
}

.fq .fq-status:empty {
  display: none;
}

.fq .fq-status {
  position: sticky;
  bottom: .4rem;
  background: #e2f1e4;
  color: #214e38;
  font-weight: 650;
  border: 1px solid #a9c5b0;
  border-radius: .65rem;
  margin: .75rem 0 0;
  padding: .65rem .85rem;
  z-index: 2;
  overflow-wrap: anywhere;
}

.fq .fq-error {
  background: #fff0e8;
  color: #843123;
  border-color: #d8aa9d;
}

.fq .fq-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,14rem),1fr));
  gap: 1rem;
}

.fq .fq-field {
  display: grid;
  gap: .35rem;
  min-width: 0;
}

.fq .fq-field-name,.fq .fq-opts legend {
  font-weight: 700;
  color: var(--fq-ink);
}

.fq .fq-input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: .65rem .8rem;
  border: 1px solid #9db5a8;
  background: white;
  color: #163b35;
  border-radius: .65rem;
  line-height: 1.4;
}

.fq textarea.fq-input {
  resize: vertical;
}

.fq input.fq-input::placeholder,.fq textarea.fq-input::placeholder {
  color: #637b72;
  opacity: 1;
}

.fq .fq-navgrid {
  display: flex;
  gap: .35rem;
  flex-wrap: wrap;
}

.fq .fq-num {
  min-width: 44px;
  padding: .35rem .55rem;
}

.fq .fq-num[aria-current] {
  background: var(--fq-deep);
  border-color: var(--fq-deep);
  color: white;
}

.fq .fq-opts,.fq .fq-choices {
  border: 0;
  min-width: 0;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .55rem;
}

.fq .fq-opts legend,.fq .fq-choices legend {
  display: block;
  padding: 0;
  margin: 0 0 .5rem;
  float: none;
}

.fq .fq-edit-option {
  display: grid;
  grid-template-columns: 2rem minmax(0,1fr) auto;
  gap: .6rem;
  align-items: center;
}

.fq .fq-letter {
  display: inline-grid;
  flex: none;
  place-items: center;
  min-width: 2rem;
  height: 2rem;
  border-radius: .56rem;
  background: #e9efe6;
  color: #214e41;
  font-weight: 750;
}

.fq .fq-correct-label {
  display: flex;
  align-items: center;
  gap: .3rem;
  min-height: 44px;
  padding: .32rem .12rem;
  font-size: .9rem;
}

.fq .fq-check {
  appearance: auto;
  min-width: 1.15rem;
  min-height: 1.15rem;
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--fq-teal);
  margin: 0;
  cursor: pointer;
  flex: none;
}

.fq .fq-translation {
  background: var(--fq-bg);
  border-radius: .7rem;
  padding: .7rem .85rem;
}

.fq .fq-translation summary,.fq .fq-review summary {
  font-weight: 680;
  color: var(--fq-ink);
  cursor: pointer;
  min-height: 32px;
  overflow-wrap: anywhere;
}

.fq .fq-translation[open]>*+* {
  margin-top: .7rem;
}

.fq .fq-review {
  display: block;
}

.fq .fq-review[open]>.fq-key-list {
  margin-top: 1rem;
}

.fq .fq-review[open]>.fq-explain {
  margin-top: .8rem;
}

.fq .fq-question {
  font: inherit;
  font-weight: 730;
  letter-spacing: -.025em;
  font-size: clamp(1.25rem,3.8vw,1.75rem);
  line-height: 1.24;
  color: var(--fq-ink);
  overflow-wrap: anywhere;
}

.fq .fq-playhead {
  display: grid;
  gap: .8rem;
}

.fq .fq-progress-row {
  font-size: .92rem;
  color: var(--fq-ink);
  background: var(--fq-surface);
  border: 1px solid var(--fq-line);
  border-radius: .72rem;
  padding: .55rem .85rem;
}

.fq .fq-progress {
  appearance: none;
  display: block;
  width: min(13rem,42%);
  height: .52rem;
  border: 0;
  border-radius: 1rem;
  overflow: hidden;
  background: #dce7dc;
  color: var(--fq-teal);
}

.fq .fq-progress::-webkit-progress-bar {
  background: #dce7dc;
  border-radius: 1rem;
}

.fq .fq-progress::-webkit-progress-value {
  background: var(--fq-teal);
  border-radius: 1rem;
}

.fq .fq-progress::-moz-progress-bar {
  background: var(--fq-teal);
  border-radius: 1rem;
}

.fq .fq-choice {
  min-height: 53px;
  display: flex;
  align-items: center;
  gap: .7rem;
  position: relative;
  padding: .58rem .8rem;
  background: var(--fq-bg);
  border: 1px solid var(--fq-line);
  border-radius: .7rem;
  cursor: pointer;
}

.fq .fq-choice.fq-chosen {
  background: #e2f2e7;
  border: 2px solid var(--fq-teal);
  padding: calc(.58rem - 1px) calc(.8rem - 1px);
}

.fq .fq-none {
  background: var(--fq-surface);
  border-style: dashed;
  margin-top: .18rem;
}

.fq .fq-none.fq-chosen {
  border-style: solid;
}

.fq .fq-option-value {
  overflow-wrap: anywhere;
  min-width: 0;
}

.fq .fq-key-list {
  display: grid;
  gap: .45rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.fq .fq-key-row {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 46px;
  padding: .45rem .65rem;
  background: var(--fq-bg);
  border: 1px solid var(--fq-line);
  border-radius: .62rem;
  color: #355449;
}

.fq .fq-key-row.fq-yes {
  background: #e1f1df;
  border-color: #91b895;
  color: #183f2c;
}

.fq .fq-key-row.fq-wrong {
  background: #fff0e8;
  border-color: #d7ad99;
  color: #633f2c;
}

.fq .fq-marks {
  display: flex;
  gap: .25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-left: auto;
  max-width: 35%;
  font-size: .75rem;
  font-weight: 720;
  line-height: 1.2;
}

.fq .fq-mark {
  border: 1px solid currentColor;
  border-radius: .42rem;
  padding: .16rem .35rem;
}

.fq .fq-feedback-head {
  border-left: 4px solid #b46b43;
  padding-left: .8rem;
}

.fq .fq-feedback-head.fq-success {
  border-color: var(--fq-teal);
}

.fq .fq-feedback-head .fq-kicker {
  color: var(--fq-muted);
}

.fq .fq-original {
  font-size: 1.14rem;
  font-weight: 680;
  margin: 0;
  overflow-wrap: anywhere;
}

.fq .fq-notebox {
  padding: .8rem 1rem;
  background: #f0f3e7;
  border-radius: .7rem;
}

.fq .fq-explain {
  white-space: pre-line;
  overflow-wrap: anywhere;
  margin: .2rem 0 0;
  color: #305343;
}

.fq .fq-score {
  margin: 0;
  color: var(--fq-deep);
  font-size: 1.5rem;
}

.fq .fq-score strong {
  font-size: 2.9rem;
  font-weight: 740;
  line-height: 1.1;
}

.fq .fq-score span {
  color: var(--fq-muted);
}

@media(max-width:500px) {
  .fq .fq-edit-option {
    grid-template-columns: 1.7rem minmax(0,1fr);
    gap: .25rem .4rem;
  }
  .fq .fq-edit-option>.fq-correct-label {
    grid-column: 2;
    justify-self: start;
    min-height: 44px;
  }
  .fq .fq-edit-option>.fq-letter {
    min-width: 1.65rem;
  }
  .fq .fq-card,.fq .fq-group {
    border-radius: .85rem;
  }
  .fq .fq-marks {
    font-size: .75rem;
  }
  .fq .fq-actions {
    align-items: stretch;
  }
  .fq .fq-actions>.fq-btn {
    flex: 1 1 auto;
  }
  .fq .fq-row .fq-btn {
    padding-left: .6rem;
    padding-right: .6rem;
  }
  .fq .fq-progress {
    width: 35%;
  }
}

@media(prefers-reduced-motion:reduce) {
  .fq .fq-btn {
    transition: none;
  }
}
.fq .fq-language-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,16rem),1fr));
  gap: .75rem;
  margin: 1rem 0;
}
.fq .fq-language-card {
  display: grid;
  align-content: start;
  gap: .7rem;
  min-width: 0;
  padding: .8rem;
  background: var(--fq-bg);
  border: 1px solid var(--fq-line);
  border-radius: .65rem;
}
.fq .fq-language-title {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0;
  font-size: 1rem;
}
.fq .fq-language-code {
  padding: .1rem .35rem;
  border: 1px solid #97ada0;
  border-radius: .3rem;
  font-size: .79rem;
  letter-spacing: .04em;
}
.fq .fq-review-question {margin: 0;font-weight: 680;}
.fq .fq-copy {white-space: pre-line;overflow-wrap: anywhere;}
.fq .fq-fallback {display: block;font-size: .79rem;font-weight: 500;color: var(--fq-muted);}
.fq .fq-review-mark {margin-left: auto;color: #245c3e;font-weight: 650;font-size: .8rem;}
.fq .fq-language-card .fq-key-row {flex-wrap: wrap;}
.fq .fq-language-card .fq-option-value {flex: 1 1 5rem;}

.fq .fq-translate-panel {display:grid;gap:.55rem;border:1px solid var(--fq-line);border-radius:.75rem;background:#edf5ef;padding:.9rem 1rem;}
.fq .fq-translate-hint,.fq .fq-translate-status {color:var(--fq-muted);line-height:1.45;margin:0;}
.fq .fq-translate-status:not(:empty){color:var(--fq-ink);font-weight:620;}
.fq .fq-translate-status:empty {display:none;}
