.mks-gre-practice-set {
	--mks-practice-purple: #7c2bea;
	--mks-practice-purple-dark: #5e16c9;
	--mks-practice-purple-soft: #e8dcfb;
	--mks-practice-border: #c5a7f7;
	--mks-practice-text: #24212d;
	width: min(100%, 1080px);
	max-width: 1080px;
	margin: 10px auto 24px;
	padding: 0 10px 18px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--mks-practice-text);
	line-height: 1.45;
}

.mks-gre-practice-set *,
.mks-gre-practice-set *::before,
.mks-gre-practice-set *::after {
	box-sizing: border-box;
}

.mks-gre-practice-set h1 {
	margin: 0 auto 6px;
	padding: 0 0 8px;
	text-align: center;
	font-size: clamp(22px, 2.8vw, 34px);
	line-height: 1.12;
	font-weight: 900;
	color: #2b2b31;
	border-bottom: 2px solid var(--mks-practice-purple);
}

.mks-gre-practice-set .test-subtitle {
	text-align: center;
	font-size: clamp(15px, 1.7vw, 20px);
	font-weight: 900;
	color: var(--mks-practice-purple);
	margin: 2px 0 12px;
}

.mks-gre-practice-set .q-card {
	background: var(--mks-practice-purple-soft);
	border: 1px solid var(--mks-practice-border);
	border-radius: 12px;
	padding: 12px 14px;
	margin: 10px 0;
	box-shadow: 0 8px 18px rgba(124, 43, 234, .06);
}

.mks-gre-practice-set .q-head {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	margin: 0 0 10px;
	padding-bottom: 9px;
	border-bottom: 1px solid rgba(124, 43, 234, .2);
	font-size: clamp(15px, 1.45vw, 18px);
	font-weight: 900;
	line-height: 1.32;
	color: #24212d;
}

.mks-gre-practice-set .q-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	padding: 0 7px;
	background: var(--mks-practice-purple);
	color: #fff;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 900;
	line-height: 1;
	box-shadow: 0 5px 12px rgba(124, 43, 234, .18);
}

.mks-gre-practice-set .q-text {
	min-width: 0;
	width: 100%;
}

.mks-gre-practice-set .q-text p {
	margin: 0;
}

/* Keep the exact DA source data readable at desktop and mobile widths. */
.mks-gre-practice-set[data-source-set^="DA-PS-"] .q-text svg {
	display: block;
	width: 100%;
	max-width: 520px;
	height: auto;
	margin: 16px auto;
}

.mks-gre-practice-set[data-source-set^="DA-PS-"] .q-text table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
	margin: 14px 0;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
}

.mks-gre-practice-set[data-source-set^="DA-PS-"] .q-text caption {
	padding: 6px 0;
	font-size: 16px;
	font-weight: 650;
	text-align: left;
}

.mks-gre-practice-set[data-source-set^="DA-PS-"] .q-text th,
.mks-gre-practice-set[data-source-set^="DA-PS-"] .q-text td {
	padding: 8px 6px;
	border: 1px solid #d8ccef;
	white-space: normal;
	overflow-wrap: anywhere;
	text-align: center;
}

.mks-gre-practice-set[data-source-set^="DA-PS-"] .q-text th {
	background: #eee8fb;
	font-weight: 650;
}

.mks-gre-practice-set[data-source-set^="DA-PS-"] .q-text td {
	background: #fff;
	font-weight: 400;
}

.mks-gre-practice-set .mks-qc {
	display: none !important;
}

.mks-gre-practice-set .mks-gre-qc-prompt {
	margin: 0 0 12px;
	color: #111827;
	font-size: clamp(16px, 1.65vw, 23px);
	font-weight: 800;
	line-height: 1.35;
}

.mks-gre-practice-set .mks-gre-qc-prompt p {
	margin: 0;
}

.mks-gre-practice-set .mks-gre-qc-table {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	width: 100%;
	margin: 12px 0 2px;
	overflow: hidden;
	background: #fff;
	border: 2px solid #cbd5e1;
	border-radius: 18px;
	box-shadow: 0 8px 18px rgba(15, 23, 42, .055);
}

.mks-gre-practice-set .mks-gre-qc-col {
	min-width: 0;
	padding: 18px 24px 20px;
	text-align: center;
}

