.mly-invoices{color:#1d251f;font-size:12px;line-height:1.65;max-width:1050px;margin:0 auto}.mly-invoices *{box-sizing:border-box}.mly-invoice-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:0 0 22px}.mly-invoice-eyebrow{font-size:9px;letter-spacing:.13em;text-transform:uppercase;color:#687263;margin:0 0 7px}.mly-invoice-head h2{font-size:24px;font-weight:500;letter-spacing:-.7px;line-height:1.3;margin:0 0 9px}.mly-invoice-head p:last-child{font-size:11px;color:#697364;margin:0;max-width:550px}.mly-invoice-button{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;border:1px solid #dfe5da;border-radius:10px;background:#fff;color:#46573d;padding:10px 14px;font:inherit;font-size:11px;line-height:1.5;cursor:pointer;text-align:center;transition:background .18s,border-color .18s;text-decoration:none}.mly-invoice-button:hover{background:#f5f7f2;border-color:#c5d1be}.mly-invoice-button.is-primary{color:#fff;background:#1c2c20;border-color:#1c2c20}.mly-invoice-button.is-primary:hover{background:#344c35}.mly-invoice-button.is-quiet{background:transparent;border-color:transparent;color:#6a7463;padding-inline:5px}.mly-invoice-button.is-danger{color:#a34f47;background:#fff7f5;border-color:#f0ddd8}.mly-invoice-button:disabled{cursor:not-allowed;opacity:.45}.mly-invoices :is(button,input,select,textarea,a):focus-visible{outline:2px solid #6b875e;outline-offset:3px}.mly-invoice-card{background:#fff;border:1px solid #e3e9de;border-radius:16px;padding:22px;margin:0 0 18px}.mly-invoice-card h3{font-size:15px;letter-spacing:-.2px;font-weight:500;margin:0 0 8px;line-height:1.5}.mly-invoice-card>p{color:#65715e;font-size:11px;margin:0 0 16px;line-height:1.8}.mly-invoice-card-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 16px}.mly-invoice-card-heading h3{margin:0}.mly-invoice-number{display:grid;place-items:center;flex:none;width:26px;height:26px;border-radius:9px;background:#f0f4eb;color:#5a734b;font-size:10px}.mly-invoice-card-heading>div{display:flex;gap:10px;align-items:center}.mly-invoice-amount{background:#f5f7f1;border:1px solid #e9eee2;border-radius:13px;padding:19px 20px;margin-bottom:20px}.mly-invoice-amount span{display:block;font-size:10px;color:#627259}.mly-invoice-amount strong{display:block;font-size:31px;letter-spacing:-1px;font-weight:500;line-height:1.4;color:#344c2b;margin:5px 0}.mly-invoice-amount small{font-size:10px;color:#6d7766}.mly-invoice-note,.mly-invoice-demo{font-size:10px;line-height:1.8;color:#6d7667;background:#f4f6f0;padding:12px 14px;border-radius:9px;margin:0 0 18px}.mly-invoice-note.is-warning{color:#8c6c31;background:#fcf8ed}.mly-invoice-note.is-success{color:#51713f;background:#f0f6eb}.mly-invoice-note.is-negative{color:#a04d43;background:#fcf2ef}.mly-invoice-note strong{display:block;font-size:11px;margin-bottom:3px;font-weight:500}.mly-invoice-feedback:not(:empty),.mly-invoice-error{font-size:11px;line-height:1.8;padding:13px 15px;border-radius:10px;margin-bottom:18px}.mly-invoice-feedback:not(:empty){color:#4b6e3d;background:#eef5e8}.mly-invoice-error{color:#a14f45;background:#fcf2ef;overflow-wrap:anywhere}.mly-invoice-error .mly-invoice-button{margin:10px 0 0;display:flex}.mly-invoice-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 17px}.mly-invoices label:not(.mly-invoice-check){display:flex;flex-direction:column;gap:8px;font-size:11px;color:#57664c;margin:0 0 17px;min-width:0}.mly-invoices label>span{font-size:9px;color:#78816f}.mly-invoices input:not([type=checkbox]):not([type=file]),.mly-invoices select,.mly-invoices textarea{font:inherit;font-size:12px;line-height:1.7;color:#33472a;min-height:45px;border:1px solid #dfe6d8;border-radius:10px;padding:11px 12px;background:#fff;width:100%;min-width:0}.mly-invoices textarea{resize:vertical}.mly-invoices input::placeholder,.mly-invoices textarea::placeholder{color:#858d7d;font-size:11px}.mly-invoice-check{display:flex;gap:10px;align-items:flex-start;font-size:11px;line-height:1.8;color:#59694e;margin:20px 0;cursor:pointer}.mly-invoice-check input{width:17px;height:17px;accent-color:#4d6d3b;flex:none;margin-top:2px}.mly-invoice-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:18px}.mly-invoice-upload{border:1px dashed #cbd8c0;border-radius:13px;padding:21px;background:#fafbf8;display:block!important;cursor:pointer;transition:background .18s}.mly-invoice-upload:hover{background:#f3f7ed}.mly-invoice-upload>strong{font-size:12px;font-weight:500;color:#476037;margin-bottom:4px;display:flex;gap:8px;align-items:center}.mly-invoice-upload>span{font-size:10px!important;line-height:1.8;overflow-wrap:anywhere}.mly-invoice-upload input[type=file]{width:100%;font:inherit;font-size:10px;margin-top:13px;color:#64715b}.mly-invoice-upload input[type=file]::file-selector-button{font:inherit;color:#526d40;background:#edf3e7;border:0;border-radius:7px;padding:9px 11px;margin-right:10px;cursor:pointer}.mly-invoice-file{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;padding:11px 0;color:#657459}.mly-invoice-file>span{overflow-wrap:anywhere;min-width:0}.mly-invoice-file .mly-invoice-button{min-height:32px;padding:5px 7px}.mly-invoice-ledger{margin:18px 0 20px;padding:0}.mly-invoice-ledger>div{display:flex;justify-content:space-between;gap:15px;padding:9px 0;font-size:11px;border-bottom:1px solid #eef1e9}.mly-invoice-ledger dt{color:#6b7563;max-width:70%}.mly-invoice-ledger dd{margin:0;color:#3c4e31;text-align:right;flex:none;font-variant-numeric:tabular-nums}.mly-invoice-ledger>div.is-total{border:0;margin-top:5px;padding-top:13px}.mly-invoice-ledger .is-total dt{font-size:12px;color:#465e38}.mly-invoice-ledger .is-total dd{font-size:19px;font-weight:500;color:#416431;letter-spacing:-.4px}.mly-invoice-checks{list-style:none;padding:0;margin:17px 0}.mly-invoice-checks li{display:flex;gap:10px;align-items:flex-start;padding:11px 0;border-bottom:1px solid #eef1e9}.mly-invoice-checks li:last-child{border-bottom:0}.mly-invoice-checks li>span:first-child{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#f0f4eb;color:#5e7c4a;font-size:10px;flex:none;margin-top:1px}.mly-invoice-checks li.is-warning>span:first-child{background:#fcf5e4;color:#a78533}.mly-invoice-checks li.is-error>span:first-child{background:#fbeeea;color:#b46357}.mly-invoice-checks strong{font-size:11px;font-weight:500;display:block;color:#526249}.mly-invoice-checks p{font-size:10px;line-height:1.8;margin:2px 0 0;color:#6f7967;overflow-wrap:anywhere}.mly-invoice-status{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;background:#f1f4ee;border-radius:6px;font-size:9px;color:#647359;white-space:nowrap}.mly-invoice-status.is-submitted{background:#fcf6e6;color:#977931}.mly-invoice-status.is-approved{background:#edf5e6;color:#5b7a42}.mly-invoice-status.is-returned{background:#fcf0eb;color:#a16651}.mly-invoice-ai{border-top:1px solid #edf1e7;padding-top:18px;margin-top:20px}.mly-invoice-ai>strong{display:flex;gap:8px;align-items:center;font-size:12px;font-weight:500;color:#4c613f}.mly-invoice-ai p{font-size:10px;line-height:1.8;color:#6b7761;white-space:pre-wrap;overflow-wrap:anywhere;margin:9px 0 13px}.mly-invoice-ai ul{padding-left:17px;color:#69765f;font-size:10px;line-height:1.9}.mly-invoice-confirm{background:#f5f7f1;border-radius:12px;padding:19px;margin-top:21px}.mly-invoice-confirm>strong{font-size:13px;font-weight:500;color:#475e39}.mly-invoice-confirm>p{font-size:11px;line-height:1.8;color:#69775f;margin:10px 0}.mly-invoice-empty{padding:45px 18px;text-align:center;border:1px dashed #dce5d3;border-radius:14px;background:#fcfdfb;margin-bottom:18px}.mly-invoice-empty h3{font-size:17px;font-weight:500;letter-spacing:-.3px;color:#526744;margin:8px 0}.mly-invoice-empty p{font-size:11px;line-height:1.8;color:#6e7967;max-width:370px;margin:0 auto}.mly-invoice-loading{display:inline-block;width:19px;height:19px;border:2px solid #e0e9d7;border-top-color:#6a8757;border-radius:50%;animation:mlyInvoiceSpin .8s linear infinite}.mly-invoice-filters{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:20px}.mly-invoice-filters .mly-invoice-button{min-height:37px;font-size:10px;padding:8px 11px;background:transparent;border-color:transparent;color:#68745e}.mly-invoice-filters .mly-invoice-button[aria-pressed=true]{background:#eef3e7;color:#476235}.mly-invoice-list{list-style:none;padding:0;margin:0;border:1px solid #e2e9dc;border-radius:14px;overflow:hidden}.mly-invoice-list>li{border-bottom:1px solid #edf1e7}.mly-invoice-list>li:last-child{border-bottom:0}.mly-invoice-row{width:100%;border:0;appearance:none;background:#fff;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:21px;text-align:left;font:inherit;color:#4d6240}.mly-invoice-row:hover{background:#fafcf7}.mly-invoice-row>div{min-width:0}.mly-invoice-row strong{display:block;font-weight:500;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.mly-invoice-row p{font-size:10px;color:#78816e;margin:3px 0 8px;overflow-wrap:anywhere}.mly-invoice-row small{font-size:9px;color:#7b8571}.mly-invoice-row .mly-invoice-row-end{text-align:right;flex:none}.mly-invoice-row-end>strong{font-size:15px;letter-spacing:-.3px}.mly-invoice-documents{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.mly-invoice-meta{display:grid;grid-template-columns:1fr 1fr;gap:13px 20px;margin:18px 0}.mly-invoice-meta>div{min-width:0}.mly-invoice-meta dt{font-size:9px;color:#7e8874;margin-bottom:3px}.mly-invoice-meta dd{font-size:11px;color:#556749;margin:0;overflow-wrap:anywhere}.mly-invoice-footnote{font-size:10px;line-height:1.85;color:#7e8675;margin:18px 0 5px}.mly-invoice-wide{grid-column:1/-1}@keyframes mlyInvoiceSpin{to{transform:rotate(360deg)}}
@media(max-width:620px){.mly-invoice-head{gap:12px;margin-bottom:20px}.mly-invoice-head h2{font-size:22px}.mly-invoice-card{padding:18px 16px;border-radius:13px}.mly-invoice-card-heading{align-items:flex-start}.mly-invoice-form-grid{grid-template-columns:1fr;gap:0}.mly-invoices input:not([type=checkbox]):not([type=file]),.mly-invoices select,.mly-invoices textarea{font-size:16px}.mly-invoice-actions .mly-invoice-button{flex:1;min-width:115px}.mly-invoice-upload{padding:17px}.mly-invoice-amount{padding:17px}.mly-invoice-amount strong{font-size:29px}.mly-invoice-confirm{padding:16px}.mly-invoice-row{padding:18px 14px;gap:12px}.mly-invoice-row-end>strong{font-size:13px}.mly-invoice-row strong{font-size:11px}.mly-invoice-filters{gap:3px}.mly-invoice-filters .mly-invoice-button{padding:8px 10px;min-height:40px}.mly-invoice-ledger dt{max-width:64%}.mly-invoice-ledger .is-total dd{font-size:18px}.mly-invoice-meta{grid-template-columns:1fr;gap:11px}.mly-invoice-head .mly-invoice-button{min-height:38px;padding:8px 10px;font-size:10px;flex:none}.mly-invoice-ai .mly-invoice-button{width:100%}}
@media(prefers-reduced-motion:reduce){.mly-invoices *{animation:none!important;transition:none!important}}

.mly-invoice-fiscal{padding:14px 17px;margin-bottom:11px}.mly-invoice-fiscal summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;min-height:42px;color:#516346}.mly-invoice-fiscal summary::-webkit-details-marker{display:none}.mly-invoice-fiscal summary>span:first-child{min-width:0;flex:1}.mly-invoice-fiscal summary strong{display:block;font-weight:500;font-size:11px;line-height:1.7}.mly-invoice-fiscal summary strong small{font-size:9px;font-weight:400;color:#5f814c;white-space:nowrap}.mly-invoice-fiscal summary>span>span{display:block;font-size:10px;color:#7b8671;line-height:1.7;margin-top:3px;overflow-wrap:anywhere}.mly-invoice-fiscal summary:focus-visible{outline:2px solid #6b875e;outline-offset:4px;border-radius:5px}.mly-invoice-fiscal-chevron{display:grid;place-items:center;color:#899b7a;flex:none;transition:transform .18s}.mly-invoice-fiscal[open] .mly-invoice-fiscal-chevron{transform:rotate(90deg)}.mly-invoice-fiscal-content{padding-top:10px;margin-top:12px;border-top:1px solid #edf1e7}.mly-invoice-fiscal-content>.mly-invoice-note{margin-bottom:10px}.mly-invoice-fiscal-content>.mly-invoice-button{margin-top:0}.mly-invoice-fiscal+.mly-invoice-card:not(.mly-invoice-fiscal){margin-top:19px}@media(max-width:620px){.mly-invoice-fiscal{padding:12px 14px}.mly-invoice-fiscal summary strong{font-size:11px}.mly-invoice-fiscal summary>span>span{font-size:9px}}

.mly-invoice-calculation>summary{cursor:pointer;font-size:11px;color:#6b7563;min-height:28px}.mly-invoice-calculation>.mly-invoice-card{border:0;padding:18px 0 0;margin:0}.mly-invoice-calculation .mly-invoice-number,.mly-invoice-calculation .mly-invoice-status{display:none}

.mly-simple-upload{position:relative}.mly-simple-upload input[type=file]{position:absolute;inset:0;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.mly-simple-upload:focus-within{outline:2px solid #6b875e;outline-offset:3px}.mly-simple-upload .mly-invoice-file-call{display:inline-flex;margin-top:14px;padding:9px 14px;border-radius:8px;background:#edf3e7;color:#526d40}

.mly-invoice-payment{min-width:0;max-width:100%}.mly-invoice-payment .mly-invoice-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mly-invoice-payment input[type=datetime-local]{display:block;min-width:0;max-width:100%;width:100%;min-inline-size:0;max-inline-size:100%;overflow:hidden}.mly-invoice-payment input[type=datetime-local]::-webkit-date-and-time-value{text-align:left;min-width:0}.mly-invoice-payment-file-state{display:block;color:#51713f!important;margin-top:6px}.mly-invoice-payment [data-invoice-payment-status]:empty{display:none}.mly-invoice-payment [data-invoice-payment-status] .mly-invoice-error{margin:14px 0 0}.mly-invoice-payment .mly-invoice-send-blockers{margin-top:14px}.mly-invoice-payment .mly-simple-upload:has(input:disabled){cursor:wait}.mly-invoice-payment .mly-simple-upload input:disabled{cursor:wait}@media(max-width:620px){.mly-invoice-payment .mly-invoice-form-grid{grid-template-columns:minmax(0,1fr)}}

.mly-invoice-billing{padding:22px;background:#f6f8f5;border-color:#e7ece5}.mly-invoice-billing>span{margin-bottom:13px;color:#5e715c}.mly-invoice-billing>h3{font-size:11px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:#53624e;margin:0}.mly-invoice-billing>strong{font-size:34px;letter-spacing:-1.2px;font-variant-numeric:tabular-nums;margin:5px 0 1px;color:#1d2d21}.mly-invoice-billing-parts{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding-top:17px;margin:18px 0 0;border-top:1px solid #dfe6dc}.mly-invoice-billing-parts>div{min-width:0}.mly-invoice-billing-parts dt{font-size:10px;color:#6b7666;margin-bottom:3px}.mly-invoice-billing-parts dd{margin:0;font-size:15px;color:#34432e;font-weight:500;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.mly-invoice-billing>p{font-size:10px;line-height:1.7;color:#68735f;margin:16px 0 0;max-width:460px}@media(max-width:620px){.mly-invoice-billing{padding:19px 17px}.mly-invoice-billing>strong{font-size:32px}.mly-invoice-billing-parts{gap:12px}.mly-invoice-billing-parts dd{font-size:14px}}

.mly-invoice-history>summary{cursor:pointer;min-height:32px;font-size:12px;color:#34432e}.mly-invoice-history>p{font-size:10px;color:#68735f;margin:10px 0}.mly-invoice-history ul{list-style:none;padding:0;margin:0}.mly-invoice-history li+li{border-top:1px solid #edf1e7}.mly-invoice-history-row{display:flex;justify-content:space-between;gap:16px;align-items:center;appearance:none;border:0;background:transparent;padding:14px 0;width:100%;font:inherit;text-align:left;color:inherit;cursor:pointer}.mly-invoice-history-row>span{min-width:0}.mly-invoice-history-row>span:last-child{text-align:right}.mly-invoice-history-row strong,.mly-invoice-history-row small{display:block;overflow-wrap:anywhere}.mly-invoice-history-row strong{font-size:12px;font-weight:500}.mly-invoice-history-row small{font-size:10px;color:#68735f}.mly-invoice-history-row:disabled{opacity:.45;cursor:wait}

.mly-invoice-upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.mly-invoice-upload-grid .mly-invoice-upload{margin-bottom:0!important}.mly-invoice-send-blockers{padding:14px 16px;border-radius:10px;background:#fcf8ed;color:#826c3b;font-size:11px;line-height:1.8;margin-top:16px}.mly-invoice-send-blockers>strong{font-weight:500}.mly-invoice-send-blockers ul{padding-left:18px;margin:7px 0}.mly-invoice-receiver-differences{list-style:none;padding:0;margin:16px 0 0;display:grid;gap:10px}.mly-invoice-receiver-differences li{display:grid;gap:4px;padding:13px;border:1px solid #eddfca;background:#fffbf4;border-radius:9px;overflow-wrap:anywhere}.mly-invoice-receiver-differences b{font-weight:500}.mly-invoice-receiver-differences p{margin:2px 0 0;font-size:10px}.mly-invoice-receiver .mly-invoice-meta dd{white-space:pre-line}.mly-invoice-activity>p>strong{font-weight:500;color:#3e5834}@media(max-width:620px){.mly-invoice-upload-grid{grid-template-columns:1fr}.mly-invoice-send-blockers{padding:12px 14px}}
