.commercial-page{--commercial-navy:#102f2a;--commercial-emerald:#176052;--commercial-mint:#e7f4ef;--commercial-line:#dbe7e2;--commercial-soft:#f8faf9;--commercial-amber:#f5b83b;--commercial-blue:#3978c5;max-width:1400px;margin:0 auto}.commercial-hero,.commercial-detail-hero,.commercial-form-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}.commercial-kicker{display:block;margin-bottom:8px;color:#578277;font-size:.68rem;font-weight:800;letter-spacing:.2em}.commercial-hero h1,.commercial-detail-hero h1,.commercial-form-hero h1{margin:0 0 5px;font-size:clamp(2rem,3vw,3rem)}.commercial-hero p,.commercial-detail-hero p,.commercial-form-hero p{max-width:720px;margin:0;color:var(--muted)}.commercial-primary-action{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 20px;border:0;border-radius:12px;background:var(--commercial-navy);color:#fff;font-weight:800;box-shadow:0 10px 25px rgba(16,47,42,.16)}.commercial-primary-action span{font-size:1.25rem}.commercial-primary-action:hover{background:#16433b;color:#fff}.commercial-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.commercial-stat{display:flex;align-items:center;gap:16px;min-height:126px;padding:20px;border:1px solid var(--commercial-line);border-radius:17px;background:#fff;box-shadow:0 10px 35px rgba(16,47,42,.05)}.commercial-stat-main{border-color:transparent;background:linear-gradient(145deg,#123d35,#0e2f29);color:#fff}.commercial-stat-icon{display:grid;place-items:center;flex:0 0 48px;height:48px;border-radius:14px;background:#c9ee76;color:#173b33;font:800 1rem Manrope}.commercial-stat-dot{flex:0 0 12px;height:12px;border-radius:50%;box-shadow:0 0 0 7px #f2f6f4}.commercial-stat-dot.draft{background:#f2ae2e}.commercial-stat-dot.active{background:#4b82e2}.commercial-stat-dot.completed{background:#29a968}.commercial-stat small{display:block;color:#71837d;font-weight:600}.commercial-stat-main small,.commercial-stat-main p{color:#bdd2cb}.commercial-stat strong{display:block;margin:3px 0;font:800 1.75rem Manrope}.commercial-stat p{margin:0;color:#84938e;font-size:.77rem}.commercial-panel{border:1px solid var(--commercial-line);border-radius:18px;background:#fff;box-shadow:0 14px 45px rgba(16,47,42,.055)}.commercial-panel-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 24px 18px}.commercial-panel-head h2{margin:0 0 3px;font-size:1.05rem}.commercial-panel-head p{margin:0;color:var(--muted);font-size:.82rem}.commercial-count,.commercial-currency-pill,.commercial-no-price-pill{padding:7px 11px;border-radius:99px;background:#eef4f1;color:#56736b;font-size:.72rem;font-weight:700;white-space:nowrap}.commercial-no-price-pill{background:#eaf2ff;color:#2d629e}.commercial-filters{display:grid;grid-template-columns:minmax(280px,1fr) 220px auto auto;gap:10px;padding:0 24px 20px}.commercial-search{position:relative;margin:0}.commercial-search span{position:absolute;left:14px;top:7px;color:#6a7f78;font-size:1.35rem}.commercial-search input{height:44px;padding-left:42px;background:#f9fbfa}.commercial-filters select{height:44px;background:#f9fbfa}.commercial-filter-button{height:44px;padding:0 18px;border:0;border-radius:10px;background:var(--commercial-navy);color:#fff;font-weight:700;cursor:pointer}.commercial-clear-filter{display:grid;place-items:center;padding:0 8px;font-size:.82rem;font-weight:700}.commercial-table-wrap{overflow:auto;border-top:1px solid #edf2f0}.commercial-table{width:100%;min-width:900px;border-collapse:collapse}.commercial-table th{padding:12px 18px;background:#fafcfb;color:#6f817b;font-size:.68rem;font-weight:800;letter-spacing:.08em;text-align:left;text-transform:uppercase}.commercial-table td{height:76px;padding:13px 18px;border-top:1px solid #edf2f0}.commercial-table tbody tr{transition:.15s}.commercial-table tbody tr:hover{background:#fbfdfc}.commercial-number{display:flex;align-items:center;gap:10px}.commercial-number>span,.commercial-item-index{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--commercial-mint);color:var(--commercial-emerald);font-weight:800}.commercial-number b{color:var(--commercial-navy)}.commercial-customer b,.commercial-customer small{display:block}.commercial-customer small{margin-top:3px;color:#83918d;font-size:.72rem}.commercial-date{color:#455a54}.commercial-date.muted{color:#a0aaa7}.commercial-status{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:99px;background:#edf2f0;color:#52645e;font-size:.71rem;font-weight:800;white-space:nowrap}.commercial-status i{width:6px;height:6px;border-radius:50%;background:currentColor}.commercial-status.draft{background:#fff2d4;color:#946100}.commercial-status.issued,.commercial-status.confirmed{background:#e5efff;color:#285fae}.commercial-status.paid,.commercial-status.delivered{background:#dcf5e7;color:#207344}.commercial-status.cancelled{background:#ffe5e2;color:#a43a30}.commercial-amount{font-variant-numeric:tabular-nums}.align-right{text-align:right!important}.align-center{text-align:center!important}.commercial-open{display:grid;place-items:center;width:32px;height:32px;border:1px solid var(--commercial-line);border-radius:9px;font-size:1.35rem}.commercial-empty{padding:55px 20px;text-align:center}.commercial-empty>span{display:grid;place-items:center;width:54px;height:54px;margin:0 auto 14px;border-radius:16px;background:var(--commercial-mint);font-size:1.5rem}.commercial-empty h3{margin:0 0 5px}.commercial-empty p{margin:0 0 18px;color:var(--muted)}.commercial-empty a{font-weight:800}

.commercial-detail-title{display:flex;align-items:center;gap:16px}.commercial-back{display:grid;place-items:center;flex:0 0 45px;width:45px;height:45px;border:1px solid var(--commercial-line);border-radius:13px;background:#fff;color:var(--commercial-navy);font-size:1.8rem}.commercial-detail-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.commercial-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px}.commercial-detail-grid main,.commercial-detail-aside{display:grid;align-content:start;gap:18px}.commercial-products-card{overflow:hidden}.commercial-items-table td{height:68px}.commercial-item-description b,.commercial-item-description small{display:block}.commercial-item-description small{margin-top:4px;color:var(--muted)}.commercial-variant-detail{color:var(--commercial-emerald)!important;font-weight:700}.commercial-received-box{font-size:1.5rem;color:#82968f}.commercial-notes-card{display:flex;gap:16px;padding:22px}.commercial-notes-card h2{margin:0 0 6px}.commercial-notes-card p{margin:0;color:#52645e;line-height:1.6}.commercial-section-icon{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:12px;background:var(--commercial-mint);font-size:1.3rem}.commercial-detail-aside .commercial-panel{padding:21px}.commercial-section-label{display:block;margin-bottom:17px;color:#789088;font-size:.66rem;font-weight:800;letter-spacing:.16em}.commercial-customer-card{text-align:center}.commercial-customer-card .commercial-section-label{text-align:left}.commercial-avatar{display:grid;place-items:center;width:62px;height:62px;margin:0 auto 12px;border-radius:19px;background:var(--commercial-navy);color:#fff;font:800 1.5rem Manrope}.commercial-customer-card h2{margin:0 0 3px}.commercial-customer-card p{margin:0 0 18px;color:var(--muted)}.commercial-customer-card>a{display:flex;justify-content:center;gap:8px;padding-top:16px;border-top:1px solid #edf2f0;font-size:.82rem;font-weight:800}.commercial-info-card dl{margin:0}.commercial-info-card dl div{display:flex;justify-content:space-between;gap:15px;padding:10px 0;border-bottom:1px solid #edf2f0}.commercial-info-card dl div:last-child{border:0}.commercial-info-card dt{color:var(--muted);font-size:.8rem}.commercial-info-card dd{margin:0;text-align:right;font-size:.82rem;font-weight:700}.commercial-totals-card>div{display:flex;justify-content:space-between;gap:15px;padding:7px 0;color:var(--muted);font-size:.82rem}.commercial-totals-card b{color:var(--ink)}.commercial-totals-card .commercial-grand-total{align-items:end;margin-top:9px;padding-top:16px;border-top:2px solid var(--commercial-navy);color:var(--ink)}.commercial-grand-total strong{font:800 1.25rem Manrope}.commercial-totals-card .commercial-ves-total{display:grid;margin-top:12px;padding:14px;border-radius:12px;background:var(--commercial-mint);color:var(--commercial-emerald)}.commercial-ves-total strong{font-size:1.05rem}.commercial-ves-total small{color:#668078}.commercial-pdf-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 17px;border:1px solid var(--commercial-line);border-radius:12px;background:#fff;color:var(--commercial-navy);font-size:.84rem;font-weight:800;box-shadow:0 8px 20px rgba(16,47,42,.05)}.commercial-pdf-action:hover{border-color:#9bb8ae;background:#f8fbfa}.commercial-pdf-action span{display:grid;place-items:center;width:23px;height:23px;border-radius:7px;background:var(--commercial-mint);color:var(--commercial-emerald);font-size:1rem}.commercial-delivery-card{background:linear-gradient(145deg,#123d35,#0e2f29);color:#fff}.commercial-delivery-icon{display:grid;place-items:center;width:46px;height:46px;margin-bottom:18px;border-radius:14px;background:#c9ee76;color:#173b33;font-size:1.35rem;font-weight:900}.commercial-delivery-card .commercial-section-label{color:#bcd1ca}.commercial-delivery-card h2{margin:0 0 7px}.commercial-delivery-card p{margin:0 0 18px;color:#c3d5cf;font-size:.8rem;line-height:1.55}.commercial-delivery-card>div{height:45px;padding-top:20px;border-bottom:1px solid rgba(255,255,255,.25);color:#bfd1cb;font-size:.72rem}.commercial-history-card{overflow:hidden}.commercial-history-list{border-top:1px solid #edf2f0}.commercial-history-list article{display:grid;grid-template-columns:14px minmax(0,1fr) 22px;align-items:center;gap:12px;padding:17px 22px;border-top:1px solid #edf2f0}.commercial-history-list article:first-child{border-top:0}.commercial-history-dot{width:9px;height:9px;border-radius:50%;background:#67a995;box-shadow:0 0 0 5px var(--commercial-mint)}.commercial-history-list small,.commercial-history-list strong,.commercial-history-list p{display:block}.commercial-history-list small{color:#7d8e88;font-size:.67rem}.commercial-history-list strong{margin:3px 0;color:var(--commercial-navy)}.commercial-history-list p{margin:0;color:#87958f;font-size:.69rem}.commercial-history-list i{color:#749087;font-size:1.4rem}.commercial-history-list a{color:inherit}

.commercial-form-hero{align-items:center}.commercial-form-progress{display:flex;align-items:center}.commercial-form-progress span{display:grid;place-items:center;width:30px;height:30px;border:1px solid var(--commercial-line);border-radius:50%;background:#fff;color:#82928d;font-size:.72rem;font-weight:800}.commercial-form-progress span.active{border-color:var(--commercial-navy);background:var(--commercial-navy);color:#fff}.commercial-form-progress i{width:32px;height:1px;background:var(--commercial-line)}.commercial-form-layout{display:grid;grid-template-columns:minmax(0,1fr) 345px;gap:20px;align-items:start}.commercial-form-layout>main{display:grid;gap:18px}.commercial-form-section{padding:24px}.commercial-section-heading{display:flex;gap:14px;padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid #edf2f0}.commercial-section-heading>span{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:11px;background:var(--commercial-mint);color:var(--commercial-emerald);font-weight:800}.commercial-section-heading h2{margin:0 0 3px}.commercial-section-heading p{margin:0;color:var(--muted);font-size:.8rem}.commercial-form-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:16px}.commercial-field-wide{grid-column:1/-1}.commercial-field label{display:block;margin-bottom:7px;color:#273b35;font-size:.77rem;font-weight:700}.commercial-field label em{color:#cc594c;font-style:normal}.commercial-field label small{float:right;color:#91a09b;font-weight:500}.commercial-field input,.commercial-field select,.commercial-field textarea{width:100%;min-height:44px;background:#fafcfb}.commercial-field textarea{min-height:120px}.commercial-field .errorlist{margin:5px 0 0;padding:0;color:#a43a30;font-size:.72rem;list-style:none}.commercial-items{display:grid;gap:12px}.commercial-item-card{position:relative;display:grid;grid-template-columns:54px minmax(0,1fr);gap:16px;padding:18px;border:1px solid var(--commercial-line);border-radius:15px;background:#fbfdfc}.commercial-item-number span,.commercial-item-number b{display:block;text-align:center}.commercial-item-number span{color:#91a09b;font-size:.58rem;font-weight:800;letter-spacing:.12em}.commercial-item-number b{margin-top:4px;color:var(--commercial-emerald);font:800 1.15rem Manrope}.commercial-item-content{display:grid;grid-template-columns:1fr 1.25fr;gap:14px}.commercial-item-description input{height:44px}.commercial-item-values{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);gap:14px;align-items:end}.commercial-item-values.delivery-values{grid-template-columns:minmax(170px,.35fr) minmax(230px,1fr)}.commercial-item-card .m2-fields{grid-column:1/-1}.commercial-remove-item{position:absolute;right:9px;top:9px;width:30px;height:30px;border:0;border-radius:8px;background:#fff0ee;color:#aa443a;font-size:1.2rem;cursor:pointer}.commercial-add-item{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;margin-top:14px;padding:14px;border:1px dashed #91afa5;border-radius:13px;background:#f5faf8;color:var(--commercial-navy);cursor:pointer}.commercial-add-item>span{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:var(--commercial-navy);color:#fff;font-size:1.15rem}.commercial-add-item b,.commercial-add-item small{display:block;text-align:left}.commercial-add-item small{margin-top:2px;color:var(--muted)}.commercial-delivery-hint{display:flex;align-items:center;gap:10px;min-height:44px;padding:7px 12px;border:1px solid #c9ddef;border-radius:11px;background:#f3f8ff;color:#2a5c98}.commercial-delivery-hint>span{display:grid;place-items:center;width:27px;height:27px;border-radius:9px;background:#3978c5;color:#fff;font-weight:900}.commercial-delivery-hint b,.commercial-delivery-hint small{display:block}.commercial-delivery-hint small{margin-top:2px;color:#6683a5;font-size:.68rem}.commercial-form-aside{position:sticky;top:90px;display:grid;gap:14px}.commercial-form-aside .commercial-panel{padding:20px}.commercial-money-head{display:flex;align-items:center;gap:12px;margin-bottom:18px}.commercial-money-head>span{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--commercial-mint);color:var(--commercial-emerald);font-weight:800}.commercial-money-head h2{margin:0;font-size:1rem}.commercial-money-head p{margin:2px 0 0;color:var(--muted);font-size:.72rem}.commercial-money-card>.commercial-field{margin-bottom:13px}.commercial-money-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.commercial-live-summary>div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;color:var(--muted);font-size:.82rem}.commercial-live-summary b{color:var(--ink);font-variant-numeric:tabular-nums}.commercial-live-summary .commercial-live-total{align-items:end;margin-top:8px;padding-top:15px;border-top:2px solid var(--commercial-navy);color:var(--ink)}.commercial-live-total strong{font:800 1.45rem Manrope}.commercial-live-summary .commercial-live-ves{display:grid;gap:4px;margin-top:10px;padding:12px;border-radius:11px;background:var(--commercial-mint);color:var(--commercial-emerald)}.commercial-live-ves[hidden]{display:none}.commercial-no-price-card{background:linear-gradient(150deg,#f7fbff,#fff)}.commercial-no-price-icon{display:grid;place-items:center;width:48px;height:48px;margin-bottom:18px;border-radius:15px;background:#3978c5;color:#fff;font:800 .9rem Manrope}.commercial-no-price-card h2{margin:0 0 7px}.commercial-no-price-card p{margin:0;color:#607489;font-size:.78rem;line-height:1.55}.commercial-no-price-card ul{margin:16px 0 0;padding:14px 0 0;border-top:1px solid #dce7f2;list-style:none}.commercial-no-price-card li{padding:5px 0;color:#456078;font-size:.74rem}.commercial-no-price-card li:before{content:"✓";margin-right:8px;color:#3978c5;font-weight:900}.commercial-form-actions{display:grid;grid-template-columns:.72fr 1.28fr;gap:9px}.commercial-form-actions a,.commercial-form-actions button{display:flex;align-items:center;justify-content:center;min-height:48px;border-radius:11px;font-weight:800}.commercial-form-actions a{border:1px solid var(--commercial-line);background:#fff;color:var(--ink)}.commercial-form-actions button{gap:9px;border:0;background:var(--commercial-navy);color:#fff;cursor:pointer}.commercial-modern-form .customer-search-wrap{display:block}.commercial-modern-form .bcv-rate-tools{margin-top:8px}.commercial-modern-form .line-total{display:flex;align-items:center;min-height:44px;padding:0 12px;border-radius:10px;background:#eef4f1}.commercial-modern-form .is-removed{display:none!important}.commercial-modern-form .form-delete-field{display:none}

.conversion-menu{position:relative}.conversion-menu>summary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 16px;border:1px solid var(--commercial-line,#dbe7e2);border-radius:12px;background:#fff;color:var(--commercial-navy,#102f2a);font-size:.82rem;font-weight:800;cursor:pointer;list-style:none;box-shadow:0 8px 20px rgba(16,47,42,.05)}.conversion-menu>summary::-webkit-details-marker{display:none}.conversion-menu>summary span{display:grid;place-items:center;width:23px;height:23px;border-radius:7px;background:var(--commercial-mint,#e7f4ef);color:var(--commercial-emerald,#176052);font-size:1rem}.conversion-menu[open]>summary{border-color:#8fb3a7;background:#f6faf8}.conversion-menu-popover{position:absolute;z-index:80;right:0;top:calc(100% + 9px);width:min(365px,calc(100vw - 32px));overflow:hidden;border:1px solid #d8e5e0;border-radius:17px;background:#fff;box-shadow:0 24px 70px rgba(11,37,32,.2)}.conversion-menu-popover header{padding:18px 18px 14px;background:linear-gradient(145deg,#123d35,#0e2f29);color:#fff}.conversion-menu-popover header strong,.conversion-menu-popover header small{display:block}.conversion-menu-popover header small{margin-top:5px;color:#bdd2cb;font-size:.7rem;line-height:1.45}.conversion-menu-options{display:grid;padding:8px}.conversion-menu-options form{margin:0}.conversion-menu-options button{display:grid;grid-template-columns:42px minmax(0,1fr) 18px;align-items:center;gap:11px;width:100%;padding:10px;border:0;border-radius:11px;background:#fff;color:#173b33;text-align:left;cursor:pointer}.conversion-menu-options button:hover{background:#f0f7f4}.conversion-option-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#e7f4ef;color:#176052;font-size:.68rem;font-weight:900}.conversion-menu-options b,.conversion-menu-options small{display:block}.conversion-menu-options b{font-size:.8rem}.conversion-menu-options small{margin-top:2px;color:#788982;font-size:.66rem}.conversion-menu-options i{color:#81958e;font-size:1.25rem}.conversion-menu-popover>p{margin:0;padding:11px 17px;border-top:1px solid #edf2f0;background:#fafcfb;color:#84938e;font-size:.65rem}

@media(max-width:1100px){.commercial-stats{grid-template-columns:repeat(2,1fr)}.commercial-detail-grid,.commercial-form-layout{grid-template-columns:1fr}.commercial-detail-aside{grid-template-columns:repeat(2,1fr)}.commercial-form-aside{position:static;grid-template-columns:repeat(2,1fr)}.commercial-form-actions{grid-column:1/-1}}
@media(max-width:760px){.commercial-hero,.commercial-detail-hero,.commercial-form-hero{align-items:flex-start;flex-direction:column}.commercial-primary-action{width:100%}.commercial-stats{grid-template-columns:1fr 1fr}.commercial-stat{min-height:105px;padding:15px}.commercial-stat-icon{display:none}.commercial-filters{grid-template-columns:1fr;padding:0 16px 16px}.commercial-panel-head{padding:18px 16px}.commercial-count{display:none}.commercial-detail-actions{width:100%;justify-content:flex-start}.commercial-detail-aside,.commercial-form-aside{grid-template-columns:1fr}.commercial-form-grid,.commercial-item-content,.commercial-item-values,.commercial-item-values.delivery-values{grid-template-columns:1fr}.commercial-item-card{grid-template-columns:38px minmax(0,1fr);padding:15px 11px}.commercial-form-section{padding:18px 14px}.commercial-form-progress{display:none}.commercial-money-row{grid-template-columns:1fr 1fr}.commercial-history-list article{padding:15px}.conversion-menu-popover{left:0;right:auto}.commercial-products-card .commercial-panel-head{align-items:flex-start}.commercial-currency-pill,.commercial-no-price-pill{white-space:normal;text-align:center}}
@media(max-width:470px){.commercial-stats{grid-template-columns:1fr}.commercial-stat{min-height:92px}.commercial-detail-title{align-items:flex-start}.commercial-detail-actions{align-items:stretch;flex-direction:column}.commercial-detail-actions>.commercial-status{align-self:flex-start}.commercial-pdf-action,.commercial-detail-actions>.commercial-primary-action,.conversion-menu>summary{width:100%}.conversion-menu-popover{position:fixed;inset:auto 12px 12px;width:auto}.commercial-form-actions{grid-template-columns:1fr}.commercial-back{width:40px;height:40px}.commercial-money-row{grid-template-columns:1fr}}
.sales-note-confirm-panel{margin:0 0 24px;border:1px solid #b8d8cf;border-radius:22px;background:linear-gradient(135deg,#fff 0%,#f2fbf8 100%);box-shadow:0 18px 45px rgba(8,59,52,.09);padding:22px}
.sales-note-payment-intro{display:flex;align-items:center;gap:15px;margin-bottom:18px}.sales-note-payment-intro>span{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#e80067;color:#fff;font-size:24px;font-weight:900}.sales-note-payment-intro small{display:block;color:#e80067;font-size:11px;font-weight:900;letter-spacing:.16em}.sales-note-payment-intro h3{margin:3px 0 2px;color:#073f3a;font-size:21px}.sales-note-payment-intro p{margin:0;color:#60736f;font-size:14px}
.sales-note-payment-confirm{display:block}.sales-note-balance-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0 0 18px}.sales-note-balance-summary>div{padding:13px 15px;border:1px solid #d7e6e2;border-radius:14px;background:#fff}.sales-note-balance-summary small{display:block;margin-bottom:4px;color:#728681;font-size:10px;font-weight:900;letter-spacing:.11em}.sales-note-balance-summary strong{color:#073f3a;font-size:18px}.sales-note-balance-summary .pending{border-color:#ffc5d9;background:#fff6f9}.sales-note-balance-summary .pending strong{color:#c60058}.sales-note-payment-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.sales-note-payment-grid label>span{display:block;margin:0 0 7px;color:#173c38;font-size:13px;font-weight:800}.sales-note-payment-grid input,.sales-note-payment-grid select{box-sizing:border-box;width:100%;min-height:48px;border:1px solid #bdd1cc;border-radius:13px;background:#fff;padding:0 13px;color:#102d2a;font:inherit}.sales-note-payment-grid input:focus,.sales-note-payment-grid select:focus{outline:3px solid rgba(232,0,103,.12);border-color:#e80067}.sales-note-payment-grid input:disabled,.sales-note-payment-grid select:disabled{background:#eef3f2;color:#7d8d89}.sales-note-confirm-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:17px;padding-top:17px;border-top:1px solid #dbe9e5}.sales-note-confirm-actions small{color:#687b77}.sales-note-confirm-actions button{border:0;border-radius:13px;background:#073f3a;color:#fff;padding:13px 20px;font-weight:900;cursor:pointer}.sales-note-confirm-actions button:hover{background:#e80067}.field-error{display:block;margin-top:5px;color:#a9231d;font-weight:700}.sales-note-already-confirmed{display:flex;justify-content:space-between;gap:12px;margin:0 0 20px;padding:15px 18px;border-radius:14px;background:#e7f7ef;color:#07543e}.sales-note-already-confirmed span{color:#397061}.commercial-payment-history{display:grid;gap:10px;padding:18px}.commercial-payment-history article{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 16px;border:1px solid #dce8e5;border-radius:14px;background:#fbfdfc}.commercial-payment-history article>div{display:grid;gap:3px}.commercial-payment-history article strong{color:#073f3a}.commercial-payment-history article small{color:#6d7f7b}.commercial-payment-history article>b{white-space:nowrap;color:#07543e;font-size:17px}.commercial-payment-empty{padding:18px;border-radius:14px;background:#f4f8f7;color:#647772;text-align:center}.commercial-paid-total strong{color:#06735e}.commercial-balance-total{margin-top:4px;padding-top:11px;border-top:1px dashed #c7d7d3}.commercial-balance-total strong{color:#c60058}
@media(max-width:720px){.sales-note-balance-summary{grid-template-columns:1fr}.sales-note-payment-grid{grid-template-columns:1fr}.sales-note-confirm-actions{align-items:stretch;flex-direction:column}.sales-note-confirm-actions button{width:100%}.commercial-payment-history article{align-items:flex-start;flex-direction:column}}

.commercial-status.unpaid{background:#fff0f3;color:#a82b55}.commercial-filters-advanced{grid-template-columns:minmax(240px,1.4fr) minmax(190px,1fr) 155px 155px 190px auto auto}.commercial-date-filter{position:relative;margin:0}.commercial-date-filter span{position:absolute;left:10px;top:5px;color:#71837d;font-size:.58rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.commercial-date-filter input{box-sizing:border-box;width:100%;height:44px;padding:14px 10px 2px;background:#f9fbfa}.commercial-payment-copy{min-width:0}.commercial-payment-actions{display:grid;justify-items:end;gap:7px}.commercial-payment-actions a{padding:7px 10px;border:1px solid #b7d8ce;border-radius:9px;background:#eef8f4;color:#07543e;font-size:.7rem;font-weight:850;white-space:nowrap}.payment-receipt-ready{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px;padding:16px 18px;border:1px solid #afd9c9;border-radius:16px;background:linear-gradient(135deg,#e8f8f1,#f7fcfa);box-shadow:0 10px 28px rgba(7,84,62,.08)}.payment-receipt-ready span,.payment-receipt-ready strong,.payment-receipt-ready small{display:block}.payment-receipt-ready span{color:#16735d;font-size:.62rem;font-weight:900;letter-spacing:.14em}.payment-receipt-ready strong{margin:3px 0;color:#073f3a;font-size:1.05rem}.payment-receipt-ready small{color:#617a73}.payment-receipt-ready a{padding:10px 14px;border-radius:11px;background:#073f3a;color:#fff;font-size:.76rem;font-weight:850;white-space:nowrap}
@media(max-width:1180px){.commercial-filters-advanced{grid-template-columns:1fr 1fr 1fr}.commercial-filters-advanced .commercial-search{grid-column:span 2}}
@media(max-width:760px){.commercial-filters-advanced{grid-template-columns:1fr}.commercial-filters-advanced .commercial-search{grid-column:auto}.payment-receipt-ready{align-items:flex-start;flex-direction:column}.payment-receipt-ready a{width:100%;box-sizing:border-box;text-align:center}.commercial-payment-actions{justify-items:start}}
