#ansam-estimate-companion-root{position:relative;z-index:1000}.ansam-estimate-actions-header,.ansam-estimate-actions-cell{white-space:nowrap;min-width:168px}.ansam-estimate-actions-cell{padding:.65rem .75rem}.ansam-estimate-action-button,.ansam-estimate-pdf-button,.ansam-primary-button,.ansam-dialog-actions button,.ansam-edit-line-heading button,.ansam-danger-button{border:1px solid #cbd5e1;border-radius:.45rem;background:#fff;color:#0f172a;font:600 12px/1.2 ui-sans-serif,system-ui,sans-serif;padding:.42rem .55rem;cursor:pointer;margin-right:.3rem}.ansam-estimate-action-button:hover,.ansam-estimate-pdf-button:hover,.ansam-dialog-actions button:hover,.ansam-edit-line-heading button:hover{background:#f1f5f9}.ansam-estimate-pdf-button,.ansam-primary-button{background:#0a1821;border-color:#0a1821;color:#fff}.ansam-estimate-pdf-button:hover,.ansam-primary-button:hover{background:#132b3a}.ansam-estimate-toast{position:fixed;top:1.1rem;right:1.1rem;z-index:1100;max-width:360px;border:1px solid #a5f3fc;border-radius:.7rem;background:#ecfeff;color:#164e63;box-shadow:0 14px 34px #0f172a29;padding:.85rem 1rem;font:600 14px/1.45 ui-sans-serif,system-ui,sans-serif}.ansam-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;display:flex;align-items:center;justify-content:center;padding:1rem;overflow:auto;background:#0208179e}.ansam-modal{width:min(680px,100%);max-height:calc(100vh - 2rem);overflow:auto;border-radius:.85rem;background:#f8fafc;box-shadow:0 25px 60px #00000059}.ansam-modal-wide{width:min(1120px,100%)}.ansam-modal>header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:1rem;border-bottom:1px solid #e2e8f0;background:#fff;padding:1rem 1.25rem}.ansam-modal h2,.ansam-modal h3,.ansam-modal h4{margin:0;color:#0a1821;font-family:ui-sans-serif,system-ui,sans-serif}.ansam-modal h2{font-size:1rem}.ansam-icon-button{border:0;background:transparent;color:#475569;cursor:pointer;font-size:1.6rem;line-height:1}.ansam-preview-toolbar{display:flex;justify-content:flex-end;padding:.9rem 1.25rem;border-bottom:1px solid #e2e8f0;background:#fff}.ansam-preview-toolbar .ansam-primary-button{margin:0}.ansam-preview-canvas{overflow:auto;padding:1.5rem;background:#e2e8f0}.ansam-estimate-document{width:794px;min-height:1123px;box-sizing:border-box;margin:0 auto;background:#fff;color:#0a1821;box-shadow:0 10px 28px #0f172a29;padding:42px 52px 46px;font-family:Arial,Helvetica,sans-serif;font-size:12px}.ansam-estimate-header{display:flex;min-height:88px;align-items:flex-start;justify-content:space-between;border-top:4px solid #00b0b9;padding-top:13px}.ansam-estimate-logo{width:184px;height:75px;object-fit:contain;object-position:right top}.ansam-estimate-eyebrow{margin:0 0 6px;color:#00a4ad;font-size:9px;font-weight:700;letter-spacing:.13em;text-transform:uppercase}.ansam-estimate-address{max-width:350px;margin:0;color:#334155;font-size:10px;line-height:1.5}.ansam-estimate-title{margin:28px 0 20px;text-align:center}.ansam-estimate-title span{display:inline-block;border-bottom:2px solid #00b0b9;padding:0 22px 8px;color:#0a1821;font-size:26px;font-style:italic;font-weight:500}.ansam-estimate-meta{display:flex;justify-content:space-between;gap:24px;margin-bottom:24px}.ansam-estimate-client{display:flex;max-width:43%;flex-direction:column;gap:3px;color:#475569;font-size:11px;line-height:1.45}.ansam-estimate-client strong{color:#0a1821;font-size:13px}.ansam-estimate-details{display:grid;grid-template-columns:repeat(2,minmax(135px,1fr));gap:6px;margin:0}.ansam-estimate-details div{min-width:132px;border:1px solid #e2e8f0;border-radius:4px;background:#f8fafc;padding:6px 8px}.ansam-estimate-details dt{color:#64748b;font-size:8px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.ansam-estimate-details dd{margin:3px 0 0;color:#0a1821;font-size:10px;font-weight:700}.ansam-estimate-items{width:100%;border-collapse:collapse;font-size:10px}.ansam-estimate-items th{background:#00b0b9;color:#fff;padding:9px 8px;font-size:8px;letter-spacing:.06em;text-align:right;text-transform:uppercase}.ansam-estimate-items th:first-child,.ansam-estimate-items td:first-child{text-align:left}.ansam-estimate-items td{border:1px solid #e2e8f0;padding:9px 8px;color:#334155;text-align:right;vertical-align:top}.ansam-estimate-items td:first-child{width:44%;color:#0a1821}.ansam-estimate-items small{display:block;margin-top:3px;color:#64748b;font-size:9px;line-height:1.35}.ansam-empty-line-items{padding:18px!important;color:#64748b!important;text-align:center!important}.ansam-estimate-summary{width:292px;margin:20px 0 18px auto;border:1px solid #e2e8f0}.ansam-estimate-summary>div{display:flex;justify-content:space-between;gap:20px;padding:8px 10px;border-bottom:1px solid #e2e8f0;color:#475569}.ansam-estimate-summary .ansam-estimate-total{border-bottom:0;background:#0a1821;color:#fff;font-size:12px}.ansam-estimate-notes{margin-top:18px;border-top:1px solid #e2e8f0;padding-top:12px;color:#475569;font-size:10px;line-height:1.5}.ansam-estimate-notes h4{margin-bottom:5px;color:#0a1821;font-size:10px;letter-spacing:.04em;text-transform:uppercase}.ansam-estimate-notes p{margin:2px 0}.ansam-estimate-footer{display:flex;justify-content:space-between;margin-top:34px;border-top:2px solid #00b0b9;padding-top:10px;color:#64748b;font-size:9px}.ansam-edit-form{padding:1.25rem}.ansam-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.9rem}.ansam-form-grid label{display:flex;flex-direction:column;gap:.38rem;color:#334155;font:700 12px/1.2 ui-sans-serif,system-ui,sans-serif}.ansam-form-grid input,.ansam-form-grid select,.ansam-form-grid textarea,.ansam-edit-line input,.ansam-edit-line select{box-sizing:border-box;width:100%;border:1px solid #cbd5e1;border-radius:.45rem;background:#fff;color:#0f172a;font:400 13px/1.35 ui-sans-serif,system-ui,sans-serif;padding:.55rem .6rem}.ansam-form-grid textarea{resize:vertical}.ansam-span-all{grid-column:1 / -1}.ansam-edit-lines{margin:1.25rem 0;border:1px solid #e2e8f0;border-radius:.6rem;background:#fff;padding:1rem}.ansam-edit-line-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.8rem}.ansam-edit-line-heading button{margin:0}.ansam-edit-line{display:grid;grid-template-columns:1.2fr 1.6fr 76px 108px 100px minmax(92px,.9fr) 72px;align-items:center;gap:.45rem;padding:.5rem 0;border-top:1px solid #e2e8f0}.ansam-edit-line strong{color:#0f172a;font-size:12px;text-align:right}.ansam-danger-button{border-color:#fecaca;color:#b91c1c;margin:0;padding:.42rem}.ansam-edit-totals{display:flex;justify-content:flex-end;gap:1.15rem;margin-top:.8rem;color:#475569;font:600 12px/1.2 ui-sans-serif,system-ui,sans-serif}.ansam-edit-totals strong{color:#0a1821;margin-left:.35rem}.ansam-dialog-actions{display:flex;justify-content:flex-end;gap:.5rem;margin-top:1.25rem}.ansam-dialog-actions button{margin:0}.ansam-error{margin:1rem 0 0;border:1px solid #fecaca;border-radius:.5rem;background:#fef2f2;color:#991b1b;padding:.75rem;font:500 13px/1.4 ui-sans-serif,system-ui,sans-serif}.ansam-muted{color:#64748b;font:400 13px/1.4 ui-sans-serif,system-ui,sans-serif}.ansam-pdf-capture{position:fixed;left:-10000px;top:0;z-index:-1}.ansam-pdf-capture .ansam-estimate-document{box-shadow:none}@media(max-width:820px){.ansam-preview-canvas{padding:.75rem;justify-content:flex-start}.ansam-estimate-document{transform-origin:top left;transform:scale(.58);margin-bottom:-472px}.ansam-estimate-meta{flex-direction:column}.ansam-estimate-client{max-width:100%}.ansam-edit-line{grid-template-columns:1fr 1fr}.ansam-edit-line strong,.ansam-edit-line button{text-align:left}.ansam-form-grid{grid-template-columns:1fr}.ansam-span-all{grid-column:auto}}
