.igoma-app {
  --igoma-ink: #28231e;
  --igoma-muted: #6e655b;
  --igoma-paper: #fffdf8;
  --igoma-sand: #f5ecdc;
  --igoma-line: #dfd2bf;
  --igoma-orange: #d76523;
  --igoma-orange-dark: #a84313;
  --igoma-yellow: #f2b43c;
  --igoma-green: #2f7d4b;
  --igoma-green-soft: #e4f3e9;
  --igoma-red: #b64036;
  --igoma-red-soft: #f7e7e4;
  --igoma-blue: #315c79;
  --igoma-shadow: 0 18px 48px rgba(84, 58, 27, 0.12);
  width: min(1160px, 100%);
  margin: 2rem auto;
  color: var(--igoma-ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

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

.igoma-app h1,
.igoma-app h2,
.igoma-app h3,
.igoma-app p {
  margin-top: 0;
}

.igoma-app h1,
.igoma-app h2,
.igoma-app h3 {
  color: var(--igoma-ink);
  font-family: inherit;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.igoma-app h1 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.02;
}

.igoma-app h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.18;
}

.igoma-app h3 {
  margin-bottom: 0.25rem;
  font-size: 1.08rem;
}

.igoma-app a {
  color: var(--igoma-orange-dark);
}

.igoma-app button,
.igoma-app select,
.igoma-app input {
  font: inherit;
}

.igoma-app button:focus-visible,
.igoma-app a:focus-visible,
.igoma-app select:focus-visible,
.igoma-app input:focus-visible,
.igoma-app summary:focus-visible {
  outline: 3px solid rgba(49, 92, 121, 0.55);
  outline-offset: 3px;
}

.igoma-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 0.72rem 1.15rem;
  text-decoration: none !important;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 140ms ease, background-color 140ms ease, border-color 140ms ease;
}

.igoma-button:hover {
  transform: translateY(-1px);
}

.igoma-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.igoma-button-primary {
  border-color: var(--igoma-orange);
  background: var(--igoma-orange);
  color: #fff !important;
}

.igoma-button-primary:hover {
  border-color: var(--igoma-orange-dark);
  background: var(--igoma-orange-dark);
}

.igoma-button-secondary {
  border-color: var(--igoma-line);
  background: var(--igoma-paper);
  color: var(--igoma-ink) !important;
}

.igoma-button-secondary:hover {
  border-color: var(--igoma-orange);
}

.igoma-kicker {
  margin-bottom: 0.4rem;
  color: var(--igoma-orange-dark);
  font-size: 0.83rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.igoma-logo {
  display: block;
  width: 92px;
  height: auto;
  margin-bottom: 1.25rem;
}

.igoma-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  overflow: hidden;
  border: 1px solid var(--igoma-line);
  border-radius: 24px;
  background: var(--igoma-paper);
  box-shadow: var(--igoma-shadow);
}

.igoma-hero-copy {
  align-self: center;
  padding: clamp(1.6rem, 5vw, 4.4rem);
}

.igoma-lead {
  max-width: 650px;
  margin-bottom: 1.7rem;
  color: var(--igoma-muted);
  font-size: 1.12rem;
}

.igoma-hero-actions,
.igoma-result-actions,
.igoma-stats-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.igoma-privacy-note {
  margin: 1.3rem 0 0;
  color: var(--igoma-muted);
  font-size: 0.88rem;
}

.igoma-hero-visual {
  position: relative;
  min-height: 480px;
  background: #d6822e;
}

.igoma-hero-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.igoma-hero-facts {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  border-radius: 14px;
  background: rgba(34, 25, 16, 0.86);
  color: #fff;
  padding: 0.8rem;
  backdrop-filter: blur(8px);
}

.igoma-hero-facts span {
  text-align: center;
  font-size: 0.78rem;
}

.igoma-hero-facts strong {
  display: block;
  font-size: 1.35rem;
}

.igoma-loading,
.igoma-error-box {
  border: 1px solid var(--igoma-line);
  border-radius: 18px;
  background: var(--igoma-paper);
  box-shadow: var(--igoma-shadow);
  padding: 2.5rem;
  text-align: center;
}

