@font-face{font-family:Montserrat;src:url('assets/Montserrat.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
:root{--green:#203d35;--green2:#416b5e;--green3:#eaf2ee;--paper:#fbfaf7;--white:#fff;--ink:#263d35;--muted:#819087;--line:#e2e7e1;--gold:#ba8b43;--gold-bg:#fbf2df;--danger:#b4493d;--danger-bg:#fff0ed;--radius:16px;--shadow:0 16px 50px #203d3510}
*{box-sizing:border-box}body{margin:0;font-family:Montserrat,Arial,sans-serif;background:var(--paper);color:var(--ink);font-size:13px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible{outline:3px solid #bd9a57;outline-offset:3px}input,textarea,select{color:var(--ink);background:#fff;border:1px solid #dce3dc;border-radius:9px;padding:10px 12px;min-width:0;transition:border-color .15s,box-shadow .15s}input:focus,textarea:focus,select:focus{outline:0;border-color:#668d7f;box-shadow:0 0 0 3px #416b5e12}input::placeholder,textarea::placeholder{color:#9ca89f}input[type=number]{-moz-appearance:textfield}input[type=number]::-webkit-inner-spin-button{opacity:.3}textarea{resize:vertical}img{max-width:100%}h1,h2,h3,p{margin:0}h1{font-size:29px;line-height:1.25;letter-spacing:-.8px}h2{font-size:21px;line-height:1.3;letter-spacing:-.5px}h3{font-size:15px}a{color:inherit}.hidden{display:none!important}.muted{color:var(--muted)}.small{font-size:11px}.section-label,.eyebrow{font-size:10px;font-weight:bold;letter-spacing:1.7px;color:var(--green2)}.btn{border:0;border-radius:9px;padding:11px 17px;font-weight:bold;display:inline-flex;align-items:center;justify-content:center;gap:10px;white-space:nowrap;transition:background .15s,transform .15s}.btn:hover:not(:disabled){transform:translateY(-1px)}.btn.primary{background:var(--green);color:#fff}.btn.primary:hover:not(:disabled){background:#31594b}.btn.secondary{background:#eef2ed;color:var(--green)}.btn.quiet{background:transparent;color:var(--green2)}.btn.outline{background:#fff;border:1px solid var(--line)}.btn.danger{background:var(--danger-bg);color:var(--danger)}.btn.small{padding:7px 11px;font-size:11px}.btn.large{padding:15px 18px;font-size:13px}.icon-button{width:34px;height:34px;border:0;border-radius:8px;background:transparent;color:inherit;font-size:21px;display:inline-flex;align-items:center;justify-content:center}.icon-button:hover{background:#879c8817}.pill{display:inline-flex;align-items:center;gap:5px;border-radius:6px;padding:4px 8px;font-size:10px;font-weight:bold;white-space:nowrap}.pill.draft{background:#eff1ee;color:#788077}.pill.sent{background:#e9f0f8;color:#4e7194}.pill.accepted{background:#e7f3e9;color:#397650}.pill.cancelled{background:#f8edeb;color:#a56a61}.pill.expired{background:var(--gold-bg);color:#a47b36}.pill.neutral{background:#f0f2ee;color:#678275}.money{font-variant-numeric:tabular-nums;white-space:nowrap}.mobile-only{display:none!important}
.auth-view{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-art{background:var(--green);color:#fff;position:relative;padding:48px 8%;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}.auth-art:before,.auth-art:after{content:'';position:absolute;border:1px solid #ffffff12;border-radius:210px 210px 0 0;width:370px;height:520px;bottom:-110px;right:-70px;transform:rotate(-18deg)}.auth-art:after{right:80px;bottom:-200px;width:270px;height:420px}.auth-logo{width:96px;filter:brightness(0) invert(1);object-fit:contain}.auth-art-copy{padding:80px 0;position:relative;z-index:1}.auth-art-copy .eyebrow{color:#b5c6bb;font-size:10px}.auth-art-copy h1{font-size:40px;line-height:1.3;margin:23px 0;color:#fbfaf2;font-weight:500;letter-spacing:-1.2px}.auth-art-copy p{font-size:13px;line-height:1.9;color:#afc1b8}.auth-bottom{font-size:9px;letter-spacing:1.7px;display:flex;justify-content:space-between;color:#a4b8ad}.auth-main{padding:60px;display:flex;flex-direction:column;justify-content:center;position:relative}.auth-card{max-width:420px;width:100%;margin:auto}.auth-card h2{font-size:34px;margin:14px 0 18px}.auth-card p{color:#849085;line-height:1.8;margin-bottom:35px}.auth-card .btn{width:100%;justify-content:space-between}.auth-card small{display:block;color:var(--muted);font-size:10px;margin-top:18px}.auth-status{color:var(--muted);margin:15px 0}.auth-status:empty{display:none}.auth-copyright{position:absolute;bottom:35px;font-size:10px;color:#99a69c}
.workspace{display:flex;min-height:100vh}.sidebar{width:234px;position:fixed;left:0;top:0;bottom:0;background:var(--green);color:#c8d7ce;display:flex;flex-direction:column;padding:30px 18px 18px;z-index:20}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;padding:0 9px 35px}.brand img{width:61px;filter:brightness(0) invert(1)}.brand>span{font-weight:bold;font-size:14px;letter-spacing:1px;color:#fff;line-height:1.35}.brand small{display:block;font-size:9px;letter-spacing:0;font-weight:400;color:#abc0b4;margin-top:5px}.nav-label{font-size:8px;letter-spacing:1.4px;color:#86a093;margin:5px 14px 15px}.nav-item{width:100%;border:0;background:transparent;border-radius:10px;text-align:left;color:#c3d2c8;padding:13px 13px;margin-bottom:7px;display:flex;align-items:center;font-weight:500;gap:11px;font-size:12px}.nav-item.active{background:#3e6457;color:#fff}.nav-item:hover{background:#35584c}.nav-symbol{font-size:19px;font-weight:400;line-height:1}.nav-count{margin-left:auto;font-size:9px;padding:1px 6px;background:#ffffff19;border-radius:4px}.sidebar-note{border:1px solid #ffffff12;border-radius:10px;padding:15px 12px;margin:40px 6px 15px;font-size:10px}.sidebar-note strong{font-size:10px;letter-spacing:.2px;color:#c4d4c7}.sidebar-note p{color:#94ad9e;font-size:9px;line-height:1.8;margin-top:8px}.sidebar-note small{font-size:8px;color:#b0c2b4;display:block;margin-top:10px}.live-dot,.topbar-dot{width:5px;height:5px;display:inline-block;border-radius:50%;background:#8bb49b;margin-right:6px;box-shadow:0 0 0 3px #8bb49b12}.sidebar-user{margin-top:auto;padding:18px 4px 0;border-top:1px solid #ffffff12;display:flex;align-items:center;gap:9px}.avatar{width:30px;height:30px;border-radius:50%;background:#e7ede0;color:var(--green);display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:bold;flex-shrink:0}.sidebar-user strong{font-size:10px;display:block;color:#e5ece5;max-width:128px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-user small{display:block;font-size:8px;color:#9fb6a8;margin-top:2px}.sidebar-user .icon-button{margin-left:auto;font-size:18px;flex-shrink:0;width:24px}.main-shell{margin-left:234px;width:calc(100% - 234px)}.topbar{height:74px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;background:#fff}.topbar>div{display:flex;align-items:center;gap:8px}.topbar #breadcrumb{font-size:11px;color:#6d8176}.topbar-right{font-size:10px;color:#8c9b91}.topbar-separator{height:14px;width:1px;background:var(--line);margin:0 12px}.wordmark{font-size:13px;letter-spacing:2px;font-weight:bold;color:var(--green)}#main-content{padding:32px 38px 45px;max-width:1820px;margin:auto;outline:0}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:26px}.page-heading .section-label{margin-bottom:10px;display:block}.page-heading p{color:#84958a;font-size:11px;margin-top:9px}.page-actions{display:flex;gap:9px;align-items:center}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:28px}.metric{border:1px solid var(--line);border-radius:12px;background:#fff;padding:18px 20px;min-height:116px}.metric.active-metric{background:var(--green);border-color:var(--green);color:#fff}.metric-head{display:flex;justify-content:space-between;align-items:center;gap:8px;color:#809087;font-size:10px}.metric.active-metric .metric-head{color:#bdcfc3}.metric-icon{font-size:17px;color:#91a397}.metric-value{font-size:29px;letter-spacing:-1px;font-weight:600;line-height:1.3;margin-top:8px}.metric-value.amount{font-size:23px;letter-spacing:-.8px}.metric small{font-size:9px;color:#a0aba3;display:block;margin-top:5px}.metric.active-metric small{color:#b2c5b8}.panel{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}.panel-header{padding:20px 22px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #edf0eb}.panel-header p{font-size:10px;color:var(--muted);margin-top:4px}.panel-toolbar{padding:17px 20px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.search-field{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:9px;padding:0 11px;min-width:210px}.search-field>span{font-size:20px;color:#8ea095}.search-field input{border:0;box-shadow:none;padding:10px 0;min-width:120px;width:100%;background:transparent;font-size:11px}.panel-toolbar .search-field{width:300px}.filter-tabs{display:flex;gap:3px;padding:3px;background:#f4f6f2;border-radius:8px}.filter-tab{border:0;background:transparent;font-size:10px;color:#829287;font-weight:500;border-radius:6px;padding:7px 10px}.filter-tab.active{background:white;color:var(--green);box-shadow:0 1px 5px #203d350c}.toolbar-spacer{flex:1}.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse;text-align:left}.data-table thead th{font-size:9px;color:#829287;text-transform:uppercase;letter-spacing:.5px;font-weight:600;background:#f7f8f4;padding:12px 15px;border-bottom:1px solid var(--line);white-space:nowrap}.data-table tbody td{padding:16px 15px;border-bottom:1px solid #edf0eb;font-size:11px;vertical-align:middle}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fbfcf9}.data-table .align-right{text-align:right}.data-table strong{font-size:11px}.data-table small{display:block;color:#8d9a90;font-size:9px;margin-top:3px}.quote-code{border:0;background:transparent;color:var(--green);font-weight:bold;padding:0;font-size:11px}.quote-code:hover{text-decoration:underline}.table-footer{padding:14px 22px;border-top:1px solid var(--line);font-size:10px;color:#8c9a90;display:flex;justify-content:space-between}.empty-state{text-align:center;padding:68px 20px}.empty-state .empty-icon{width:54px;height:54px;margin:0 auto 18px;background:#eef3ed;border-radius:16px;display:flex;align-items:center;justify-content:center;font-size:26px;color:#789385}.empty-state h3{font-size:16px;margin-bottom:7px}.empty-state p{color:#91a095;font-size:11px;margin-bottom:22px;line-height:1.7}.notice{padding:12px 15px;border:1px solid #e6dfca;border-radius:9px;background:var(--gold-bg);font-size:11px;color:#947137;margin-bottom:16px}.catalog-table .product-code{font-weight:bold}.catalog-note{font-size:10px;color:#8d9a91;margin-top:12px}
.editor-heading{align-items:center;margin-bottom:22px}.back-link{border:0;background:transparent;color:#819589;font-size:11px;padding:0;margin-bottom:13px;display:inline-flex;gap:8px;align-items:center}.editor-title-row{display:flex;align-items:center;gap:11px}.editor-title-row h1{font-size:27px}.save-state{font-size:10px;color:#89988d}.save-state.dirty{color:#b58c42}.editor-sections{display:grid;gap:18px}.section-card{background:white;border:1px solid var(--line);border-radius:14px;overflow:hidden}.card-title{padding:18px 21px;border-bottom:1px solid #edf0e9;display:flex;justify-content:space-between;align-items:center;gap:10px}.card-title h3{display:flex;gap:10px;align-items:center}.step-number{height:22px;width:22px;border-radius:6px;background:#eaf1e9;color:#749381;display:inline-flex;align-items:center;justify-content:center;font-size:10px}.card-body{padding:20px 21px}.form-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px 18px}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field>span{font-size:10px;font-weight:600;color:#6c8174}.field input,.field textarea,.field select{font-size:11px;width:100%;min-height:38px}.field small{font-size:9px;color:#98a59c;line-height:1.5}.span-2{grid-column:span 2}.span-3{grid-column:span 3}.span-4{grid-column:span 4}.required{color:#a77558}.table-note{color:#87978b;font-size:10px}.editor-table{min-width:1180px;width:100%;border-collapse:collapse;table-layout:fixed}.editor-table th{background:#f2f5ef;border:1px solid #e4e9e1;padding:9px 5px;color:#6a8072;font-size:9px;font-weight:600;text-align:left;line-height:1.4}.editor-table thead tr:first-child th{border-top:0}.editor-table th:first-child{border-left:0}.editor-table th:last-child{border-right:0}.editor-table td{border:1px solid #e7ebe4;padding:10px 5px;vertical-align:top;font-size:11px}.editor-table td:first-child{border-left:0;text-align:center;color:#a1afa4;padding-top:22px}.editor-table td:last-child{border-right:0;text-align:center}.editor-table input,.editor-table textarea{width:100%;padding:8px 7px;border:1px solid transparent;border-radius:6px;background:#f8faf6;font-size:10px;min-height:34px}.editor-table input:hover,.editor-table textarea:hover{border-color:var(--line)}.editor-table input:focus,.editor-table textarea:focus{background:#fff;border-color:#98b09c}.editor-table textarea{height:58px;line-height:1.55;min-height:58px}.editor-table .product-code-label{font-size:9px;color:#8ca08e;margin-top:4px;display:flex;align-items:center;gap:4px}.editor-table .quantity,.editor-table .price-input{text-align:right;font-variant-numeric:tabular-nums}.editor-table .line-amount{text-align:right;font-weight:bold;white-space:nowrap;padding-top:19px;font-size:10px}.editor-table .dimensions input{text-align:center;padding:8px 3px}.editor-table .remove-line{color:#b39487;font-size:17px;width:24px;height:29px}.item-image-button{width:61px;height:62px;border:1px dashed #d7e1d4;background:#fafcf7;border-radius:7px;display:flex;align-items:center;justify-content:center;flex-direction:column;font-size:18px;gap:2px;overflow:hidden;color:#93a590}.item-image-button img{width:100%;height:100%;object-fit:contain;background:#fff}.item-image-button small{font-size:8px}.editor-table .price-source{font-size:8px;line-height:1.4;color:#98a296;padding:3px 0}.items-empty{text-align:center;padding:35px 20px;color:#92a18f;font-size:11px;background:#fff}.items-empty button{margin-top:13px}.add-row-footer{padding:13px 20px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #edf0e9}.add-row-footer small{font-size:9px;color:#8b9a8b}.quote-bottom{display:grid;grid-template-columns:1fr 340px;gap:18px}.terms-list{list-style:none;margin:13px 0 0;padding:0;font-size:10px;line-height:1.8;color:#869482}.terms-list li{padding-left:13px;position:relative;margin:6px 0}.terms-list li:before{position:absolute;left:0;top:8px;content:'';width:3px;height:3px;background:#9fae9a;border-radius:50%}.terms-list li:first-child{color:#657e68;font-weight:500}.terms-label{font-size:10px;font-weight:bold;color:#6b826c;display:block;margin-top:15px}.summary-card{padding:22px;background:#edf3eb;border:1px solid #dce7d9;border-radius:14px;align-self:start}.summary-card h3{font-size:13px;margin-bottom:20px}.summary-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:9px 0;color:#6d856f;font-size:11px}.summary-row strong{color:var(--green);font-size:13px}.summary-total{border-bottom:1px solid #d9e3d4;padding:9px 0 17px;margin-bottom:12px}.summary-total strong{font-size:24px;letter-spacing:-.8px}.summary-row .deposit-input{width:75px;padding:5px 8px;text-align:right;background:#fff;font-size:11px;margin-right:4px}.summary-deposit{padding:13px 0;border-top:1px solid #d9e3d4;border-bottom:1px solid #d9e3d4;margin:7px 0}.summary-deposit strong{font-size:19px}.summary-card .summary-small{font-size:9px;line-height:1.7;color:#8ba085;margin-top:10px}.sticky-actions{position:sticky;bottom:0;background:#fffefdED;backdrop-filter:blur(10px);padding:14px 0 0;margin-top:18px;display:flex;align-items:center;justify-content:space-between;z-index:5;gap:15px}.sticky-actions .page-actions{margin-left:auto}.status-select{padding:8px 10px;font-size:10px;background:#fff}.estimate-warning{font-size:9px;color:#a58950;margin-top:5px}
dialog{color:var(--ink)}.modal{border:1px solid var(--line);border-radius:17px;padding:0;box-shadow:0 30px 100px #132a3040;max-height:88vh;width:900px;max-width:calc(100vw - 36px);overflow:hidden}.modal[open]{display:flex;flex-direction:column}.modal::backdrop,.print-overlay::backdrop{background:#1a2f2a70;backdrop-filter:blur(3px)}.modal-header{padding:23px 26px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);flex-shrink:0}.modal-header .section-label{display:block;margin-bottom:5px;font-size:8px}.modal-header h2{font-size:20px}.modal-header .icon-button{font-size:26px;color:#889b8d}.modal-toolbar{padding:16px 26px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);flex-shrink:0}.modal-toolbar .search-field{flex:1}.modal-toolbar select{font-size:10px;max-width:240px}.modal-scroll{overflow:auto;overscroll-behavior:contain;min-height:100px;max-height:60vh}.modal-footer{padding:16px 26px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:13px;flex-shrink:0}.modal-footer>span{font-size:10px;color:#8da08f}.product-result{display:grid;grid-template-columns:49px 1fr 140px 70px;align-items:center;gap:13px;padding:14px 26px;border-bottom:1px solid #edf1e9}.product-result:hover{background:#fafcf7}.product-tile{width:42px;height:42px;background:#f0f4ec;border-radius:9px;color:#829b7e;display:flex;align-items:center;justify-content:center;font-size:20px}.product-result strong{font-size:11px}.product-result small{display:block;font-size:9px;color:#8ba087;margin-top:4px}.product-result .product-price{text-align:right;color:#5e775e;font-size:11px}.product-result .product-price small{font-size:8px}.modal-empty{padding:40px 25px;text-align:center;color:#859781;font-size:11px;line-height:1.8}.image-dialog{width:800px}.image-upload-bar{padding:16px 26px;display:flex;justify-content:space-between;align-items:center;gap:15px}.image-upload-bar p{font-size:11px;color:#869980}.upload-label{cursor:pointer}.image-results{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;padding:10px 26px 26px;min-height:180px}.image-results .modal-empty{grid-column:1/-1}.image-option{border:1px solid var(--line);border-radius:10px;background:#fff;padding:9px;text-align:left;display:flex;flex-direction:column;gap:8px;position:relative;color:#738a6f;font-size:9px}.image-option img{width:100%;height:145px;object-fit:contain;border-radius:6px;background:#fafcf8}.image-option.selected{border:2px solid #6b9262;background:#f6faf1}.image-option.selected:after{content:'✓';position:absolute;top:13px;right:13px;background:var(--green);color:#fff;border-radius:50%;width:23px;height:23px;display:flex;justify-content:center;align-items:center;font-size:11px}.confirm-dialog{width:420px}.confirm-dialog .modal-header{border-bottom:0;padding-bottom:0}.confirm-dialog>p{padding:18px 26px 25px;font-size:12px;color:#789072;line-height:1.8}.confirm-dialog .modal-footer{justify-content:flex-end}.toast-region{position:fixed;right:24px;bottom:24px;z-index:1000;display:flex;flex-direction:column;gap:9px;max-width:390px}.toast{padding:15px 20px;border-radius:10px;background:#3d6555;color:#fff;box-shadow:0 8px 30px #16332929;font-size:11px;line-height:1.6;animation:toast-in .2s ease}.toast.error{background:#a94c40}.toast.info{background:#8c794d}.loading-card{padding:65px;text-align:center;color:#8b9f84}.spinner{display:inline-block;width:22px;height:22px;border:2px solid #e0e9dc;border-top-color:var(--green2);border-radius:50%;animation:spin .7s linear infinite;margin-bottom:13px}.loading-card p{font-size:11px}@keyframes spin{to{transform:rotate(360deg)}}@keyframes toast-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
.print-overlay{width:100vw;max-width:100vw;height:100vh;max-height:100vh;border:0;margin:0;padding:0;background:#e7ebe4;overflow:auto}.preview-toolbar{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;align-items:center;padding:15px 28px;background:#fff;box-shadow:0 1px 12px #203d3510;gap:15px}.preview-toolbar>div{display:flex;align-items:center;gap:14px}.preview-toolbar strong{font-size:13px}.preview-toolbar span{font-size:10px;color:#85977d}.print-help{font-size:10px;color:#85917f;text-align:center;padding:16px 12px 5px}.print-document{width:210mm;min-height:297mm;padding:12mm 10mm 12mm;margin:16px auto 40px;background:#fff;box-shadow:0 10px 50px #243f321c;color:#20372c;font-size:8pt;line-height:1.5;font-family:Montserrat,Arial,sans-serif}.print-brand{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid #274b38;padding-bottom:7mm;margin-bottom:7mm}.print-brand-logo{width:27mm;max-height:15mm;object-fit:contain;object-position:left}.print-company{text-align:right;font-size:8pt;font-weight:bold;color:#355c42;line-height:1.65}.print-company small{display:block;font-size:6pt;letter-spacing:1.4px;font-weight:400;color:#8b9c82;margin-top:1.5mm}.print-title{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:6mm;gap:10mm}.print-title h1{font-size:23pt;letter-spacing:-.7pt;font-weight:600;line-height:1.15}.print-title p{font-size:7pt;color:#89997f;margin-top:2mm}.print-meta{text-align:right;flex-shrink:0;font-size:7pt;color:#829477;line-height:1.85}.print-meta strong{font-size:8pt;color:#38533b}.print-customer{display:grid;grid-template-columns:1.1fr 1fr;background:#f3f6ef;border:1px solid #e2e9dc;border-radius:3mm;padding:4mm 5mm;gap:3mm 6mm;margin-bottom:6mm}.print-field span{display:block;font-size:6pt;color:#8a9b7f;letter-spacing:.2pt;margin-bottom:1mm}.print-field strong{font-size:8pt;font-weight:500;color:#344f35;display:block;overflow-wrap:anywhere}.print-field.address{grid-column:1/-1}.print-items{width:100%;border-collapse:collapse;table-layout:fixed;font-size:6.5pt}.print-items thead{display:table-header-group}.print-items th{background:#274a38;color:#fff;border:1px solid #53735a;padding:2.2mm 1mm;font-size:6pt;line-height:1.4;text-align:center;font-weight:500}.print-items td{border:1px solid #dce5d6;padding:2.5mm 1mm;vertical-align:middle;line-height:1.55;color:#4f654a;overflow-wrap:anywhere}.print-items .p-name{font-size:6.9pt;font-weight:600;color:#304d33}.print-items .p-code{display:block;color:#8fa181;font-size:5.8pt;margin-top:1mm;font-weight:400}.print-items .p-material{font-size:6pt;line-height:1.55;white-space:pre-wrap}.print-items .p-num{text-align:right;font-variant-numeric:tabular-nums;font-size:6.1pt;white-space:nowrap}.print-items .p-center{text-align:center;font-size:6.2pt}.print-items .p-photo{height:20mm;max-height:24mm;width:100%;object-fit:contain}.print-items .p-no-photo{display:flex;align-items:center;justify-content:center;border:1px dashed #e3e9df;color:#a2af98;font-size:5.5pt;text-align:center;min-height:17mm;border-radius:1mm;padding:1mm}.print-items tr{break-inside:avoid;page-break-inside:avoid}.print-items th[colspan]{font-size:5.8pt}.print-items .p-dim{font-size:5.7pt}.print-items .p-amount{font-weight:bold;color:#304d33}.print-under-table{font-size:6pt;color:#8a9c7f;display:flex;justify-content:space-between;margin-top:2mm}.print-summary{display:flex;justify-content:flex-end;margin:5mm 0 6mm}.print-summary-box{width:84mm;border:1px solid #dde7d6;border-radius:2.5mm;background:#f6f8f2;padding:3mm 4mm}.print-total-row{display:flex;align-items:center;justify-content:space-between;gap:4mm;padding:1.5mm 0;font-size:7.2pt;color:#6c8262}.print-total-row strong{font-weight:600;color:#304d33;font-size:8pt;white-space:nowrap}.print-total-row.grand{padding-bottom:3mm;margin-bottom:2mm;border-bottom:1px solid #dbe5d3}.print-total-row.grand strong{font-size:13pt}.print-total-row.deposit{padding-top:2mm;margin-top:2mm;border-top:1px solid #dbe5d3}.print-total-row.deposit strong{font-size:10pt}.print-terms{margin:4mm 0 6mm}.print-terms h2{font-size:8pt;letter-spacing:.4pt;margin-bottom:2mm}.print-terms ul{padding-left:3mm;margin:0;color:#778d6a;font-size:6.5pt;line-height:1.7}.print-terms li{margin:1.4mm 0;break-inside:avoid;page-break-inside:avoid}.print-note{font-size:7pt;color:#758a6a;white-space:pre-wrap;margin:3mm 0 5mm;overflow-wrap:anywhere}.print-payment{border:1px solid #dee7d6;border-radius:3mm;padding:4mm;display:flex;gap:5mm;align-items:center;background:#fafcf7;break-inside:avoid;page-break-inside:avoid}.print-qr{width:27mm;height:27mm;flex-shrink:0}.print-bank h3{font-size:8pt;margin-bottom:1.5mm}.print-bank p{font-size:6.5pt;color:#7e9271;line-height:1.8}.print-bank .account{font-size:13pt;color:#304f32;font-weight:600;letter-spacing:.4pt}.print-bank .owner{font-size:7pt;color:#4f6c45;font-weight:600}.print-bank .memo{margin-top:1.8mm;font-size:6.3pt}.print-bank .qr-note{font-size:5.8pt;color:#93a186}.print-signatures{display:grid;grid-template-columns:1fr 1fr;margin:6mm 0 4mm;text-align:center;gap:20mm;break-inside:avoid;page-break-inside:avoid}.print-signatures strong{font-size:7.3pt;display:block}.print-signatures small{font-size:6pt;color:#8d9d81;display:block;margin-top:1mm}.print-signature-space{height:18mm}.print-signatures p{font-size:7pt;color:#49633f}.print-footer{border-top:1px solid #e2e9db;padding-top:3mm;display:flex;justify-content:space-between;color:#99a78d;font-size:5.8pt;margin-top:4mm}.print-draft{background:#fff6dc;color:#a18436;border:1px solid #eadba5;border-radius:2mm;padding:2mm 3mm;font-size:6.5pt;margin-bottom:4mm}
.editor-table .e-seq{width:38px}.editor-table .e-name{width:190px}.editor-table .e-photo{width:77px}.editor-table .e-dim{width:56px}.editor-table .e-qty{width:65px}.editor-table .e-unit{width:65px}.editor-table .e-price{width:120px}.editor-table .e-amount{width:120px}.editor-table .e-material{width:190px}.editor-table .e-remove{width:35px}.metric .inline-currency{font-size:10px;display:inline;letter-spacing:0;margin-left:3px}.image-placeholder{height:145px;display:flex;align-items:center;justify-content:center;background:#f7faf3;border-radius:6px;color:#98aa8d}.print-items .p-col-seq{width:3.5%}.print-items .p-col-name{width:18%}.print-items .p-col-photo{width:11%}.print-items .p-col-dim,.print-items .p-col-qty,.print-items .p-col-unit{width:5%}.print-items .p-col-price{width:11%}.print-items .p-col-amount{width:12%}.print-items .p-col-material{width:19.5%}
@media(min-width:1600px){#main-content{padding-left:46px;padding-right:46px}.editor-table{min-width:1270px}.editor-table textarea,.editor-table input{font-size:11px}.editor-table th{font-size:10px}}
@media(max-width:1250px){.sidebar{width:204px;padding-left:12px;padding-right:12px}.main-shell{margin-left:204px;width:calc(100% - 204px)}#main-content{padding:28px 24px}.topbar{padding:0 24px}.metrics{gap:10px}.metric{padding:16px}.metric-value.amount{font-size:20px}.form-grid{grid-template-columns:repeat(2,1fr)}.span-3,.span-4{grid-column:span 2}.quote-bottom{grid-template-columns:1fr 305px}.filter-tabs{overflow:auto;max-width:100%}}
@media(max-width:940px){.metrics{grid-template-columns:repeat(2,1fr)}.quote-bottom{grid-template-columns:1fr}.summary-card{max-width:none}.page-heading{align-items:flex-start}.page-heading .page-actions{flex-wrap:wrap;justify-content:flex-end}.panel-toolbar .search-field{width:100%}.auth-main{padding:35px}.auth-art-copy h1{font-size:31px}.auth-art{padding:35px 9%}.auth-bottom{display:block}.auth-bottom span{display:block;margin-top:8px}.topbar-right .topbar-dot,.topbar-right #topbar-date{display:none}}
@media(max-width:720px){body{font-size:12px}.mobile-only{display:inline-flex!important}.sidebar{transform:translateX(-100%);transition:transform .2s;width:234px}.workspace.menu-open .sidebar{transform:translateX(0);box-shadow:10px 0 50px #0f2c3c45}.main-shell{margin-left:0;width:100%}.topbar{height:60px;padding:0 18px}.topbar .topbar-separator{display:none}#main-content{padding:23px 16px 30px}.page-heading{display:block;margin-bottom:22px}.page-heading h1{font-size:26px}.page-actions{margin-top:15px;flex-wrap:wrap}.page-heading .page-actions{justify-content:flex-start}.metrics{gap:9px;margin-bottom:20px}.metric{padding:14px 13px;min-height:100px}.metric-value{font-size:25px}.metric-value.amount{font-size:18px}.metric small{font-size:8px}.metric-head{font-size:9px}.metric-icon{display:none}.panel-header,.panel-toolbar{padding:16px}.filter-tabs{width:100%;justify-content:space-between}.filter-tab{padding:7px 8px;font-size:9px}.panel-toolbar .toolbar-spacer{display:none}.data-table{min-width:690px}.data-table td{padding:14px 12px}.table-footer{padding:12px 16px;font-size:9px}.auth-view{grid-template-columns:1fr}.auth-art{min-height:260px;padding:28px;}.auth-art-copy{padding:25px 0 5px}.auth-art-copy .eyebrow{font-size:8px}.auth-art-copy h1{font-size:26px;margin:13px 0}.auth-art-copy p{display:none}.auth-logo{width:75px}.auth-bottom{display:none}.auth-main{padding:40px 28px 70px;min-height:390px}.auth-card h2{font-size:29px}.auth-copyright{bottom:25px}.form-grid{gap:14px 12px}.card-body{padding:16px}.card-title{padding:15px}.card-title .btn{font-size:10px;padding:8px 10px}.card-title h3{font-size:13px}.field>span{font-size:9px}.field input,.field select{font-size:10px;padding:9px}.card-title .table-note{display:none}.editor-title-row h1{font-size:23px}.editor-heading .page-actions .btn{font-size:10px;padding:10px 12px}.editor-heading .page-actions{gap:7px}.sticky-actions{padding:12px 0 0;align-items:flex-end}.sticky-actions>.save-state{max-width:100px;font-size:9px}.sticky-actions .page-actions{margin-top:0;gap:6px;flex-wrap:nowrap}.sticky-actions .btn{font-size:10px;padding:11px 13px}.add-row-footer{padding:10px 14px}.add-row-footer small{max-width:130px}.modal{max-width:calc(100vw - 16px);max-height:94vh;border-radius:12px}.modal-header{padding:18px}.modal-toolbar{padding:12px 18px;flex-wrap:wrap}.modal-toolbar .search-field{width:100%}.modal-toolbar select{max-width:none;width:100%}.modal-footer{padding:13px 17px}.modal-footer .btn{font-size:10px}.product-result{grid-template-columns:1fr 95px 54px;padding:13px 17px;gap:8px}.product-tile{display:none}.product-result strong{font-size:10px}.product-result small{font-size:8px}.product-result .product-price{font-size:9px}.product-result .btn{font-size:10px;padding:7px}.image-results{grid-template-columns:repeat(2,1fr);padding:10px 17px 18px;gap:10px}.image-option img{height:125px}.image-upload-bar{padding:15px 18px}.image-upload-bar p{font-size:9px}.preview-toolbar{padding:12px 15px;align-items:flex-start;flex-wrap:wrap}.preview-toolbar>div{gap:9px;flex-wrap:wrap}.preview-toolbar span{font-size:9px}.preview-toolbar .btn{font-size:10px;padding:9px 11px}.print-help{text-align:left;padding:12px 15px;min-width:700px}.print-document{margin:8px 12px 25px;transform-origin:top left}.toast-region{left:16px;right:16px;bottom:18px;max-width:none}}
.product-warning,.data-table .product-warning,.product-result .product-warning{display:block;color:#a57632;font-size:9px;font-weight:400;line-height:1.6;margin-top:5px}.print-items .p-name{font-size:7.3pt}.print-items .p-num{font-size:6.8pt}.print-items .p-material{font-size:6.8pt;color:#52664a}.print-items th{font-size:6.3pt}.print-terms ul{font-size:7pt;color:#61765a}.print-bank p{color:#607552}.print-field strong{color:#30482f}
@media(max-width:720px){.field>span{font-size:10px}.field input,.field select,.field textarea{font-size:13px;padding:10px}.panel-toolbar .search-field input,.modal-toolbar .search-field input{font-size:12px}}
@page{size:A4 portrait;margin:11mm 10mm 12mm;@bottom-right{content:counter(page) ' / ' counter(pages);font-size:6pt;color:#86957c;font-family:Arial,sans-serif}}
@media print{html,body{margin:0!important;padding:0!important;background:white!important;color:#20372c!important}body>*{display:none!important}body>#print-overlay{display:block!important;position:static!important;inset:auto!important;width:auto!important;height:auto!important;max-height:none!important;max-width:none!important;overflow:visible!important;background:white!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important}#print-overlay::backdrop{display:none!important}.preview-toolbar,.print-help{display:none!important}.print-document{width:100%!important;min-height:0!important;margin:0!important;padding:0!important;box-shadow:none!important;font-size:8pt!important;transform:none!important}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}.print-summary,.print-payment,.print-signatures{break-inside:avoid;page-break-inside:avoid}.print-items thead{display:table-header-group}.print-items tr{break-inside:avoid;page-break-inside:avoid}.print-footer{break-inside:avoid}button{display:none!important}}

/* Keep Apps Script's nested transport frame laid out without displaying it. */
.mego-transport-frame{position:fixed;left:-10000px;top:0;width:1px;height:1px;border:0;opacity:0;pointer-events:none;}
