/* R-29: reuse the theme's design tokens instead of a second, slightly different palette. */
.certprep-intro { color: var(--ip-muted); max-width: 640px; margin: 0 0 1.5rem; }
.certprep-catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.certprep-card { border: 1px solid var(--ip-border, #ddd); border-radius: 10px; padding: 1.25rem; box-shadow: 0 1px 3px rgba(0,0,0,.06); background: var(--ip-card-bg, #fff); }
.certprep-card h3 { margin-top: 0; }
.certprep-vendor { color: var(--ip-muted, #667085); font-size: .9rem; }
.certprep-btn { display: inline-block; background: var(--ip-primary, #0066cc); color: #fff; padding: .55rem 1.1rem; border-radius: 8px; text-decoration: none; border: none; cursor: pointer; margin-right: .5rem; font-size: .9rem; }
.certprep-btn:hover { background: var(--ip-primary-dark, #004a99); }
.certprep-btn:disabled { opacity: .5; cursor: not-allowed; }
.certprep-btn-secondary { background: var(--ip-muted, #475569); }
.certprep-btn-link { background: none; color: var(--ip-primary, #0066cc); text-decoration: underline; padding: 0; }
.certprep-btn-locked { display: inline-flex; align-items: center; gap: .35rem; }
.certprep-unofficial { font-size: .8rem; color: var(--ip-muted, #888); border-top: 1px solid var(--ip-border, #eee); margin-top: 2rem; padding-top: .5rem; }
.certprep-dev-banner { background: #fef3c7; color: #92400e; padding: .5rem 1rem; text-align: center; font-weight: bold; border-radius: 8px; margin-bottom: 1rem; }

.certprep-breadcrumb { font-size: .85rem; color: var(--ip-muted); margin-bottom: 1rem; }
.certprep-breadcrumb a { color: var(--ip-muted); }
.certprep-breadcrumb span[aria-hidden] { margin: 0 .4rem; }

.certprep-domains { list-style: none; margin: 1rem 0; padding: 0; border: 1px solid var(--ip-border); border-radius: 8px; overflow: hidden; }
.certprep-domains li { display: flex; justify-content: space-between; padding: .5rem .9rem; border-bottom: 1px solid var(--ip-border); font-size: .9rem; }
.certprep-domains li:last-child { border-bottom: none; }
.certprep-domain-count { color: var(--ip-muted); }

.certprep-notice { border: 1px dashed var(--ip-border); border-radius: 8px; padding: 1.5rem; text-align: center; }

.certprep-choices { display: flex; flex-direction: column; gap: .5rem; margin: 1rem 0; }
.certprep-choice {
	display: flex; gap: .6rem; align-items: flex-start;
	border: 1px solid var(--ip-border, #ddd); border-radius: 8px; padding: .6rem .8rem;
	background: var(--ip-card-bg, #fff); cursor: pointer;
}
.certprep-choice.is-correct { border-color: var(--ip-success, #067647); background: #ecfdf3; }
.certprep-choice.is-wrong { border-color: var(--ip-danger, #b42318); background: #fef3f2; }
.certprep-result { margin-top: 1rem; padding: 1rem; background: #f2f4f7; border-radius: 8px; }
.certprep-correct { color: var(--ip-success, #067647); font-weight: bold; }
.certprep-incorrect { color: var(--ip-danger, #b42318); font-weight: bold; }
.certprep-locked { color: #92400e; font-weight: bold; }
.certprep-locked-box { border: 1px dashed #d97706; background: #fffbeb; border-radius: 10px; padding: 1.25rem; }
.certprep-unlock { border: 1px dashed #999; padding: 1rem; border-radius: 8px; margin-top: 1rem; }
.certprep-counter { font-weight: 600; color: var(--ip-muted); margin: .25rem 0 .75rem; }
.certprep-back-link { display: inline-block; margin-bottom: 1rem; }
.certprep-pager { display: flex; gap: .5rem; margin-top: 1rem; }

.certprep-contest { margin-top: 1rem; }
.certprep-contest-form { border: 1px solid var(--ip-border); border-radius: 8px; padding: 1rem; margin-top: .5rem; max-width: 480px; }
.certprep-contest-form label { display: block; font-size: .85rem; margin-bottom: .75rem; }
.certprep-input { width: 100%; padding: .5rem; border: 1px solid var(--ip-border); border-radius: 6px; font: inherit; }
.certprep-error { color: var(--ip-danger); font-size: .85rem; }

/* Exam mode */
.ip-exam-topbar {
	display: flex; justify-content: space-between; align-items: center;
	background: var(--ip-card-bg, #fff); border: 1px solid var(--ip-border, #ddd);
	border-radius: 10px; padding: .75rem 1rem; margin-bottom: 1rem; flex-wrap: wrap; gap: .5rem;
}
.ip-exam-timer-wrap { display: flex; align-items: baseline; gap: .3rem; }
.ip-exam-timer-label { font-size: .8rem; color: var(--ip-muted); }
.ip-exam-timer { font-variant-numeric: tabular-nums; font-weight: 700; }
.ip-exam-timer.is-low { color: var(--ip-danger, #b42318); }
.certprep-timeup-banner { background: #fef3f2; color: var(--ip-danger); border: 1px solid var(--ip-danger); border-radius: 8px; padding: .75rem 1rem; margin-bottom: 1rem; font-weight: 600; }
.certprep-confirm-submit { border: 1px solid var(--ip-primary); background: #eff6ff; border-radius: 8px; padding: 1rem; margin-bottom: 1rem; }
.ip-exam-nav { display: flex; flex-wrap: wrap; gap: .35rem; margin: 1rem 0; }
.ip-exam-nav button {
	width: 34px; height: 34px; border-radius: 6px; border: 1px solid var(--ip-border, #ddd);
	background: #fff; cursor: pointer; font-size: .8rem;
}
.ip-exam-nav button.is-answered { background: #dbeafe; border-color: var(--ip-primary); }
.ip-exam-nav button.is-marked { outline: 2px solid #f59e0b; }
.ip-exam-nav button.is-current { background: var(--ip-primary); border-color: var(--ip-primary-dark); color: #fff; font-weight: bold; }
.ip-exam-legend { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .78rem; color: var(--ip-muted); margin: 0 0 .5rem; }
.ip-exam-legend span { display: inline-flex; align-items: center; gap: .3rem; }
.ip-exam-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; border: 1px solid var(--ip-border); }
.ip-exam-legend .i-answered { background: #dbeafe; border-color: var(--ip-primary); }
.ip-exam-legend .i-marked { border-color: #f59e0b; outline: 2px solid #f59e0b; }
.ip-exam-legend .i-current { background: var(--ip-primary); }
.ip-progress-bar { height: 8px; background: var(--ip-border, #eee); border-radius: 999px; overflow: hidden; margin: .5rem 0 1rem; }
.ip-progress-bar > div { height: 100%; background: var(--ip-primary); }
.ip-domain-score { display: flex; justify-content: space-between; padding: .4rem 0; border-bottom: 1px solid var(--ip-border); }
.certprep-verdict { font-size: 1.1rem; }

/* My results */
.certprep-results-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.certprep-results-table th, .certprep-results-table td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--ip-border); font-size: .9rem; }

/* Search */
.certprep-search-title { margin-bottom: .25rem; }
.certprep-search-count { color: var(--ip-muted); font-size: .85rem; margin-top: 0; }

/* Legal / pricing content pages */
.certprep-legal h2, .certprep-legal h3 { margin-top: 1.5rem; }
.certprep-legal p, .certprep-legal li { overflow-wrap: anywhere; word-break: break-word; }
.certprep-legal-draft { background: #fef3c7; color: #92400e; padding: .6rem .9rem; border-radius: 8px; }
.certprep-pricing-soon { color: var(--ip-muted); }
.certprep-pricing-cols { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 1.5rem 0; }
.certprep-pricing-col { flex: 1 1 260px; border: 1px solid var(--ip-border); border-radius: 10px; padding: 1.25rem; }

/* D-024 — home page: "New" + grouped catalog (vendor / technology), neutral badges. */
.certprep-home-section { margin: 0 0 2.5rem; }
.certprep-home-section > h2 { margin: 0 0 1rem; }
.certprep-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1rem; }
.certprep-tile {
	display: flex; gap: 1rem; align-items: flex-start; min-width: 0;
	background: var(--ip-card-bg, #fff); border: 1px solid var(--ip-border, #e2e5ea);
	border-radius: 10px; padding: 1rem; box-shadow: 0 1px 3px rgba(16,24,40,.06);
}
.certprep-tile-badge { flex: 0 0 auto; line-height: 0; }
.certprep-badge-img { display: block; width: 88px; height: 88px; max-width: 100%; border-radius: 12px; }
.certprep-cert-page .certprep-badge-img { width: 120px; height: 120px; margin-bottom: .75rem; }
.certprep-tile-body { min-width: 0; flex: 1 1 auto; }
.certprep-tile-title { margin: 0 0 .2rem; font-size: 1rem; line-height: 1.3; overflow-wrap: anywhere; }
.certprep-tile .certprep-vendor { margin: 0 0 .35rem; font-size: .85rem; }
.certprep-tile-meta { margin: 0 0 .35rem; font-size: .85rem; color: var(--ip-muted, #667085); }
.certprep-tile .certprep-btn { margin: .25rem 0 0; }
.certprep-groupnav { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.25rem; }
.certprep-groupnav a {
	display: inline-block; padding: .45rem .9rem; border: 1px solid var(--ip-border, #e2e5ea); border-radius: 999px;
	text-decoration: none; color: var(--ip-text, #1f2430); background: var(--ip-card-bg, #fff); font-size: .9rem;
}
.certprep-groupnav a:hover { border-color: var(--ip-primary, #0066cc); color: var(--ip-primary, #0066cc); }
.certprep-groupnav a.is-active { background: var(--ip-primary, #0066cc); border-color: var(--ip-primary, #0066cc); color: #fff; }
.certprep-groupnav a:focus-visible, .certprep-tile a:focus-visible { outline: 2px solid var(--ip-primary, #0066cc); outline-offset: 2px; }
.certprep-group { margin: 0 0 1.75rem; }
.certprep-group-title { font-size: 1.05rem; margin: 0 0 .75rem; padding-bottom: .35rem; border-bottom: 1px solid var(--ip-border, #e2e5ea); }
.certprep-group-count { color: var(--ip-muted, #667085); font-weight: normal; font-size: .9rem; }
.certprep-lock-icon { display: inline-block; vertical-align: -3px; flex: 0 0 auto; }
.certprep-locked { display: flex; align-items: center; gap: .5rem; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 480px) {
	.certprep-tile { padding: .85rem; gap: .75rem; }
	.certprep-badge-img { width: 64px; height: 64px; }
}
/* Sober lock notice (no warning colours, no emoji). */
.certprep-locked-box { border: 1px solid var(--ip-border, #e2e5ea); background: #f8fafc; }
.certprep-locked-box .certprep-locked { color: var(--ip-text, #1f2430); font-weight: 600; }
.certprep-btn-locked .certprep-lock-icon { vertical-align: middle; }
.certprep-tile-unofficial { display: inline-block; margin: 0 0 .4rem; padding: .05rem .45rem; font-size: .72rem; letter-spacing: .03em; text-transform: uppercase; color: var(--ip-muted, #667085); border: 1px solid var(--ip-border, #e2e5ea); border-radius: 4px; }

/* Certification, FAQ and subscription pages: content sections (25/09). */
.certprep-section { margin-top: 2.5rem; }
.certprep-section h2, .certprep-home-section h2 { font-size: 1.35rem; margin: 0 0 .75rem; }
.certprep-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 1rem; margin-top: 1rem; }
.certprep-step { background: var(--ip-card-bg, #fff); border: 1px solid var(--ip-border, #ddd); border-radius: 10px; padding: 1rem 1.1rem; }
.certprep-step h3 { font-size: 1rem; margin: 0 0 .4rem; color: var(--ip-primary, #0066cc); }
.certprep-step p { margin: 0; font-size: .92rem; color: var(--ip-muted, #475569); }
.certprep-sample { background: var(--ip-card-bg, #fff); border: 1px solid var(--ip-border, #ddd); border-radius: 10px; padding: 1.25rem 1.4rem; }
.certprep-sample-q { font-weight: 600; }
.certprep-sample-choices { padding-left: 1.5rem; }
.certprep-sample-choices li { margin: .35rem 0; }
.certprep-faq { display: grid; gap: .6rem; }
.certprep-faq-item { background: var(--ip-card-bg, #fff); border: 1px solid var(--ip-border, #ddd); border-radius: 8px; padding: .2rem 1rem; }
.certprep-faq-item summary { cursor: pointer; padding: .65rem 0; font-weight: 600; list-style-position: outside; }
.certprep-faq-item summary:focus-visible { outline: 2px solid var(--ip-primary, #0066cc); outline-offset: 2px; }
.certprep-faq-q { display: inline; font-size: 1rem; margin: 0; }
.certprep-faq-a { padding: 0 0 .75rem; }
.certprep-faq-a p { margin: .4rem 0; }
.certprep-highlight { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 12px; padding: 1.25rem 1.4rem; }
.certprep-included { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1rem 2rem; }
.certprep-included h3 { font-size: 1rem; margin: .5rem 0 .4rem; }
.certprep-included ul { list-style: none; margin: 0; padding: 0; }
.certprep-included li { display: flex; justify-content: space-between; gap: .75rem; padding: .3rem 0; border-bottom: 1px solid var(--ip-border, #eee); font-size: .9rem; }
.certprep-lead { font-size: 1.05rem; max-width: 760px; }
.certprep-stats { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.75rem; padding: 0; }
.certprep-stats li { background: var(--ip-card-bg, #fff); border: 1px solid var(--ip-border, #ddd); border-radius: 999px; padding: .35rem .9rem; font-size: .9rem; }
.certprep-stats strong { color: var(--ip-primary, #0066cc); }
.certprep-home-ai { margin-bottom: 2rem; }
.certprep-home-ai p { margin: 0 0 .9rem; }
.certprep-pills { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.certprep-pills a { display: inline-block; background: #fff; border: 1px solid #bfdbfe; border-radius: 999px; padding: .35rem .85rem; font-size: .9rem; text-decoration: none; color: var(--ip-primary-dark, #004a99); font-weight: 600; }
.certprep-pills a:hover, .certprep-pills a:focus-visible { background: var(--ip-primary, #0066cc); color: #fff; }
.certprep-pills span { display: none; }
/* Exam correction: filters and per-choice marking (26/09). */
.certprep-review-filters .certprep-btn[aria-pressed="true"] { background: var(--ip-primary, #0066cc); }
.certprep-result { border: 1px solid var(--ip-border, #ddd); border-left-width: 4px; border-radius: 8px; padding: .9rem 1.1rem; margin: 0 0 1rem; background: var(--ip-card-bg, #fff); }
.certprep-result.is-right { border-left-color: var(--ip-success, #067647); }
.certprep-result.is-wrong { border-left-color: var(--ip-danger, #b42318); }
.certprep-review-choice { cursor: default; margin: .4rem 0; }
.certprep-review-choice .certprep-expl { margin: .3rem 0 0; font-size: .9rem; }
