.mcex-wrap{max-width:1200px;margin:30px auto;padding:0 15px;font-family:inherit}.mcex-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}.mcex-card,.mcex-exam-shell{background:#fff;border:1px solid #e7e7e7;border-radius:16px;padding:24px;box-shadow:0 8px 25px rgba(0,0,0,.05);margin-bottom:20px}.mcex-card h2,.mcex-card h3{margin-top:0}.mcex-badge{display:inline-block;padding:5px 10px;border-radius:999px;background:#f1f3f5;margin-bottom:10px;font-size:13px}.mcex-meta{display:flex;flex-wrap:wrap;gap:10px;margin:15px 0;color:#555}.mcex-meta span{background:#f7f7f7;padding:7px 10px;border-radius:8px}.mcex-price{display:block;font-size:18px;margin:15px 0}.mcex-btn{display:inline-block;border:0;border-radius:9px;padding:10px 17px;text-decoration:none;cursor:pointer;background:#222;color:#fff;margin:4px}.mcex-btn.secondary{background:#777}.mcex-btn.danger{background:#b42318}.mcex-gateway{background:#155eef}.mcex-error{color:#b42318}.mcex-exam-header{display:flex;justify-content:space-between;align-items:center;gap:20px}.mcex-timer{font-size:28px;font-weight:700;direction:ltr}.mcex-progress{height:7px;background:#eee;border-radius:10px;overflow:hidden;margin:18px 0}.mcex-progress span{display:block;height:100%;background:#222;transition:width .2s}.mcex-exam-layout{display:grid;grid-template-columns:190px 1fr;gap:25px}.mcex-navigator{border:1px solid #eee;border-radius:12px;padding:15px;position:sticky;top:20px;height:max-content}.mcex-navigator>div{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:12px}.mcex-nav-item{border:1px solid #ddd;background:#fff;border-radius:7px;padding:8px;cursor:pointer}.mcex-nav-item.current{outline:2px solid #222}.mcex-nav-item.answered{background:#e8f5e9}.mcex-nav-item.review{box-shadow:inset 0 -3px 0 #f59e0b}.dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#ddd}.answered-dot{background:#78a878}.review-dot{background:#f59e0b}.mcex-question{display:none}.mcex-question.active{display:block}.mcex-q-number{font-size:14px;color:#666;margin-bottom:15px}.mcex-q-text{font-size:18px;line-height:2;margin-bottom:20px}.mcex-options{display:grid;gap:12px}.mcex-options label{display:flex;gap:12px;align-items:flex-start;border:1px solid #ddd;border-radius:10px;padding:14px;cursor:pointer}.mcex-options label:hover{background:#fafafa}.mcex-options input{margin-top:5px}.mcex-review{margin-top:20px;border:1px solid #ddd;background:#fff;border-radius:8px;padding:8px 12px;cursor:pointer}.mcex-review.marked{background:#fff7e6}.mcex-exam-footer{display:flex;gap:8px;justify-content:flex-start;margin-top:25px}.mcex-auth input{display:block;width:100%;box-sizing:border-box;margin:10px 0;padding:12px;border:1px solid #ddd;border-radius:8px}.mcex-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.mcex-stats>div{padding:15px;background:#f7f7f7;border-radius:10px}.mcex-stats strong{display:block;font-size:24px;margin-top:5px}.mcex-status{margin:20px 0;padding:14px;border-radius:10px;background:#f4f4f4;font-weight:700}.mcex-answer-review>div{border-top:1px solid #eee;padding:15px 0}@media(max-width:700px){.mcex-exam-layout{grid-template-columns:1fr}.mcex-navigator{position:static}.mcex-stats{grid-template-columns:repeat(2,1fr)}.mcex-exam-footer{flex-wrap:wrap}.mcex-exam-header{align-items:flex-start}.mcex-timer{font-size:22px}}

.mcex-q-image{text-align:center;margin:12px 0}.mcex-q-image img{max-width:100%;height:auto;display:inline-block}.mcex-option-image{margin-top:8px}.mcex-option-image img{max-width:100%;height:auto;max-height:260px;display:block}

.mcex-time-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}.mcex-time-summary>div{padding:16px;border:1px solid #e5e7eb;border-radius:12px;text-align:center;background:#fafafa}.mcex-time-summary span{display:block;font-size:13px;margin-bottom:7px;color:#666}.mcex-time-summary strong{display:block;font-size:24px;direction:ltr;letter-spacing:1px}.mcex-result .mcex-stats{margin-top:0}@media(max-width:600px){.mcex-time-summary{grid-template-columns:1fr}}

.mcex-products-grid{align-items:stretch}.mcex-product-card{display:flex;flex-direction:column;height:100%;box-sizing:border-box}.mcex-product-cover{text-align:center;margin:-24px -24px 18px;overflow:hidden;border-radius:16px 16px 0 0;background:#f5f5f5}.mcex-product-cover img{width:100%;height:280px;object-fit:cover;display:block}.mcex-product-card h3{line-height:1.8}.mcex-product-card>p{line-height:1.9;color:#555}.mcex-product-card .mcex-price{margin-top:auto}.mcex-product-card .mcex-btn{align-self:flex-start;margin-top:4px}.mcex-product-card .mcex-meta{margin-bottom:8px}

/* Product catalogue/detail layout — 3.4.0 */
.mcex-products-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}.mcex-product-card{min-width:0;overflow:hidden}.mcex-product-cover{height:260px;margin:-24px -24px 18px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#f7f7f7}.mcex-product-cover img{width:100%;height:100%;object-fit:contain;display:block}.mcex-product-cover.mcex-no-cover{font-size:14px;color:#777}.mcex-product-card h3{line-height:1.8;margin-bottom:8px}.mcex-product-card>p{line-height:1.7;color:#555;margin:0 0 14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;min-height:1.7em}.mcex-card-bottom{margin-top:auto}.mcex-card-bottom .mcex-price{margin:12px 0}.mcex-product-actions{display:flex;flex-wrap:wrap;gap:6px}.mcex-product-actions .mcex-btn{margin:0}.mcex-btn.secondary{background:#777}.mcex-btn.is-disabled{opacity:.55;cursor:not-allowed}.mcex-product-detail{max-width:1050px}.mcex-back-link{display:inline-block;margin-bottom:18px;text-decoration:none}.mcex-product-head{display:grid;grid-template-columns:220px 1fr;gap:28px;align-items:center;background:#fff;border:1px solid #e7e7e7;border-radius:16px;padding:24px;box-shadow:0 8px 25px rgba(0,0,0,.05);margin-bottom:20px}.mcex-product-detail-cover{height:260px;display:flex;align-items:center;justify-content:center;background:#f7f7f7;border-radius:12px;overflow:hidden}.mcex-product-detail-cover img{width:100%;height:100%;object-fit:contain}.mcex-product-head-info h1{margin:8px 0 12px;line-height:1.7}.mcex-detail-price{font-size:20px;font-weight:700;margin-bottom:14px}.mcex-product-description,.mcex-product-specs,.mcex-product-contents,.mcex-product-official{background:#fff;border:1px solid #e7e7e7;border-radius:16px;padding:24px;box-shadow:0 8px 25px rgba(0,0,0,.04);margin-bottom:20px}.mcex-product-description h2,.mcex-product-specs h2,.mcex-product-contents h2,.mcex-product-official h2{margin-top:0}.mcex-main-text{line-height:2.1;color:#444}.mcex-spec-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.mcex-spec{border:1px solid #e5e7eb;border-radius:12px;padding:15px;background:#fafafa}.mcex-spec span{display:block;font-size:13px;color:#666;margin-bottom:7px}.mcex-spec strong{display:block;font-size:16px}.mcex-contents-list{display:grid;gap:8px}.mcex-contents-list>div{padding:11px 14px;border:1px solid #eee;border-radius:9px;background:#fafafa}.mcex-product-final-action{text-align:center;padding:8px 0 20px}.mcex-product-final-action .mcex-btn{font-size:17px;padding:12px 24px}@media(max-width:900px){.mcex-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mcex-spec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.mcex-products-grid{grid-template-columns:1fr}.mcex-product-head{grid-template-columns:1fr}.mcex-product-detail-cover{height:240px}.mcex-spec-grid{grid-template-columns:1fr}.mcex-product-actions{flex-direction:column}.mcex-product-actions .mcex-btn{width:100%;text-align:center;box-sizing:border-box}}


/* Product detail refinement — 3.4.5 */
.mcex-product-main-panel{background:#fff;border:1px solid #e7e7e7;border-radius:18px;padding:24px;box-shadow:0 8px 25px rgba(0,0,0,.05);overflow:hidden}.mcex-product-main-panel .mcex-product-head{background:transparent;border:0;border-radius:0;box-shadow:none;padding:0 0 22px;margin:0 0 22px;border-bottom:1px solid #eee}.mcex-product-main-panel .mcex-product-description,.mcex-product-main-panel .mcex-product-specs,.mcex-product-main-panel .mcex-product-contents{background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;margin:0 0 24px}.mcex-product-main-panel .mcex-product-description{padding-bottom:22px;border-bottom:1px solid #eee}.mcex-product-main-panel .mcex-product-contents{padding-top:0}.mcex-spec-table-wrap h2{margin:0 0 12px}.mcex-spec-table{width:100%;border-collapse:collapse;border:1px solid #e5e7eb}.mcex-spec-table th,.mcex-spec-table td{padding:12px 14px;text-align:right;border-bottom:1px solid #e5e7eb}.mcex-spec-table tr:last-child th,.mcex-spec-table tr:last-child td{border-bottom:0}.mcex-spec-table th{width:30%;background:#f7f7f7;font-weight:700;color:#444}.mcex-spec-table td{background:#fff;color:#555}.mcex-product-main-panel .mcex-product-final-action{border-top:1px solid #eee;padding:22px 0 0}.mcex-product-main-panel .mcex-product-head-info h1{margin-top:0}.mcex-product-main-panel .mcex-product-detail-cover{height:230px}.mcex-product-main-panel .mcex-product-detail-cover img{object-fit:contain}
@media(max-width:600px){.mcex-product-main-panel{padding:18px}.mcex-product-main-panel .mcex-product-head{padding-bottom:18px}.mcex-spec-table th{width:38%}}


/* Product detail / catalogue refinement — 3.4.6 */
.mcex-books-hero{margin:0 0 28px;padding:34px 28px;text-align:center;border-radius:20px;background:linear-gradient(135deg,#f7f8fa,#ffffff);border:1px solid #e5e7eb;box-shadow:0 10px 30px rgba(0,0,0,.04)}
.mcex-books-hero .mc-kicker{font-size:12px;letter-spacing:1.5px;color:#777;margin-bottom:8px;font-weight:700}
.mcex-books-hero h1{margin:0 0 8px;line-height:1.6}
.mcex-books-hero p{margin:0 auto;max-width:720px;color:#666;line-height:1.9}
.mcex-product-main-panel{border-radius:20px;padding:28px}
.mcex-product-main-panel .mcex-product-head{grid-template-columns:230px 1fr;gap:30px;align-items:center}
.mcex-product-main-panel .mcex-product-detail-cover{height:300px;background:#fafafa;border:1px solid #eee}
.mcex-product-main-panel .mcex-product-detail-cover img{max-height:100%;object-fit:contain}
.mcex-product-main-panel .mcex-product-description{padding-bottom:26px;margin-bottom:26px}
.mcex-product-main-panel .mcex-product-description h2{font-size:20px;margin-bottom:14px}
.mcex-main-text{font-size:15px;line-height:2.15}
.mcex-spec-table-wrap{margin-top:0}
.mcex-spec-table{border-radius:12px;overflow:hidden}
.mcex-spec-table th{width:32%;background:#f8f9fa}
.mcex-spec-table td,.mcex-spec-table th{padding:13px 16px}
.mcex-product-main-panel .mcex-product-contents{padding-top:2px}
.mcex-product-main-panel .mcex-product-contents h2{font-size:20px;margin-bottom:14px}
@media(max-width:700px){.mcex-product-main-panel .mcex-product-head{grid-template-columns:1fr}.mcex-product-main-panel .mcex-product-detail-cover{height:260px}.mcex-books-hero{padding:26px 18px}}

.mcex-answer-sheet{margin-top:25px}.mcex-answer-table-wrap{overflow-x:auto}.mcex-answer-table{width:100%;border-collapse:collapse;text-align:center}.mcex-answer-table th,.mcex-answer-table td{border:1px solid #ddd;padding:10px}.mcex-answer-table tr.correct td{background:#e8f5e9}.mcex-answer-table tr.wrong td{background:#ffebee}.mcex-answer-table tr.unanswered td{background:#f5f5f5;color:#666}.mcex-detailed-review{margin-top:25px}.mcex-review-item{border-top:1px solid #eee;padding:18px 0}.mcex-review-item h4{margin:0 0 12px}.mcex-source-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.mcex-source-list span{background:#f7f7f7;border:1px solid #e5e5e5;border-radius:7px;padding:7px 10px}


/* Wrong/unanswered question review — 3.5.2 */
.mcex-wrong-review{margin-top:28px}.mcex-review-intro{margin:-6px 0 16px;color:#666}.mcex-wrong-review-item{border:1px solid #e2e2e2;border-radius:12px;margin:12px 0;background:#fff;overflow:hidden}.mcex-wrong-review-item summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:15px 16px;font-weight:700}.mcex-wrong-review-item summary::-webkit-details-marker{display:none}.mcex-wrong-review-status{font-size:13px;font-weight:600;padding:4px 9px;border-radius:999px;background:#ffebee;color:#b42318}.mcex-review-action{margin-right:auto;color:#1769aa;font-size:14px;font-weight:700}.mcex-wrong-review-body{padding:0 16px 18px;border-top:1px solid #eee}.mcex-review-question-text{font-size:17px;line-height:2;margin:18px 0}.mcex-review-options{display:grid;gap:10px}.mcex-review-option{border:1px solid #ddd;border-radius:10px;padding:12px}.mcex-review-option.is-correct{border-color:#8bc48f;background:#e8f5e9}.mcex-review-option.is-selected:not(.is-correct){border-color:#ef9a9a;background:#ffebee}.mcex-review-option-head{display:flex;align-items:center;gap:8px;margin-bottom:7px}.mcex-option-badge{font-size:12px;padding:3px 7px;border-radius:6px;font-weight:600}.mcex-option-badge.correct{background:#c8e6c9;color:#1b5e20}.mcex-option-badge.selected{background:#ffcdd2;color:#b71c1c}.mcex-review-answer-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:15px}.mcex-review-answer-summary>div{padding:11px 13px;border-radius:9px;background:#f7f7f7}.mcex-review-explanation,.mcex-review-source{margin-top:16px;line-height:1.9}.mcex-review-empty{padding:15px;border-radius:10px;background:#e8f5e9;border:1px solid #c8e6c9}@media(max-width:600px){.mcex-review-action{width:100%;margin-right:0}.mcex-review-answer-summary{grid-template-columns:1fr}}
