.cymp { --cymd-accent: #00b86b; --encre: #111; --gris: #6b7280; --bord: #e5e7eb; --fond: #f7f7f8; max-width: 1040px; margin: 0 auto; color: var(--encre); font-size: 16px; line-height: 1.5; }
.cymp *, .cymp *::before, .cymp *::after { box-sizing: border-box; }
.cymp h2 { font-size: 30px; line-height: 1.2; margin: 4px 0 14px; font-weight: 800; }
.cymp h3 { font-size: 19px; margin: 0 0 14px; font-weight: 700; }
.cymp-surtitre { color: var(--cymd-accent); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin: 0; }
.cymp-gris { color: var(--gris); }
.cymp-petit { font-size: 13px; color: var(--gris); margin: 10px 0 0; }
.cymp-petit a, .cymp-lien { color: var(--encre); text-decoration: underline; }
.cymp-hero { background: #111; color: #fff; border-radius: 18px; padding: 32px; margin-bottom: 20px; }
.cymp-hero h2 { color: #fff; max-width: 680px; }
.cymp-avantages { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.cymp-avantages li { padding-left: 26px; position: relative; color: #ddd; }
.cymp-avantages li::before { content: "✓"; position: absolute; left: 0; color: var(--cymd-accent); font-weight: 800; }
.cymp-avantages strong { color: #fff; }
.cymp-deux { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.cymp-carte { background: #fff; border: 1px solid var(--bord); border-radius: 16px; padding: 24px; margin-bottom: 20px; box-shadow: 0 6px 20px rgba(0,0,0,.04); }
.cymp-form { display: grid; gap: 12px; }
.cymp-form label { display: grid; gap: 5px; font-size: 14px; font-weight: 600; }
.cymp-form label small { font-weight: 400; color: var(--gris); }
.cymp-form input, .cymp-form select { width: 100%; font: inherit; font-weight: 400; padding: 11px 13px; border: 1.5px solid var(--bord); border-radius: 10px; background: var(--fond); color: var(--encre); }
.cymp-form input:focus, .cymp-form select:focus { outline: none; border-color: #111; background: #fff; }
.cymp-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cymp-case { display: flex !important; grid-template-columns: none; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 13px !important; color: var(--gris); }
.cymp-case input { width: 18px !important; height: 18px; margin-top: 2px; flex: none; accent-color: var(--cymd-accent); }
.cymp-case a { color: inherit; }
.cymp-hp { position: absolute !important; left: -9999px !important; }
.cymp-btn { display: inline-block; background: var(--cymd-accent); color: #0b0b0b !important; border: 0; border-radius: 10px; padding: 13px 22px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none !important; text-align: center; }
.cymp-btn:hover { filter: brightness(.95); }
.cymp-btn--noir { background: #111; color: #fff !important; }
.cymp-btn--petit { padding: 8px 14px; font-size: 14px; }
.cymp-aide { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--bord); font-size: 14px; }
.cymp-aide p { margin: 6px 0 0; }
.cymp-aide a { color: var(--encre); }
.cymp-erreur, .cymp-ok, .cymp-note { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; }
.cymp-erreur { background: #fef2f2; color: #b91c1c; }
.cymp-ok { background: #f0fdf4; color: #166534; }
.cymp-note { background: #fff7ed; color: #9a3412; }
.cymp-tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 16px; }
.cymp-tete h2 { margin-bottom: 0; }
.cymp-grille { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; }
.cymp-code__valeur { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; background: #111; color: #fff; border-radius: 12px; padding: 16px 20px; }
.cymp-code__valeur span { font-size: 30px; font-weight: 800; letter-spacing: .06em; }
.cymp-code__valeur em { font-style: normal; font-weight: 800; color: var(--cymd-accent); font-size: 20px; }
.cymp-code__attente { background: var(--fond); color: var(--gris); }
.cymp-code__attente em { color: #b45309; font-size: 14px; }
.cymp-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cymp-stats { display: grid; gap: 12px; align-content: center; }
.cymp-stats div { display: flex; align-items: baseline; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--bord); }
.cymp-stats div:last-child { border: 0; }
.cymp-stats strong { font-size: 28px; font-weight: 800; min-width: 44px; }
.cymp-stats span { color: var(--gris); }
.cymp details > summary { list-style: none; cursor: pointer; display: inline-block; }
.cymp details > summary::-webkit-details-marker { display: none; }
.cymp details[open] > summary { margin-bottom: 18px; background: #111; color: #fff !important; }
.cymp-assistant .cymd { max-width: none; }
.cymp-assistant .cymd-carte-principale { box-shadow: none; border-color: var(--bord); }
.cymp-table-wrap { overflow-x: auto; }
.cymp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cymp-table th { text-align: left; font-size: 12px; text-transform: uppercase; color: var(--gris); padding: 8px; border-bottom: 2px solid var(--encre); }
.cymp-table td { padding: 12px 8px; border-bottom: 1px solid var(--bord); vertical-align: top; }
.cymp-statut { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.cymp-statut--orange { background: #ffedd5; color: #9a3412; }
.cymp-statut--violet { background: #ede9fe; color: #5b21b6; }
.cymp-statut--vert { background: #dcfce7; color: #166534; }
.cymp-statut--gris { background: #f3f4f6; color: #4b5563; }
.cymp-compte p { margin: 0; }
@media (max-width: 860px) {
	.cymp-deux, .cymp-grille, .cymp-avantages { grid-template-columns: 1fr; }
	.cymp-hero { padding: 24px 20px; }
	.cymp h2 { font-size: 24px; }
	.cymp-carte { padding: 18px 16px; }
	.cymp-2 { grid-template-columns: 1fr; }
	.cymp-tete { flex-direction: column; align-items: flex-start; }
}

/* Dossiers (immeubles / chantiers) */
.cymp-3 { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 12px; }
.cymp-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cymp-form input[type=file] { padding: 8px; font-size: 13px; background: #fff; }
.cymp-form textarea { width: 100%; font: inherit; font-weight: 400; padding: 11px 13px; border: 1.5px solid var(--bord); border-radius: 10px; background: var(--fond); resize: vertical; }
.cymp-sous { margin: 6px 0 -4px; font-weight: 700; font-size: 14px; }
.cymp-titre-ligne { display: flex; justify-content: space-between; align-items: center; }
.cymp-dossiers { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-bottom: 16px; }
.cymp-dossier { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; border: 1.5px solid var(--bord); border-radius: 12px; text-decoration: none !important; color: var(--encre) !important; background: #fff; transition: border-color .15s; font-size: 14px; }
.cymp-dossier:hover { border-color: #111; }
.cymp-dossier strong { font-size: 16px; }
.cymp-pastilles { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cymp-pastilles em { font-style: normal; }
.cymp-statut--rouge { background: #fee2e2; color: #b91c1c; }
.cymp-ajout > summary { margin-top: 4px; }
.cymp-ajout[open] > summary { margin-bottom: 14px; }
.cymp-form--dossier { padding-top: 4px; }
.cymp-dossier-tete { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.cymp-h2 { font-size: 24px !important; margin: 2px 0 4px !important; }
.cymp-obligations td { vertical-align: middle; }
.cymp-obligations td:first-child { width: 220px; }
.cymp-obligations td:nth-child(2) { width: 120px; }
.cymp-lien-bouton { background: none; border: 0; padding: 0; color: var(--gris); text-decoration: underline; cursor: pointer; font: inherit; font-size: 13px; }
.cymp-danger { color: #b91c1c !important; }
.cymp-cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.cymp-case-carte { display: flex !important; gap: 8px; align-items: center; padding: 10px 12px; border: 1.5px solid var(--bord); border-radius: 10px; font-weight: 600 !important; cursor: pointer; }
.cymp-case-carte input { width: 18px !important; height: 18px; accent-color: var(--cymd-accent); flex: none; }
.cymp-case-carte:has(input:checked) { border-color: var(--cymd-accent); background: color-mix(in srgb, var(--cymd-accent) 8%, #fff); }
.cymp-depot-doc { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--bord); }
@media (max-width: 860px) {
	.cymp-3, .cymp-4 { grid-template-columns: 1fr 1fr; }
	.cymp-3 .cymp-large { grid-column: 1 / -1; }
	.cymp-obligations td:first-child, .cymp-obligations td:nth-child(2) { width: auto; }
	.cymp-obligations tr { display: grid; grid-template-columns: 1fr auto; }
	.cymp-obligations td:nth-child(3) { grid-column: 1 / -1; border-top: 0; padding-top: 0; }
}
@media (max-width: 520px) { .cymp-3, .cymp-4 { grid-template-columns: 1fr; } }

.cymp-apercu { background: #111; color: #fff; border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: space-between; }
.cymp-apercu a { color: var(--cymd-accent); }
.cymp button[disabled] { opacity: .55; cursor: not-allowed; }
.cymp-profils { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.cymp-profil { background: #fff; border: 1px solid var(--bord); border-radius: 16px; padding: 20px; }
.cymp-profil h3 { font-size: 17px; margin: 0 0 4px; }
.cymp-profil .cymp-pour { color: var(--cymd-accent); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 10px; }
.cymp-profil ul { margin: 0; padding-left: 18px; font-size: 14px; color: #374151; display: grid; gap: 4px; }
.cymp-profil .cymp-tag { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: #dcfce7; color: #166534; }
.cymp-profil .cymp-tag--gris { background: #f3f4f6; color: #4b5563; }
@media (max-width: 860px) { .cymp-profils { grid-template-columns: 1fr; } }
