/* Scoped community components retain the EPMEX portal's existing controls and surfaces. */
.community-grid{display:grid;grid-template-columns:minmax(210px,30%) minmax(0,1fr);gap:22px}.community-thread-list{display:flex;flex-direction:column;gap:10px}.community-thread-list a{display:block;padding:16px;border:1px solid #deded9;border-radius:9px;color:#24292d;text-decoration:none;background:#fff}.community-thread-list a[aria-current]{border-color:#b50832;background:#fff7f8}.community-thread-list small{display:block;color:#687078;margin-top:5px}.community-messages{display:flex;flex-direction:column;gap:12px;margin:20px 0;max-height:550px;overflow:auto;padding:4px 8px}.community-message{max-width:85%;padding:14px 17px;border:1px solid #deded9;border-radius:12px;background:#f5f5f2;overflow-wrap:anywhere}.community-message.mine{align-self:flex-end;background:#fceef2;border-color:#efccd5}.community-message p{white-space:pre-wrap;margin:6px 0!important;color:#24292d}.community-message small{font-size:11px;color:#687078}.community-compose textarea{display:block;box-sizing:border-box;width:100%;min-height:120px;border:1px solid #b8bdc1;border-radius:7px;padding:14px;font:inherit;margin:8px 0 12px}.community-quotas{display:flex;flex-wrap:wrap;gap:14px;padding:18px;border:1px solid #e1ddd6;border-radius:10px;background:#faf8f4;margin:18px 0}.community-quotas strong{color:#b50832}.community-search{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.community-search label{flex:1;min-width:180px}.community-search input{display:block;width:100%;box-sizing:border-box;padding:14px;border:1px solid #b8bdc1;border-radius:7px;margin-top:8px;font:inherit}.community-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:22px 0}.community-result{padding:22px;border:1px solid #deded9;border-radius:10px;background:#fff}.community-result h2{font-size:20px}.community-preferences{border-top:1px solid #ddd;padding-top:22px;margin-top:26px}.community-block{margin-top:24px}.community-compose label{font-weight:600}.learning-carnet-sharing{padding:24px;border:1px solid #ddd7ca;border-radius:10px;background:#faf8f4;margin:24px 0 45px}.learning-carnet-sharing h2{font-size:21px}.learning-carnet-sharing input[readonly]{width:100%;box-sizing:border-box;padding:13px;border:1px solid #c9c8c2;border-radius:6px;margin-top:8px}.learning-carnet .learning-carnet-qr{width:176px!important;height:176px!important;max-width:100%;object-fit:contain;padding:8px}.enterprise-body label.community-consent{display:flex!important;align-items:flex-start;gap:12px;line-height:1.7}.enterprise-body label.community-consent input[type=checkbox]{width:20px!important;height:20px!important;flex:none;margin:3px 0 0!important}.enterprise-body .community-consent span{flex:1}.community-empty{padding:25px;border-left:4px solid #b50832;background:#f8f7f4}.community-conversation-head{display:flex;gap:16px;align-items:center;flex-wrap:wrap;justify-content:space-between}.community-footer{font-size:12px;color:#687078}
@media(max-width:700px){.community-grid,.community-results{grid-template-columns:1fr}.community-message{max-width:92%}.community-thread-list{max-height:230px;overflow:auto}.learning-carnet-sharing{padding:18px}.learning-carnet .learning-carnet-qr{width:150px!important;height:150px!important}}
@media print{.learning-no-print,.learning-carnet-sharing{display:none!important}.learning-carnet .learning-carnet-qr{width:32mm!important;height:32mm!important;padding:1mm!important}}

.community-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0}.community-results-heading{font-size:24px;margin-top:28px}.community-result li{line-height:1.6;margin:6px 0}.community-more-records{color:#8b1632;font-size:13px;font-weight:600}.community-unlocked-profile{margin:24px 0}.community-unlocked-profile>.btn-e{margin-top:18px}.community-locked-inbox{position:relative;isolation:isolate;min-height:430px;margin:25px 0;border:1px solid #e2ddd7;border-radius:15px;overflow:hidden;background:#f6f5f1}.community-inbox-placeholder{position:absolute;inset:0;z-index:-1;display:grid;grid-template-columns:28% 1fr;gap:24px;padding:28px;filter:blur(7px);opacity:.5;user-select:none;pointer-events:none}.community-inbox-placeholder aside{border-right:1px solid #b8bdc4;padding-right:20px}.community-fake-thread{height:74px;padding:10px 0;border-bottom:1px solid #b8bdc4;position:relative}.community-fake-thread i{display:block;width:32px;height:32px;border-radius:50%;background:#b8bfc5;float:left;margin-right:10px}.community-fake-thread span,.community-fake-thread small{display:block;background:#a7b3be;height:10px;width:65%;margin:3px 0 9px 42px}.community-fake-thread small{width:45%;height:7px}.community-fake-chat{padding-top:20px}.community-fake-chat div{height:65px;background:#d8dfe4;border-radius:12px;margin-bottom:25px;width:75%}.community-fake-chat div:nth-child(2){margin-left:auto;background:#e9c6ce}.community-fake-chat span{display:block;height:45px;margin-top:55px;border:1px solid #9caab6;border-radius:10px}.community-inbox-invitation{position:relative;width:min(650px,calc(100% - 40px));margin:44px auto;padding:28px;border:1px solid #e4dcd0;border-radius:12px;background:#fffffff0;box-shadow:0 12px 35px #26313914}.community-inbox-invitation h2{font-size:clamp(24px,3vw,32px);line-height:1.2;margin:15px 0}.community-preview-note{font-size:11px!important;color:#6a737a}.community-inbox-invitation .learning-checkbox{font-size:12px;line-height:1.7;margin:18px 0}.learning-carnet-share-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.learning-carnet-copy-status{font-size:12px;color:#486458;min-height:18px}.community-inbox-invitation p{line-height:1.7}
@media(max-width:600px){.community-inbox-invitation{padding:22px 18px;margin:25px auto;width:calc(100% - 28px)}.community-inbox-placeholder{grid-template-columns:22% 1fr;padding:18px;gap:14px}.community-locked-inbox{min-height:490px}}

/* One shared authorization, with independent visibility for each badge. */
.learning-badge-authorization{margin:18px 0 24px;padding:20px 22px;background:#f8f6f2;border:1px solid #e2dbd1;border-radius:10px}.learning-badge-authorization p{font-size:13px;margin:10px 0 0}.learning-badge-authorization .learning-checkbox{display:flex;align-items:flex-start;gap:10px;margin:0 0 14px;font-size:13px;line-height:1.7}.learning-badge-authorization input[type=checkbox]{flex:none;margin-top:5px}.learning-badge-private{font-size:12px!important;margin-top:18px!important}.learning-carnet-share-actions{align-items:center;gap:10px;margin:16px 0 0}.learning-carnet-share-actions .learning-social-actions{margin:0;display:flex}.learning-carnet-share-actions .learning-social-choice{align-items:center;width:auto}.learning-carnet-share-actions .learning-context-help{margin:0!important}.learning-carnet-share-actions form{margin:0}.learning-carnet-sharing .learning-carnet-copy-status:empty{display:none}.learning-carnet-sharing .learning-carnet-copy-status{min-height:0;margin:10px 0 0}.learning-carnet-share-actions .profile-btn,.learning-carnet-share-actions .learning-linkedin-button{white-space:nowrap}.learning-carnet-share-actions .learning-context-help>div{max-width:calc(100vw - 60px)}
@media(max-width:600px){.learning-carnet-share-actions .profile-btn,.learning-carnet-share-actions .learning-linkedin-button{white-space:normal}.learning-badge-authorization{padding:17px}.learning-carnet-share-actions .learning-social-actions{width:auto}}
