/* MEI precisa emitir nota fiscal? Page-only styles on top of desk-tools.css. */
.mei-nf-q { border: 0; margin: 0 0 14px; padding: 0; min-width: 0; }
.mei-nf-q:last-of-type { margin-bottom: 0; }
.mei-nf-q legend { padding: 0; margin: 0 0 8px; color: var(--ink); font-size: 0.95rem; font-weight: 750; }
.mei-nf-q .desk-actions { margin-top: 0; }
.mei-nf-q .desk-chip { flex: 1 1 150px; text-align: left; line-height: 1.25; padding: 8px 12px; }
.mei-nf-q .desk-chip small { display: block; color: var(--muted); font-size: 0.74rem; font-weight: 550; }
.mei-nf-q .desk-chip.is-on small { color: inherit; opacity: 0.8; }

.mei-nf-ans { border-radius: 12px; padding: 12px 14px; border: 1px solid var(--line); background: var(--soft); }
.mei-nf-ans + .mei-nf-ans { margin-top: 10px; }
.mei-nf-ans.is-ok { border-color: #bbf7d0; background: #f0fdf4; }
.mei-nf-ans.is-must { border-color: #fed7aa; background: #fff7ed; }
.mei-nf-kind { margin: 0 0 2px; color: var(--muted); font-size: 0.75rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.04em; }
.mei-nf-verdict { margin: 0 0 10px; font-size: 1.18rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.mei-nf-ans.is-ok .mei-nf-verdict { color: var(--green); }
.mei-nf-ans.is-must .mei-nf-verdict { color: #c2410c; }
.mei-nf-dl { display: grid; gap: 2px 0; margin: 0; font-size: 0.9rem; line-height: 1.4; color: var(--body); }
.mei-nf-dl dt { margin-top: 6px; color: var(--ink); font-size: 0.74rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.04em; }
.mei-nf-dl dt:first-child { margin-top: 0; }
.mei-nf-dl dd { margin: 0; }
.mei-nf-dl a, .mei-nf-meta a { color: var(--blue-dark); font-weight: 650; }
.mei-nf-warn { margin: 10px 0 0; padding: 8px 10px; border-radius: 8px; background: #fef9c3; color: #713f12; font-size: 0.84rem; line-height: 1.4; }
.mei-nf-change { margin: 10px 0 0; color: var(--body); font-size: 0.86rem; }
.mei-nf-meta { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.8rem; line-height: 1.45; }
.mei-nf-meta p { margin: 0 0 4px; }
.mei-nf-meta strong { color: var(--ink); }

html[data-theme="dark"] .mei-nf-ans.is-ok { border-color: #166534; background: #0d1f16; }
html[data-theme="dark"] .mei-nf-ans.is-must { border-color: #9a3412; background: #231409; }
html[data-theme="dark"] .mei-nf-ans.is-ok .mei-nf-verdict { color: #86efac; }
html[data-theme="dark"] .mei-nf-ans.is-must .mei-nf-verdict { color: #fdba74; }
html[data-theme="dark"] .mei-nf-warn { background: #3a2f07; color: #fde68a; }
