/* IPPA · commentaires. Autonome pour l'admin ; ajouts ciblés pour les articles. */
.cm-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}
.ax-comment-form form{margin-top:1.25rem}
.ax-comment-form .ax-btn{cursor:pointer}
.ax-comment-form :where(input,textarea):focus-visible{outline:3px solid #62a1c3;outline-offset:2px;border-color:#246a8d}
.ax-comment-form .ax-comment-status.cm-public-success{background:#ebf8f0;color:#205b3b;border:1px solid #b7dfc7}
.ax-comment-form .ax-comment-status.cm-public-alert{background:#fff6e9;color:#845320;border:1px solid #f2d8b0}
.cm-public-small{font-size:.82rem;line-height:1.6;color:#617586;margin:12px 0 0}
.cm-admin,.cm-admin *{box-sizing:border-box}
.cm-admin{margin:0;background:#f4f7fa;color:#183445;font-family:system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;font-size:16px;line-height:1.55;min-height:100vh}
.cm-admin a{color:#1a6188;text-underline-offset:3px}
.cm-admin a:hover{color:#123f5e}
.cm-admin button,.cm-admin input,.cm-admin textarea{font:inherit}
.cm-admin input[type="text"],.cm-admin input[type="password"],.cm-admin input[type="email"],.cm-admin textarea{display:block;width:100%;min-height:46px;background:#fff;border:1px solid #bfd0dc;border-radius:10px;padding:11px 13px;margin-top:7px;color:#173445;line-height:1.5}
.cm-admin textarea{resize:vertical;min-height:128px}
.cm-admin :where(button,input,textarea,a):focus-visible{outline:3px solid #4d96ba;outline-offset:3px}
.cm-admin label{display:block;font-size:14px;font-weight:650;color:#21465c}
.cm-wrap{max-width:1080px;padding:48px 24px 80px;margin:0 auto}
.cm-panel{border:1px solid #d9e4eb;background:#fff;border-radius:20px;padding:clamp(24px,5vw,46px);box-shadow:0 16px 50px #173d5510}
.cm-login{max-width:460px;margin:clamp(30px,9vh,120px) auto 0}
.cm-setup{max-width:620px;margin:50px auto}
.cm-panel form{margin-top:28px}
.cm-panel form label{margin-top:18px}
.cm-eyebrow{font-size:12px!important;text-transform:uppercase;letter-spacing:.095em;color:#3e7190;font-weight:800;margin:0 0 8px}
.cm-admin h1{font-size:clamp(26px,3vw,38px);line-height:1.19;letter-spacing:-.035em;margin:8px 0 10px;font-weight:780}
.cm-admin h2{font-size:21px;letter-spacing:-.025em}
.cm-intro{max-width:660px;color:#5c7586;margin:6px 0 0}
.cm-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:11px 18px;min-height:44px;border-radius:10px;background:#1c5979;color:#fff!important;border:1px solid #1c5979;font-weight:700;cursor:pointer;text-decoration:none;transition:background .12s}
.cm-button:hover{background:#14425c}
.cm-secondary{background:#fff;color:#1c5979!important;border-color:#bed0db}
.cm-secondary:hover{background:#f2f7fa}
.cm-soft{background:#eaf4f9;color:#1c5979!important;border-color:#c6dce8}
.cm-soft:hover{background:#d7eaf4}
.cm-danger{background:#fff8f8;border-color:#e8c6c6;color:#a72d2d!important}
.cm-danger:hover{background:#fdeeee}
.cm-panel .cm-button{margin-top:24px}
.cm-hint{font-size:13px;color:#60788a;line-height:1.55}
.cm-notice{padding:15px 18px;border-radius:12px;border:1px solid #d6e3ec;background:#eaf3f8;color:#214b65;margin:24px 0}
.cm-notice.cm-error{border-color:#eebfc1;background:#fff1f2;color:#922a36}
.cm-notice.cm-ok{border-color:#b6dfc2;background:#ecf8f0;color:#246341}
.cm-top{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}
.cm-top>form{flex-shrink:0}
.cm-tabs{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid #d9e5ec;padding-bottom:12px;margin:28px 0}
.cm-tabs a{display:inline-flex;align-items:center;gap:9px;padding:11px 16px;border-radius:10px;text-decoration:none;font-weight:700;color:#557082}
.cm-tabs a[aria-current="page"]{color:#174963;background:#e4eef4}
.cm-tabs strong{background:#dce9f0;color:#245872;padding:2px 8px;border-radius:8px;min-width:28px;text-align:center;font-size:13px}
.cm-cards{display:grid;gap:22px}
.cm-item{background:#fff;border:1px solid #d7e4eb;box-shadow:0 8px 30px #214f6910;padding:clamp(20px,3vw,30px);border-radius:16px;scroll-margin:24px;overflow-wrap:anywhere}
.cm-item-head,.cm-item-head>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.cm-item-head{justify-content:space-between}
.cm-item-head a{font-size:14px;font-weight:650}
.cm-state{padding:5px 10px;border-radius:100px;font-size:12px;font-weight:750;line-height:1.4}
.cm-state-pending{color:#81500f;background:#fff0d7}
.cm-state-approved{color:#286445;background:#e3f4ea}
.cm-date,.cm-email{font-size:14px;color:#678294}
.cm-article-title{font-size:19px;font-weight:750;margin:17px 0 5px}
.cm-email{margin:0 0 16px}
.cm-email strong{font-weight:600;color:#36596d}
.cm-formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.cm-full{grid-column:1 / -1}
.cm-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:18px;padding-top:17px;border-top:1px solid #e4ebef}
.cm-delete{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-left:auto}
.cm-delete label{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:600;color:#895052}
.cm-delete input{width:17px;height:17px;accent-color:#a83737}
.cm-empty{text-align:center;background:#fff;border:1px dashed #bbceda;border-radius:16px;padding:54px 20px}
.cm-empty p{color:#628094}
@media(max-width:760px){.cm-wrap{padding:25px 14px 50px}.cm-top{align-items:flex-start;flex-direction:column}.cm-formgrid{grid-template-columns:1fr}.cm-actions{align-items:stretch}.cm-actions>.cm-button{flex:1 1 auto}.cm-delete{margin-left:0;border-top:1px solid #eef2f5;padding-top:15px;width:100%}.cm-item{padding:20px 16px}.cm-panel.cm-setup{margin:16px}}
@media print{.cm-admin{background:#fff}.cm-top>form,.cm-tabs,.cm-actions,.cm-panel form,.ax-comment-form{display:none!important}}
