html{font-family:Arial,Helvetica,sans-serif}*{box-sizing:border-box}body{color:#20242a;background:#f5f6f8;margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,select{font:inherit}.app-shell{min-height:100vh}.top-header{background:#fff;border-bottom:1px solid #e4e6e8;padding:12px 24px}.brand{align-items:center;gap:14px;max-width:1100px;margin:0 auto;display:flex}.brand img{object-fit:contain;width:58px;height:58px}.brand h1{margin:0;font-size:22px}.brand p{color:#777;margin:3px 0 0;font-size:14px}.main-nav{background:#fff;border-bottom:1px solid #e4e6e8;justify-content:center;gap:10px;padding:10px;display:flex}.main-nav button{cursor:pointer;background:0 0;border:0;border-radius:8px;padding:10px 18px;font-weight:600}.main-nav button.active{color:#fff;background:#20242a}.page{padding:30px 20px}.quotation-card{background:#fff;border:1px solid #e1e4e8;border-radius:14px;max-width:1100px;margin:0 auto;padding:30px;box-shadow:0 8px 25px #0000000d}.section-title{margin-bottom:25px}.section-title h2{margin:0;font-size:25px}.section-title p{color:#777;margin:5px 0 0}.customer-section{margin-bottom:24px}.customer-section label{margin-bottom:8px;font-weight:600;display:block}.customer-section input{border:1px solid #ccd1d7;border-radius:8px;width:100%;max-width:420px;padding:12px 14px}.table-wrapper{width:100%;overflow-x:auto}table{border-collapse:collapse;width:100%}th{text-align:left;background:#f1f3f5;border:1px solid #d9dde2;padding:12px 10px}td{border:1px solid #e0e3e7;padding:9px}.number-column{text-align:center;width:45px}.action-column{text-align:center;width:55px}td select,td input{background:#fff;border:1px solid #ccd1d7;border-radius:6px;width:100%;min-width:110px;padding:10px}.amount{min-width:120px;font-weight:600}.remove-button{cursor:pointer;background:#f0f1f3;border:0;border-radius:6px;width:32px;height:32px;font-size:20px}.remove-button:disabled{opacity:.35}.add-button{cursor:pointer;background:#fff;border:1px solid #cfd4da;border-radius:8px;margin-top:16px;padding:10px 18px;font-weight:600}.summary{border-top:1px solid #d9dde2;max-width:430px;margin-top:35px;margin-left:auto}.summary-row{border-bottom:1px solid #eceff1;justify-content:space-between;align-items:center;padding:13px 6px;display:flex}.shipping-input{align-items:center;gap:5px;display:flex}.shipping-input input{text-align:right;border:1px solid #ccd1d7;border-radius:6px;width:130px;padding:9px}.grand-total{font-size:20px;font-weight:700}.footer-actions{justify-content:flex-end;gap:12px;margin-top:30px;display:flex}.secondary-button,.primary-button{cursor:pointer;border-radius:8px;padding:11px 18px;font-weight:600}.secondary-button{background:#fff;border:1px solid #cfd4da}.primary-button{color:#fff;background:#20242a;border:1px solid #20242a}.placeholder-box{text-align:center;color:#777;border:1px dashed #ccd1d7;border-radius:10px;padding:40px}@media (width<=700px){.top-header{padding:10px 15px}.brand img{width:48px;height:48px}.brand h1{font-size:19px}.main-nav{justify-content:flex-start;overflow-x:auto}.main-nav button{white-space:nowrap}.page{padding:15px}.quotation-card{padding:18px}.summary{max-width:100%}.footer-actions{flex-direction:column}.footer-actions button{width:100%}}.add-product-box{background:#f7f8fa;border:1px solid #e1e4e8;border-radius:10px;align-items:end;gap:15px;margin-bottom:20px;padding:18px;display:flex}.product-field{flex:1}.rate-field{max-width:220px}.product-field label{margin-bottom:7px;font-weight:600;display:block}.product-field input{background:#fff;border:1px solid #ccd1d7;border-radius:7px;width:100%;padding:11px 12px}.add-product-button{white-space:nowrap}.product-message{background:#f1f3f5;border-radius:7px;margin-bottom:18px;padding:10px 13px;font-weight:600}.product-table-wrapper{margin-top:10px}.product-table-wrapper td input{width:100%}.price-edit{align-items:center;gap:6px;display:flex}.save-product-button{color:#fff;cursor:pointer;background:#20242a;border:1px solid #20242a;border-radius:7px;padding:8px 16px;font-weight:600}@media (width<=700px){.add-product-box{flex-direction:column;align-items:stretch}.rate-field{max-width:none}.add-product-button{width:100%}}.product-actions-bar{justify-content:flex-end;margin-bottom:14px;display:flex}@media (width<=700px){.product-actions-bar .primary-button{width:100%}}.product-autocomplete{position:relative}.product-autocomplete>input{width:100%}.product-suggestions{z-index:50;background:#fff;border:1px solid #ccd1d7;border-radius:8px;max-height:260px;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow-y:auto;box-shadow:0 8px 24px #0000001f}.product-suggestions button{text-align:left;cursor:pointer;background:#fff;border:0;border-bottom:1px solid #eceff1;justify-content:space-between;gap:15px;width:100%;padding:11px 12px;display:flex}.product-suggestions button:last-child{border-bottom:0}.product-suggestions button:hover{background:#f5f6f8}.product-suggestions strong{white-space:nowrap}.table-wrapper,.product-table-wrapper{overflow:auto visible}.product-suggestions{z-index:9999;width:max-content;min-width:260px;max-width:420px}.quotation-card .table-wrapper,.quotation-card table,.quotation-card tbody,.quotation-card tr,.quotation-card td{overflow:visible!important}.product-autocomplete{z-index:1000;position:relative}.product-suggestions{z-index:99999;background:#fff;width:max-content;min-width:280px;max-width:420px;max-height:260px;position:absolute;top:calc(100% + 4px);left:0;overflow-y:auto}.quotation-message{background:#f1f3f5;border-radius:8px;max-width:430px;margin:20px 0 0 auto;padding:11px 14px;font-weight:600}.primary-button:disabled{opacity:.6;cursor:not-allowed}.share-overlay{z-index:999999;background:#00000080;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.share-dialog{background:#fff;border-radius:14px;width:100%;max-width:420px;padding:24px;box-shadow:0 20px 55px #00000040}.share-dialog h3{margin:0 0 8px;font-size:22px}.share-dialog p{color:#60656c;margin:0 0 20px;line-height:1.5}.share-option{cursor:pointer;text-align:left;background:#fff;border:1px solid #d5d9de;border-radius:9px;width:100%;margin-bottom:10px;padding:13px 16px;font-weight:600;display:block}.share-option:hover{background:#f5f6f8}.share-close{width:100%;margin-top:8px}@media (width<=700px){.quotation-card .table-wrapper{overflow:visible!important}.quotation-card table,.quotation-card thead,.quotation-card tbody,.quotation-card tr,.quotation-card th,.quotation-card td{width:100%;display:block}.quotation-card tbody tr{background:#fff;border:1px solid #dfe3e8;border-radius:10px;margin-bottom:16px;padding:14px;position:relative}.quotation-card tbody td{border:0;padding:6px 0}.quotation-card .number-column{display:none}.quotation-card td:nth-child(2):before{content:"Product"}.quotation-card td:nth-child(3):before{content:"Rate"}.quotation-card td:nth-child(4):before{content:"Quantity"}.quotation-card td:nth-child(5):before{content:"Amount"}.quotation-card td:nth-child(2):before,.quotation-card td:nth-child(3):before,.quotation-card td:nth-child(4):before,.quotation-card td:nth-child(5):before{color:#666;margin-bottom:5px;font-size:12px;font-weight:700;display:block}.quotation-card td input,.quotation-card td select{width:100%;min-width:0;padding:11px 12px}.quotation-card .amount{min-width:0;font-size:18px;font-weight:700}.quotation-card .action-column{width:auto;padding:0;position:absolute;top:8px;right:8px}.quotation-card .remove-button{width:32px;height:32px}.product-autocomplete{width:100%}.product-suggestions{width:100%;min-width:100%;max-width:100%;left:0;right:0}.summary{width:100%;margin-top:24px}.summary-row{padding:12px 0}.page{padding:10px!important}.quotation-card{width:100%!important;padding:14px!important}.customer-section input{width:100%!important;max-width:none!important}.quotation-card .table-wrapper{-webkit-overflow-scrolling:touch;width:100%!important;display:block!important;overflow:auto visible!important}.quotation-card table{border-collapse:collapse!important;width:100%!important;min-width:760px!important;display:table!important}.quotation-card thead{display:table-header-group!important}.quotation-card tbody{display:table-row-group!important}.quotation-card tr{display:table-row!important}.quotation-card th,.quotation-card td{vertical-align:middle!important;border:1px solid #e0e3e7!important;width:auto!important;padding:8px!important;display:table-cell!important;position:static!important}.quotation-card thead th{background:#f1f3f5!important;font-size:13px!important}.quotation-card .number-column{text-align:center!important;width:42px!important;min-width:42px!important;display:table-cell!important}.quotation-card td:nth-child(2):before,.quotation-card td:nth-child(3):before,.quotation-card td:nth-child(4):before,.quotation-card td:nth-child(5):before{content:none!important;display:none!important}.quotation-card th:nth-child(2),.quotation-card td:nth-child(2){min-width:260px!important}.quotation-card th:nth-child(3),.quotation-card td:nth-child(3),.quotation-card th:nth-child(4),.quotation-card td:nth-child(4){min-width:120px!important}.quotation-card th:nth-child(5),.quotation-card td:nth-child(5){min-width:130px!important}.quotation-card .action-column{text-align:center!important;width:55px!important;min-width:55px!important;display:table-cell!important;position:static!important}.quotation-card td input,.quotation-card td select{width:100%!important;min-width:0!important;height:40px!important;padding:8px 10px!important;font-size:14px!important}.quotation-card .amount{white-space:nowrap!important;min-width:130px!important;font-size:15px!important;font-weight:700!important;display:table-cell!important}.quotation-card .remove-button{width:32px!important;height:32px!important;padding:0!important;font-size:20px!important}.quotation-card .remove-button:after{content:none!important}.quotation-card .remove-button:disabled{display:inline-block!important}.product-autocomplete{width:100%!important;position:relative!important}.product-autocomplete>input{width:100%!important}.product-suggestions{z-index:99999!important;width:300px!important;min-width:300px!important;max-width:360px!important;position:absolute!important;top:calc(100% + 4px)!important;left:0!important}.add-button{width:auto!important;margin-top:14px!important}.summary{width:100%!important;max-width:none!important;margin-top:25px!important}.shipping-row{flex-direction:row!important;align-items:center!important;display:flex!important}.shipping-input{width:auto!important}.shipping-input input{width:130px!important}}.product-suggestions{z-index:9999999!important;background:#fff!important;border:1px solid #ccd1d7!important;border-radius:8px!important;min-width:260px!important;max-width:calc(100vw - 20px)!important;max-height:280px!important;position:fixed!important;overflow:hidden auto!important;box-shadow:0 10px 30px #0000002e!important}@media (width<=700px){.product-suggestions{max-width:calc(100vw - 16px)!important}}.portal-product-suggestions{z-index:2147483647;background:#fff;border:1px solid #cfd4da;border-radius:9px;max-height:300px;position:fixed;overflow:hidden auto;box-shadow:0 12px 32px #00000038}.portal-product-suggestions button{text-align:left;cursor:pointer;background:#fff;border:0;border-bottom:1px solid #eceff1;justify-content:space-between;align-items:center;gap:14px;width:100%;min-height:46px;padding:11px 13px;display:flex}.portal-product-suggestions button:last-child{border-bottom:0}.portal-product-suggestions button:hover,.portal-product-suggestions button:active{background:#f3f5f7}.portal-product-suggestions span{font-weight:600}.portal-product-suggestions strong{white-space:nowrap}@media (width<=700px){.portal-product-suggestions{max-width:calc(100vw - 20px);max-height:240px}.portal-product-suggestions button{min-height:50px;font-size:14px}}.quotation-history{flex-direction:column;gap:12px;display:flex}.quotation-history-card{background:#fff;border:1px solid #dfe3e8;border-radius:10px;padding:16px 18px}.quotation-history-main{align-items:center;gap:14px;margin-bottom:14px;display:flex}.quotation-history-main>strong{font-size:17px}.quotation-customer{color:#555;font-weight:600}.quotation-history-info{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.quotation-history-info>div{background:#f6f7f8;border-radius:7px;padding:10px 12px}.quotation-history-info span{color:#777;margin-bottom:3px;font-size:12px;display:block}.quotation-history-info strong{font-size:15px}.quotation-date{color:#777;margin-top:12px;font-size:12px}@media (width<=700px){.quotation-history-main{flex-direction:column;align-items:flex-start;gap:4px}.quotation-history-info{grid-template-columns:1fr;gap:7px}}.quotation-card-footer{justify-content:space-between;align-items:center;gap:12px;margin-top:14px;display:flex}.view-quotation-button{color:#fff;cursor:pointer;background:#20242a;border:1px solid #20242a;border-radius:7px;padding:9px 15px;font-weight:600}.quotation-detail-overlay{z-index:999999;background:#0000008c;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.quotation-detail-modal{background:#fff;border-radius:14px;width:100%;max-width:900px;max-height:90vh;padding:24px;overflow-y:auto;box-shadow:0 20px 55px #0000004d}.quotation-detail-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px;display:flex}.quotation-detail-header h3{margin:0;font-size:22px}.quotation-detail-header p{color:#666;margin:4px 0 0}.quotation-detail-close{cursor:pointer;background:#f1f3f5;border:0;border-radius:8px;width:38px;height:38px;font-size:25px}.quotation-detail-table-wrapper{width:100%;overflow-x:auto}.quotation-detail-table{border-collapse:collapse;width:100%;min-width:650px}.quotation-detail-table th,.quotation-detail-table td{border:1px solid #dfe3e8;padding:11px 10px}.quotation-detail-table th{background:#f1f3f5}.quotation-detail-summary{max-width:420px;margin:22px 0 0 auto}.quotation-detail-summary>div{border-bottom:1px solid #eceff1;justify-content:space-between;padding:10px 4px;display:flex}.quotation-detail-total{font-size:18px;font-weight:700}@media (width<=700px){.quotation-card-footer{flex-direction:column;align-items:stretch}.view-quotation-button{width:100%}.quotation-detail-overlay{padding:8px}.quotation-detail-modal{max-height:95vh;padding:14px}.quotation-detail-summary{max-width:none}}.quotation-history-actions{gap:8px;display:flex}.delete-quotation-button{color:#b42318;cursor:pointer;background:#fff;border:1px solid #b42318;border-radius:7px;padding:9px 15px;font-weight:600}.delete-quotation-button:hover{background:#fff5f5}@media (width<=700px){.quotation-history-actions{flex-direction:column;width:100%}.quotation-history-actions button{width:100%}}.quotation-search-box{margin-bottom:20px}.quotation-search-box input{background:#fff;border:1px solid #ccd1d7;border-radius:8px;width:100%;max-width:420px;padding:11px 13px}@media (width<=700px){.quotation-search-box input{max-width:none}}.edit-quotation-button,.send-quotation-button{cursor:pointer;border-radius:7px;padding:9px 15px;font-weight:600}.edit-quotation-button{color:#20242a;background:#fff;border:1px solid #c8cdd3}.send-quotation-button{color:#fff;background:#20242a;border:1px solid #20242a}@media (width<=700px){.quotation-history-actions{grid-template-columns:1fr 1fr;display:grid!important}}.mobile-share-button{color:#fff;cursor:pointer;background:#20242a;border:0;border-radius:10px;width:100%;min-height:54px;margin-bottom:12px;padding:14px 18px;font-size:17px;font-weight:700}@media (width<=900px){.share-overlay{align-items:flex-end;padding:0}.share-dialog{border-radius:18px 18px 0 0;width:100%;max-width:none;padding:22px 18px 24px}.share-dialog h3{font-size:21px}.share-dialog p{font-size:14px}.share-option,.mobile-share-button{min-height:54px;font-size:16px}}.product-row-actions{gap:8px;display:flex}.delete-product-button{color:#b42318;cursor:pointer;background:#fff;border:1px solid #b42318;border-radius:7px;padding:8px 16px;font-weight:600}.delete-product-button:hover{background:#fff5f5}@media (width<=700px){.product-row-actions{flex-direction:column}.product-row-actions button{width:100%}}.discount-controls{align-items:center;gap:7px;display:flex}.discount-controls select{background:#fff;border:1px solid #ccd1d7;border-radius:6px;width:70px;padding:9px}.discount-controls input{text-align:right;border:1px solid #ccd1d7;border-radius:6px;width:130px;padding:9px}@media (width<=700px){.discount-controls{justify-content:flex-end}}
