/* Cartão do formulário do material: mesma marcação com JS e no retorno do servidor sem JS. */
.lm-card { display: flex; flex-direction: column; background: var(--bg-dark-2); border: 1px solid var(--line-dark); border-radius: 16px; padding: clamp(20px, 4vw, 32px); }
.lm-foot { display: grid; margin-top: 10px; }
.lm-note, .lm-status { grid-area: 1 / 1; margin: 0; font-size: var(--fs-small); line-height: var(--lh-small); color: var(--dim-dark); }
.lm-foot.is-sending .lm-note { visibility: hidden; }
.lm-status { color: var(--text-dark); }
.lm-alert { margin-top: 12px; padding: 12px 14px; border: 1px solid #FCA5A5; border-radius: 9px; font-size: var(--fs-body); line-height: var(--lh-body); color: var(--text-dark); }
.lm-alert:empty { display: none; }
.lm-alert:not(:empty) + .lm-foot .lm-note { display: none; }
.btn[aria-disabled="true"] { opacity: 0.75; cursor: progress; }
.lm-done { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; }
.lm-done-icon { width: 40px; height: 40px; color: #86EFAC; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.lm-done-title { margin: 0; font-family: var(--font-display); font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--ls-h3); font-weight: var(--fw-h3); color: var(--text-dark); text-wrap: balance; }
.lm-done-title:focus { outline: none; }
.lm-done .btn { margin-top: 4px; }
.lm-foot.is-done .lm-note { display: none; }
.lm-foot.is-done .lm-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
