.question-shell {
  width: min(1480px, calc(100% - 48px));
}

.question-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 22px;
  align-items: stretch;
  padding: 34px 32px;
  border-radius: 24px;
  background: linear-gradient(150deg, #172033, #223860 62%, #1b2a48);
  color: #fff;
  box-shadow: 0 28px 70px rgba(17, 24, 39, .16);
}

.question-hero h1 {
  margin: 0;
  max-width: 13ch;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.question-hero p {
  max-width: 68ch;
  margin: 16px 0 0;
  color: rgba(255,255,255,.82);
  line-height: 1.72;
}

.question-score {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: rgba(255,255,255,.08);
}

.question-score span {
  color: rgba(255,255,255,.72);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.question-score strong {
  font-size: 2.4rem;
  line-height: 1;
}

.question-score p {
  margin: 0;
  font-size: .92rem;
}

.question-board {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.question-filters,
.question-list-area {
  border: 1px solid var(--stroke);
  border-radius: 18px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 18px 42px rgba(15,23,42,.06);
}

.question-filters {
  position: sticky;
  top: 16px;
  align-self: start;
  padding: 18px;
}

.filter-head,
.question-list-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.clear-filters {
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
  color: var(--ink-soft);
  cursor: pointer;
  font-weight: 800;
}

.filter-search {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  color: var(--ink-soft);
  font-size: .9rem;
  font-weight: 800;
}

.filter-search input {
  width: 100%;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 12px 13px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

.filter-search input:focus {
  border-color: rgba(217,119,6,.45);
  box-shadow: 0 0 0 4px rgba(217,119,6,.09);
}

.filter-group + .filter-group { margin-top: 20px; }

.filter-group h2 {
  margin: 0 0 10px;
  color: #10264a;
  font-size: .92rem;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 8px 11px;
  background: #fff;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: .86rem;
  font-weight: 850;
}

.filter-chip.is-active {
  border-color: rgba(217,119,6,.45);
  background: rgba(217,119,6,.12);
  color: #b45309;
}

.question-list-area {
  padding: 24px;
}

.question-list-head {
  margin-bottom: 18px;
}

.question-list-head h2 {
  margin: 8px 0 0;
  font-family: 'Playfair Display', Georgia, serif;
  color: #10264a;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.result-count {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 9px 13px;
  background: #fff8f0;
  color: #b45309;
  font-size: .86rem;
  font-weight: 900;
}

.question-list {
  display: grid;
  gap: 16px;
}

.question-card {
  border: 1px solid var(--stroke);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.question-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--stroke);
  background: #fffaf4;
}

.question-id {
  color: #b45309;
  font-size: .82rem;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.question-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.question-tag {
  border-radius: 999px;
  padding: 5px 9px;
  background: #fff;
  color: var(--ink-soft);
  font-size: .76rem;
  font-weight: 850;
}

.question-body {
  padding: 18px 18px 20px;
}

.question-stem {
  margin: 0 0 14px;
  color: #172033;
  font-size: 1.04rem;
  font-weight: 900;
  line-height: 1.55;
}

.question-passage {
  margin: 0 0 14px;
  padding: 13px 14px;
  border-left: 4px solid var(--verb);
  border-radius: 0 8px 8px 0;
  background: #fff8f0;
  color: #172033;
  line-height: 1.65;
}

.question-options {
  display: grid;
  gap: 9px;
}

.question-option {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--stroke);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.question-option:hover { background: #fff8f0; }

.question-option-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 100%;
  min-height: 44px;
  border-right: 1px solid var(--stroke);
  color: #b45309;
  font-weight: 950;
}

.question-option.is-correct {
  border-color: rgba(15,118,110,.36);
  background: rgba(15,118,110,.08);
}

.question-option.is-wrong {
  border-color: rgba(185,28,92,.26);
  background: rgba(185,28,92,.06);
}

.question-option:disabled {
  cursor: default;
}

.question-feedback {
  margin-top: 14px;
  padding: 14px 15px;
  border-radius: 9px;
  background: #fff8f0;
  color: #10264a;
  line-height: 1.6;
}

.question-feedback strong {
  display: block;
  margin-bottom: 4px;
}

.empty-state {
  padding: 32px;
  border: 1px dashed rgba(23,32,51,.18);
  border-radius: 14px;
  text-align: center;
  background: #fff;
}

.empty-state h3 {
  margin: 0 0 6px;
  color: #10264a;
}

.empty-state p {
  margin: 0;
  color: var(--ink-soft);
}

@media (max-width: 980px) {
  .question-hero,
  .question-board {
    grid-template-columns: 1fr;
  }

  .question-filters {
    position: relative;
    top: 0;
  }
}

@media (max-width: 640px) {
  .question-shell {
    width: min(100% - 24px, 1480px);
  }

  .question-hero,
  .question-list-area {
    padding: 20px;
  }

  .question-card-head,
  .question-list-head {
    display: grid;
  }
}
