/* em-card.css — shared E/M coder card styles (ported from cura-scribe-solo) */
.em-card { background: #fff; border: 1px solid #e5e5e7; border-left: 4px solid #0284C7; border-radius: 8px; padding: 14px 16px; }
.em-card.em-collapsed > *:not(.em-headline) { display: none; }
.em-card .em-headline { cursor: pointer; }
.em-headline { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.em-code { font: 700 28px ui-monospace, SFMono-Regular, monospace; color: #0284C7; letter-spacing: 0.5px; }
.em-basis { font: 600 11px ui-monospace, monospace; padding: 3px 8px; border-radius: 4px; background: #E0F2FE; color: #0284C7; text-transform: uppercase; letter-spacing: 0.5px; }
.em-rationale { font-size: 14px; color: #1c1c1e; margin: 6px 0 10px; line-height: 1.5; }
.em-row { display: grid; grid-template-columns: 130px 1fr 1fr 1fr; gap: 10px; margin: 10px 0; padding: 10px 0; border-top: 1px solid #f0f0f3; }
.em-row:first-of-type { border-top: 0; }
.em-row .em-row-label { font: 600 11px ui-monospace, monospace; color: #555; text-transform: uppercase; letter-spacing: 0.5px; }
.em-elem { background: #fafafc; border-radius: 4px; padding: 6px 8px; font-size: 13px; }
.em-elem-head { font: 600 10px ui-monospace, monospace; color: #888; text-transform: uppercase; margin-bottom: 2px; }
.em-level-pill { display: inline-block; font: 600 10px ui-monospace, monospace; padding: 2px 6px; border-radius: 3px; text-transform: uppercase; letter-spacing: 0.4px; margin-left: 6px; }
.em-level-minimal, .em-level-straightforward { background: #e5e5ea; color: #555; }
.em-level-low, .em-level-limited { background: #CCFBF1; color: #0D9488; }
.em-level-moderate { background: #fff2d6; color: #7a4a00; }
.em-level-high, .em-level-extensive { background: #ffd6d4; color: #8b0000; }
.em-gaps { background: #fff8e6; border-left: 3px solid #ff9500; padding: 8px 10px; border-radius: 4px; font-size: 13px; margin-top: 10px; }
.em-gaps ul { margin: 4px 0 0 18px; padding: 0; }
.em-mod-pill { display: inline-block; font: 600 11px ui-monospace, monospace; padding: 3px 8px; border-radius: 4px; background: #E6F2F1; color: #0B7A6F; margin-right: 4px; margin-top: 4px; }
@media (max-width: 720px) { .em-row { grid-template-columns: 1fr; } }
