/* Sorti de certicle.php le 19/09/2026.
 *
 * Les feuilles etaient ecrites dans les pages, ce qui obligeait la
 * politique de securite a autoriser 'unsafe-inline' sur style-src : toute
 * injection de HTML devenait alors une injection de style. En fichier, le
 * navigateur peut les mettre en cache, et la politique peut se fermer.
 *
 * Deplace sans une modification : ce qui suit est le bloc d'origine. */

html,body{height:100%;overflow:hidden;}
.app{height:100vh;overflow:hidden;}
.main{height:100vh;min-height:0;overflow:hidden;display:flex;flex-direction:column;}
.cc-shell{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden;}

.cc-page-header{display:flex;align-items:center;padding:var(--space-5) var(--space-8) 0;flex-shrink:0;}
.cc-page-kicker{font-size:.68rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:#1c61e7;margin-bottom:2px;}
.cc-page-title{font-size:1.5rem;font-weight:900;color:var(--psg-navy);margin:0;line-height:1.1;}
.cc-page-sub{font-size:.8rem;color:var(--grey-400);font-weight:600;margin-top:3px;}
.cc-page-link{margin-left:auto;font-size:.78rem;font-weight:700;color:#1c61e7;text-decoration:none;}
.cc-page-link:hover{text-decoration:underline;}

.cc-content{flex:1;min-height:0;overflow-y:auto;padding:var(--space-5) var(--space-8);background:var(--grey-100);}

.cc-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-3);margin-bottom:var(--space-5);}
.cc-stat{background:#fff;border:1px solid #d9d9d9;border-radius:12px;padding:var(--space-4);position:relative;overflow:hidden;}
.cc-stat::after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--sa,#1c61e7);opacity:.3;}
.cc-stat-label{font-size:.65rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--grey-500);}
.cc-stat-value{font-size:1.4rem;font-weight:800;color:var(--psg-navy);margin-top:4px;}
.cc-stat-hint{font-size:.66rem;color:var(--grey-400);font-weight:600;margin-top:2px;}

.cc-filters{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-5);border-bottom:1px solid var(--grey-100);flex-wrap:wrap;}
.cc-search{flex:1;min-width:200px;}
.cc-check{display:inline-flex;align-items:center;gap:6px;font-size:.78rem;font-weight:700;color:var(--grey-600);white-space:nowrap;cursor:pointer;}

.cc-table{width:100%;border-collapse:collapse;}
.cc-table th{text-align:left;font-size:.64rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:var(--grey-500);padding:10px var(--space-5);border-bottom:1px solid var(--grey-100);white-space:nowrap;}
.cc-table td{padding:11px var(--space-5);border-bottom:1px solid var(--grey-100);font-size:.83rem;vertical-align:middle;}
.cc-table tbody tr:hover{background:var(--grey-50,#fafafa);}
.cc-date{white-space:nowrap;color:var(--grey-500);font-weight:600;font-variant-numeric:tabular-nums;}
.cc-demandeur{font-weight:700;color:var(--psg-navy);}
.cc-mono{font-family:Consolas,Menlo,monospace;font-size:.78rem;}
.cc-muted{color:var(--grey-400);}

.cc-badge{display:inline-block;font-size:.64rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;padding:3px 8px;border-radius:4px;white-space:nowrap;}
.cc-b-ok{background:#e7f4ec;color:#1f7a4c;border:1px solid #1f7a4c;}
.cc-b-ko{background:#f3f4f6;color:#6b7280;border:1px solid #d1d5db;}
.cc-b-warn{background:#fdf1e3;color:#8f5710;border:1px solid #b8860b;}
.cc-alerte{display:inline-block;font-size:.68rem;font-weight:700;color:#b02a1e;}

.cc-empty{padding:60px 20px;text-align:center;color:var(--grey-400);font-weight:700;}
.cc-pagination{display:flex;align-items:center;justify-content:center;gap:var(--space-2);padding:var(--space-5);}
.cc-pagination button{min-width:34px;}
