.builder-field textarea{min-height:92px;padding:10px;border:1px solid #aaa092;border-radius:4px;background:#fffdfa;color:#292521;font:15px/1.45 Segoe UI,sans-serif;resize:vertical}
.builder-homebrew-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:14px 0}
.builder-homebrew-columns>div{min-width:0}
.builder-homebrew-columns>div>b{display:block;margin-bottom:8px}
@media(max-width:700px){.builder-homebrew-columns{grid-template-columns:1fr}}
.builder-homebrew-spells{margin-top:24px;padding-bottom:12px}.builder-homebrew-spells .builder-homebrew-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.builder-homebrew-spells .builder-field textarea{min-height:88px;padding:10px;border:1px solid #aaa092;border-radius:4px;background:#fffdfa;font:14px/1.45 Segoe UI,sans-serif}.builder-homebrew-spells .builder-homebrew-wide{grid-column:1/-1}.builder-homebrew-spells details>summary{cursor:pointer;font-weight:700;color:#7f120f;margin:12px 0}.builder-homebrew-spells .builder-spell-list{grid-template-columns:minmax(0,1fr);max-height:none;border:0}.builder-homebrew-spells .builder-spell-option{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;border-bottom:1px solid #dfd7cc}.builder-homebrew-spells .builder-spell-option label{flex:1;min-width:0}.builder-homebrew-spells .builder-spell-option input[type="checkbox"]{width:auto;max-width:none;flex:0 0 auto}.builder-homebrew-spells .builder-spell-option label span{min-width:0;flex:1;overflow-wrap:anywhere}.builder-homebrew-spells .builder-homebrew-prepared{flex:0 0 auto;white-space:nowrap}.builder-homebrew-spells .builder-spell-option button{flex-shrink:0;margin-right:8px}@media(max-width:760px){.builder-homebrew-spells .builder-homebrew-columns{grid-template-columns:1fr}.builder-homebrew-spells .builder-homebrew-wide{grid-column:auto}.builder-homebrew-spells .builder-spell-option{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}.builder-homebrew-spells .builder-spell-option>label:first-child{grid-column:1/-1;display:flex;align-items:flex-start;gap:8px;width:100%;min-width:0;flex:none}.builder-homebrew-spells .builder-spell-option>label:first-child input{flex:0 0 auto}.builder-homebrew-spells .builder-spell-option>label:first-child span{min-width:0;flex:1}.builder-homebrew-spells .builder-spell-option>label.builder-homebrew-prepared{grid-column:1;width:auto;justify-self:start;flex:none}.builder-homebrew-spells .builder-spell-option button{grid-column:2;justify-self:end;margin:0}}
.builder-source-link{display:inline-flex;align-items:center;min-height:36px;padding:4px 8px;border:1px solid #7b4a43;border-radius:4px;color:#7f120f;font-weight:700;text-decoration:underline;text-underline-offset:2px}.builder-source-link:focus-visible{outline:3px solid #d7a63a;outline-offset:2px}
@media(min-width:761px){.builder-homebrew-spells .builder-spell-option{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px 12px}.builder-homebrew-spells .builder-spell-option>label:first-child{grid-column:1/-1;display:flex;align-items:flex-start;gap:8px;width:100%;min-width:0}.builder-homebrew-spells .builder-spell-option>label:first-child input{flex:0 0 auto}.builder-homebrew-spells .builder-spell-option>label:first-child span{min-width:0;flex:1;overflow-wrap:break-word;word-break:normal}.builder-homebrew-spells .builder-spell-option>button{justify-self:end;margin:0}}
