
.cse-records-panel{padding:0!important;background:transparent!important;border:0!important}
.cse-record-notice{margin-bottom:14px;padding:12px 15px;border-radius:10px;background:#e8f7ed;color:#1f6c3d;font-weight:800}.cse-record-notice.error{background:#fde9e9;color:#992828}
.cse-records-toolbar{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:20px;border-radius:17px;background:#fff;border:1px solid #dbe5ef}.cse-records-toolbar span{font-size:10px;font-weight:900;letter-spacing:.13em;text-transform:uppercase;color:#1769d1}.cse-records-toolbar h3{margin:4px 0}.cse-records-toolbar p{margin:0;color:#66778c}
.cse-record-primary{border:0!important;border-radius:11px!important;background:#ff8a00!important;color:#fff!important;padding:11px 17px!important;font-weight:900!important;cursor:pointer}
.cse-record-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0}.cse-record-stats article{display:flex;align-items:center;gap:12px;padding:15px;border:1px solid #dbe5ef;border-radius:14px;background:#fff}.cse-record-stats article>span{font-size:25px}.cse-record-stats strong,.cse-record-stats small{display:block}.cse-record-stats strong{font-size:23px}.cse-record-stats small{color:#708096}
.cse-record-layout{display:grid;grid-template-columns:310px minmax(0,1fr);min-height:620px;border:1px solid #dbe5ef;border-radius:17px;overflow:hidden;background:#fff}
.cse-record-list{border-right:1px solid #e0e8f0;background:#f8fbfe}.cse-record-list h4{padding:16px;margin:0;border-bottom:1px solid #e0e8f0}.cse-record-list>a{display:block;padding:14px 16px;border-bottom:1px solid #e5ecf2;color:#17243b;text-decoration:none}.cse-record-list>a:hover,.cse-record-list>a.active{background:#eaf3ff}.cse-record-list strong,.cse-record-list span,.cse-record-list small{display:block}.cse-record-list span{margin-top:4px;color:#4c6077}.cse-record-list small{margin-top:4px;color:#78879a}
.cse-record-detail{padding:20px}.cse-record-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.cse-record-head h4{margin:7px 0 4px;font-size:22px}.cse-record-head>div>span{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:900;text-transform:uppercase}.cse-record-head .status-draft{background:#eef1f5;color:#52657a}.cse-record-head .status-published{background:#ddf5e6;color:#1e7944}.cse-record-head>button,.cse-record-section-head button{border:1px solid #ccd8e4;border-radius:9px;background:#fff;padding:8px 11px;font-weight:800;cursor:pointer}
.cse-record-content{margin-top:18px;line-height:1.65;color:#30435a}.cse-record-summary{margin-top:18px;padding:15px;border-radius:12px;background:#f4f8fc}.cse-record-summary h5{margin:0 0 8px}
.cse-record-section{margin-top:20px;padding-top:18px;border-top:1px solid #e2e9f0}.cse-record-section-head{display:flex;justify-content:space-between;gap:10px;align-items:center}.cse-record-section-head h5{margin:0}
.cse-document-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:9px;margin-top:12px}.cse-document-grid>a{display:flex;gap:10px;align-items:center;padding:11px;border:1px solid #dce5ee;border-radius:10px;color:#17243b;text-decoration:none}.cse-document-grid>a>span{font-size:23px}.cse-document-grid strong,.cse-document-grid small{display:block}.cse-document-grid small{margin-top:3px;color:#718196}
.cse-decision-list{display:grid;gap:9px;margin-top:12px}.cse-decision-list article{display:flex;justify-content:space-between;gap:15px;padding:12px;border-left:4px solid #1769d1;border-radius:10px;background:#f8fafc}.cse-decision-list article.status-done{border-left-color:#2aa565}.cse-decision-list article.status-postponed{border-left-color:#f08a24}.cse-decision-list p{margin:4px 0}.cse-decision-list small{color:#6f8093}.cse-decision-list select{padding:7px;border:1px solid #ccd8e4;border-radius:8px}
.cse-record-history{margin-top:20px;padding:12px;border:1px solid #dce5ee;border-radius:10px}.cse-record-history summary{font-weight:850;cursor:pointer}.cse-record-history>div{padding:7px 0;border-top:1px solid #e6ecf2}
.cse-record-empty{display:grid;place-items:center;align-content:center;min-height:220px;padding:24px;text-align:center;color:#718196}.cse-record-empty.small{min-height:80px}.cse-record-empty>span{font-size:40px}.cse-record-empty h4{margin:9px 0 3px}
.cse-record-modal{position:fixed;inset:0;z-index:2147481000;display:grid;place-items:center;padding:18px;background:rgba(2,17,37,.74);backdrop-filter:blur(7px)}.cse-record-modal[hidden]{display:none!important}.cse-record-modal-card{position:relative;width:min(820px,96vw);max-height:92vh;overflow:auto;padding:22px;border-radius:20px;background:#fff;box-shadow:0 25px 80px rgba(0,0,0,.38)}.cse-record-modal-card.small{width:min(560px,96vw)}.cse-record-close{position:absolute;right:13px;top:12px;width:38px;height:38px;border:0;border-radius:9px;background:#eef2f6;font-size:24px;cursor:pointer}.cse-record-modal-card h3{margin-top:0;padding-right:45px}.cse-record-modal-card label{display:block;margin-bottom:12px;font-weight:800}.cse-record-modal-card input,.cse-record-modal-card select,.cse-record-modal-card textarea{display:block;width:100%;box-sizing:border-box;margin-top:6px;padding:10px;border:1px solid #ccd8e4;border-radius:10px}.cse-record-form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:14px}.cse-record-form-actions>button:first-child{border:1px solid #ccd8e4;border-radius:10px;background:#fff;padding:10px 15px;font-weight:800}
@media(max-width:800px){.cse-record-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.cse-record-layout{display:block}.cse-record-list{max-height:320px;overflow:auto;border-right:0;border-bottom:1px solid #e0e8f0}}
@media(max-width:520px){.cse-records-toolbar{flex-direction:column;align-items:stretch}.cse-record-stats{grid-template-columns:1fr}.cse-record-detail{padding:14px}.cse-record-head{flex-direction:column}.cse-decision-list article{flex-direction:column}}


/* Correctif 7.3.3-b.4.4-a.4 — formulaire Nouveau compte rendu */
.cse-record-modal-card,
.cse-record-modal-card *{
    color:#17243b !important;
    text-shadow:none !important;
    opacity:1 !important;
}

.cse-record-modal-card{
    background:#ffffff !important;
}

.cse-record-modal-card h3{
    color:#102a43 !important;
}

.cse-record-modal-card label{
    color:#24364d !important;
    font-weight:800 !important;
}

.cse-record-modal-card input,
.cse-record-modal-card select,
.cse-record-modal-card textarea{
    background:#ffffff !important;
    color:#17243b !important;
    -webkit-text-fill-color:#17243b !important;
    border:1px solid #bfcddd !important;
    opacity:1 !important;
}

.cse-record-modal-card select option{
    background:#ffffff !important;
    color:#17243b !important;
}

.cse-record-modal-card input::placeholder,
.cse-record-modal-card textarea::placeholder{
    color:#718196 !important;
    opacity:1 !important;
}

.cse-record-modal-card input:focus,
.cse-record-modal-card select:focus,
.cse-record-modal-card textarea:focus{
    border-color:#1769d1 !important;
    box-shadow:0 0 0 3px rgba(23,105,209,.13) !important;
    outline:none !important;
}

.cse-record-meeting-help{
    display:block !important;
    margin-top:7px !important;
    color:#60758c !important;
    font-size:12px !important;
    font-weight:600 !important;
}

#cse-record-meeting-select.has-selection{
    border-color:#2aa565 !important;
    box-shadow:0 0 0 3px rgba(42,165,101,.12) !important;
}

.cse-record-form-actions > button:first-child{
    background:#ffffff !important;
    color:#24364d !important;
    border:1px solid #bfcddd !important;
}

.cse-record-form-actions .cse-record-primary{
    background:#ff8a00 !important;
    color:#ffffff !important;
    border-color:#ff8a00 !important;
}

.cse-record-close{
    background:#eef2f6 !important;
    color:#17243b !important;
}

/* Correctif 7.3.3-b.4.4-a.5 — fermeture et catégories libres */
.cse-record-close{
    display:grid !important;
    place-items:center !important;
    width:38px !important;
    height:38px !important;
    min-width:38px !important;
    min-height:38px !important;
    background:#eef2f6 !important;
    border:1px solid #d5dee8 !important;
    border-radius:9px !important;
    color:#17243b !important;
    -webkit-text-fill-color:#17243b !important;
    opacity:1 !important;
    font-size:24px !important;
    font-weight:700 !important;
    line-height:1 !important;
    text-shadow:none !important;
    cursor:pointer !important;
}
.cse-record-close:hover{
    background:#e2e8f0 !important;
    color:#102a43 !important;
    -webkit-text-fill-color:#102a43 !important;
}
.cse-record-form-actions > button:first-child,
.cse-record-form-actions button[data-cse-close-record]{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-width:92px !important;
    min-height:40px !important;
    padding:9px 14px !important;
    background:#ffffff !important;
    border:1px solid #aebdcd !important;
    border-radius:10px !important;
    color:#24364d !important;
    -webkit-text-fill-color:#24364d !important;
    opacity:1 !important;
    font-weight:800 !important;
    text-shadow:none !important;
    cursor:pointer !important;
}
.cse-record-form-actions > button:first-child:hover,
.cse-record-form-actions button[data-cse-close-record]:hover{
    background:#f2f6fa !important;
    border-color:#1769d1 !important;
    color:#1769d1 !important;
    -webkit-text-fill-color:#1769d1 !important;
}
.cse-record-form-actions .cse-record-primary{
    min-width:110px !important;
    min-height:40px !important;
}
#cse-record-meeting-select{
    cursor:pointer !important;
    background-color:#ffffff !important;
    color:#17243b !important;
    -webkit-text-fill-color:#17243b !important;
}
#cse-record-meeting-select option{
    background:#ffffff !important;
    color:#17243b !important;
}
