html{min-width:0!important}
/* R8: form controls must shrink inside grid tracks instead of enlarging the page. */
body.wtx-pro-ui .content-wrap :is(form,fieldset,.field){min-width:0;max-width:100%;box-sizing:border-box}
body.wtx-pro-ui .content-wrap form>*{min-width:0;box-sizing:border-box}
body.wtx-pro-ui .content-wrap :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),textarea,select){min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
body.wtx-pro-ui.wtx-community-page .content-wrap,body.wtx-pro-ui.wtx-community-page .content-wrap *{box-sizing:border-box}
body.wtx-pro-ui.wtx-community-page .content-wrap :is(.card,details,form,fieldset){min-width:0;max-width:100%}
body.wtx-pro-ui.wtx-community-page .content-wrap :is(h1,h2,h3,p,summary,label,a,strong,small){max-width:100%;white-space:normal;overflow-wrap:anywhere}
body.wtx-pro-ui.wtx-community-page .section-head{align-items:flex-start;flex-wrap:wrap;gap:12px}
body.wtx-pro-ui.wtx-community-page .section-head>div{min-width:0;max-width:100%}
body.wtx-pro-ui.wtx-community-page .section-head h2{font-size:clamp(23px,4vw,30px);white-space:normal!important;line-height:1.35}
body.wtx-pro-ui.wtx-community-page .section-head p{font-size:13px;line-height:1.7}
body.wtx-pro-ui.wtx-community-page .content-wrap form .input{width:100%!important;max-width:100%!important;min-width:0!important;border-radius:9px!important}
body.wtx-pro-ui.wtx-community-page .content-wrap textarea{resize:vertical;min-height:110px}
body.wtx-pro-ui.wtx-community-page .content-wrap .btn{white-space:normal;overflow-wrap:anywhere;height:auto;min-height:42px;line-height:1.5}
body.wtx-pro-ui.wtx-community-page .content-wrap div[style*="minmax(270px"]{grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr))!important}
body.wtx-pro-ui.wtx-community-page summary{cursor:pointer;line-height:1.6}
body.wtx-pro-ui.wtx-community-page .content-wrap :is(input,textarea,select):focus-visible{outline-offset:1px}
/* Member directory: compact profiles and one server-backed search/sort form. */
.wtx-members-directory{width:100%;max-width:1200px;min-width:0;margin:0 auto}
.wtx-members-directory,.wtx-members-directory *{box-sizing:border-box}
.wtx-members-hero{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:18px;margin-bottom:24px}
body.wtx-pro-ui .wtx-members-hero h1{font-size:clamp(25px,4vw,34px);line-height:1.35;letter-spacing:-.5px;margin:6px 0}
.wtx-members-hero p{margin:0;color:var(--text-2);font-size:13px}
.wtx-members-total{padding:8px 12px;border:1px solid var(--border);border-radius:8px;color:var(--purple-soft);background:var(--panel-0);font-size:12px;white-space:normal;overflow-wrap:anywhere}
.wtx-members-search{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,210px) auto;gap:10px;align-items:stretch;margin:0 0 15px}
.wtx-members-search>label:first-child{display:flex;align-items:center;gap:9px;min-width:0;border:1px solid var(--border);border-radius:9px;padding:10px 13px;background:var(--panel-0);color:var(--text-2)}
.wtx-members-search>label:first-child:focus-within{border-color:var(--purple)}
.wtx-members-search input[type=search]{width:100%;height:auto!important;min-height:0!important;min-width:0;border:0;outline:0!important;background:none;box-shadow:none!important;color:var(--text-0);padding:0!important;font:inherit;font-size:14px}
.wtx-members-search select{width:100%;min-width:0;height:46px;border:1px solid var(--border);background:var(--panel-0);color:var(--text-1);border-radius:9px;padding:10px;font:inherit;font-size:12px}
.wtx-members-search button{min-width:70px;justify-content:center}
.wtx-member-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.wtx-member-filters a{display:flex;align-items:center;justify-content:center;padding:9px 13px;border:1px solid var(--border);border-radius:8px;color:var(--text-2);background:var(--panel-0);text-decoration:none;font-size:12px;white-space:normal;text-align:center;line-height:1.5}
.wtx-member-filters a.active{color:var(--purple-soft);border-color:color-mix(in srgb,var(--purple) 45%,var(--border));background:color-mix(in srgb,var(--purple) 12%,var(--panel-0))}
.wtx-members-result{font-size:11px;color:var(--text-2);line-height:1.7;margin:0 0 20px}
.wtx-members-result a{margin-left:8px;color:var(--purple-soft)}
.wtx-member-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,270px),1fr));gap:14px;min-width:0}
body.wtx-pro-ui .wtx-member-card{display:flex;flex-direction:column;gap:16px;min-width:0;max-width:100%;padding:20px;border-radius:12px!important;background:var(--panel-0)!important;border:1px solid var(--border)!important;box-shadow:none!important}
.wtx-member-identity{display:flex;align-items:center;gap:14px;min-width:0;color:var(--text-0);text-decoration:none}
.wtx-member-identity>.avatar-wrap{flex:0 0 52px}
.wtx-member-identity>div:last-child{min-width:0;flex:1}
body.wtx-pro-ui .wtx-member-identity h2{display:flex;align-items:center;gap:5px;flex-wrap:wrap;font-size:15px;line-height:1.5;margin:0 0 5px;white-space:normal;overflow-wrap:anywhere}
.wtx-member-role{display:inline-flex;align-items:center;gap:5px;max-width:100%;color:var(--member-role-color,var(--text-2));font-size:11px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
.wtx-member-meta{display:flex;flex-wrap:wrap;align-items:center;gap:5px 12px;min-width:0;font-size:11px;color:var(--text-2);line-height:1.6}
.wtx-member-meta span{max-width:100%;overflow-wrap:anywhere}
.wtx-member-actions{display:flex;gap:7px;align-items:stretch;margin-top:auto;padding-top:13px;border-top:1px solid var(--border);min-width:0}
.wtx-member-actions>.btn:first-child{flex:1}
.wtx-member-actions form{margin:0;flex:0 0 auto}
body.wtx-pro-ui .wtx-member-actions .btn{display:flex;align-items:center;justify-content:center;gap:7px;padding:8px 11px!important;min-width:38px;min-height:38px;font-size:11px!important;white-space:normal;line-height:1.5}
.wtx-member-empty{text-align:center;padding:36px 20px;color:var(--text-2)}
.wtx-member-empty svg{color:var(--purple-soft)}
.wtx-member-empty h2{font-size:18px;margin:14px 0}
.wtx-member-empty p{font-size:13px;margin:0;line-height:1.7}
body.wtx-pro-ui .wtx-members-directory .pagination{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}
body.wtx-pro-ui .pulses-shell{min-width:0;width:100%;max-width:1200px}
body.wtx-pro-ui .pulses-shell .pulse-empty{width:100%;max-width:100%;padding:32px 18px!important;min-width:0}
body.wtx-pro-ui .pulses-shell .pulse-empty h3{white-space:normal;overflow-wrap:anywhere;font-size:21px}
body.wtx-pro-ui .pulses-shell .pulse-empty p{font-size:13px;line-height:1.7;white-space:normal}
body.wtx-pro-ui .pulses-shell .pulse-empty .btn{display:inline-flex;margin-top:12px;white-space:normal}
@media(max-width:900px){
 body.wtx-pro-ui.wtx-community-page .content-wrap form[style*="display:grid"]{grid-template-columns:minmax(0,1fr)!important}
 body.wtx-pro-ui.wtx-community-page .content-wrap :is(input,textarea,select){font-size:16px!important}
 body.wtx-pro-ui.wtx-community-page .content-wrap form>label{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
 body.wtx-pro-ui.wtx-community-page .content-wrap input[type=checkbox]{width:auto!important;flex:0 0 auto}
 .wtx-members-search{grid-template-columns:minmax(0,1fr) 76px}
 .wtx-members-search>label:first-child{grid-column:1/-1;min-height:46px}
 .wtx-members-order{grid-column:1}
 .wtx-members-search input[type=search],.wtx-members-search select{font-size:16px!important}
 .wtx-members-search button{grid-column:2}
 .wtx-member-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .wtx-member-filters a{padding:9px 5px;font-size:11px;min-height:42px}
 .wtx-member-card{padding:18px!important}
}
