@import url("pde-resource-inline-attributes.css");
.pde-community-author-avatar-wrap{position:relative;display:inline-flex;flex:0 0 auto;border:0;background:none;padding:0;line-height:0}
.pde-community-author-avatar{border-radius:50%;object-fit:cover;background:#e5eef2}
.pde-community-author-name{border:0;background:none;padding:0;color:#111827;font-family:inherit;font-size:inherit;font-weight:800;line-height:1.25;text-align:left;cursor:pointer}
.pde-community-author-name:hover,.pde-community-author-name:focus{color:#078ca6;text-decoration:none}
.pde-community-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;background:transparent;color:#44546a;font-family:inherit;font-size:inherit;line-height:1.25;font-weight:750;cursor:pointer}
.pde-community-action__icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}
.pde-community-action__count{font-variant-numeric:tabular-nums}
.pde-community-reply-composer{display:flex;align-items:flex-end;gap:8px}
.pde-community-reply-composer__avatar{border-radius:50%;object-fit:cover;background:#e5eef2;flex:0 0 auto}
.pde-community-reply-composer__shell{display:flex;align-items:flex-end;min-width:0;flex:1;border-radius:18px;background:#f0f2f5}
.topic-header{display:flex;align-items:flex-start;gap:10px}.topic-avatar-button{position:relative;display:inline-flex;flex:0 0 auto;border:0;background:none;padding:0;cursor:pointer;line-height:0}.topic-avatar{width:42px;height:42px;border-radius:50%;object-fit:cover;background:#e5eef2}.topic-author{min-width:0;flex:1;padding-top:1px}.topic-name{display:block;max-width:100%;padding:0;border:0;background:none;color:#111827;font-family:inherit;font-size:14px;font-weight:800;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;cursor:pointer}.topic-name:hover,.topic-name:focus{color:#078ca6;text-decoration:none}.topic-date{margin-top:2px;color:#667085;font-size:12px;line-height:1.25}
.topic-header-actions{position:relative;display:flex;align-items:center;gap:2px;flex:0 0 auto}.topic-notification-button,.topic-menu-button{display:flex;align-items:center;justify-content:center;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:transparent;color:#667085;line-height:1;cursor:pointer;overflow:hidden}.topic-notification-button{font-size:18px}.topic-menu-button{font-family:Arial,sans-serif;font-size:15px;font-weight:900;letter-spacing:0}.topic-notification-button:hover,.topic-notification-button:focus,.topic-menu-button:hover,.topic-menu-button:focus{background:#f0f2f5;color:#1f2937}.topic-notification-button:disabled{opacity:.5;cursor:wait}
.topic-reaction-summary,.topic-reply-count{border:0;background:none;padding:5px 0;color:#5f6b76;font-family:inherit;font-size:inherit;line-height:1.25;cursor:pointer}.topic-reaction-summary:hover,.topic-reply-count:hover{text-decoration:underline}.topic-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:50px;padding:5px 2px 8px;border-bottom:1px solid #e5e7eb}.topic-action-pill{display:grid;grid-template-columns:auto;align-items:center;min-width:0;min-height:34px;border:1px solid #dbe3eb;border-radius:999px;background:#fff;overflow:hidden}.topic-action-pill.has-summary{grid-template-columns:minmax(70px,auto) minmax(96px,auto)}.topic-action-pill>button{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:32px;padding:3px 10px;border:0;background:transparent;color:#44546a;font-family:inherit;font-size:13px;font-weight:750;line-height:1.25;cursor:pointer;white-space:nowrap}.topic-action-pill.has-summary>button+button::before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:1px;background:#e3e9ef}.topic-action-pill>button[hidden]{display:none}.topic-action-pill>button:hover,.topic-action-pill>button:focus{background:#f8fafc}.topic-action-pill .topic-reaction-summary:hover,.topic-action-pill .topic-reply-count:hover{text-decoration:none}.topic-actions .topic-reply-count{color:#44546a}.topic-reaction-badge{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;margin:-2px 0 -2px -2px;border-radius:50%;background:#fff7dc;font-size:15px;line-height:1}.topic-reaction-emojis{width:auto;min-width:24px;max-width:76px;padding:0 4px;overflow:hidden;white-space:nowrap;letter-spacing:-2px}.topic-action-pill--reply .topic-reply-count{color:#44546a}.topic-action-pill--reply .topic-action{color:#078f92}.topic-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:32px;padding:3px 10px;border:0;background:transparent;color:#44546a;font-family:inherit;font-size:13px;font-weight:750;line-height:1.25;cursor:pointer}.topic-action:hover,.topic-action:focus{background:#f8fafc}.topic-action.is-active{color:#1676a0}.topic-action-icon{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;flex:0 0 24px;border-radius:50%;background:#263f63;color:#fff;font-size:17px;line-height:1}.topic-action-pill--reply .topic-action-icon{background:#07989b;color:#fff}.topic-action-icon svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.topic-action-icon.is-emoji{font-size:17px}
@media(max-width:600px){.topic-actions{gap:7px;min-height:52px;padding:7px 0 10px}.topic-action-pill{min-height:38px}.topic-action-pill.has-summary{grid-template-columns:minmax(45px,auto) minmax(65px,auto)}.topic-action-pill>button,.topic-action{min-height:36px;padding:5px 8px;font-size:11px;gap:4px}.topic-action-pill.has-summary>button+button::before{top:9px;bottom:9px}.topic-reaction-badge{width:25px;height:25px;margin:-3px 0 -3px -3px;font-size:13px}.topic-reaction-emojis{max-width:60px}.topic-action-icon{font-size:16px}}
.pde-community-floating-overlay{position:fixed!important;inset:0!important;z-index:2147483000!important;background:transparent}.pde-community-floating-overlay .reaction-box{position:fixed;min-width:180px;padding:8px 14px;border-radius:14px;background:#fff;box-shadow:0 16px 42px rgba(0,0,0,.28)}.pde-community-floating-overlay .reaction-menu{display:grid}.pde-community-floating-overlay .reaction-menu button{padding:10px 4px;border:0;border-top:1px solid #eee;background:transparent;color:#334155;font:inherit;text-align:left;cursor:pointer}.pde-community-floating-overlay .reaction-menu button:first-child{border-top:0}.pde-community-floating-overlay .reaction-menu .danger{color:#d14343;font-weight:700}
.pde-community-member-overlay,.pde-community-editor-overlay{position:fixed!important;inset:0!important;z-index:2147483001!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:16px;background:rgba(17,24,39,.38)!important;opacity:1!important;pointer-events:auto!important}.member-list-card{position:relative;width:min(548px,calc(100vw - 24px));min-height:220px;max-height:calc(100vh - 32px);padding:16px;overflow:auto;border-radius:16px;background:#fff;box-shadow:0 18px 50px rgba(0,0,0,.28)}.member-list-close{position:absolute;right:14px;top:12px;width:38px;height:38px;border:0;border-radius:50%;background:#eef0f2;color:#263238;font-size:28px;line-height:1;cursor:pointer}.member-list-tabs{display:flex;gap:16px;min-height:42px;padding:0 52px 10px 4px;border-bottom:1px solid #e5e7eb}.member-list-tab{padding:5px 8px;border:0;border-bottom:3px solid transparent;background:none;color:#5d6872;font:inherit;font-weight:800;cursor:pointer}.member-list-tab.active{border-bottom-color:#1877f2;color:#1877f2}.member-list-rows{display:flex;flex-direction:column;gap:8px;padding-top:12px}.member-list-row{display:flex;align-items:center;gap:11px;min-height:54px}.member-list-avatar{width:46px;height:46px;flex:0 0 auto;border-radius:50%;object-fit:cover;background:#e5eef2}.member-list-name{min-width:0;flex:1;color:#111827;font-weight:800;overflow-wrap:anywhere}.member-list-profile{padding:9px 13px;border:0;border-radius:9px;background:#e9ecef;color:#111827;font:inherit;font-weight:800;text-decoration:none;white-space:nowrap}.pde-community-editor{width:min(520px,calc(100vw - 32px))!important}.pde-community-editor textarea{display:block;width:100%;min-height:130px;padding:12px;border:1px solid #dbe3eb;border-radius:12px;font:inherit;resize:vertical}.pde-community-editor .modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}
.inline-reply{display:flex;align-items:flex-end;gap:8px;padding:9px 14px 12px}.inline-reply-shell{position:relative;display:flex;flex-wrap:nowrap;align-items:center;gap:8px;min-width:0;flex:1;padding:5px 8px 5px 10px;border:1px solid #d7dce2;border-radius:999px;background:#fff;box-shadow:0 1px 4px rgba(15,23,42,.08)}.inline-reply-shell:hover,.inline-reply-shell:focus-within{border-color:#b9c2cc;background:#fff;box-shadow:0 1px 5px rgba(15,23,42,.12)}.inline-reply textarea{min-width:0;flex:1;height:30px;min-height:30px;max-height:100px;margin:0!important;padding:6px 2px;border:0;outline:0;resize:none;background:transparent;color:#111827;font:inherit;font-size:13px;line-height:18px;box-sizing:border-box}.inline-reply-attach{display:grid;place-items:center;width:30px;height:30px;flex:0 0 auto;padding:4px;border:0;border-radius:50%;background:transparent;color:#52606d;cursor:pointer}.inline-reply-attach svg{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.inline-reply-attach.has-file{background:#edf8fb;color:#078ca6}.composer-emoji-button{position:relative;z-index:31;display:grid;place-items:center;width:32px;height:32px;flex:0 0 auto;padding:4px;border:0;border-radius:50%;background:transparent;color:#52606d;cursor:pointer}.composer-emoji-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.inline-reply-preview{display:none;position:relative;order:-1;flex:0 0 100%;width:100%;min-height:38px;padding:7px 34px 5px 0}.inline-reply-preview.visible{display:flex;align-items:center;gap:8px}.inline-reply-preview img:not([src]){display:none}.inline-reply-preview img{display:block;width:86px;height:86px;border-radius:12px;object-fit:cover;border:1px solid #d6e0e5;background:#fff}.inline-reply-preview-name{min-width:0;overflow:hidden;color:#52606d;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.inline-reply-preview button{position:absolute;top:4px;right:0;width:24px;height:24px;border:2px solid #fff;border-radius:50%;background:#4b5563;color:#fff;font-size:17px;line-height:18px;cursor:pointer}.inline-reply-send:disabled{display:none;cursor:not-allowed}


/* Le Fil réutilise le modèle de popup des sujets de groupe. */
.pde-fil-thread-modal-overlay{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100dvh;min-height:0;overflow:hidden;overscroll-behavior:contain;padding:8px;background:rgba(15,23,42,.55);backdrop-filter:blur(2px);touch-action:none}
.pde-fil-thread-modal{position:relative;display:flex;flex-direction:column;width:min(620px,100%);max-height:calc(100dvh - 16px);min-height:0;overflow:hidden;border:0;border-radius:17px;background:transparent;box-shadow:0 24px 70px rgba(15,23,42,.35);isolation:isolate}
.pde-fil-thread-modal .thread-modal-header{position:absolute;z-index:6;right:12px;top:12px;display:flex;margin:0;padding:0;border:0}
.pde-fil-thread-modal .thread-modal-close{position:static;width:36px;height:36px;border:0;border-radius:50%;background:#eef1f3;color:#374151;font-size:24px;line-height:1;cursor:pointer;box-shadow:0 1px 3px rgba(15,23,42,.16)}
.pde-fil-thread-modal .thread-modal-scroll{min-width:0;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;padding:0;border-radius:17px;background:transparent}
.pde-fil-thread-topic{margin:0!important;border-radius:17px 17px 0 0!important;background:#fff!important;box-shadow:none!important}
.pde-fil-thread-topic .pde-fil-image{width:100%;height:auto;max-width:100%;max-height:400px;background:#fff;object-fit:contain}
.pde-fil-thread-topic .topic-header{padding-right:42px}
.pde-fil-thread-replies-panel{box-sizing:border-box;width:100%;padding:12px 14px;background:#fff;border:1px solid #d8e2e7;border-top:0;border-radius:0 0 15px 15px}
.pde-fil-thread-replies-panel .pde-fil-comments{display:block}
.pde-fil-thread-replies-panel .pde-fil-comment-form{display:flex}
.pde-fil-login-prompt{display:flex;align-items:center;justify-content:center;width:100%;min-height:42px;margin-top:10px;padding:8px 14px;border:1px solid #e4edf5;border-radius:12px;background:#edf8fb;color:#078ca6;font:inherit;font-weight:750;cursor:pointer}
.pde-fil-login-prompt:hover,.pde-fil-login-prompt:focus-visible{border-color:#0798b3;background:#edf8fb}
@media(max-width:600px){
  .pde-fil-thread-modal-overlay{padding:8px;background:rgba(15,23,42,.38)}
  .pde-fil-thread-modal{width:100%;border-radius:22px;box-shadow:0 18px 50px rgba(0,0,0,.32)}
  .pde-fil-thread-modal .thread-modal-header{right:12px;top:12px}
  .pde-fil-thread-modal .thread-modal-scroll{border-radius:21px;background:#fff}
  .pde-fil-thread-topic{border-radius:21px 21px 0 0!important}
  .pde-fil-thread-replies-panel{border:0;border-radius:0;padding-bottom:14px}
  .pde-fil-thread-modal .inline-reply{align-items:center;gap:4px;padding:8px}
  .pde-fil-thread-modal .inline-reply-avatar{width:29px;height:29px;flex-basis:29px}
  .pde-fil-thread-modal .inline-reply-shell{flex-wrap:nowrap;padding:2px 5px 2px 9px;border-radius:17px}
  .pde-fil-thread-modal .inline-reply textarea{height:29px;min-height:29px;max-height:29px;padding:6px 1px;overflow:hidden;white-space:nowrap;font-size:12px}
  .pde-fil-thread-modal .inline-reply-send{width:27px;height:27px;flex-basis:27px;padding:0;font-size:14px}
}


.pde-fil-thread-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:32px 16px;text-align:center}
.pde-fil-thread-empty-title{display:block;color:#111827;font-size:18px;font-weight:700;line-height:1.3}
.pde-fil-thread-empty-subtitle{display:block;color:#6b7280;font-size:13px;font-weight:400;line-height:1.4}


.pde-community-editor-title{margin:0 0 12px;color:#111827;font-size:21px;font-weight:800;line-height:1.25}
.pde-community-editor-field{display:block;margin:0;color:#344054;font-size:14px;font-weight:750}
.pde-community-editor-label{display:block;margin-bottom:6px}
@media(max-width:520px){
  .pde-fil-editor-overlay:focus-within{align-items:flex-start!important;padding-top:8px!important}
  .pde-fil-editor{margin-top:0!important}
}
.group-reaction-overlay{position:fixed;inset:0;z-index:230;background:transparent}.group-reaction-picker{position:fixed;display:flex;gap:4px;padding:8px;border:1px solid #dbe3e7;border-radius:999px;background:#fff;box-shadow:0 12px 32px rgba(15,23,42,.24)}.group-reaction-picker button{display:flex;align-items:center;justify-content:center;width:38px;height:38px;padding:0;border:0;border-radius:50%;background:transparent;font-size:22px;line-height:1;cursor:pointer;touch-action:manipulation;transition:transform .12s ease,background .12s ease}.group-reaction-picker button:hover,.group-reaction-picker button.is-selected{transform:scale(1.12);background:#eaf7fb}@media(max-width:600px){.group-reaction-picker{gap:1px;padding:5px}.group-reaction-picker button{width:32px;height:32px;font-size:20px}}

/* La popup Réactions doit être centrée dans la fenêtre visible, jamais dans la hauteur calculée de l’iframe. */
.pde-community-member-overlay.modal-overlay-viewport{position:absolute!important;inset:auto 0 auto 0!important;top:var(--modal-visible-top,0px)!important;min-height:var(--modal-visible-height,520px)!important;height:var(--modal-visible-height,520px)!important;max-height:none!important;align-items:center!important;justify-content:center!important;padding:16px!important;overflow:visible!important;}
.member-list-title{margin:0 48px 12px 4px;color:#078f92;font-size:9px;font-weight:800;letter-spacing:.1em;line-height:1.2;text-transform:uppercase;}
.member-list-avatar-button,.member-list-name{appearance:none;cursor:pointer;}
.member-list-avatar-button{display:inline-flex;flex:0 0 auto;padding:0;border:0;background:transparent;border-radius:50%;line-height:0;}
.member-list-avatar-button:focus-visible,.member-list-name:focus-visible{outline:2px solid #078f92;outline-offset:2px;}
.member-list-name{padding:0;border:0;background:transparent;text-align:left;}
.member-list-name:hover{color:#078f92;text-decoration:underline;}

/* Dans le Fil, les réactions cœur utilisent l’accent rouge. */
.topic-action-pill--reaction .topic-action-icon.is-emoji{color:#e53935;}
.topic-action-pill--reaction .topic-reaction-emojis{color:#e53935;background:#ffedf0;}

/* La popup Réactions doit rester au-dessus des fiches membre et conserver sa hauteur sur mobile. */
.pde-community-member-overlay{z-index:2147483647!important;}
.pde-community-member-overlay.modal-overlay-viewport{height:var(--modal-visible-height,520px)!important;min-height:var(--modal-visible-height,520px)!important;}
.pde-community-member-overlay .member-list-card{height:auto!important;min-height:220px!important;max-height:calc(var(--modal-visible-height,520px) - 32px)!important;overflow:auto!important;align-self:center;}
@media(max-width:600px){.pde-community-member-overlay{padding:12px!important;}.pde-community-member-overlay .member-list-card{width:min(548px,calc(100vw - 24px));min-height:220px!important;max-height:calc(var(--modal-visible-height,520px) - 24px)!important;padding:16px 12px!important;}.member-list-tabs{gap:8px;overflow-x:auto;white-space:nowrap;}.member-list-row{min-height:58px;}.member-list-avatar{width:46px;height:46px;}.member-list-name{font-size:16px;}}

.emoji-picker{position:absolute;z-index:30;bottom:48px;left:8px;width:min(310px,calc(100vw - 24px));max-height:min(390px,60vh);overflow:auto;padding:10px;border:1px solid #e2e5e8;border-radius:14px;background:#fff;box-shadow:0 10px 28px rgba(15,23,42,.18);box-sizing:border-box}
.emoji-picker[hidden]{display:none}
.emoji-section-title{margin:10px 2px 5px;color:#6b7280;font-size:11px;font-weight:700}.emoji-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:2px}.emoji-grid button{border:0;background:transparent;border-radius:7px;cursor:pointer;font-size:22px;line-height:32px;padding:0}.emoji-grid button:hover{background:#eef6fa}.emoji-categories{position:sticky;top:-10px;z-index:2;display:flex;justify-content:space-around;gap:2px;margin:-10px -10px 10px;padding:5px 4px 4px;border:0;border-bottom:1px solid #e6e9ed;border-radius:0;background:#fff}.emoji-categories button{flex:1;min-width:0;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:#7a838d;cursor:pointer;line-height:30px;padding:2px 0 4px}.emoji-categories button svg{display:block;width:18px;height:18px;margin:auto;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.emoji-categories button:hover{color:#0798b3}.emoji-categories button[aria-selected=true]{color:#078ca6;border-bottom-color:#0798b3}
.emoji-grid button .emoji-flag-img{display:inline-block;width:1.18em;height:1.18em;vertical-align:-.18em;object-fit:contain}

.composer-attach-button{display:grid;place-items:center;width:32px;height:32px;flex:0 0 auto;padding:4px;border:0;border-radius:50%;background:transparent;color:#52606d;cursor:pointer}
.composer-attach-button svg{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.composer-send-button{display:grid;place-items:center;width:36px;height:36px;flex:0 0 auto;margin:0;padding:0;border:0;border-radius:50%;background:var(--pde,#0798b3);color:#fff;font-family:inherit;font-size:18px;line-height:1;cursor:pointer;transition:transform .12s ease,box-shadow .15s ease,opacity .15s ease}
.composer-send-button:disabled{opacity:.35;cursor:not-allowed}
.composer-voice-button{display:grid;place-items:center;width:38px;height:38px;flex:0 0 auto;padding:8px;border:0;border-right:1px solid #dfe7f1;border-radius:999px 0 0 999px;background:#f4f8fd;color:#1267d8;cursor:pointer}
.composer-voice-button.voice-mic{width:38px;height:auto;min-height:0;align-self:stretch;margin:-5px 0 -5px -10px;padding:8px;border:0;border-right:1px solid #dfe7f1;border-radius:999px 0 0 999px;background:#f4f8fd;color:#1267d8}
.composer-voice-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.composer-voice-button:hover,.composer-voice-button:focus-visible{background:#dceaff;color:#1267d8}
.composer-voice-button.voice-mic:hover,.composer-voice-button.voice-mic:focus-visible{background:#dceaff;color:#1267d8}
.composer-voice-button.is-listening{background:#fff0f0;color:#c93535}
.composer-input-row>.composer-voice-button.voice-mic{margin:-5px 0 -5px -10px}
.inline-reply-shell>.composer-voice-button.voice-mic{margin:-5px 0 -5px -10px}
.composer-voice-status{position:absolute;left:12px;bottom:calc(100% + 7px);z-index:40;padding:6px 10px;border-radius:9px;background:#263849;color:#fff;font-size:12px;box-shadow:0 3px 12px rgba(15,23,42,.16)}
.composer-voice-status:empty{display:none}.composer-voice-status.is-error{background:#a52222}

.emoji-picker.is-floating-emoji-picker{position:fixed;z-index:2147483002;top:0;bottom:auto;left:0}

.pde-fil-thread-modal .inline-reply-shell>.composer-voice-button.voice-mic{margin:0 0 0 -9px}

@media(max-width:600px){.thread-modal .inline-reply-shell>.composer-voice-button.voice-mic{margin:-2px 0 -2px -9px}}

