/* Styles limités aux bulles et à leur éditeur : aucune modification des logos/navigation. */
.ar-bubble-card,.ar-bubble-dialog{--ab-ink:#101817;--ab-gold:#46af87;--ab-border:#d6e8e0;color:var(--ab-ink);font:15px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif;box-sizing:border-box}
.ar-bubble-card{background:#fff;border:1px solid var(--ab-border);border-radius:16px;padding:18px;margin:14px 0}.ar-bubble-card header,.ar-bubble-dialog header{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap;background:none!important;padding:0;position:static!important;box-shadow:none!important}.ar-bubble-card h2{font-size:19px;margin:0!important;color:var(--ab-ink)!important}.ar-bubble-card p,.ar-bubble-dialog p{margin:8px 0;color:#4b7562;line-height:1.5}
.ar-bubble-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:12px;margin:16px 0}.ar-bubble{min-width:0;border:1px solid #d6e8e0;border-top:4px solid var(--ab-gold);border-radius:14px;background:#f9fbfa;padding:17px}.ar-bubble h3{font-size:16px;line-height:1.4;margin:0 0 10px!important;color:var(--ab-ink)!important;overflow-wrap:anywhere;white-space:normal!important}.ar-bubble strong{display:block;font-size:30px;line-height:1.2;color:var(--ab-ink)!important;overflow-wrap:anywhere}.ar-bubble small{display:block;margin-top:10px;color:#547a69;font-size:12px;line-height:1.4}
.ar-bubble-card button,.ar-bubble-dialog button{border:1px solid #c6dfd4!important;border-radius:10px!important;background:#fff!important;color:#101817!important;padding:10px 14px!important;min-height:44px;font:inherit!important;font-weight:700!important;cursor:pointer;box-shadow:none!important;white-space:normal!important}.ar-bubble-card button.ab-primary,.ar-bubble-dialog button.ab-primary{background:var(--ab-gold)!important;border-color:var(--ab-gold)!important}.ar-bubble-dialog button:disabled{opacity:.55;cursor:not-allowed}.ar-bubble-card [hidden],.ar-bubble-dialog [hidden]{display:none!important}
.ar-bubble-dialog{border:0!important;border-radius:18px!important;padding:0!important;width:min(840px,calc(100% - 24px))!important;max-width:none!important;max-height:calc(100dvh - 32px);margin:auto!important;background:#fff!important;overflow:auto!important}.ar-bubble-dialog::backdrop{background:#1a2922aa}.ar-bubble-dialog form{display:block!important;padding:22px!important;background:#fff!important}.ar-bubble-dialog h2{margin:0;font-size:23px;color:#101817!important}.ar-bubble-dialog fieldset{border:1px solid #d4e7de;border-radius:12px;margin:14px 0;padding:16px;background:#f9fbfa;min-width:0}.ar-bubble-dialog legend{font-weight:800;padding:0 7px}.ab-fields{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:12px}.ar-bubble-dialog label{display:block;font-size:13px;font-weight:650;color:#294036;line-height:1.5}.ar-bubble-dialog input:not([type=checkbox]){display:block;width:100%!important;box-sizing:border-box;padding:11px!important;border:1px solid #b6d5c7!important;border-radius:8px!important;background:#fff!important;color:#263b32!important;font:16px system-ui!important;margin-top:5px;min-height:44px}.ar-bubble-dialog input[type=checkbox]{width:20px!important;height:20px!important;margin:0 8px 0 0;vertical-align:middle;accent-color:#101817}.ab-wide{grid-column:1/-1}.ab-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}.ab-tools label{margin-right:auto}.ab-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;border-top:1px solid #d6e8e0;padding-top:16px;margin-top:16px}.ab-message{padding:12px;border:1px solid #d6e8e0;border-radius:10px;margin:12px 0;color:#273c33;background:#f5f9f7}.ab-message.error{color:#8c2525;background:#fff3f3;border-color:#e9bdbd}.ab-message.success{color:#125c3c;background:#eff9f3;border-color:#b9dbc9}.ab-unsaved{font-weight:700;color:#875d14!important}.ar-bubble-dialog details{margin-top:10px}.ar-bubble-dialog summary{cursor:pointer;color:#487460;font-size:13px}.ar-bubble-card a{color:#287251;text-decoration:underline}.ar-bubble-dialog button:focus-visible,.ar-bubble-card button:focus-visible{outline:3px solid #3eb17d!important;outline-offset:3px}
@media(max-width:520px){.ar-bubble-dialog form{padding:15px!important}.ab-fields{grid-template-columns:1fr}.ab-actions{justify-content:stretch}.ab-actions button{flex:1}.ar-bubble-grid{grid-template-columns:1fr}.ar-bubble-card{padding:15px}.ar-bubble strong{font-size:28px}.ar-bubble-dialog fieldset{padding:12px}}
/* Contrast override for the existing YDBN dark theme, confined to this component. */
.ar-bubble-card{background:#fff!important;color:#101817!important}.ar-bubble-card p{color:#4b7562!important}.ar-bubble-card .ar-bubble{background:#f9fbfa!important}.ar-bubble-card .ar-bubble small{color:#547a69!important}.ar-bubble-card header,.ar-bubble-dialog header{border:0!important;width:auto!important;margin:0!important}.ar-bubble-dialog input:not([type=checkbox]){opacity:1!important}.ar-bubble-card .ab-message.error{color:#8c2525!important}
