/* Scoped additions inherit the original Learnerix / Ant component language. */
.lx-exchange-admin{width:75vw;margin:0 auto;padding:25px 0 45px}
.lx-exchange-directory{width:100%;margin:50px 0 0;padding:0;scroll-margin-top:100px}
.lx-exchange-heading,.lx-exchange-person-heading,.lx-exchange-card-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.lx-exchange-heading{margin-bottom:24px;align-items:flex-start}
.lx-exchange-heading h2{margin-bottom:8px}
.lx-exchange-muted{color:#61586c;line-height:1.65}
.lx-exchange-field{display:flex;flex-direction:column;gap:6px;margin:0 0 16px;min-width:0;color:rgba(0,0,0,.85)}
.lx-exchange-field>.ant-input{width:100%;min-width:0;height:36px}
.lx-exchange-field .ant-input::placeholder{color:#706879;opacity:1}
.lx-exchange-field>textarea.ant-input{height:auto}
.lx-exchange-field>select{background:#fff}
.lx-exchange-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}
.lx-exchange-filters{display:grid;grid-template-columns:2fr 1fr 1fr 1.2fr;gap:16px;margin-bottom:16px}
.lx-exchange-people{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 28px}
.lx-exchange-person{min-width:0;padding:0 0 24px;border-bottom:1px solid #e6e0ed}
.lx-exchange-person-heading{justify-content:flex-start;margin-bottom:20px;align-items:center}
.lx-exchange-person h3{font-size:18px;margin:0 0 5px;overflow-wrap:anywhere}
.lx-exchange-avatar{width:64px;height:64px;border-radius:50%;object-fit:cover}
.lx-exchange-person h4,.lx-exchange-profile h4{margin:18px 0 6px;font-weight:600}
.lx-exchange-person p,.lx-exchange-profile p{overflow-wrap:anywhere}
.lx-exchange-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.lx-exchange-actions>.ant-btn{height:auto;min-height:32px;white-space:normal}
.lx-exchange-actions p{margin:0}
.lx-exchange-pagination{display:flex;justify-content:center;gap:12px;margin-top:24px}
.lx-exchange-profile{margin:26px 0;border-top:1px solid #e6e0ed;padding-top:24px;min-width:0}
.lx-exchange-profile h2{font-size:22px;margin:0 0 16px}
.lx-exchange-profile .ant-tag{white-space:normal}
.lx-exchange-request{white-space:normal;height:auto;min-height:32px;max-width:100%}
.lx-exchange-history-line{margin-top:20px}
.lx-exchange-editor{margin:24px 0 8px;border-top:1px solid #e6e0ed;padding-top:20px}
.lx-exchange-optin{display:flex;align-items:center;gap:9px;margin:14px 0 12px;cursor:pointer}
.lx-exchange-optin input{accent-color:#4e2e89;width:16px;height:16px}
.lx-exchange-offer-editor{margin-bottom:18px}
.lx-exchange-proposal h3{font-size:16px;margin:8px 0 18px;overflow-wrap:anywhere}
.lx-exchange-dialog-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:24px}
.lx-exchange-error{color:#a21b25;background:#fff1f0;padding:10px 12px;margin:12px 0;overflow-wrap:anywhere}
.lx-exchange-notice{background:#f7f5fa;padding:12px 16px;margin:0 0 20px;line-height:1.65;color:#4d3b67}
.lx-exchange-loading{display:flex;justify-content:center;padding:35px 10px}
.lx-exchange-message{padding:16px 18px;max-width:520px;width:100%;min-width:0;color:rgba(0,0,0,.85);font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.chat-list>div>div:has(>.lx-exchange-message){width:572px;max-width:calc(100% - 60px)!important}
.lx-exchange-card-heading{gap:10px;margin-bottom:15px;flex-wrap:wrap;align-items:flex-start}
.lx-exchange-card-heading>strong{font-size:16px;color:#4e2e89}
.lx-exchange-terms{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.lx-exchange-terms h4{font-size:16px;font-weight:600;margin:5px 0}
.lx-exchange-terms p{margin:0 0 10px}
.lx-exchange-meta{margin:10px 0 2px;font-weight:500}
.lx-exchange-message>.lx-exchange-muted{margin-bottom:15px}
.lx-exchange-message .ant-tag{white-space:normal;margin-right:0}
.lx-exchange-sessions{margin-top:16px}
.lx-exchange-session{padding:14px 0;border-top:1px solid #e6e0ed}
.lx-exchange-session .lx-exchange-actions{margin-top:10px}
.lx-exchange-small-actions{margin-top:12px}
.lx-exchange-small-actions .ant-btn-link{padding:0}
.lx-exchange-menu{display:flex;flex-direction:column;gap:14px}
.lx-exchange-review,.lx-exchange-mine-row,.lx-exchange-history-entry{padding:14px 0;border-bottom:1px solid #e6e0ed;overflow-wrap:anywhere}
.lx-exchange-review p{margin:8px 0 0}
.lx-exchange-details details,.lx-exchange-admin details{margin:18px 0}
.lx-exchange-details summary,.lx-exchange-admin summary{cursor:pointer;color:#4e2e89;padding:8px 0}
.lx-exchange-blocks{margin-top:24px}
.lx-exchange-directory :focus-visible,.lx-exchange-message :focus-visible,.lx-exchange-proposal :focus-visible{outline:2px solid #4e2e89;outline-offset:3px}
.lx-exchange-directory ::selection,.lx-exchange-message ::selection,.lx-exchange-proposal ::selection{background:#e5ddef;color:#281344}
@media(max-width:1023px){.lx-exchange-people{grid-template-columns:repeat(2,minmax(0,1fr))}.lx-exchange-filters{grid-template-columns:1fr 1fr}.lx-exchange-admin{width:90vw}}
@media(max-width:640px){.lx-exchange-two,.lx-exchange-terms{grid-template-columns:minmax(0,1fr);gap:10px}.lx-exchange-people{grid-template-columns:minmax(0,1fr)}.lx-exchange-heading{flex-direction:column;gap:10px}.lx-exchange-filters{gap:12px}.lx-exchange-filters>.lx-exchange-field:first-child{grid-column:1/-1}.lx-exchange-message{padding:14px 12px}.lx-exchange-session .ant-btn{font-size:13px}.lx-exchange-card-heading{gap:8px}.lx-exchange-dialog-actions .ant-btn{white-space:normal;height:auto;min-height:32px}}
@media(prefers-reduced-motion:reduce){.lx-exchange-directory *,.lx-exchange-message *,.lx-exchange-proposal *{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:640px){
 .message-bar:has(>[aria-label="Skill Exchange options"]){height:auto!important;flex-wrap:wrap;gap:4px;padding:10px 12px;border-radius:24px}
 .message-bar:has(>[aria-label="Skill Exchange options"])>.message-input{order:-1;flex:0 0 100%;width:100%!important;max-width:100%;margin:0!important}
 .message-bar:has(>[aria-label="Skill Exchange options"])>button,.message-bar:has(>[aria-label="Skill Exchange options"])>span,.message-bar:has(>[aria-label="Skill Exchange options"])>div{display:flex;justify-content:center;flex:1 0 0;min-width:32px}
 .message-bar:has(>[aria-label="Skill Exchange options"]) .ant-btn{padding:4px 8px}
}

/* Discovery keeps its ordinary headings and continuous content. */
.lx-discovery-intro h1 {font-size:28px;line-height:1.25;margin:0 0 8px;color:#202020}
.lx-discovery-intro p {color:#595959;margin:0 0 20px}
.lx-discovery [id^="discovery-"],.lx-discovery #skill-exchange {scroll-margin-top:96px}
.lx-discovery h2[id] {height:auto!important;line-height:1.4;min-width:0}
.lx-discovery>h2 {width:75vw;max-width:960px;text-align:center}
@media(max-width:640px){
  .lx-discovery-intro h1 {font-size:24px}
  .lx-discovery [id^="discovery-"],.lx-discovery #skill-exchange {scroll-margin-top:80px}
  .lx-discovery h2[id] {font-size:20px}
  .lx-discovery h2[id]+div+button {padding-inline:8px;white-space:normal;text-align:right}
  .lx-discovery>h2 {width:90vw}
}

.lx-discovery .ant-card:has(img[src*="HashtagCover"]) {height:72px!important;min-width:0!important;max-width:100%!important}
.lx-discovery .ant-card img[src*="HashtagCover"] {display:none}
.lx-discovery .ant-card:has(img[src*="HashtagCover"]) h1 {font-size:16px!important}
.lx-blog-content {font-size:16px;line-height:1.8;color:#262626;overflow-wrap:anywhere}
.lx-blog-content h2 {font-size:25px;line-height:1.35;margin:36px 0 12px}
.lx-blog-content h3 {font-size:20px;line-height:1.4;margin:28px 0 10px}
.lx-blog-content p,.lx-blog-content .public-DraftStyleDefault-block {margin:0 0 16px}
.lx-blog-content a {color:#4e2e89;text-decoration:underline;text-underline-offset:3px}
.lx-blog-fallback-header {display:flex;justify-content:space-between;align-items:center;padding:20px 5vw;border-bottom:1px solid #ddd}
.lx-blog-fallback-header img {object-fit:contain}
.lx-blog-fallback-header nav {display:flex;gap:20px}
.lx-blog-fallback {max-width:74ch;margin:40px auto;padding:0 20px;font-size:17px;line-height:1.8;color:#262626}
.lx-blog-fallback img {max-width:100%;height:auto}
.lx-blog-fallback h1 {line-height:1.2}
.lx-blog-fallback h2 {margin-top:32px}
@media(max-width:640px){.lx-blog-fallback-header nav{gap:10px;font-size:12px}.lx-blog-fallback-header img{width:125px}.lx-blog-content h2{font-size:22px}}

/* The empty result is primary information at launch, not disabled content. */
.lx-exchange-directory .ant-empty-description {color:#61586c}