.mks-gre-practice-set .mks-gre-qc-col + .mks-gre-qc-col {
	border-left: 2px solid #cbd5e1;
}

.mks-gre-practice-set .mks-gre-qc-label {
	margin: 0 0 14px;
	padding: 0 0 12px;
	border-bottom: 2px solid #dbe3ef;
	color: #1f2937;
	font-size: clamp(18px, 1.9vw, 26px);
	font-weight: 900;
	line-height: 1.15;
}

.mks-gre-practice-set .mks-gre-qc-value {
	color: #111827;
	font-size: clamp(16px, 1.55vw, 21px);
	font-weight: 700;
	line-height: 1.35;
}

.mks-gre-practice-set .mks-gre-qc-value p {
	margin: 0;
}

.mks-gre-practice-set .options {
	display: grid;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mks-gre-practice-set .options li {
	margin: 0;
	padding: 0;
}

.mks-gre-practice-set .options label {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 9px;
	min-height: 38px;
	padding: 8px 11px;
	border: 1px solid #eee8fb;
	border-radius: 8px;
	background: #fff;
	font-size: 15px;
	font-weight: 750;
	color: #2f2d37;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(42, 31, 61, .035);
}

.mks-gre-practice-set .options label:hover {
	border-color: var(--mks-practice-border);
	background: #fbf8ff;
}

.mks-gre-practice-set .options input[type="radio"] {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: var(--mks-practice-purple);
}

.mks-gre-practice-set .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 8px 15px;
	border: 0;
	border-radius: 8px;
	background: var(--mks-practice-purple);
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 900;
	cursor: pointer;
	box-shadow: 0 6px 14px rgba(124, 43, 234, .16);
}

.mks-gre-practice-set .btn[hidden] {
	display: none !important;
}

.mks-gre-practice-set .mks-gre-practice-solution-toggle {
	margin: 10px 0 0 8px;
	background: #334155;
}

.mks-gre-practice-set .btn:hover:not(:disabled) {
	background: var(--mks-practice-purple-dark);
}

.mks-gre-practice-set .btn:disabled {
	background: #b9adc8;
	cursor: not-allowed;
	box-shadow: none;
}

.mks-gre-practice-set .btn.check-one {
	margin-top: 10px;
}

.mks-gre-practice-set .q-card.correct {
	border-color: #16a34a;
	background: #e9f8ee;
}

.mks-gre-practice-set .q-card.incorrect {
	border-color: #dc2626;
	background: #fff0f0;
}

.mks-gre-practice-set .q-card.unanswered {
	border-color: #f59e0b;
}

.mks-gre-practice-set .explain {
	margin-top: 10px;
	padding: 10px 12px;
	border: 1px solid #d8c7fb;
	border-left: 4px solid var(--mks-practice-purple);
	border-radius: 10px;
	background: #fff;
	color: #3b3547;
	font-size: 14px;
}

.mks-gre-practice-set .explain.has-video {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 16px;
}

.mks-gre-practice-set .explain[hidden] {
	display: none !important;
}

.mks-gre-practice-solution,
.mks-gre-practice-video {
	min-width: 0;
	overflow-wrap: anywhere;
}

.mks-gre-practice-video video {
	display: block;
	width: 100%;
	max-width: 100%;
	margin-top: 0;
	aspect-ratio: 16 / 9;
	object-fit: contain;
	background: #111827;
	border-radius: 8px;
}

