/* Orders and payments, beside the sales-cycle tracker. */
.mn-body { margin-top: 14px; }
.mn-line { border-top: 1px solid var(--line, #e5e7eb); padding: 12px 0; }
.mn-line:first-of-type { border-top: 0; }
.mn-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.mn-amount { font-variant-numeric: tabular-nums; }
.mn-status { font-size: 12px; padding: 2px 8px; border-radius: 10px; background: #eef0f3; color: #1f2937; }
.mn-status.s-paid { background: #dcefe6; color: #0f5132; }
.mn-status.s-overdue { background: #f6dada; color: #9b2c2c; }
.mn-status.s-invoiced { background: #fbf0d0; color: #6b4e00; }
.mn-status.s-cancelled { background: #eee; color: #777; text-decoration: line-through; }
.mn-facts { font-size: 13px; color: #4b5563; margin: 4px 0 6px; }
.mn-add { margin-top: 10px; }
.mn-add form { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin-top: 8px; }
.mn-add label { display: flex; flex-direction: column; font-size: 12px; color: #4b5563; gap: 2px; }
.mn-add input, .mn-add select { padding: 6px 8px; border: 1px solid #cbd5e1; border-radius: 6px; font: inherit; }
.mn-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-bottom: 12px; }
.mn-tile { border: 1px solid var(--line, #e5e7eb); border-radius: 8px; padding: 10px 12px; background: #fff; }
.mn-tile .n { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mn-tile.bad .n { color: #9b2c2c; }
.mn-tile .l { font-size: 12px; color: #4b5563; }
.mn-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.mn-table th, .mn-table td { text-align: left; padding: 6px 8px; border-top: 1px solid var(--line, #e5e7eb); vertical-align: top; }
.mn-table th { font-size: 12px; color: #4b5563; font-weight: 600; border-top: 0; }
.mn-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.mn-scroll { overflow-x: auto; }
.cy-late { font-size: 11px; padding: 1px 6px; border-radius: 8px; background: #f6dada; color: #9b2c2c; }