.igoma-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 0.6rem;
  border: 3px solid var(--igoma-line);
  border-top-color: var(--igoma-orange);
  border-radius: 50%;
  vertical-align: -4px;
  animation: igoma-spin 750ms linear infinite;
}

@keyframes igoma-spin {
  to { transform: rotate(360deg); }
}

.igoma-quiz-shell,
.igoma-result-shell,
.igoma-stats-shell {
  border: 1px solid var(--igoma-line);
  border-radius: 22px;
  background: linear-gradient(145deg, #fffdf8 0%, #fbf4e8 100%);
  box-shadow: var(--igoma-shadow);
}

.igoma-quiz-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem clamp(1rem, 4vw, 2.2rem);
}

.igoma-category-label {
  margin-right: 0.8rem;
  color: var(--igoma-orange-dark);
  font-weight: 800;
}

.igoma-question-position,
.igoma-answered-count {
  color: var(--igoma-muted);
  font-size: 0.9rem;
}

.igoma-progress {
  height: 8px;
  background: #e8ddcd;
}

.igoma-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--igoma-orange), var(--igoma-yellow));
  transition: width 220ms ease;
}

.igoma-question-card {
  min-height: 520px;
  padding: clamp(1.35rem, 5vw, 3.2rem);
}

.igoma-question-heading {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.igoma-question-number {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: var(--igoma-orange);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 850;
}

.igoma-question-heading h2 {
  max-width: 900px;
  margin-top: 0.25rem;
}

.igoma-question-image {
  display: block;
  width: min(620px, 100%);
  max-height: 360px;
  margin: 1.35rem auto;
  border-radius: 15px;
  object-fit: contain;
}

.igoma-answer-area {
  margin-top: 1.45rem;
}

.igoma-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0;
  border: 0;
  padding: 0;
}

.igoma-option {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  min-height: 70px;
  border: 2px solid var(--igoma-line);
  border-radius: 13px;
  background: var(--igoma-paper);
  padding: 0.8rem;
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease, transform 140ms ease;
}

.igoma-option:hover {
  border-color: var(--igoma-orange);
  transform: translateY(-1px);
}

.igoma-option:has(input:checked) {
  border-color: var(--igoma-orange);
  background: #fff0df;
}

.igoma-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.igoma-option-key {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--igoma-sand);
  color: var(--igoma-orange-dark);
  font-weight: 850;
}

.igoma-option:has(input:checked) .igoma-option-key {
  background: var(--igoma-orange);
  color: #fff;
}

.igoma-matching {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.igoma-match-row {
  display: grid;
  gap: 0.75rem;
  border: 1px solid var(--igoma-line);
  border-radius: 14px;
  background: var(--igoma-paper);
  padding: 1rem;
}

.igoma-match-row img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  border-radius: 10px;
  object-fit: contain;
}

.igoma-match-row label > span {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 800;
}

.igoma-match-row select,
.igoma-controls select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #bdae99;
  border-radius: 8px;
  background: #fff;
  color: var(--igoma-ink);
  padding: 0.55rem 2.2rem 0.55rem 0.7rem;
}

.igoma-inline-error {
  margin: 1.15rem 0 0;
  color: var(--igoma-red);
  font-weight: 750;
}

.igoma-question-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  border-top: 1px solid var(--igoma-line);
  padding: 1.15rem clamp(1rem, 4vw, 2.2rem);
}

.igoma-answered-count {
  text-align: center;
}

.igoma-result-shell {
  overflow: hidden;
}

