/* Invoice composer and payment collection workspace. */
.commerce-steps{display:flex;gap:12px;padding-bottom:23px;margin-bottom:25px;border-bottom:1px solid #e7ebf3}.commerce-steps>div{display:flex;align-items:center;gap:9px;flex:1;color:#a0a9ba;font-size:9px}.commerce-steps>div>span{display:grid;place-items:center;border:1px solid #e3e7ef;border-radius:50%;width:25px;height:25px;font-size:10px;flex:none}.commerce-steps b{font-weight:500}.commerce-steps .active{color:#1434cb}.commerce-steps .active>span{background:#1434cb;color:white;border-color:#1434cb}.commerce-steps .done{color:#62749e}.commerce-steps .done>span{background:#eff3fd;border-color:#dce4f8}.commerce-steps .icon{width:12px;height:12px}.commerce-template-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.commerce-template{border:1px solid #e0e6f1;background:white;border-radius:8px;padding:23px;text-align:left;position:relative;transition:background .15s,border-color .15s}.commerce-template:hover{background:#fbfcff;border-color:#a9b8ee}.commerce-template.selected{border-color:#1434cb;box-shadow:inset 0 0 0 1px #1434cb;background:#f8faff}.commerce-template strong{display:block;font-size:12px;color:#273752;font-weight:600;margin:18px 0 7px}.commerce-template>span{display:block;font-size:10px;line-height:1.8;color:#8a96ad;min-height:36px}.commerce-template em{font-style:normal;color:#8195c3;font-size:8px;display:block;margin-top:17px}.commerce-template em .icon{width:16px;height:16px;color:#1434cb}.commerce-mini-page{width:70px;height:82px;border:1px solid #e0e6f2;box-shadow:3px 4px 0 #edf0f8;background:white;padding:12px 10px;display:grid;gap:5px}.commerce-mini-page .icon{width:17px;height:17px;color:#1434cb;margin-bottom:3px}.commerce-mini-page i{height:2px;background:#dce3f1;display:block}.commerce-mini-page i:nth-of-type(2){width:75%}.commerce-mini-page b{height:3px;width:50%;background:#bbc9f3;margin-left:auto;margin-top:3px}.commerce-form-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;background:#f6f8fd;border:1px solid #e6ebf6;padding:13px 15px;border-radius:6px;font-size:11px;color:#5e729a}.commerce-form-heading+.section-title{margin-top:8px}.commerce-upload{position:relative;border:1px dashed #cfd8ea;border-radius:7px;background:#fbfcff;min-height:84px;margin-bottom:13px}.commerce-upload label{display:grid;grid-template-columns:24px 1fr;gap:5px 9px;align-items:center;padding:17px;color:#6f83ab;cursor:pointer;margin:0}.commerce-upload label>.icon{grid-row:span 2;width:18px;height:18px;color:#7089c8}.commerce-upload b{font-size:10px;font-weight:500}.commerce-upload span{font-size:9px;color:#a0abc0;line-height:1.5}.commerce-upload input{position:absolute;opacity:0;width:100%;height:100%;inset:0;cursor:pointer}.commerce-upload:focus-within{outline:3px solid #c3cffb}.commerce-upload-status{position:relative;z-index:1;font-size:9px;color:#6d80a8;padding:0 17px;pointer-events:none;overflow-wrap:anywhere}.commerce-upload-status:not(:empty){padding-bottom:10px}.commerce-assets{display:flex;flex-wrap:wrap;gap:9px;margin:5px 0 16px}.commerce-assets:empty{display:none}.commerce-asset{display:flex;align-items:center;gap:10px;padding:8px 10px;background:#f8fafd;border:1px solid #e5eaf3;border-radius:5px;max-width:100%;min-width:180px}.commerce-asset>img,.commerce-asset>span{width:42px;height:42px;object-fit:contain;background:white;border-radius:4px;display:grid;place-items:center;color:#7588b4}.commerce-asset>div{min-width:0;flex:1}.commerce-asset b{display:block;font-size:9px;color:#62718e;font-weight:500;max-width:175px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.commerce-asset small{font-size:8px;color:#9aa6bc;display:block;margin-top:5px}.commerce-item{display:grid;grid-template-columns:1fr 78px 100px 25px;gap:9px;align-items:end;border-bottom:1px solid #edf0f6;margin-bottom:12px}.has-vat .commerce-item{grid-template-columns:1fr 64px 94px 64px 25px}.commerce-item .field{margin-bottom:12px}.commerce-item .field input{padding:10px 9px}.commerce-item>.icon-btn{margin-bottom:18px}.commerce-totals{max-width:295px;margin:20px 0 25px auto;padding-top:5px}.commerce-totals>div{display:flex;justify-content:space-between;gap:20px;padding:8px 0;font-size:10px;color:#7d8ca5}.commerce-totals b{font-weight:500;color:#455778}.commerce-totals .grand{font-size:15px;border-top:1px solid #e5eaf5;margin-top:9px;padding-top:15px;color:#1434cb}.commerce-totals .grand b{color:#1434cb;font-weight:600}.commerce-details{border-top:1px solid #e7ecf6;margin-top:20px;padding-top:17px}.commerce-details summary{font-size:10px;color:#6b7e9e;cursor:pointer;list-style-position:inside;margin-bottom:18px}.commerce-review-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.commerce-review-head b{display:block;font-size:18px;font-weight:600;color:#263653;letter-spacing:-.5px}.commerce-review-head span:not(.badge){display:block;font-size:10px;color:#92a0b6;margin-top:7px}.commerce-document-preview{display:block;width:100%;height:720px;border:1px solid #e2e7f2;background:#f5f7fb;border-radius:5px}.commerce-tab-count{display:inline-block;color:#9ba8c1;font-size:8px;margin-left:8px}.tabs .active .commerce-tab-count{color:#617cdb}.commerce-attached{display:flex;align-items:center;gap:13px;border:1px solid #dfe6f6;background:#f8faff;border-radius:6px;padding:16px;margin:16px 0}.commerce-attached>span{width:34px;height:38px;display:grid;place-items:center;background:white;border:1px solid #e1e7f4;border-radius:4px;color:#7088bf}.commerce-attached>div{flex:1;min-width:0}.commerce-attached b{font-size:10px;font-weight:500;color:#53698f}.commerce-attached p{font-size:9px;color:#96a4bd;margin-top:5px}.commerce-link-summary{display:grid;grid-template-columns:125px 1fr;gap:21px;align-items:center;padding-bottom:22px;border-bottom:1px solid #e8edf6}.commerce-link-summary p{font-size:11px;color:#7f8da7;line-height:1.8;margin:14px 0;overflow-wrap:anywhere}.commerce-link-code{background:white;border:1px solid #e5ebf5;border-radius:6px;padding:6px}.commerce-link-code svg{width:100%;height:auto;display:block}.commerce-link-summary .link-url{margin:0;max-width:100%;overflow:hidden}.commerce-link-summary .link-url span{overflow-wrap:anywhere;white-space:normal;font-size:9px}.commerce-product-gallery{display:flex;gap:10px;flex-wrap:wrap;margin:23px 0}.commerce-product-gallery img{width:92px;height:92px;object-fit:contain;border:1px solid #e7ecf6;border-radius:5px;padding:7px}.commerce-timeline{padding:5px 0 10px}.commerce-timeline>div{display:grid;grid-template-columns:15px 1fr;gap:15px;position:relative;padding:0 0 23px}.commerce-timeline>div:not(:last-child):before{content:'';position:absolute;left:4px;top:8px;bottom:0;width:1px;background:#e4eaf5}.commerce-timeline i{width:9px;height:9px;border-radius:50%;background:#c2d0f0;margin-top:4px;position:relative;z-index:1}.commerce-timeline b{font-size:10px;font-weight:500;color:#5c7093}.commerce-timeline p{font-size:10px;color:#8c9ab2;line-height:1.7;margin-top:5px}.commerce-timeline small{font-size:9px;color:#a5b0c2;display:block;margin-top:5px}.commerce-timeline p:empty{display:none}@media(max-width:580px){.commerce-steps{gap:8px}.commerce-steps>div{gap:7px;font-size:8px}.commerce-steps>div>span{width:22px;height:22px}.commerce-template{padding:17px}.commerce-template>span{font-size:9px;min-height:49px}.commerce-template strong{font-size:11px}.commerce-template-grid{gap:10px}.commerce-mini-page{width:58px;height:70px;padding:9px}.commerce-item,.has-vat .commerce-item{grid-template-columns:1fr 1fr 1fr 23px;gap:7px}.commerce-item-name{grid-column:1/-1}.commerce-item .field{margin-bottom:7px}.commerce-item .field label{font-size:9px}.commerce-item:not(.has-vat .commerce-item){grid-template-columns:1fr 1fr 23px}.commerce-item>.icon-btn{margin-bottom:13px}.commerce-link-summary{grid-template-columns:88px 1fr;gap:13px}.commerce-link-summary .link-url{display:none}.commerce-link-summary p{font-size:10px}.commerce-document-preview{height:590px}.commerce-assets{display:block}.commerce-asset{margin-bottom:8px}.commerce-attached{flex-wrap:wrap}.commerce-attached .btn{margin-left:47px}}
