/* Long wording belongs in a readable summary, never in a thumbnail column. */
#builder-app :is(.panel-body,.group-content,.builder-group,.compact-choice-section,.setting-summary-card,.setting-summary-card>div,#pose-section>div){min-width:0;max-width:100%;box-sizing:border-box}
#builder-app :is(.setting-summary-card,.group-content,.group-choice,.gallery-current,.prompt-section-edit-preview){overflow-wrap:anywhere}
#builder-app .setting-summary-card>div:last-child{flex:1;min-width:0}
#builder-app .setting-summary-image[hidden]{display:none!important}
#builder-app #pose-section>.prompt-section-edit-preview{grid-column:1 / -1;flex-basis:100%;width:100%;margin:0;box-sizing:border-box}
#builder-app .prompt-section-edit-preview{min-width:0;max-width:100%;padding:12px 16px;margin:12px 0;border-left:3px solid var(--gold);box-sizing:border-box}
#builder-app .prompt-section-edit-preview p{margin:.5rem 0;white-space:pre-wrap}
#builder-app :is(.setting-summary-excerpt,.prompt-section-edit-preview>p){display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;max-width:100%;line-height:1.5}
#builder-app :is(.setting-summary-excerpt,.prompt-section-edit-preview>p)[data-expanded="true"]{display:block;-webkit-line-clamp:unset;max-height:18rem;overflow:auto;white-space:pre-wrap}
#builder-app .summary-text-toggle{display:block;margin:8px 0 0;min-height:44px;padding:8px 12px;font:inherit;font-size:14px}
#builder-app .summary-text-toggle[hidden]{display:none}
@media(max-width:500px){#builder-app .setting-summary-card{flex-wrap:wrap}#builder-app .setting-summary-card>div:last-child{flex-basis:100%}#builder-app .group-choice{min-width:0;max-width:60%}}
#builder-app :is(.setting-summary-excerpt,.prompt-section-edit-preview>p)[hidden]{display:none!important}
#builder-app .builder-group>summary .group-choice{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-width:0;overflow-wrap:anywhere}
#builder-app #pose-section{flex-wrap:wrap}
#builder-app .prompt-section-edit-preview{grid-column:1 / -1}
@media(max-width:850px){#builder-app #pose-section>div{flex:1 1 100px}}