.igoma-result-hero {
  background: linear-gradient(135deg, #2b261f, #52351f);
  color: #fff;
  padding: clamp(2rem, 6vw, 4.5rem);
  text-align: center;
}

.igoma-result-hero h1,
.igoma-result-hero .igoma-kicker {
  color: #fff;
}

.igoma-result-hero > p:not(.igoma-kicker) {
  max-width: 700px;
  margin-right: auto;
  margin-left: auto;
}

.igoma-score-ring {
  display: grid;
  width: 150px;
  height: 150px;
  margin: 1rem auto 1.3rem;
  place-content: center;
  border: 8px solid var(--igoma-yellow);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.igoma-score-ring strong {
  color: #fff;
  font-size: 3.2rem;
  line-height: 1;
}

.igoma-score-ring span {
  color: #f4dfbd;
}

.igoma-result-section {
  padding: clamp(1.4rem, 4vw, 2.8rem);
}

.igoma-result-section + .igoma-result-section {
  border-top: 1px solid var(--igoma-line);
}

.igoma-category-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.igoma-category-result {
  border: 1px solid var(--igoma-line);
  border-radius: 12px;
  background: var(--igoma-paper);
  padding: 1rem;
}

.igoma-category-result > span,
.igoma-category-result > small {
  display: block;
}

.igoma-category-result > span {
  min-height: 2.8em;
  color: var(--igoma-muted);
  font-weight: 700;
}

.igoma-category-result strong {
  font-size: 1.55rem;
}

.igoma-mini-bar,
.igoma-colored-bar,
.igoma-distribution-track {
  overflow: hidden;
  border-radius: 999px;
  background: #e7ddd0;
}

.igoma-mini-bar {
  height: 8px;
  margin: 0.65rem 0;
}

.igoma-mini-bar span,
.igoma-colored-bar span,
.igoma-distribution-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--igoma-orange);
}

.igoma-solution-list {
  display: grid;
  gap: 0.65rem;
}

.igoma-solution {
  overflow: hidden;
  border: 1px solid var(--igoma-line);
  border-left-width: 7px;
  border-radius: 10px;
  background: var(--igoma-paper);
}

.igoma-solution.is-correct { border-left-color: var(--igoma-green); }
.igoma-solution.is-wrong { border-left-color: var(--igoma-red); }

.igoma-solution summary {
  padding: 0.9rem 1rem;
  cursor: pointer;
  font-weight: 700;
}

.igoma-solution summary span {
  display: inline-block;
  min-width: 58px;
  margin-right: 0.55rem;
  color: var(--igoma-muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.igoma-solution.is-correct summary span { color: var(--igoma-green); }
.igoma-solution.is-wrong summary span { color: var(--igoma-red); }

.igoma-solution-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  border-top: 1px solid var(--igoma-line);
  padding: 1rem;
}

.igoma-solution-body strong {
  display: block;
  margin-bottom: 0.25rem;
}

.igoma-solution-body p,
.igoma-solution-body small {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.igoma-result-hint {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  margin: -0.3rem 0 1rem;
  color: var(--igoma-muted);
  font-size: 0.9rem;
}

.igoma-info-icon {
  display: inline-grid;
  width: 24px;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--igoma-blue);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 0.93rem;
  font-style: italic;
  font-weight: 800;
  line-height: 1;
}

.igoma-extra-info {
  grid-column: 1 / -1;
  overflow: hidden;
  margin-top: 0.2rem;
  border: 1px solid #cbd8df;
  border-radius: 10px;
  background: #f2f7fa;
}

.igoma-extra-info > summary {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  padding: 0.7rem 0.85rem;
  color: var(--igoma-blue);
  font-weight: 800;
  list-style: none;
}

.igoma-solution .igoma-extra-info > summary > span {
  display: inline;
  min-width: 0;
  margin: 0;
  color: var(--igoma-blue);
  font-size: 0.95rem;
  letter-spacing: normal;
  text-transform: none;
}

.igoma-solution .igoma-extra-info > summary > .igoma-info-icon {
  display: inline-grid;
  width: 24px;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--igoma-blue);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 0.93rem;
  font-style: italic;
  font-weight: 800;
  line-height: 1;
}

.igoma-extra-info > summary::-webkit-details-marker {
  display: none;
}

.igoma-extra-info[open] > summary {
  border-bottom: 1px solid #cbd8df;
}

.igoma-extra-info-body {
  padding: 0.9rem;
}

.igoma-extra-info-body > p + p {
  margin-top: 0.7rem;
}

.igoma-extra-info-section + .igoma-extra-info-section {
  margin-top: 0.9rem;
}

.igoma-extra-info-section h4 {
  margin: 0 0 0.3rem;
  color: var(--igoma-ink);
  font-size: 0.97rem;
}

.igoma-extra-info-section ul {
  margin: 0;
  padding-left: 1.25rem;
}

.igoma-extra-info-figure {
  margin: 1rem 0 0;
}

