/* TPS V31-M4H private, nonpayable draft package and proposal UI */
.m4h-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.m4h-head h3{margin:0}
.m4h-pill{font-size:10px;font-weight:800;letter-spacing:.06em;background:#fff4df;border:1px solid #e7cf97;color:#76500f;border-radius:10px;padding:8px 11px}
.m4h-intro{font-size:12px;color:#647a6e;line-height:1.7}
.m4h-status{margin:14px 0 0;padding:11px 13px;border-radius:9px;background:#eaf4ef;color:#27543d;font-size:12px;overflow-wrap:anywhere}
.m4h-status.error{background:#fff0ea;color:#9d3d32}
.m4h-flags{display:flex;gap:9px;flex-wrap:wrap;margin:13px 0}
.m4h-flag{border:1px solid #d6e4d8;border-radius:8px;background:#f0f5f0;color:#376248;font-size:11px;padding:8px 10px}
.m4h-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 14px}
.m4h-grid .field{min-width:0}
.m4h-grid input,.m4h-grid select{max-width:100%;width:100%}
.m4h-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:14px 0}
.m4h-actions button{white-space:normal}
.m4h-records{display:grid;gap:10px;margin:16px 0}
.m4h-record{border:1px solid #dce8df;border-radius:10px;padding:12px;background:#fff;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}
.m4h-record strong{display:block;color:#244f3a;font-size:13px;overflow-wrap:anywhere}
.m4h-record small{display:block;color:#617e6e;font-size:11px;line-height:1.65;overflow-wrap:anywhere}
.m4h-record .outline{padding:7px 11px;border:1px solid #c5dacb;border-radius:8px;background:#f2f8f3;color:#225336}
.m4h-lines{display:grid;gap:11px}
.m4h-line{display:grid;grid-template-columns:minmax(0,2fr) minmax(90px,1fr) auto;gap:10px;align-items:end;border:1px solid #dbe8dc;border-radius:10px;background:#f9fcfa;padding:12px}
.m4h-line .field{margin:0;min-width:0}
.m4h-line input,.m4h-line select{max-width:100%;width:100%}
.m4h-preview{border:1px dashed #c9d9cb;border-radius:10px;padding:14px;background:#f7faf7;font-size:12px;line-height:1.7;color:#496555;overflow-wrap:anywhere}
.m4h-preview-title{font-weight:850;color:#7c4f16;letter-spacing:.02em}
.m4h-preview-row{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #e3ebe5;padding:6px 0}
.m4h-preview-total{display:flex;justify-content:space-between;gap:10px;padding:11px 0;font-weight:800;color:#244d37}
.m4h-disabled-message{font-size:12px;color:#98523e}
.m4h-go-customers{margin:4px 0 18px}
@media(max-width:900px){.m4h-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:670px){.m4h-grid{grid-template-columns:1fr}.m4h-record{grid-template-columns:1fr}.m4h-record button{justify-self:start}.m4h-line{grid-template-columns:1fr}.m4h-actions button{max-width:100%}.m4h-go-customers{width:100%}}
