/* Let content determine line breaks inside bounded cards instead of escaping them. */
:is(.card,.card-body,.section-head,.card-head,.row-head,.dialog-head,.feature,.record,.account-user,.online-person){min-width:0;overflow-wrap:anywhere}
:is(.section-head,.card-head,.row-head,.dialog-head)>*{min-width:0;max-width:100%}
:is(.section-head,.card-head,.row-head,.dialog-head){flex-wrap:wrap}
:is(.section-head,.card-head,.dialog-head)>:is(h1,h2,div:first-child){flex:1 1 12rem}
:is(.button,.square,.text-button){max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.4}
.flex{min-width:0;max-width:100%}.flex>*{min-width:0;max-width:100%}
.pill{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.4}
.feature summary>.pill{display:flex;width:fit-content;margin:6px 0 0;max-width:100%}
.record summary .pill{margin-left:0;margin-right:5px}.badge-line{min-width:0;max-width:100%}
:is(.feature,.record,details) :is(summary,.body,p,a){overflow-wrap:anywhere}
:is(.feature-list,.origin-block,.origin-feature,.gm-feature,.account-users,.account-settings-nav,.profile-grant-row){min-width:0;max-width:100%}
.skill-list{grid-template-columns:repeat(2,minmax(0,1fr))}
.advancement-row{min-width:0;flex-wrap:wrap}.advancement-row>div{min-width:0;flex:1 1 12rem}.advancement-row>.button{flex:0 1 auto}
.inventory-entry .row-head>.flex{flex-shrink:1}
.account-user .flex{flex:1 1 16rem}.account-user>div:first-child{flex:1 1 12rem}
.character-picker,.picker-row{min-width:0}.picker-row{max-width:100%}.character-picker>.picker-row{flex:1 1 8rem}
.campaign-bans{margin-top:20px}.campaign-bans p{overflow-wrap:anywhere}
@media(max-width:700px){
 .card-head:has(>.flex){align-items:stretch;flex-direction:column}
 .card-head:has(>.flex)>h2,.card-head:has(>.flex)>.flex{flex:0 1 auto}
 .card-head>.flex{justify-content:flex-start}
 .section-head>div:first-child{flex-basis:100%}
 .dialog-head>h2{flex:1 1 10rem}.dialog-head>.button{flex:0 1 auto}
 .account-user>div:first-child,.account-user>.flex{flex:0 1 auto;width:100%}
 .brand{min-width:0;white-space:normal}.brand>.crest{flex-shrink:0}
 .profile-grant-row,.inventory-entry>.row-head{flex-wrap:wrap}
}
@media(max-width:400px){.fields:not(.three):not(.attribute-grid){grid-template-columns:minmax(0,1fr)}.skill-list{grid-template-columns:minmax(0,1fr)}}
