.ma-inline-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:7px}.ma-official-link{font-size:12px;text-decoration:underline;color:var(--primary,#087f7b);display:inline-block;margin:7px}.ma-status{font-size:12px;line-height:1.5;overflow-wrap:anywhere}.ma-status:not(:empty){border-left:3px solid #0d9488;background:#f0fdfa;padding:10px;margin-top:8px}.ma-status strong,.ma-status span{display:block}.ma-status p{margin:6px 0}.ma-button{margin-top:6px}.item-heading .ma-button{margin:0 8px 0 auto;white-space:normal}.add-item-bar{flex-wrap:wrap}.ma-product-search{min-width:180px;flex:1 1 100%;padding:10px 12px;border:1px solid #ced9df;border-radius:7px;font:inherit}.ma-ncm-dialog{border:1px solid #cbd5e1;border-radius:14px;padding:22px;max-width:840px;width:calc(100vw - 36px);max-height:85vh;color:#15333d;background:#fff;box-sizing:border-box}.ma-ncm-dialog::backdrop{background:#102a37aa}.ma-dialog-head{display:flex;gap:15px;align-items:center;justify-content:space-between}.ma-dialog-head h2{font-size:21px;margin:0}.ma-ncm-dialog form{display:grid;grid-template-columns:1fr auto;gap:10px;margin:18px 0}.ma-ncm-dialog label{grid-column:1/-1;font-weight:600}.ma-ncm-dialog input{min-width:0;padding:11px;border:1px solid #bdcdd6;border-radius:7px;font:inherit}.ma-source,.ma-note{font-size:12px;line-height:1.5;color:#435e6c}.ma-note{padding:12px;background:#fff8e8;border-radius:7px}.ma-ncm-results{max-height:48vh;overflow:auto}.ma-ncm-result{padding:14px 4px;border-bottom:1px solid #dce5e9}.ma-ncm-result p{margin:6px 0}.ma-ncm-result small{display:block;color:#536879}.ma-ncm-result strong{font-size:16px}.ma-ncm-dialog button:focus-visible,.ma-official-link:focus-visible{outline:3px solid #eebf54;outline-offset:3px}@media(max-width:600px){.ma-ncm-dialog{padding:15px}.ma-dialog-head{align-items:flex-start}.ma-dialog-head h2{font-size:18px}.ma-ncm-dialog form{grid-template-columns:1fr}.item-heading{flex-wrap:wrap}.item-heading .ma-button{margin-left:0}}

.ma-product-autocomplete{flex:1 1 100%;min-width:0}
.ma-product-autocomplete .ma-product-search{width:100%;box-sizing:border-box}
.ma-product-search-status{font-size:12px;line-height:1.5;color:#405563;margin:7px 0}
.ma-product-results{display:grid;gap:5px;max-height:270px;overflow:auto}
.ma-product-results[hidden]{display:none}
.ma-product-choice{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:3px;width:100%;padding:10px 12px;border:1px solid #ced9df;border-radius:7px;background:#fff;color:#19333f;font:inherit;cursor:pointer}
.ma-product-choice span{font-size:12px;color:#405563}
.ma-product-choice:hover,.ma-product-choice:focus-visible{background:#f0fdfa;border-color:#087f7b;outline:2px solid #087f7b;outline-offset:1px}
.ma-product-choice[aria-pressed="true"]{background:#e5f7f4;border-color:#087f7b}

.ma-inline-actions [hidden]{display:none!important}
.ma-inline-actions .ma-official-link{margin:6px 0 0;text-decoration:none}

.ma-new-client-entry{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:12px 16px;margin:0 0 16px;background:#f0fdfa;border:1px solid #b9ded7;border-radius:8px}.ma-new-client-entry p{flex:1 1 280px;margin:0;font-size:13px;line-height:1.5}.ma-name-status{font-size:12px;line-height:1.5;margin-top:7px;color:#405563}.ma-new-piece{margin:8px 0 0}.ma-piece-help{padding:12px;margin:8px 0 14px;border:1px solid #b9ded7;border-radius:8px;background:#f0fdfa}.ma-piece-help p{margin:0 0 6px;font-size:13px;line-height:1.5}.ma-piece-status{font-size:13px;line-height:1.5}.ma-piece-status:not(:empty){margin:8px 0}.ma-new-client-entry .button{white-space:normal}

.ma-use-customer{margin-right:6px}.ma-customer-autocomplete{display:grid;gap:8px;margin-bottom:12px}.ma-customer-status{font-size:12px;color:var(--text-muted,#586b73)}.ma-customer-autocomplete .ma-product-results{max-height:260px;overflow:auto}