.igoma-extra-info-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #cbd8df;
  border-radius: 8px;
}

.igoma-extra-info-figure figcaption {
  margin-top: 0.35rem;
  color: var(--igoma-muted);
  font-size: 0.78rem;
}

.igoma-info-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.igoma-info-links a {
  display: inline-flex;
  gap: 0.3rem;
  align-items: center;
  border: 1px solid #b8cad5;
  border-radius: 8px;
  background: #fff;
  padding: 0.55rem 0.7rem;
  color: var(--igoma-blue);
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
}

.igoma-info-links a:hover {
  border-color: var(--igoma-blue);
  text-decoration: underline;
}

.igoma-result-actions {
  border-top: 1px solid var(--igoma-line);
  padding: clamp(1.4rem, 4vw, 2.8rem);
}

.igoma-stats-shell {
  overflow: hidden;
}

.igoma-stats-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(135deg, #fff7e8, #f0dcc1);
  padding: clamp(1.5rem, 5vw, 3.5rem);
}

.igoma-stats-hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.igoma-stats-hero p:last-child {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--igoma-muted);
}

.igoma-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--igoma-line);
  border-top: 1px solid var(--igoma-line);
  border-bottom: 1px solid var(--igoma-line);
}

.igoma-stat-card {
  background: var(--igoma-paper);
  padding: 1.35rem;
}

.igoma-stat-card span,
.igoma-stat-card strong {
  display: block;
}

.igoma-stat-card span {
  color: var(--igoma-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.igoma-stat-card strong {
  margin-top: 0.2rem;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
}

.igoma-stats-section {
  padding: clamp(1.4rem, 4vw, 3rem);
}

.igoma-stats-section + .igoma-stats-section {
  border-top: 1px solid var(--igoma-line);
}

.igoma-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.3rem;
}

.igoma-section-heading h2 {
  margin-bottom: 0;
}

.igoma-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: end;
}

.igoma-controls label {
  display: grid;
  gap: 0.3rem;
  color: var(--igoma-muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.igoma-controls select {
  min-width: 180px;
}

.igoma-distribution {
  display: grid;
  gap: 0.85rem;
}

.igoma-distribution-row {
  display: grid;
  grid-template-columns: 88px minmax(130px, 1fr) 76px;
  gap: 0.8rem;
  align-items: center;
}

.igoma-distribution-row > span {
  color: var(--igoma-muted);
  font-weight: 700;
}

.igoma-distribution-row > strong {
  font-size: 0.9rem;
  text-align: right;
}

.igoma-distribution-track {
  height: 20px;
}

.igoma-distribution-track span {
  background: linear-gradient(90deg, var(--igoma-orange), var(--igoma-yellow));
}

.igoma-category-ranking {
  display: grid;
  gap: 0.7rem;
}

.igoma-category-rank {
  display: grid;
  grid-template-columns: 44px minmax(190px, 1.2fr) minmax(180px, 2fr) 76px;
  gap: 1rem;
  align-items: center;
  border: 1px solid var(--igoma-line);
  border-radius: 12px;
  background: var(--igoma-paper);
  padding: 0.85rem 1rem;
}

.igoma-rank-number {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--igoma-sand);
  font-weight: 850;
}

.igoma-category-rank p {
  margin-bottom: 0;
  color: var(--igoma-muted);
  font-size: 0.86rem;
}

.igoma-category-rank > strong {
  text-align: right;
}

.igoma-colored-bar {
  height: 13px;
}

.igoma-level-high .igoma-colored-bar span { background: var(--igoma-green); }
.igoma-level-medium .igoma-colored-bar span { background: var(--igoma-yellow); }
.igoma-level-low .igoma-colored-bar span { background: var(--igoma-red); }

.igoma-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.igoma-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: var(--igoma-paper);
}

.igoma-table th,
.igoma-table td {
  border-bottom: 1px solid var(--igoma-line);
  padding: 0.8rem 0.7rem;
  text-align: left;
  vertical-align: middle;
}

.igoma-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #efe4d3;
  color: #5c5146;
  font-size: 0.76rem;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.igoma-table tbody tr:hover {
  background: #fff8ed;
}

