#jsdgp-publisher{max-width:1120px;margin:20px auto 38px;padding:clamp(20px,3vw,34px);border-radius:20px;background:linear-gradient(125deg,#f3fafb,#fff);border:1px solid #c4dce1;box-shadow:0 14px 34px rgba(16,47,66,.08);color:#173c50;font:inherit;box-sizing:border-box}
.jsdgp-eyebrow{color:#047c8a;font-size:12px;font-weight:800;letter-spacing:.12em}
#jsdgp-publisher h2{color:#123c4c;margin:8px 0 12px;font-size:clamp(24px,3vw,30px)}
#jsdgp-publisher p{line-height:1.6}
.jsdgp-intro{margin-bottom:22px;color:#436172}
#jsdgp-publisher label{display:block;font-size:14px;font-weight:730;color:#163d50;margin:0 0 15px}
.jsdgp-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}
#jsdgp-publisher input[type=text],#jsdgp-publisher input[type=search],#jsdgp-publisher input[type=file],#jsdgp-publisher select,#jsdgp-publisher textarea{display:block;box-sizing:border-box;width:100%;margin:7px 0 0;padding:12px 13px;background:white;border:1px solid #b7d0d9;border-radius:10px;color:#173e50;font:inherit;line-height:1.5;min-height:45px}
#jsdgp-publisher textarea{resize:vertical;min-height:140px}
#jsdgp-publisher :is(input,select,textarea,button):focus-visible{outline:3px solid #13abb5;outline-offset:2px}
#jsdgp-publisher .jsdgp-hint{font-size:12px;color:#577586;margin:-4px 0 17px}
.jsdgp-sync{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:-2px 0 18px;color:#586b76;font-size:12px}
#jsdgp-publisher .jsdgp-button{display:inline-flex;align-items:center;justify-content:center;min-height:47px;padding:12px 18px;border:0;border-radius:11px;background:#067b87;color:#fff!important;font-size:14px;font-weight:800;text-decoration:none;cursor:pointer;line-height:1.35;text-align:center}
#jsdgp-publisher .jsdgp-button:hover{background:#055965}
#jsdgp-publisher .jsdgp-button:disabled{opacity:.58;cursor:wait}
#jsdgp-publisher .jsdgp-secondary{cursor:pointer;background:#fff;color:#096d7b;border:1px solid #adccd4;border-radius:8px;padding:7px 11px;font-size:13px;font-weight:700}
.jsdgp-photo-preview{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin:8px 0 15px}
.jsdgp-photo-preview[hidden],#jsdgp-ad-warning[hidden]{display:none!important}
.jsdgp-photo-preview img{max-width:260px;max-height:190px;object-fit:cover;border-radius:12px}
.jsdgp-rule{margin:12px 0 18px;background:#edf8fa;border-left:4px solid #087b86;padding:10px 14px;color:#375968;font-size:13px}
.jsdgp-rule a,.jsdgp-ad-warning a{font-weight:800;color:#056575}
.jsdgp-ad-warning{border:1px solid #efc6a7;border-radius:10px;padding:12px 15px;background:#fff4e8;color:#773d1b;margin:12px 0}
.jsdgp-result:not(:empty){margin:16px 0 0;padding:12px 15px;background:#edf9f4;border-radius:10px;color:#175c46;font-size:14px}
.jsdgp-result.jsdgp-error{background:#fff0ef;color:#972b29}
/* L'ancien aperçu local n'est plus nécessaire : le nouveau champ est réellement envoyé à BuddyBoss. */

@media(max-width:680px){.jsdgp-fields{grid-template-columns:1fr}#jsdgp-publisher .jsdgp-button{width:100%}#jsdgp-publisher{margin:15px 8px 26px}}

#jsdgp-photo-status{border:1px solid #b3d8d2;background:#edf9f6;border-radius:9px;padding:9px 12px;font-weight:700;color:#145b58}#jsdgp-preview:not([hidden]){border:2px solid #7fbdb4}
