.ayubhaedu-quiz-shell{max-width:1180px;margin:0 auto;padding:24px 0 56px;color:#253047}.ayubhaedu-quiz-hero{display:grid;grid-template-columns:1.4fr .8fr;gap:28px;padding:34px;border:1px solid #e0e8dc;border-radius:26px;background:linear-gradient(135deg,#f7fbf5,#eefafa);box-shadow:0 16px 40px rgba(28,61,49,.08)}.ayubhaedu-quiz-back{display:inline-flex;align-items:center;gap:6px;margin-bottom:16px;text-decoration:none}.ayubhaedu-quiz-kicker{display:block;color:#00a6b5;font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.ayubhaedu-quiz-hero h1{margin:8px 0 12px;font-size:clamp(30px,4vw,48px);line-height:1.12;color:#0d565b}.ayubhaedu-quiz-description{font-size:17px;color:#526078}.ayubhaedu-quiz-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;align-self:center}.ayubhaedu-quiz-summary div{padding:20px 14px;border:1px solid #dfe9dd;border-radius:18px;background:#fff;text-align:center}.ayubhaedu-quiz-summary strong{display:block;font-size:26px;color:#24511e}.ayubhaedu-quiz-summary span{font-size:12px;color:#6a7487}.ayubhaedu-quiz-start-card,.ayubhaedu-quiz-access,.ayubhaedu-attempt-history{margin-top:26px;padding:28px;border:1px solid #e2e7de;border-radius:22px;background:#fff;box-shadow:0 10px 30px rgba(26,52,40,.06)}.ayubhaedu-quiz-access{text-align:center}.ayubhaedu-quiz-access>.dashicons{width:54px;height:54px;font-size:54px;color:#00a7b5}.ayubhaedu-quiz-start-card h2,.ayubhaedu-attempt-history h2{margin-top:0;color:#0d565b}.ayubhaedu-quiz-start-card ul{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:10px 24px;margin:18px 0 24px}.ayubhaedu-quiz-start-card li{padding:10px 0;color:#4c5870}.ayubhaedu-quiz-message{margin-top:14px;font-weight:600}.ayubhaedu-quiz-message.is-error{color:#b42318}.ayubhaedu-quiz-message.is-warning{color:#8a5a00}.ayubhaedu-quiz-runner{margin-top:26px}.ayubhaedu-quiz-toolbar{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:18px 22px;border-radius:18px;background:#0d565b;color:#fff}.ayubhaedu-quiz-toolbar strong,.ayubhaedu-quiz-toolbar span{display:block}.ayubhaedu-quiz-toolbar span{font-size:12px;opacity:.82;margin-top:3px}.ayubhaedu-quiz-timer{display:flex;align-items:center;gap:8px;padding:9px 14px;border-radius:999px;background:rgba(255,255,255,.14)}.ayubhaedu-quiz-timer.is-warning{background:#fff0ed;color:#a12d20}.ayubhaedu-quiz-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:22px;margin-top:18px}.ayubhaedu-question-card,.ayubhaedu-question-palette{border:1px solid #e2e7de;border-radius:22px;background:#fff;box-shadow:0 10px 30px rgba(26,52,40,.06)}.ayubhaedu-question-card{padding:28px}.ayubhaedu-question-content{font-size:18px;line-height:1.7;color:#273147}.ayubhaedu-quiz-options{display:grid;gap:12px;margin:24px 0}.ayubhaedu-quiz-option{display:grid;grid-template-columns:42px 1fr;gap:12px;align-items:center;padding:15px;border:1px solid #dfe6db;border-radius:14px;background:#fcfdfb;cursor:pointer;transition:.2s}.ayubhaedu-quiz-option:hover{border-color:#00a7b5;background:#f2fcfd}.ayubhaedu-quiz-option:has(input:checked){border-color:#00a7b5;background:#eafafa;box-shadow:0 0 0 2px rgba(0,167,181,.1)}.ayubhaedu-quiz-option input{position:absolute;opacity:0}.ayubhaedu-option-letter{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#edf3ea;color:#315a25;font-weight:800}.ayubhaedu-quiz-navigation{display:flex;justify-content:space-between;gap:12px;margin-top:24px}.ayubhaedu-question-palette{padding:20px;align-self:start;position:sticky;top:28px}.ayubhaedu-question-palette h3{margin-top:0}.ayubhaedu-question-palette>div{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.ayubhaedu-question-palette button[data-quiz-jump]{width:38px;height:38px;border:1px solid #dfe6db;border-radius:10px;background:#fff;cursor:pointer}.ayubhaedu-question-palette button.is-answered{background:#e5f6f7;border-color:#00a7b5;color:#007d87}.ayubhaedu-question-palette button.is-current{box-shadow:0 0 0 2px #2f6425}.ayubhaedu-question-palette p{font-size:12px;color:#667085}.ayubhaedu-question-palette p span{display:inline-block;width:10px;height:10px;margin:0 4px 0 10px;border-radius:3px;background:#e5f6f7}.ayubhaedu-question-palette p span.is-current{background:#2f6425}.ayubhaedu-submit-quiz{width:100%;margin-top:12px}.ayubhaedu-quiz-result{margin-top:26px}.ayubha-result-hero{display:flex;align-items:center;gap:22px;padding:28px;border-radius:22px;color:#fff}.ayubha-result-hero.is-pass{background:linear-gradient(135deg,#168c76,#2f6425)}.ayubha-result-hero.is-fail{background:linear-gradient(135deg,#9b4b20,#7a2e2e)}.ayubha-result-hero>.dashicons{width:62px;height:62px;font-size:62px}.ayubha-result-hero span{font-weight:700}.ayubha-result-hero h2{margin:3px 0;font-size:42px;color:#fff}.ayubha-result-hero p{margin:0;opacity:.9}.ayubha-result-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:16px 0}.ayubha-result-stats div{padding:18px;border:1px solid #e2e7de;border-radius:16px;background:#fff;text-align:center}.ayubha-result-stats strong{display:block;font-size:25px;color:#0d565b}.ayubha-result-stats span{font-size:12px;color:#6a7487}.ayubha-result-actions{margin:18px 0}.ayubha-result-breakdown{display:grid;gap:16px}.ayubha-result-question{padding:22px;border:1px solid #e2e7de;border-left:5px solid #98a2b3;border-radius:16px;background:#fff}.ayubha-result-question.is-correct{border-left-color:#2f8a3a}.ayubha-result-question.is-incorrect{border-left-color:#c23b2a}.ayubha-result-question header{display:flex;justify-content:space-between;gap:12px}.ayubha-result-question-text{margin:14px 0;font-size:16px}.ayubha-result-explanation{margin-top:12px;padding:14px;border-radius:12px;background:#f4f8f1}.ayubha-result-reference{color:#667085;font-size:13px}.ayubha-attempt-table{overflow:auto}.ayubha-attempt-row{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:12px;padding:13px;border-top:1px solid #edf0eb}.ayubha-attempt-row.is-head{font-weight:700;background:#f7faf6;border-radius:10px}.ayubha-attempt-row .is-pass{color:#237532;font-weight:700}.ayubha-attempt-row .is-fail{color:#a13d2e;font-weight:700}@media(max-width:900px){.ayubhaedu-quiz-hero,.ayubhaedu-quiz-layout{grid-template-columns:1fr}.ayubhaedu-question-palette{position:static}.ayubhaedu-quiz-start-card ul{grid-template-columns:1fr}.ayubha-result-stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.ayubhaedu-quiz-shell{padding:12px 0 36px}.ayubhaedu-quiz-hero,.ayubhaedu-question-card,.ayubhaedu-question-palette,.ayubhaedu-quiz-start-card,.ayubhaedu-attempt-history{padding:18px;border-radius:16px}.ayubhaedu-quiz-summary{grid-template-columns:1fr}.ayubhaedu-quiz-toolbar{align-items:flex-start}.ayubhaedu-question-palette>div{grid-template-columns:repeat(6,1fr)}.ayubha-attempt-row{grid-template-columns:1fr 1fr}.ayubha-attempt-row.is-head{display:none}}

/* v0.3.1 media-rich and typed answers */
.ayubhaedu-question-media{margin:0 0 22px}.ayubhaedu-question-media img,.ayubhaedu-question-media video{display:block;max-width:100%;max-height:520px;margin:auto;border-radius:14px}.ayubhaedu-question-media audio{display:block;width:100%}.ayubhaedu-text-answer{display:grid;gap:8px}.ayubhaedu-text-answer span{font-weight:750;color:#344054}.ayubhaedu-text-answer input{width:100%;padding:14px 16px;border:1px solid #cfd8d3;border-radius:10px;font-size:16px}.ayubhaedu-text-answer input:focus{border-color:#00a7b5;box-shadow:0 0 0 3px rgba(0,167,181,.12);outline:0}.ayubha-result-question .ayubhaedu-question-media{margin:12px 0}

/* v0.3.3 assessment workflow, review and results */
.ayubhaedu-quiz-instructions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0 24px}.ayubhaedu-quiz-instructions>div{display:grid;grid-template-columns:42px 1fr;column-gap:12px;align-items:center;padding:16px;border:1px solid #e1e8de;border-radius:15px;background:#fbfdf9}.ayubhaedu-quiz-instructions .dashicons{grid-row:1/3;display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#e7f7f7;color:#008d98}.ayubhaedu-quiz-instructions strong{color:#26334a}.ayubhaedu-quiz-instructions small{color:#697386;line-height:1.45}.ayubhaedu-submission-status{display:flex;align-items:center;gap:16px;margin-bottom:20px;padding:18px;border-radius:16px}.ayubhaedu-submission-status.is-pass{background:#edf8e8;color:#245b1f}.ayubhaedu-submission-status.is-fail{background:#fff3ee;color:#8a351f}.ayubhaedu-submission-status>.dashicons{width:46px;height:46px;font-size:46px}.ayubhaedu-submission-status span,.ayubhaedu-submission-status h2,.ayubhaedu-submission-status p{margin:0}.ayubhaedu-submission-status h2{font-size:22px;color:inherit}.ayubhaedu-submission-status p{margin-top:4px;opacity:.8}.ayubhaedu-start-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.ayubhaedu-attempts-exhausted{display:flex;align-items:flex-start;gap:8px;max-width:720px;padding:13px 15px;border-radius:12px;background:#fff1f0;color:#9b2c24;font-weight:650}.ayubhaedu-answer-locked{display:flex;align-items:center;gap:6px;color:#667085;font-size:13px}.ayubhaedu-quiz-option.is-locked{cursor:not-allowed;opacity:.86}
.ayubhaedu-review-shell{padding:28px;border:1px solid #e2e7de;border-radius:22px;background:#fff;box-shadow:0 10px 30px rgba(26,52,40,.06)}.ayubhaedu-review-shell header h2{margin:6px 0;color:#0d565b}.ayubhaedu-review-shell header p{margin:0;color:#667085}.ayubhaedu-review-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:22px 0}.ayubhaedu-review-summary div{padding:16px;border:1px solid #e1e8de;border-radius:14px;text-align:center}.ayubhaedu-review-summary strong{display:block;font-size:26px;color:#0d565b}.ayubhaedu-review-summary span{font-size:12px;color:#667085}.ayubhaedu-review-question-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ayubhaedu-review-question{display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:center;padding:13px;border:1px solid #dde5da;border-radius:13px;background:#fff;text-align:left;cursor:pointer}.ayubhaedu-review-question>span:first-child{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#edf3ea;font-weight:800}.ayubhaedu-review-question strong,.ayubhaedu-review-question small{display:block}.ayubhaedu-review-question small{margin-top:2px;color:#667085}.ayubhaedu-review-question.is-unanswered{border-color:#efc5bd;background:#fff9f7}.ayubhaedu-review-question.is-unanswered>span:first-child{background:#fde8e4;color:#a83a2b}.ayubhaedu-review-actions{display:flex;justify-content:space-between;gap:12px;margin-top:22px}
.ayubha-result-actions{display:flex;gap:12px;flex-wrap:wrap}.ayubha-result-breakdown-head{margin:28px 0 14px}.ayubha-result-breakdown-head h2{margin:4px 0;color:#0d565b}.ayubha-result-question header>div span,.ayubha-result-question header>div strong{display:block}.ayubha-result-question header>div span{font-size:12px;color:#667085;text-transform:uppercase;letter-spacing:.08em}.ayubha-result-question header>div strong{margin-top:3px}.ayubha-result-options{display:grid;gap:10px;margin:18px 0}.ayubha-result-option{display:grid;grid-template-columns:40px 1fr auto;gap:12px;align-items:center;padding:13px 14px;border:1px solid #dde5da;border-radius:13px;background:#fbfcfa}.ayubha-result-option.is-selected{border-width:2px}.ayubha-result-option.is-incorrect{border-color:#d64535;background:#fff1ef}.ayubha-result-option.is-correct,.ayubha-result-option.is-correct-answer{border-color:#2e8b3c;background:#edf8ec}.ayubha-result-option.is-selected.is-correct-answer{box-shadow:0 0 0 2px rgba(46,139,60,.12)}.ayubha-result-option-text{line-height:1.5}.ayubha-result-option-markers{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.ayubha-result-marker{padding:4px 7px;border-radius:999px;font-size:10px;font-weight:750;white-space:nowrap}.ayubha-result-marker.is-your{background:#e4f4f6;color:#007b85}.ayubha-result-marker.is-correct{background:#dff1df;color:#226f2b}.ayubha-result-typed{margin:16px 0;padding:14px;border-radius:12px;background:#f7f9f6}.ayubha-result-typed p{margin:5px 0}
.ayubhaedu-attempt-history-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.ayubhaedu-attempt-history-head h2{margin:4px 0 0}.ayubhaedu-attempt-count{display:grid;place-items:center;min-width:36px;height:36px;border-radius:50%;background:#e7f7f7;color:#008d98;font-weight:800}.ayubha-attempt-row{grid-template-columns:1.6fr 1fr 1fr .8fr .8fr;align-items:center}.ayubha-attempt-row span{min-width:0}.ayubha-attempt-row span small{display:block;margin-top:2px;color:#667085}.ayubhaedu-review-attempt{font-weight:700;color:#008d98}
@media(max-width:760px){.ayubhaedu-quiz-instructions,.ayubhaedu-review-question-list{grid-template-columns:1fr}.ayubhaedu-review-summary{grid-template-columns:repeat(3,1fr)}.ayubha-attempt-row{grid-template-columns:1fr;gap:7px;padding:16px;border:1px solid #e5e9e2;border-radius:14px;margin:10px 0}.ayubha-attempt-row.is-head{display:none}.ayubha-attempt-row span:before{content:attr(data-label) ': ';font-weight:700;color:#475467}.ayubha-result-option{grid-template-columns:36px 1fr}.ayubha-result-option-markers{grid-column:2;justify-content:flex-start}.ayubhaedu-review-actions{flex-direction:column-reverse}.ayubhaedu-review-actions .ayubhaedu-button{width:100%}}


/* v1.0.9 dedicated assessment shell and robust history table */
.ayubhaedu-quiz-template{width:100%;max-width:none;margin:0;padding:0}
.ayubhaedu-quiz-view .entry-header,.ayubhaedu-quiz-view .entry-title,.ayubhaedu-quiz-view .entry-meta,.ayubhaedu-quiz-view .post-navigation,.ayubhaedu-quiz-view .nav-links,.ayubhaedu-quiz-view .comments-area{display:none!important}
.ayubhaedu-attempt-table-wrap{width:100%;overflow-x:auto;margin-top:18px;border:1px solid #e2e7de;border-radius:15px}
.ayubhaedu-attempt-table{width:100%;min-width:760px;border-collapse:collapse;background:#fff}
.ayubhaedu-attempt-table th,.ayubhaedu-attempt-table td{padding:14px 15px;border-bottom:1px solid #edf0eb;text-align:left;vertical-align:middle}
.ayubhaedu-attempt-table th{background:#f5f8f3;color:#435044;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.ayubhaedu-attempt-table tbody tr:last-child td{border-bottom:0}
.ayubhaedu-attempt-table td strong,.ayubhaedu-attempt-table td small{display:block}
.ayubhaedu-attempt-table td small{margin-top:3px;color:#667085}
.ayubhaedu-attempt-result{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:800}
.ayubhaedu-attempt-result.is-pass{background:#e7f6e9;color:#247132}
.ayubhaedu-attempt-result.is-fail{background:#fff0ed;color:#9b3728}
@media(max-width:700px){.ayubhaedu-attempt-table-wrap{overflow:visible;border:0}.ayubhaedu-attempt-table{min-width:0;border:0;background:transparent}.ayubhaedu-attempt-table thead{display:none}.ayubhaedu-attempt-table,.ayubhaedu-attempt-table tbody,.ayubhaedu-attempt-table tr,.ayubhaedu-attempt-table td{display:block;width:100%}.ayubhaedu-attempt-table tr{margin:0 0 12px;padding:13px 15px;border:1px solid #e2e7de;border-radius:14px;background:#fff}.ayubhaedu-attempt-table td{display:grid;grid-template-columns:105px minmax(0,1fr);gap:10px;padding:7px 0;border:0}.ayubhaedu-attempt-table td:before{content:attr(data-label);color:#667085;font-size:12px;font-weight:800}.ayubhaedu-attempt-table td .ayubhaedu-button{justify-self:start}}

/* v1.0.97 — visible prompt fallback for migrated LearnPress questions. */
.ayubhaedu-question-title-fallback{margin:0;font-size:clamp(18px,2vw,24px);line-height:1.45;font-weight:750;color:#18263d}
.ayubhaedu-question-prompt-missing{margin:0;padding:14px 16px;border:1px solid #f0c7c7;border-radius:12px;background:#fff6f6;color:#9b2c2c;font-weight:650}
.ayubha-result-question-text .ayubhaedu-question-title-fallback{font-size:18px}

/* v1.0.99 — visible quiz navigation states and readable review cards. */
.ayubhaedu-question-palette button[data-quiz-jump]{
	appearance:none;
	-webkit-appearance:none;
	color:#253047!important;
	background:#fff!important;
	border-color:#dfe6db!important;
	font-weight:750;
	line-height:1;
	box-shadow:none;
}
.ayubhaedu-question-palette button[data-quiz-jump]:hover,
.ayubhaedu-question-palette button[data-quiz-jump]:focus-visible{
	color:#0d565b!important;
	background:#f6fbfa!important;
	border-color:#76bfc2!important;
}
.ayubhaedu-question-palette button[data-quiz-jump].is-answered{
	color:#006f78!important;
	background:#e5f6f7!important;
	border-color:#00a7b5!important;
}
.ayubhaedu-question-palette button[data-quiz-jump].is-skipped{
	color:#93480d!important;
	background:#fff1e8!important;
	border-color:#e5a168!important;
}
.ayubhaedu-question-palette button[data-quiz-jump].is-current{
	box-shadow:0 0 0 3px #2f6425!important;
}
.ayubhaedu-question-palette-legend{display:flex;flex-wrap:wrap;align-items:center;gap:5px 7px;line-height:1.45}
.ayubhaedu-question-palette-legend span{margin:0!important;border:1px solid #dfe6db;background:#fff!important}
.ayubhaedu-question-palette-legend span.is-answered{border-color:#00a7b5;background:#e5f6f7!important}
.ayubhaedu-question-palette-legend span.is-skipped{border-color:#e5a168;background:#fff1e8!important}
.ayubhaedu-question-palette-legend span.is-current{border-color:#2f6425;background:#2f6425!important}
.ayubhaedu-review-question{
	appearance:none;
	-webkit-appearance:none;
	color:#253047!important;
	background:#fff!important;
	border-color:#dde5da!important;
	box-shadow:none!important;
}
.ayubhaedu-review-question:hover,
.ayubhaedu-review-question:focus-visible{
	color:#17324a!important;
	background:#f7fbfa!important;
	border-color:#79bdba!important;
}
.ayubhaedu-review-question strong{color:#17324a!important;font-weight:750}
.ayubhaedu-review-question small{color:#667085!important}
.ayubhaedu-review-question>.dashicons{color:#0b6a70!important}
.ayubhaedu-review-question.is-answered{
	background:#eefafa!important;
	border-color:#79c9cd!important;
}
.ayubhaedu-review-question.is-answered>span:first-child{
	background:#dff3f4!important;
	color:#006f78!important;
}
.ayubhaedu-review-question.is-skipped{
	background:#fff8f2!important;
	border-color:#e7b385!important;
}
.ayubhaedu-review-question.is-skipped>span:first-child{
	background:#ffead9!important;
	color:#93480d!important;
}
.ayubhaedu-review-question.is-unanswered{
	background:#fff9f7!important;
	border-color:#efc5bd!important;
}
.ayubhaedu-review-question.is-unanswered>span:first-child{
	background:#fde8e4!important;
	color:#a83a2b!important;
}
