.dnb-front-wrap {
	font-family: inherit;
	max-width: 900px;
}

.dnb-filter-form {
	margin-bottom: 20px;
}

/* Bloc "Tri des sujets" (repliable) */
.dnb-tri-block {
	background: #e2fff4;
	border: 1px solid #c9f0e2;
	border-radius: 10px;
	padding: 14px 20px;
	margin-bottom: 14px;
}

.dnb-tri-title {
	font-size: 19px;
	font-weight: 700;
	color: #2d4988;
	cursor: pointer;
	list-style-position: outside;
	padding: 4px 0;
}

.dnb-tri-title::marker {
	color: #2d4988;
}

.dnb-tri-content {
	margin-top: 12px;
}

.dnb-tri-subtitle {
	font-size: 13px;
	color: #555;
	margin: 0 0 12px;
}

.dnb-notion-category {
	margin-bottom: 4px;
}

.dnb-notion-category-title {
	font-size: 16px;
	font-weight: 700;
	color: #23282d;
	margin: 14px 0 8px;
}

.dnb-notion-category:first-child .dnb-notion-category-title {
	margin-top: 0;
}

.dnb-notions-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 6px 18px;
}

.dnb-notion-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	font-size: 14px;
	line-height: 1.4;
}

.dnb-notion-input {
	accent-color: green;
}

.dnb-sep {
	border: none;
	border-top: 1px solid #b9e8d7;
	margin: 16px 0 12px;
}

.dnb-corrige-only {
	display: block;
	margin: 0 0 16px;
	font-size: 14px;
}

.dnb-filter-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.dnb-export-buttons {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 18px;
}

.dnb-export-buttons-spread {
	flex-wrap: nowrap;
	justify-content: space-between;
}

.dnb-btn {
	border: none;
	border-radius: 6px;
	padding: 9px 18px;
	font-size: 14px;
	cursor: pointer;
}

.dnb-btn-primary {
	background: #1d4e89;
	color: #fff;
}

.dnb-btn-secondary {
	background: #fff;
	color: #1d4e89;
	border: 1px solid #1d4e89;
}

.dnb-btn-disabled {
	display: inline-block;
	background: #f1f1f1;
	color: #999;
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 9px 18px;
	font-size: 14px;
	cursor: not-allowed;
}

.dnb-count-sentence {
	font-size: 14px;
	color: #444;
	margin: 0 0 6px;
}

.dnb-recap-title {
	font-size: 14px;
	font-weight: 700;
	color: #2d4988;
	margin: 0 0 6px;
}

table.dnb-notions-recap {
	width: 100%;
	border-collapse: collapse;
	border: none;
	margin: 0 0 16px;
}

table.dnb-notions-recap td {
	border: none;
	padding: 3px 8px 3px 0;
	font-size: 14px;
	vertical-align: top;
}

.dnb-recap-category {
	font-weight: 700;
	color: #555;
	white-space: nowrap;
	width: 1%;
}

ul.dnb-recap-list {
	margin: 0;
	padding-left: 18px;
}

ul.dnb-recap-list li {
	list-style-type: disc;
}

.dnb-password-form {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin: 0 0 16px;
	font-size: 14px;
}

.dnb-password-row {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.dnb-password-input {
	padding: 6px 10px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 14px;
}

.dnb-password-invalid {
	display: block;
	margin-top: 3px;
	color: #b32d2e;
	font-weight: 700;
	font-size: 13px;
}

.dnb-password-submit {
	margin-top: 10px;
}

.dnb-category-heading {
	color: #55308d;
	font-size: 16px;
	font-weight: 700;
	text-decoration: underline;
	margin: 22px 0 10px;
}

.dnb-notion-band {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 7px 12px;
	border-radius: 4px;
	font-weight: 700;
	color: #555;
	margin: 10px 0 4px;
}

.dnb-notion-band-count {
	font-weight: 700;
	white-space: nowrap;
}

.dnb-band-chimie {
	background: #e8f2a1;
}

.dnb-band-physique {
	background: #d6e4f0;
}

.dnb-band-global {
	background: #f5dada;
}

table.dnb-resultats-table {
	width: 100%;
	border-collapse: collapse;
	border: none;
}

table.dnb-resultats-table td {
	border: none;
	border-bottom: 1px solid #eceff1;
	padding: 10px 8px;
	font-size: 15px;
	vertical-align: top;
}

.dnb-col-sujet {
	width: 78%;
}

.dnb-col-correction {
	width: 22%;
	text-align: right;
}

.dnb-numero {
	color: #999;
	margin-right: 4px;
}

.dnb-annee {
	color: #1d4e89;
}

.dnb-col-sujet a {
	color: #1d4e89;
}

.dnb-col-correction a {
	color: #2e8b74;
	font-weight: 600;
	text-decoration: none;
}

.dnb-no-results {
	color: #666;
	font-style: italic;
}

/* Visionneuse PDF plein écran (façon Google Docs) */

.dnb-lightbox {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba( 0, 0, 0, 0.85 );
	z-index: 999999;
	flex-direction: column;
}

.dnb-lightbox.dnb-lightbox-open {
	display: flex;
}

.dnb-lightbox-bar {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	padding: 12px 20px;
	flex-shrink: 0;
}

.dnb-lightbox-close,
.dnb-lightbox-download {
	color: #fff;
	font-size: 20px;
	text-decoration: none;
	cursor: pointer;
	background: rgba( 255, 255, 255, 0.15 );
	border: none;
	border-radius: 50%;
	width: 42px;
	height: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.dnb-lightbox-close:hover,
.dnb-lightbox-download:hover {
	background: rgba( 255, 255, 255, 0.3 );
}

.dnb-lightbox-body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	display: flex;
	justify-content: center;
}

.dnb-lightbox-pages {
	width: 80%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding-bottom: 30px;
}

.dnb-lightbox-frame {
	width: 80%;
	height: 100%;
	border: none;
	background: #fff;
}

.dnb-lightbox-page {
	max-width: 100%;
	box-shadow: 0 4px 18px rgba( 0, 0, 0, 0.5 );
	background: #fff;
}

.dnb-lightbox-status {
	color: #fff;
	text-align: center;
	margin-top: 60px;
	font-size: 15px;
	padding: 0 20px;
}

.dnb-lightbox-error a {
	color: #8ab4f8;
}

.dnb-lightbox-error-detail {
	display: inline-block;
	margin-top: 10px;
	font-size: 11px;
	color: #999;
}

body.dnb-lightbox-active {
	overflow: hidden;
}

@media ( max-width: 480px ) {
	.dnb-export-buttons {
		flex-direction: column;
	}

	.dnb-export-buttons .dnb-btn,
	.dnb-export-buttons .dnb-btn-disabled {
		width: 100%;
		text-align: center;
		box-sizing: border-box;
	}
}
