/* ABC Articles Publisher — espace client */
.abc-ap-account h2 { margin-bottom: 16px; }
.abc-ap-card {
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 16px 18px;
	margin-bottom: 16px;
	background: #fff;
}
.abc-ap-card__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.abc-ap-badge {
	font-size: 12px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 999px;
	background: #eef2e3;
	color: #5a7a1e;
}
.abc-ap-status-published .abc-ap-badge { background: #dcfce7; color: #166534; }
.abc-ap-status-submitted .abc-ap-badge { background: #fef9c3; color: #854d0e; }
.abc-ap-status-rejected  .abc-ap-badge { background: #fee2e2; color: #991b1b; }
.abc-ap-reject { color: #991b1b; }

.abc-ap-form { margin-top: 14px; }
.abc-ap-form label { font-weight: 600; font-size: 14px; }
.abc-ap-form input[type=text],
.abc-ap-form input[type=url],
.abc-ap-form textarea,
.abc-ap-form select { width: 100%; margin-top: 4px; }
.abc-ap-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .abc-ap-row { grid-template-columns: 1fr; } }
.abc-ap-guidelines { background: #f7f9f2; border-left: 3px solid #8ab734; padding: 8px 12px; border-radius: 6px; font-size: 13px; }
.abc-ap-note { font-size: 12px; color: #666; background: #f9fafb; padding: 8px 12px; border-radius: 6px; }
.abc-ap-hasimg { color: #166534; font-size: 12px; }

/* Compteurs dynamiques */
.abc-ap-counters{display:flex;gap:10px;flex-wrap:wrap;margin:8px 0 4px}
.abc-ap-count{font-size:13px;background:#eef2e3;color:#4E7D1E;border-radius:999px;padding:4px 12px;font-weight:600}
.abc-ap-count .abc-ap-range{color:#7a8a63;font-weight:400}
.abc-ap-count.abc-ap-bad{background:#fee2e2;color:#991b1b}
.abc-ap-warn{background:#fee2e2;color:#991b1b;border-radius:8px;padding:8px 12px;font-size:13px;font-weight:600}
.abc-ap-send.abc-ap-disabled,.abc-ap-send:disabled{opacity:.55;cursor:not-allowed}

/* Éditeur WordPress aux couleurs ABCduWeb */
.abc-ap-form .wp-editor-wrap{border:1px solid #cddba6;border-radius:10px;overflow:hidden}
.abc-ap-form .wp-editor-tabs{padding:6px 6px 0}
.abc-ap-form .wp-switch-editor{background:#f4f8ec;border-color:#cddba6;color:#4E7D1E;border-bottom:none;border-radius:6px 6px 0 0}
.abc-ap-form .wp-switch-editor.switch-tmce.wp-editor-active,
.abc-ap-form .wp-switch-editor.switch-html.wp-editor-active{background:#8AB734;color:#fff;border-color:#8AB734}
.abc-ap-form .mce-toolbar-grp,.abc-ap-form .quicktags-toolbar{background:#f4f8ec !important;border-bottom:1px solid #d6e4b8 !important}
.abc-ap-form .mce-panel{border-color:#cddba6 !important}
.abc-ap-form .mce-btn button{color:#3f5417 !important}
.abc-ap-form .mce-btn:hover button,.abc-ap-form .mce-btn.mce-active button{background:#e4eecb !important;border-radius:4px}
.abc-ap-form .mce-ico{color:#5F8A1E !important}
.abc-ap-form .quicktags-toolbar input.button{background:#8AB734;color:#fff;border-color:#6F9E20;border-radius:6px}
.abc-ap-form div.mce-edit-area iframe{background:#fff}

/* Proposition d'article gratuit */
.abc-ap-free-block{background:#f4f8ec;border:1px dashed #8AB734;border-radius:12px;padding:16px 18px;margin:6px 0 18px}
.abc-ap-free-form{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.abc-ap-free-form select{min-width:240px;padding:6px 8px}
.abc-ap-badge-free{background:#dcfce7;color:#166534}
.abc-ap-badge-paid{background:#e7f0fb;color:#1e5aa8}

/* Statuts suppression */
.abc-ap-status-deletion_requested .abc-ap-badge{background:#fef3c7;color:#92400e}
.abc-ap-status-deletion_requested{border-color:#f59e0b}
.abc-ap-status-deleted .abc-ap-badge{background:#f3f4f6;color:#6b7280}
.abc-ap-status-deleted{opacity:.7}
.abc-ap-deletion summary{user-select:none}
.abc-ap-deletion[open] summary{font-weight:600}

/* Notices WooCommerce lisibles sur la page Mes articles */
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-error li{
	background:#fee2e2 !important;color:#7f1d1d !important;
	border:1px solid #fca5a5 !important;border-radius:10px !important;
	padding:12px 16px !important;font-size:14px !important;font-weight:600 !important;
	list-style:none !important;margin:0 0 16px !important
}
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-message li{
	background:#dcfce7 !important;color:#14532d !important;
	border:1px solid #86efac !important;border-radius:10px !important;
	padding:12px 16px !important;font-size:14px !important;font-weight:600 !important;
	list-style:none !important;margin:0 0 16px !important
}
.woocommerce-notices-wrapper .woocommerce-info{
	background:#e7f0fb !important;color:#1e3a5f !important;
	border:1px solid #93c5fd !important;border-radius:10px !important;
	padding:12px 16px !important;font-size:14px !important;
	list-style:none !important;margin:0 0 16px !important
}
.woocommerce-notices-wrapper .woocommerce-error::before,
.woocommerce-notices-wrapper .woocommerce-message::before,
.woocommerce-notices-wrapper .woocommerce-info::before{display:none !important}
