/* Personal materials worksheet */
.materials-tool>button,.materials-tool>.check{margin:1rem 0}.material-entry{display:grid;grid-template-columns:minmax(8rem,2fr) repeat(2,minmax(4rem,1fr));gap:1rem;margin-bottom:1rem;padding:1rem;border:1px solid #57634d;border-radius:8px}.material-entry[hidden]{display:none}.material-entry legend{font-weight:700;padding:0 .4rem}.material-entry .field{margin:0}.material-missing{margin:0;align-self:center}.material-missing output{font-weight:700}.material-entry>button{grid-column:2 / -1;justify-self:end}.materials-import{max-width:38rem;width:calc(100% - 2rem);max-height:85vh;overflow:auto;background:#f5f3eb;color:#192319;border:1px solid #66765b;border-radius:12px;padding:1.5rem}.materials-import::backdrop{background:#101810b3}.materials-import pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:40vh;overflow:auto}.materials-faq{max-width:850px;padding-block:2rem 4rem}.materials-tool input[type=file]{max-width:100%;min-height:44px}.materials-tool [role=alert]:not(:empty){border-left:3px solid #a04124;padding:.7rem}.materials-tool textarea{width:100%}@media(max-width:540px){.material-entry{grid-template-columns:1fr 1fr}.material-entry>.field:first-of-type{grid-column:1 / -1}.material-entry>button{grid-column:2}.material-entry input{min-width:0;width:100%}}
