.quick-lab {
  padding: clamp(17px, 3vw, 26px);
  min-width: 0;
  border: 1px solid var(--line, #e0e4ed);
  border-radius: 15px;
  background: #fff;
  color: var(--ink, #20243b);
}
.quick-lab h2 { margin: 0; font-size: 1.23rem; line-height: 1.5; }
.ql-intro { margin: 5px 0 16px; color: var(--sub, #60677b); }
.quick-lab h3 { margin: 0; font-size: 1.05rem; line-height: 1.55; }
.ql-scenario { background: #f5f6fc; border-radius: 12px; padding: 16px; }
.ql-question { margin: 6px 0 14px; }
.ql-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.ql-choice, .ql-control {
  min-height: 40px;
  border: 1px solid #cdd0e3;
  border-radius: 7px;
  padding: 6px 9px;
  background: #fff;
  color: #393858;
  font: inherit;
  font-size: .94rem;
  line-height: 1.4;
  cursor: pointer;
}
.ql-choice:hover, .ql-control:hover:not(:disabled) { border-color: #7771c4; }
.ql-choice[aria-pressed="true"] { border-color: #554eb9; background: #eeecff; color: #3e3699; font-weight: 650; }
.ql-feedback:not(:empty) { margin-top: 13px; border-left: 3px solid; padding: 8px 12px; border-radius: 3px 8px 8px 3px; }
.ql-feedback p { margin: 3px 0 0; }
.ql-correct { background: #e9f6ee; color: #21553f; }
.ql-rethink { background: #fff3e8; color: #744323; }
.ql-transfer { font-size: .92rem; }
.ql-navigation { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
.ql-control { padding-inline: 14px; }
.ql-control:disabled { opacity: .48; cursor: default; }
.ql-count { font-size: .92rem; color: var(--sub, #60677b); }
.ql-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ql-label { display: grid; min-width: 0; gap: 5px; font-size: .95rem; font-weight: 650; }
.ql-input {
  display: block;
  width: 100%;
  min-height: 5.3em;
  resize: vertical;
  padding: 9px 11px;
  border: 1px solid #cdd0e3;
  border-radius: 7px;
  background: #fff;
  color: var(--ink, #20243b);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
}
.ql-input::placeholder { color: #686c7e; }
.quick-lab .ql-result-title { margin-top: 16px; }
.ql-preview { margin: 6px 0 12px; border-radius: 8px; padding: 12px 14px; background: #f4f4fa; font-family: inherit; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.ql-checks { margin: 8px 0 0; padding-left: 1.4em; }
.ql-checks li + li { margin-top: 4px; }
@media (max-width: 680px) {
  .ql-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ql-form { grid-template-columns: minmax(0, 1fr); }
  .ql-scenario { padding: 12px; }
}