.igoma-team-table td:not(:nth-child(2)),
.igoma-team-table th:not(:nth-child(2)),
.igoma-question-table td:nth-child(n+3),
.igoma-question-table th:nth-child(n+3) {
  text-align: center;
}

.igoma-table .is-sorted {
  background: #fff0d6;
  color: var(--igoma-orange-dark);
  font-weight: 850;
}

.igoma-table-rank {
  display: inline-grid;
  min-width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 50%;
  background: var(--igoma-sand);
  font-weight: 850;
}

.igoma-question-table td:first-child {
  width: 42%;
}

.igoma-question-copy {
  display: block;
  margin-top: 0.25rem;
  color: var(--igoma-muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.igoma-count {
  display: inline-grid;
  min-width: 34px;
  min-height: 30px;
  place-items: center;
  border-radius: 8px;
  font-weight: 850;
}

.igoma-count.is-right {
  background: var(--igoma-green-soft);
  color: var(--igoma-green);
}

.igoma-count.is-wrong {
  background: var(--igoma-red-soft);
  color: var(--igoma-red);
}

.igoma-success-cell {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) 58px;
  gap: 0.65rem;
  align-items: center;
}

.igoma-success-cell strong {
  text-align: right;
  white-space: nowrap;
}

.igoma-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

@media (max-width: 860px) {
  .igoma-hero {
    grid-template-columns: 1fr;
  }

  .igoma-hero-visual {
    min-height: 390px;
  }

  .igoma-category-result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .igoma-stats-hero,
  .igoma-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .igoma-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .igoma-category-rank {
    grid-template-columns: 40px minmax(0, 1fr) 70px;
  }

  .igoma-category-rank .igoma-colored-bar {
    grid-column: 2 / -1;
  }
}

@media (max-width: 640px) {
  .igoma-app {
    margin: 1rem auto;
  }

  .igoma-hero,
  .igoma-quiz-shell,
  .igoma-result-shell,
  .igoma-stats-shell {
    border-radius: 14px;
  }

  .igoma-hero-copy {
    padding: 1.35rem;
  }

  .igoma-hero-visual {
    min-height: 320px;
  }

  .igoma-hero-facts {
    right: 0.6rem;
    bottom: 0.6rem;
    left: 0.6rem;
  }

  .igoma-hero-actions,
  .igoma-result-actions,
  .igoma-stats-actions {
    display: grid;
  }

  .igoma-quiz-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .igoma-question-card {
    min-height: 0;
    padding: 1.15rem;
  }

  .igoma-question-heading {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 0.7rem;
  }

  .igoma-question-number {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  .igoma-options,
  .igoma-matching,
  .igoma-category-result-grid,
  .igoma-stat-grid {
    grid-template-columns: 1fr;
  }

  .igoma-match-row img {
    height: auto;
  }

  .igoma-question-footer {
    grid-template-columns: 1fr 1fr;
  }

  .igoma-answered-count {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .igoma-solution-body {
    grid-template-columns: 1fr;
  }

  .igoma-solution-body p,
  .igoma-solution-body small {
    grid-column: auto;
  }

  .igoma-controls {
    width: 100%;
  }

  .igoma-controls label,
  .igoma-controls select,
  .igoma-controls .igoma-button {
    width: 100%;
  }

  .igoma-distribution-row {
    grid-template-columns: 75px minmax(95px, 1fr) 70px;
    gap: 0.55rem;
  }

  .igoma-category-rank {
    grid-template-columns: 34px minmax(0, 1fr) 64px;
    gap: 0.7rem;
    padding: 0.75rem;
  }

  .igoma-rank-number {
    width: 32px;
    height: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .igoma-app *,
  .igoma-app *::before,
  .igoma-app *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .igoma-app {
    width: 100%;
    margin: 0;
    color: #000;
  }

  .igoma-stats-shell {
    border: 0;
    box-shadow: none;
  }

  .igoma-stats-actions,
  .igoma-controls {
    display: none !important;
  }

  .igoma-stats-section {
    break-inside: avoid;
  }

  .igoma-table-wrap {
    overflow: visible;
  }

  .igoma-table {
    min-width: 0;
    font-size: 10px;
  }
}