.mks-gre-practice-set .mks-gre-practice-video__open {
	position: relative;
	display: flex;
	width: 100%;
	min-height: 190px;
	aspect-ratio: 16 / 9;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 24px;
	overflow: hidden;
	border: 1px solid #5e3b97;
	border-radius: 12px;
	background: radial-gradient(circle at 15% 20%, #8650b64d 0, transparent 44%), radial-gradient(circle at 85% 85%, #5a6fd74d 0, transparent 45%), linear-gradient(135deg, #201a38, #3d285d 55%, #22264b);
	box-shadow: inset 0 0 0 1px #ffffff14;
	color: #fff;
	text-align: center;
	cursor: pointer;
	transition: filter .18s ease, box-shadow .18s ease;
}

.mks-gre-practice-set .mks-gre-practice-video__open:hover {
	filter: brightness(1.12);
	box-shadow: inset 0 0 0 1px #ffffff30, 0 8px 24px #35225120;
}

.mks-gre-practice-set .mks-gre-practice-video__open:focus-visible {
	outline: 3px solid #a78bfa;
	outline-offset: 4px;
}

.mks-gre-practice-video__eyebrow {
	font-size: 12px;
	font-weight: 650;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #e1d8f7;
}

.mks-gre-practice-video__icon {
	display: grid;
	width: 76px;
	height: 76px;
	place-items: center;
	border: 1px solid #ffffff66;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 0 0 10px #ffffff0d;
}

.mks-gre-practice-video__icon::before {
	content: '';
	width: 0;
	height: 0;
	margin-left: 5px;
	border-top: 13px solid transparent;
	border-bottom: 13px solid transparent;
	border-left: 21px solid #6d28d9;
}

.mks-gre-practice-video__label {
	font-size: clamp(20px, 2vw, 28px);
	font-weight: 750;
	line-height: 1.25;
}

.mks-gre-practice-video__caption {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	color: #e1d8f7;
}

.mks-gre-practice-video__open[aria-busy="true"] {
	cursor: progress;
}

.mks-gre-practice-set .mks-gre-practice-video__open[hidden] {
	display: none;
}

.mks-gre-practice-video video[hidden] {
	display: none;
}

.mks-gre-practice-video__status {
	min-height: 1em;
	margin: 8px 0 0;
}

.mks-gre-practice-trap {
	margin-top: 10px;
	padding: 8px 10px;
	background: #fff7ed;
	border-left: 3px solid #f59e0b;
}

.mks-gre-practice-solution .ud-written {
	line-height: 1.65;
}

.mks-gre-practice-solution .ud-written h2 {
	margin: 0 0 14px;
	font-size: 22px;
	line-height: 1.3;
}

.mks-gre-practice-solution .ud-answer {
	margin-bottom: 16px;
	padding: 9px 13px;
	border-left: 3px solid #168259;
	background: #eaf6ef;
	font-weight: 650;
}

.mks-gre-practice-solution .ud-steps {
	margin: 12px 0;
	padding-left: 24px;
	list-style: decimal outside;
}

.mks-gre-practice-solution .ud-steps > li {
	margin-bottom: 12px;
	padding-left: 4px;
}

.mks-gre-practice-solution .ud-trap {
	padding: 13px 15px;
	border-radius: 7px;
	background: #fff7e7;
	color: #654b18;
}

.mks-gre-practice-solution .ud-cycle {
	display: block;
	width: 100%;
	max-width: 460px;
	height: auto;
	margin: 16px auto;
}

.mks-gre-practice-solution .ud-written table {
	width: 100%;
	margin: 14px 0;
	border-collapse: collapse;
	font-size: 14px;
}

.mks-gre-practice-solution .ud-written th,
.mks-gre-practice-solution .ud-written td {
	padding: 6px;
	border: 1px solid #d7e1ee;
	text-align: center;
}

.mks-gre-practice-set .explain p {
	margin: 6px 0;
}

.mks-gre-practice-set .controls {
	position: sticky;
	bottom: 0;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 12px;
	padding: 10px 12px;
	border: 1px solid #ddd3f4;
	border-radius: 12px;
	background: rgba(255, 255, 255, .96);
	box-shadow: 0 -6px 18px rgba(42, 31, 61, .07);
	backdrop-filter: blur(8px);
}

.mks-gre-practice-set .controls-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.mks-gre-practice-set .controls .check-all {
	background: #2563eb;
}

.mks-gre-practice-set .controls .reset {
	background: #dc2626;
}

.mks-gre-practice-set .score {
	white-space: nowrap;
	padding: 8px 11px;
	border-radius: 9px;
	background: #f3edff;
	color: #2f2450;
	font-size: 15px;
	font-weight: 900;
}

.mks-gre-practice-answer-key {
	margin-top: 14px;
	padding: 14px;
	border: 1px solid var(--mks-practice-border);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 8px 18px rgba(124, 43, 234, .06);
}

.mks-gre-practice-answer-key h2 {
	margin: 0 0 10px;
	font-size: 18px;
	line-height: 1.2;
	color: var(--mks-practice-purple-dark);
}

.mks-gre-practice-answer-key ol {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mks-gre-practice-answer-key li {
	display: grid;
	grid-template-columns: 28px 34px minmax(0, 1fr);
	align-items: center;
	gap: 6px;
	min-height: 34px;
	padding: 6px 8px;
	border: 1px solid #eadfff;
	border-radius: 9px;
	background: #fbf8ff;
	font-weight: 800;
	font-size: 13px;
	color: #2f2d37;
}

.mks-gre-practice-answer-key__number,
.mks-gre-practice-answer-key__letter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 26px;
	height: 26px;
	border-radius: 7px;
	font-weight: 900;
}

.mks-gre-practice-answer-key__number {
	background: #f3edff;
	color: var(--mks-practice-purple-dark);
}

.mks-gre-practice-answer-key__letter {
	background: var(--mks-practice-purple);
	color: #fff;
}

.mks-gre-practice-answer-key__text {
	min-width: 0;
}

@media (max-width: 760px) {
	.mks-gre-practice-set .explain.has-video {
		grid-template-columns: minmax(0, 1fr);
	}
	.mks-gre-practice-set {
		padding: 0 8px 14px;
	}

	.mks-gre-practice-set .q-card {
		padding: 10px;
		border-radius: 11px;
	}

	.mks-gre-practice-set .q-head {
		font-size: 15px;
	}

	.mks-gre-practice-set .q-number {
		min-width: 30px;
		height: 30px;
		font-size: 14px;
	}

	.mks-gre-practice-set .mks-gre-qc-table {
		border-radius: 14px;
	}

	.mks-gre-practice-set .mks-gre-qc-col {
		padding: 12px 10px 14px;
	}

	.mks-gre-practice-set .mks-gre-qc-label {
		font-size: 16px;
	}

	.mks-gre-practice-set .mks-gre-qc-value {
		font-size: 14px;
	}

	.mks-gre-practice-set .options label {
		min-height: 38px;
		font-size: 14px;
	}

	.mks-gre-practice-set .controls {
		position: static;
		flex-direction: column;
		align-items: stretch;
		padding: 10px;
	}

	.mks-gre-practice-set .controls-buttons,
	.mks-gre-practice-set .btn {
		width: 100%;
	}

	.mks-gre-practice-set .mks-gre-practice-solution-toggle {
		margin-left: 0;
	}

	.mks-gre-practice-set .score {
		text-align: center;
	}

	.mks-gre-practice-answer-key ol {
		grid-template-columns: 1fr;
	}
}

/* Geometry PS1-3 only: preserve every prior topic and deferred Set4-5. */
.mks-gre-practice-set:is([data-source-set="LA-PS-1"],[data-source-set="LA-PS-2"],[data-source-set="LA-PS-3"],[data-source-set="TRI-PS-1"],[data-source-set="TRI-PS-2"],[data-source-set="TRI-PS-3"],[data-source-set="QUAD-PS-1"],[data-source-set="QUAD-PS-2"],[data-source-set="QUAD-PS-3"],[data-source-set="CIR-PS-1"],[data-source-set="CIR-PS-2"],[data-source-set="CIR-PS-3"],[data-source-set="SG-PS-1"],[data-source-set="SG-PS-2"],[data-source-set="SG-PS-3"]) .q-text {
  font-weight: 600;
  line-height: 1.55;
}
.mks-gre-practice-set:is([data-source-set="LA-PS-1"],[data-source-set="LA-PS-2"],[data-source-set="LA-PS-3"],[data-source-set="TRI-PS-1"],[data-source-set="TRI-PS-2"],[data-source-set="TRI-PS-3"],[data-source-set="QUAD-PS-1"],[data-source-set="QUAD-PS-2"],[data-source-set="QUAD-PS-3"],[data-source-set="CIR-PS-1"],[data-source-set="CIR-PS-2"],[data-source-set="CIR-PS-3"],[data-source-set="SG-PS-1"],[data-source-set="SG-PS-2"],[data-source-set="SG-PS-3"]) .q-text svg {
  display: block;
  width: 100%;
  max-width: 640px;
  height: auto;
  margin: 16px auto;
}
.mks-gre-practice-set:is([data-source-set="LA-PS-1"],[data-source-set="LA-PS-2"],[data-source-set="LA-PS-3"],[data-source-set="TRI-PS-1"],[data-source-set="TRI-PS-2"],[data-source-set="TRI-PS-3"],[data-source-set="QUAD-PS-1"],[data-source-set="QUAD-PS-2"],[data-source-set="QUAD-PS-3"],[data-source-set="CIR-PS-1"],[data-source-set="CIR-PS-2"],[data-source-set="CIR-PS-3"],[data-source-set="SG-PS-1"],[data-source-set="SG-PS-2"],[data-source-set="SG-PS-3"]) .q-text img {
  display: block !important;
  width: auto !important;
  min-width: min(260px, 100%);
  max-width: min(100%, 560px) !important;
  max-height: 480px;
  height: auto !important;
  object-fit: contain;
  margin: 16px auto !important;
}
.mks-gre-practice-set:is([data-source-set="LA-PS-1"],[data-source-set="LA-PS-2"],[data-source-set="LA-PS-3"],[data-source-set="TRI-PS-1"],[data-source-set="TRI-PS-2"],[data-source-set="TRI-PS-3"],[data-source-set="QUAD-PS-1"],[data-source-set="QUAD-PS-2"],[data-source-set="QUAD-PS-3"],[data-source-set="CIR-PS-1"],[data-source-set="CIR-PS-2"],[data-source-set="CIR-PS-3"],[data-source-set="SG-PS-1"],[data-source-set="SG-PS-2"],[data-source-set="SG-PS-3"]) mjx-container {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}
.mks-gre-practice-set:is([data-source-set="LA-PS-1"],[data-source-set="LA-PS-2"],[data-source-set="LA-PS-3"],[data-source-set="TRI-PS-1"],[data-source-set="TRI-PS-2"],[data-source-set="TRI-PS-3"],[data-source-set="QUAD-PS-1"],[data-source-set="QUAD-PS-2"],[data-source-set="QUAD-PS-3"],[data-source-set="CIR-PS-1"],[data-source-set="CIR-PS-2"],[data-source-set="CIR-PS-3"],[data-source-set="SG-PS-1"],[data-source-set="SG-PS-2"],[data-source-set="SG-PS-3"]) mjx-container:not([display="true"]) {
  display: inline-block;
  vertical-align: middle;
}
@media (max-width: 600px) {
  .mks-gre-practice-set:is([data-source-set="LA-PS-1"],[data-source-set="LA-PS-2"],[data-source-set="LA-PS-3"],[data-source-set="TRI-PS-1"],[data-source-set="TRI-PS-2"],[data-source-set="TRI-PS-3"],[data-source-set="QUAD-PS-1"],[data-source-set="QUAD-PS-2"],[data-source-set="QUAD-PS-3"],[data-source-set="CIR-PS-1"],[data-source-set="CIR-PS-2"],[data-source-set="CIR-PS-3"],[data-source-set="SG-PS-1"],[data-source-set="SG-PS-2"],[data-source-set="SG-PS-3"]) .q-text img {
    min-width: 0;
    width: 100% !important;
  }
}

/* Typed GRE practice Sets 4–6. */
.mks-gre-practice-set .mks-gre-numeric-entry {display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:20px 0}
.mks-gre-practice-set .mks-gre-numeric-entry label {display:flex;flex-direction:column;gap:5px;font-size:15px;font-weight:600}
.mks-gre-practice-set .mks-gre-numeric-entry input {box-sizing:border-box;width:220px;max-width:100%;padding:12px;font-size:22px;border:2px solid #9c7cce;border-radius:6px;background:white;color:#192b45}
.mks-gre-practice-set .mks-gre-numeric-entry input:focus {outline:3px solid #d3bbff;outline-offset:2px}
.mks-gre-practice-set .mks-gre-numeric-entry input:disabled {background:#f1eef6;color:#45546b}
.mks-gre-practice-set .mks-gre-numeric-fraction {display:flex;flex-direction:column;gap:8px;max-width:100%}
.mks-gre-practice-set .mks-gre-fraction-rule {height:2px;background:#34445b;display:block}
.mks-gre-practice-set .options input[type=checkbox] {appearance:auto;width:22px;height:22px;flex:0 0 22px;accent-color:#7629d9}
.mks-gre-practice-set .mks-gre-selection-directions {font-weight:600;color:#493172}
.mks-gre-practice-set .mks-gre-answer-feedback:empty {display:none}
.mks-gre-practice-set .mks-gre-answer-feedback {font-size:16px;line-height:1.5;color:#634c20}
@media(max-width:600px) {.mks-gre-practice-set .mks-gre-numeric-entry {padding:0 8px}.mks-gre-practice-set .mks-gre-numeric-entry input{width:180px}}
