:root{--primary-color: #0047AB;--print-dark-blue: #0047AB;--company-name-color: var(--print-dark-blue);--highlight-red: #d63031;--deduct-color: #e74c3c;--accent-orange: #ff9500;--text-color: #0f172a;--bg-light: #f8fafc;--border-soft: #e2e8f0;--font-bao-gia: "Times New Roman", Times, "Noto Serif", Georgia, serif}.bao-gia-root{font-family:Times New Roman,Times,serif;font-size:11pt;line-height:1.3;color:var(--text-color);background-color:#f8fafc;margin:0;padding:20px;min-height:100vh;box-sizing:border-box}.container{width:297mm;max-width:100%;margin:0 auto;background:#fff;padding:10mm 15mm;box-shadow:0 0 10px #0000001a;min-height:210mm;box-sizing:border-box;position:relative}.header{display:flex;align-items:center;justify-content:flex-start;border-bottom:3px double var(--primary-color);padding-bottom:15px;margin-bottom:20px;gap:30px}.logo-box{width:180px;flex-shrink:0}.logo-box img{width:100%;height:auto;display:block}.company-info h1{color:var(--company-name-color);font-size:14pt;margin:0 0 5px;font-weight:900;text-transform:uppercase;letter-spacing:.5px}.company-info p{margin:3px 0;font-size:11pt}.quote-title{text-align:center;margin:20px 0}.quote-title h2{font-size:22pt;font-weight:700;margin:0;text-transform:uppercase;color:#d63031;text-shadow:1px 1px 0px rgba(0,0,0,.1)}.customer-section{margin-bottom:10px;font-size:11pt;display:flex;gap:15px;align-items:center}.customer-section>div{display:inline-flex;align-items:center;gap:6px;min-width:0;white-space:nowrap}.customer-section>div>input{display:inline-block;width:auto;min-width:0;flex:1 1 auto}.intro-text{font-style:italic;margin-bottom:15px;text-align:justify}table{width:100%;border-collapse:collapse;font-size:10pt;table-layout:fixed}#quoteTable{margin-bottom:-1px}#summaryTable{margin-top:0;border-top:none}th,td{border:1px solid #555;padding:4px;vertical-align:middle;word-wrap:break-word}#quoteTable tbody tr.item-row{height:auto}#quoteTable tbody tr.item-row>td{vertical-align:middle;overflow:visible}.td-material-cell{padding:0!important;vertical-align:middle;overflow:visible;height:auto}.mat-details-print,.item-details-print{display:none}.td-item-cell{overflow:visible;height:auto}.td-material-inner{display:block;width:100%;box-sizing:border-box}.td-material-inner .material-picker{display:block;margin-top:4px}th{background-color:#f2f2f2;text-align:center;font-weight:700;color:#000;vertical-align:middle}#quoteTable tbody tr.item-row>td:nth-child(7) .inp-unit,#quoteTable tbody tr.item-row>td:nth-child(8) input,#quoteTable tbody tr.item-row>td:nth-child(9) input{margin-top:0;margin-bottom:0}.category-row td{background-color:#e8e8e8;font-weight:700;text-align:left;text-transform:uppercase;padding-left:10px;border-top:2px solid #333;vertical-align:middle}.category-input{font-weight:700;text-transform:uppercase;color:var(--print-dark-blue);font-size:11pt}.item-sub td:nth-child(2) input,.item-sub td:nth-child(2) textarea,.item-deduct td:nth-child(2) input,.item-deduct td:nth-child(2) textarea{padding-left:20px;font-style:italic;font-size:.95em}.item-sub td:first-child,.item-deduct td:first-child{font-size:.9em;font-style:italic;color:#555}.item-deduct input,.item-deduct textarea{color:var(--deduct-color)!important}.item-deduct .inp-total{color:var(--deduct-color)!important;font-weight:700}input,textarea{display:block;width:100%;border:none;border-bottom:1px dotted #ccc;background:transparent;font-family:inherit;font-size:inherit;padding:4px 2px;box-sizing:border-box;resize:none;overflow:hidden;overflow-wrap:break-word;word-wrap:break-word}#tableBody textarea{min-height:1.75em;margin:0;line-height:1.35}.bao-gia-root #tableBody textarea.inp-mat-details{word-break:break-word;min-height:2.5em}.inp-unit.text-center{width:100%;max-width:100%;margin:0;display:block;text-align:center}.inp-small{width:25px!important;display:inline-block;text-align:center;color:var(--print-dark-blue);font-weight:700;font-style:italic;border-bottom:1px dotted #333;padding:0;margin:0 1px}.material-picker{font-size:9pt;color:#666;border-bottom:1px dashed #ccc!important;margin-top:4px;font-style:italic}.material-picker:focus{color:#000;border-bottom:1px solid var(--primary-color)!important;font-style:normal}@media print{input,textarea{border-bottom:none}.inp-small{border-bottom:none!important}.no-print,.material-picker{display:none!important}tr{page-break-inside:avoid}.inp-unit.text-center{width:100%!important}.td-material-inner{display:none!important}.mat-details-print{display:block!important;white-space:pre-wrap;word-wrap:break-word;word-break:break-word;overflow-wrap:break-word;padding:4px 6px;font-size:inherit;line-height:1.35;min-height:0}.td-material-cell{padding:4px!important;vertical-align:middle!important}#quoteTable tbody tr.item-row>td{vertical-align:middle!important}#quoteTable textarea.inp-item-text{display:none!important}.item-details-print{display:block!important;white-space:pre-wrap;word-wrap:break-word;word-break:break-word;overflow-wrap:break-word;padding:4px 6px;line-height:1.35;min-height:0;width:100%;box-sizing:border-box}.item-details-print--main{font-weight:700;color:#000}.item-details-print--sub{font-style:italic;padding-left:14px;font-size:.95em;color:#555}.item-details-print--deduct{font-style:italic;padding-left:14px;font-size:.95em;color:var(--deduct-color)!important;font-weight:700}}input[list]{cursor:pointer}input:focus,textarea:focus{outline:none;border-bottom:1px solid var(--primary-color);background-color:#f8fafc}.text-center{text-align:center}.text-right{text-align:right}.font-bold{font-weight:700}.footer-wrapper{margin-top:20px;display:flex;gap:20px;page-break-inside:avoid}.footer-notes{flex:2;font-size:12pt;font-style:italic;background-color:var(--bg-light);padding:15px;border-left:4px solid var(--primary-color);border-radius:4px}.note-group{margin-bottom:15px}.note-title{color:var(--print-dark-blue);font-weight:700;font-size:13pt;text-decoration:underline;margin-bottom:5px;display:block;text-transform:uppercase}.note-content ul{padding-left:20px;margin:5px 0;list-style-type:none}.note-content li{margin-bottom:4px;position:relative}.note-content li:before{content:"✔";color:var(--print-dark-blue);font-weight:700;position:absolute;left:-20px}.highlight-num{color:var(--highlight-red);font-weight:700;font-size:1.1em}.rounded-payment-row .rounded-payment-label{color:#1f2937!important;font-weight:800!important}.rounded-payment-row .rounded-payment-value{color:#111827!important;font-weight:900!important}.rounded-payment-input{color:#111827!important;font-weight:900!important;letter-spacing:.2px;border-bottom:1px solid #4b5563!important}.warranty-line .inp-small{color:#111827!important;font-weight:900!important;border-bottom:none!important}.warranty-line .highlight-num{color:#111827!important;font-weight:900!important;text-decoration:none!important}.signature-section{display:flex;justify-content:space-between;margin-top:10px;padding:0 50px;text-align:center}.signature-box{width:350px;display:flex;flex-direction:column;align-items:center}.signature-box p{margin:0;padding:0;line-height:1.5}.controls{--tools-font: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, sans-serif;position:fixed;top:20px;right:20px;display:flex;flex-direction:column;gap:10px;width:min(17rem,calc(100vw - 2.5rem));font-family:var(--tools-font);font-size:14px;line-height:1.4;letter-spacing:-.01em;-webkit-font-smoothing:antialiased;background:#f8fafc;padding:14px 14px 12px;border-radius:10px;border:1px solid rgba(0,71,171,.2);box-shadow:0 6px 20px #1c19171a,0 1px 3px #0033660f;z-index:9999;box-sizing:border-box}.controls-title{margin:0 0 12px;padding-bottom:8px;border-bottom:1px solid rgba(0,51,102,.12);font-family:inherit;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--print-dark-blue);line-height:1.2}.controls .btn{font-family:inherit;font-weight:600;letter-spacing:0;font-size:13px;line-height:1.35;padding:10px 14px;border-radius:8px;box-shadow:0 2px 6px #1c19171f}.btn{padding:8px 16px;border:none;border-radius:4px;cursor:pointer;font-weight:700;color:#fff;transition:background-color .18s ease,box-shadow .18s ease,transform .12s ease}.controls .btn:hover{box-shadow:0 3px 10px #1c191729}.controls .btn:active{transform:translateY(1px)}.controls .btn.btn-account{background:#fff;color:#374151;border:1px solid rgba(0,51,102,.2);box-shadow:0 1px 3px #1c191714;padding:10px 12px}.controls .btn.btn-account:hover{background:#f9fafb;color:#111827;border-color:#00336647}.controls .btn.btn-account[aria-expanded=true]{background:#f3f4f6;border-color:#00336652}.bao-gia-account-menu{position:relative;width:100%;margin-top:2px}.bao-gia-account-menu .btn-account{width:100%}.bao-gia-account-trigger-inner{display:flex;align-items:center;gap:8px;width:100%;min-width:0;text-align:left}.bao-gia-account-icon{flex-shrink:0;color:#1e3a5f}.bao-gia-account-icon-spin{animation:bao-gia-spin .85s linear infinite}@keyframes bao-gia-spin{to{transform:rotate(360deg)}}.bao-gia-account-email{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:inherit;font-size:13px;font-weight:600;color:#1f2937}.bao-gia-account-label{flex:1;min-width:0;font-family:inherit;font-size:13px;font-weight:600;color:#374151}.bao-gia-account-chevron{flex-shrink:0;color:#64748b;transition:transform .15s ease}.bao-gia-account-trigger[aria-expanded=true] .bao-gia-account-chevron{transform:rotate(180deg)}.bao-gia-account-dropdown{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:10002;padding:8px 0;background:#fff;border:1px solid rgba(0,51,102,.15);border-radius:10px;box-shadow:0 10px 28px #1c19172e}.bao-gia-account-dropdown-email{padding:8px 14px 10px;font-family:inherit;font-size:12px;font-weight:500;line-height:1.45;color:#64748b;word-break:break-all;border-bottom:1px solid rgba(0,0,0,.06);margin-bottom:4px}.bao-gia-account-dropdown-item{display:block;width:100%;box-sizing:border-box;padding:11px 14px;border:none;background:none;font-family:inherit;font-size:13px;font-weight:600;text-align:left;color:#1e3a5f;cursor:pointer;text-decoration:none}.bao-gia-account-dropdown-item:hover{background:#0033660f}.bao-gia-account-dropdown-item:disabled{opacity:.55;cursor:not-allowed}.bao-gia-account-dropdown-danger{color:#b91c1c}.bao-gia-account-dropdown-danger:hover{background:#b91c1c14}.btn-green{background-color:#28a745}.btn-green:hover{background-color:#218838}.btn-blue{background-color:#0047ab}.btn-blue:hover{background-color:#0069d9}.btn-red{background-color:#dc3545}.btn-red:hover{background-color:#c0392b}.btn-orange{background-color:#e67e22;color:#fff}.btn-orange:hover{background-color:#d35400}.btn-excel{background-color:#1d6f42;color:#fff}.btn-excel:hover{background-color:#185c38}.btn-remove{background-color:#dc3545;margin-top:0;font-size:11px;padding:4px 8px;min-width:35px}.btn-sub{background-color:#0047ab;margin-top:0;font-size:11px;padding:4px 8px;margin-right:2px;min-width:25px}.btn-deduct{background-color:#e67e22;margin-top:0;font-size:11px;padding:4px 8px;margin-right:2px;min-width:25px}#quoteTable tbody tr.item-row td.quote-row-actions,#quoteTable tbody tr.category-row td.quote-row-actions{padding:2px 4px!important;vertical-align:middle;text-align:center;box-sizing:border-box;position:relative}.quote-row-actions-details{position:relative;display:inline-block;text-align:left}.quote-row-actions-details[open]{z-index:40}.quote-actions-trigger{list-style:none;cursor:pointer;width:1.75rem;height:1.75rem;margin:0 auto;padding:0;display:flex;align-items:center;justify-content:center;border-radius:8px;border:1px solid rgba(0,51,102,.28);background:#f8fafc;box-shadow:0 1px 3px #1c19171a;color:var(--print-dark-blue);font-family:var(--font-bao-gia);-webkit-user-select:none;-moz-user-select:none;user-select:none}.quote-actions-trigger::-webkit-details-marker{display:none}.quote-actions-trigger::marker{content:""}.quote-actions-trigger:hover{border-color:#0047ab73;background:#eff6ff}.quote-actions-dots{font-size:1.1rem;font-weight:800;line-height:1;letter-spacing:-.12em;transform:translateY(-1px)}.quote-actions-menu{position:absolute;right:0;top:calc(100% + 6px);min-width:11.5rem;padding:6px;background:#fff;border:1px solid rgba(0,71,171,.35);border-radius:10px;box-shadow:0 8px 24px #1c191724;box-sizing:border-box}.quote-action-btn{display:block;width:100%;margin:0 0 4px;padding:8px 10px;border:none;border-radius:8px;font-family:var(--font-bao-gia);font-size:10.5pt;font-weight:700;text-align:left;cursor:pointer;transition:background-color .15s ease,box-shadow .15s ease;box-sizing:border-box}.quote-action-btn:last-child{margin-bottom:0}.quote-action-add{color:var(--print-dark-blue);background:#eef2f7}.quote-action-add:hover{background:#dfe7f0}.quote-action-deduct{color:#7c4a00;background:#eff6ff}.quote-action-deduct:hover{background:#f0e4cc}.quote-action-del{color:#9f1239;background:#fceff3}.quote-action-del:hover{background:#fbcfe8}.btn-add-row{background-color:#17a2b8;width:100%;margin-top:0;color:#fff;padding:5px;font-size:10px}.print-warning{font-size:10px;color:#666;margin-top:5px;text-align:center}#current-quote-label.current-quote-card{font-family:inherit;margin-top:2px;padding:11px 13px;display:block;width:100%;box-sizing:border-box;border-radius:8px;background:#f8fafc;color:#333;border:1px solid #e2e8f0;box-shadow:inset 0 1px #ffffffe6;text-align:left;line-height:1.45}.current-quote-card-kicker{font-size:12px;font-weight:600;color:#78716c;margin-bottom:6px}.current-quote-card-body{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.current-quote-card-name{flex:1;min-width:0;font-size:14px;font-weight:700;color:#c77700;word-break:break-word}#current-quote-label .current-quote-rename-btn{display:inline-flex;align-items:center;justify-content:center;gap:4px;flex-shrink:0;margin:0;padding:6px 10px;font-family:inherit;font-size:12px;font-weight:600;line-height:1.2;color:#1e3a5f;background:#fff;border:1px solid rgba(0,51,102,.18);border-radius:6px;cursor:pointer;box-shadow:0 1px 2px #1c19170f;transition:background .15s,border-color .15s,color .15s}#current-quote-label .current-quote-rename-btn:hover{background:#f8fafc;border-color:#00336647;color:#0f172a}#current-quote-label .current-quote-rename-btn:active{transform:translateY(1px)}#save-status{position:fixed;bottom:20px;right:20px;background-color:#28a745e6;color:#fff;padding:8px 12px;border-radius:4px;font-size:12px;box-shadow:0 2px 5px #0003;display:none;transition:opacity .5s;z-index:9998}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:none;justify-content:center;align-items:center;z-index:10000}.modal-box{background:#fff;padding:20px;border-radius:12px;width:420px;max-width:92vw;max-height:85vh;display:flex;flex-direction:column;box-shadow:0 8px 32px #0000002e}.modal-box-quotes{--qm-font: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, sans-serif;width:min(520px,94vw);max-height:90vh;position:relative;padding:0;overflow:hidden;font-family:var(--qm-font);font-size:14px;line-height:1.45;letter-spacing:-.01em;color:#0f172a;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border:1px solid rgba(0,71,171,.2);background:#fff;box-shadow:0 16px 48px #1c191729}.modal-header-quotes{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0;padding:12px 16px;border-bottom:1px solid rgba(0,51,102,.1);background:#fff}.modal-title-quotes{margin:0;font-family:var(--qm-font);font-size:1.125rem;font-weight:600;letter-spacing:-.02em;color:var(--print-dark-blue);line-height:1.25}.modal-close-btn{flex-shrink:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border:1px solid #e7e5e4;border-radius:8px;background:#fff;color:#57534e;font-size:15px;line-height:1;cursor:pointer;transition:background .15s,border-color .15s,color .15s}.modal-close-btn:hover{background:#fafaf9;border-color:#d6d3d1;color:#1c1917}.modal-quotes-top{padding:10px 16px 8px;border-bottom:1px solid #eee8dc;background:#fff}.modal-box-quotes .modal-quotes-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;padding:0;margin-bottom:8px}.modal-action-btn{display:flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:8px 12px;font-family:var(--qm-font);font-size:12.5px;font-weight:600;letter-spacing:.01em;border-radius:8px;border:1px solid transparent;cursor:pointer;transition:filter .15s,box-shadow .15s,transform .1s;box-shadow:0 1px 3px #0000001f}.modal-action-btn:active{transform:translateY(1px)}.modal-action-icon{font-size:14px;line-height:1}.modal-action-btn-create{color:#fff;background:#28a745;border-color:#1e7e34}.modal-action-btn-create:hover{filter:brightness(1.06)}.modal-action-btn-duplicate{color:#fff;background:#0047ab;border-color:#003d96}.modal-action-btn-duplicate:hover{filter:brightness(1.06)}.modal-search-toolbar-row{display:flex;align-items:stretch;gap:6px}.modal-box-quotes .modal-search-row{position:relative;flex:1;min-width:0;display:flex;align-items:center}.modal-box-quotes .modal-search-input{width:100%;box-sizing:border-box;padding:8px 34px 8px 11px;font-family:var(--qm-font);font-size:13px;font-weight:500;line-height:1.35;color:#0f172a;background:#fff;border:1px solid #e7e5e4;border-radius:8px;transition:border-color .15s,box-shadow .15s}.modal-box-quotes .modal-search-input::-moz-placeholder{color:#a8a29e;font-weight:400}.modal-box-quotes .modal-search-input::placeholder{color:#a8a29e;font-weight:400}.modal-box-quotes .modal-search-input:focus{outline:none;border-color:#0047aba6;box-shadow:0 0 0 3px #0047ab1f}.modal-box-quotes .modal-search-clear{position:absolute;right:6px;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border:none;border-radius:6px;background:#f5f5f4;color:#57534e;font-size:12px;cursor:pointer}.modal-box-quotes .modal-search-clear:hover{background:#e2e8f0;color:#0f172a}.modal-fold-btns{display:flex;flex-shrink:0;gap:4px}.modal-fold-btn{min-width:72px;padding:0 8px;min-height:36px;font-family:var(--qm-font);font-size:11.5px;font-weight:600;white-space:nowrap;color:#44403c;background:#fafaf9;border:1px solid #e7e5e4;border-radius:8px;cursor:pointer;transition:background .15s,border-color .15s}.modal-fold-btn:hover{background:#f5f5f4;border-color:#d6d3d1}.modal-box-quotes .modal-search-meta{margin:6px 0 0;font-family:var(--qm-font);font-size:11.5px;font-weight:700;color:#334155}.modal-box-quotes .quote-search-results{padding:6px 0 2px}.modal-box-quotes .modal-list{flex:1;min-height:100px;max-height:min(62vh,520px);margin:8px 16px 10px;overflow-y:auto;overflow-x:hidden;border:1px solid #e7e5e4;border-radius:12px;background:#fafaf9;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.modal-box-quotes .modal-list::-webkit-scrollbar{width:8px}.modal-box-quotes .modal-list::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.modal-box-quotes .modal-list-empty{text-align:center;padding:20px 14px;font-size:13px;font-weight:500;color:#78716c;font-style:normal}.modal-box-quotes .quote-month-group{border-bottom:1px solid #94a3b8}.modal-box-quotes .quote-month-group:last-child{border-bottom:none}.modal-box-quotes .quote-month-header{display:flex;align-items:center;gap:8px;width:100%;padding:9px 14px;background:#f8fafc;border:none;border-bottom:1px solid #e2e8f0;cursor:pointer;font-family:var(--qm-font);font-weight:600;font-size:13px;color:var(--print-dark-blue);text-align:left;position:sticky;top:0;z-index:2}.modal-box-quotes .quote-month-header:hover{background:#f1f5f9}.modal-box-quotes .quote-month-chevron{display:inline-flex;align-items:center;justify-content:center;width:20px;flex-shrink:0;color:#334155;font-size:16px;font-weight:700;line-height:1}.modal-box-quotes .quote-month-count{margin-left:auto;padding:2px 8px;font-size:11px;font-weight:600;color:#475569;background:#ffffffd9;border:1px solid #e2e8f0;border-radius:999px}.modal-box-quotes .quote-item{padding:0;margin:6px 10px;border:1px solid #e7e5e4;border-left:3px solid transparent;border-radius:10px;display:block;cursor:pointer;transition:border-color .18s,box-shadow .18s,background .18s;background:#fff;box-sizing:border-box;overflow:hidden}.modal-box-quotes .quote-item:hover{border-color:#d6d3d1;box-shadow:0 2px 8px #0033660f}.modal-box-quotes .quote-item:last-child{margin-bottom:0}.modal-box-quotes .quote-item.active{border-color:#93c5fd;border-left-color:var(--print-dark-blue);background:#eff6ff;box-shadow:0 2px 10px #00336614}.modal-box-quotes .quote-item-body{padding:10px 12px 8px}.modal-box-quotes .quote-item-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.modal-box-quotes .quote-item-badges{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex-shrink:0}.modal-box-quotes .quote-name{font-family:var(--qm-font);font-weight:600;font-size:14px;color:var(--print-dark-blue);line-height:1.4;word-break:break-word;letter-spacing:-.02em}.modal-box-quotes .quote-customer-sub{margin-top:3px;font-size:12px;font-weight:500;color:#57534e}.modal-box-quotes .quote-copy-from{margin-top:5px;padding:4px 8px;font-size:11px;font-weight:500;color:#c77700;background:#fff7ed;border:1px solid #fed7aa;border-radius:6px;line-height:1.4}.modal-box-quotes .quote-date{margin-top:6px;font-size:12px;font-weight:400;color:#78716c;line-height:1.45;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px}.modal-box-quotes .quote-date-label{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#a8a29e}.modal-box-quotes .quote-addr{color:#57534e;font-weight:500}.modal-box-quotes .quote-badge-open{flex-shrink:0;font-family:var(--qm-font);font-size:10px;font-weight:600;letter-spacing:.03em;text-transform:uppercase;color:#166534;background:#dcfce7;padding:2px 8px;border-radius:999px;white-space:nowrap}.modal-box-quotes .quote-month-tag{font-family:var(--qm-font);font-size:10px;font-weight:600;letter-spacing:.01em;color:#475569;background:#e2e8f0;padding:2px 8px;border-radius:999px;white-space:nowrap}.modal-box-quotes .quote-item-actions{display:flex;gap:0;border-top:1px solid #f0f0f0;background:#fafaf9}.modal-box-quotes .quote-item-rename,.modal-box-quotes .quote-item-duplicate,.modal-box-quotes .quote-item-delete{flex:1;margin:0;padding:8px 4px;font-family:var(--qm-font);font-size:10.5px;font-weight:600;border:none;border-radius:0;cursor:pointer;transition:background .15s,color .15s}.modal-box-quotes .quote-item-rename{color:#c77700;background:transparent;border-right:1px solid #f0f0f0}.modal-box-quotes .quote-item-rename:hover{background:#fff7ed;color:#9a3412}.modal-box-quotes .quote-item-duplicate{color:#2563eb;background:transparent;border-right:1px solid #f0f0f0}.modal-box-quotes .quote-item-duplicate:hover{background:#eff6ff;color:#1d4ed8}.modal-box-quotes .quote-item-delete{color:#94a3b8;background:transparent}.modal-box-quotes .quote-item-delete:hover{color:#b91c1c;background:#fef2f2}.modal-box-quotes .quote-duplicate-panel{margin:0 20px 14px;padding:16px;background:#fffdf8;border:1px solid #e2e8f0;border-radius:12px}.modal-box-quotes .quote-duplicate-title{margin:0 0 8px;font-family:var(--qm-font);font-size:1rem;font-weight:600;letter-spacing:-.02em;color:var(--print-dark-blue)}.modal-box-quotes .quote-duplicate-source{margin:0 0 8px;font-size:13px;color:#44403c}.modal-box-quotes .quote-duplicate-note{margin:0 0 12px;font-size:12px;line-height:1.5;color:#78716c}.modal-box-quotes .quote-duplicate-label{display:block;margin-bottom:6px;font-size:12px;font-weight:600;color:#44403c}.modal-box-quotes .quote-duplicate-input{width:100%;box-sizing:border-box;padding:11px 12px;font-family:var(--qm-font);font-size:14px;border:1px solid #d6d3d1;border-radius:10px;margin-bottom:12px}.modal-box-quotes .quote-duplicate-input:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #0047ab26}.modal-box-quotes .quote-duplicate-buttons{display:flex;flex-wrap:wrap;gap:8px}.modal-box-quotes .quote-duplicate-buttons .btn-green{flex:1;min-width:120px;font-family:var(--qm-font);border-radius:10px}.modal-box-quotes .modal-footer{display:flex;justify-content:flex-end;padding:8px 16px 12px;border-top:1px solid #eee8dc;margin-top:auto;background:#fff}.modal-box-quotes .btn-modal-close{font-family:var(--qm-font);background:#fff!important;color:#44403c!important;border:1px solid #e7e5e4!important;font-weight:600;font-size:13px;padding:8px 18px;border-radius:8px;box-shadow:none!important}.modal-box-quotes .btn-modal-close:hover{background:#fafaf9!important;color:#1c1917!important;border-color:#d6d3d1!important}@media (max-width: 480px){.modal-box-quotes .modal-quotes-actions{grid-template-columns:1fr}.modal-box-quotes .quote-item-head{flex-direction:column;align-items:flex-start;gap:6px}}.modal-header{font-weight:700;font-size:18px;margin-bottom:15px;border-bottom:1px solid #eee;padding-bottom:10px;display:flex;justify-content:space-between}.modal-btn-create{margin-bottom:12px;width:100%}.modal-footer{display:flex;justify-content:flex-end;padding-top:4px;border-top:1px solid #f0f0f0;margin-top:auto}.btn-modal-close{background:#f3f4f6!important;color:#374151!important;border:1px solid #d1d5db!important;font-weight:600;padding:8px 18px;border-radius:8px;box-shadow:none!important}.btn-modal-close:hover{background:#e5e7eb!important;color:#111827!important}.btn-mini{padding:4px 8px;font-size:11px;margin-left:5px}@media print{@page{size:A4 landscape;margin:5mm 10mm}.bao-gia-root{background-color:#fff;padding:0;-webkit-print-color-adjust:exact}.container{box-shadow:none;margin:0;width:100%;max-width:100%;min-height:auto;padding:0;overflow:visible}.controls,.btn-remove,.btn-add-row,.no-print,#save-status,.modal-overlay{display:none!important}input,textarea{border:none;resize:none}.footer-notes{background-color:#f8fafc!important;border-left:4px solid #0047AB!important}.rounded-payment-row .rounded-payment-label,.rounded-payment-row .rounded-payment-value,.rounded-payment-input,.warranty-line .inp-small,.warranty-line .highlight-num{color:#000!important;font-weight:900!important;border-bottom:none!important;text-decoration:none!important;-webkit-text-fill-color:#000!important}li.payment-installment-2-skip-print{display:none!important}}.modal-overlay.is-open{display:flex!important}.login-popup-overlay{padding:16px;align-items:center;justify-content:center}.login-popup-panel{width:100%;max-width:428px;max-height:min(92vh,900px);overflow-y:auto;margin:auto;-webkit-overflow-scrolling:touch}.login-popup-shell{position:relative;background:#fff;border-radius:14px;border:1px solid #e2e8f0;box-shadow:0 16px 48px #00000038;padding:20px 22px 18px}.login-popup-close{position:absolute;top:12px;right:12px;width:36px;height:36px;padding:0;display:flex;align-items:center;justify-content:center;border:1px solid #e2e8f0;border-radius:10px;background:#fff;font-size:18px;line-height:1;color:#555;cursor:pointer}.login-popup-close:hover{background:#f8fafc;color:#111}.login-popup-title{margin:0 40px 14px 0;font-size:1.15rem;font-weight:700;color:#0f172a;line-height:1.3}.login-popup-foot{margin:14px 0 0;text-align:center;font-size:12px}.login-popup-foot a{color:#0047ab;font-weight:600;text-decoration:underline}.login-popup-dismissed-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;margin:0 0 12px;padding:10px 14px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;font-size:13px;color:#0f172a}.login-popup-dismissed-bar-btn{padding:4px 10px;font-size:12px;font-weight:600;border-radius:6px;border:1px solid #0047AB;background:#fff;color:#0047ab;cursor:pointer}.login-popup-dismissed-bar-btn:hover{background:#eff6ff}.login-popup-dismissed-bar-link{font-size:12px;font-weight:600;text-decoration:underline;color:#0047ab}#save-status.is-visible{display:block!important}
