html{--mat-sys-background: light-dark(#faf9fd, #121316);--mat-sys-error: light-dark(#ba1a1a, #ffb4ab);--mat-sys-error-container: light-dark(#ffdad6, #93000a);--mat-sys-inverse-on-surface: light-dark(#f2f0f4, #2f3033);--mat-sys-inverse-primary: light-dark(#abc7ff, #005cbb);--mat-sys-inverse-surface: light-dark(#2f3033, #e3e2e6);--mat-sys-on-background: light-dark(#1a1b1f, #e3e2e6);--mat-sys-on-error: light-dark(#ffffff, #690005);--mat-sys-on-error-container: light-dark(#93000a, #ffdad6);--mat-sys-on-primary: light-dark(#ffffff, #002f65);--mat-sys-on-primary-container: light-dark(#00458f, #d7e3ff);--mat-sys-on-primary-fixed: light-dark(#001b3f, #001b3f);--mat-sys-on-primary-fixed-variant: light-dark(#00458f, #00458f);--mat-sys-on-secondary: light-dark(#ffffff, #283041);--mat-sys-on-secondary-container: light-dark(#3e4759, #dae2f9);--mat-sys-on-secondary-fixed: light-dark(#131c2b, #131c2b);--mat-sys-on-secondary-fixed-variant: light-dark(#3e4759, #3e4759);--mat-sys-on-surface: light-dark(#1a1b1f, #e3e2e6);--mat-sys-on-surface-variant: light-dark(#44474e, #e0e2ec);--mat-sys-on-tertiary: light-dark(#ffffff, #0001ac);--mat-sys-on-tertiary-container: light-dark(#0000ef, #e0e0ff);--mat-sys-on-tertiary-fixed: light-dark(#00006e, #00006e);--mat-sys-on-tertiary-fixed-variant: light-dark(#0000ef, #0000ef);--mat-sys-outline: light-dark(#74777f, #8e9099);--mat-sys-outline-variant: light-dark(#c4c6d0, #44474e);--mat-sys-primary: light-dark(#005cbb, #abc7ff);--mat-sys-primary-container: light-dark(#d7e3ff, #00458f);--mat-sys-primary-fixed: light-dark(#d7e3ff, #d7e3ff);--mat-sys-primary-fixed-dim: light-dark(#abc7ff, #abc7ff);--mat-sys-scrim: light-dark(#000000, #000000);--mat-sys-secondary: light-dark(#565e71, #bec6dc);--mat-sys-secondary-container: light-dark(#dae2f9, #3e4759);--mat-sys-secondary-fixed: light-dark(#dae2f9, #dae2f9);--mat-sys-secondary-fixed-dim: light-dark(#bec6dc, #bec6dc);--mat-sys-shadow: light-dark(#000000, #000000);--mat-sys-surface: light-dark(#faf9fd, #121316);--mat-sys-surface-bright: light-dark(#faf9fd, #38393c);--mat-sys-surface-container: light-dark(#efedf0, #1f2022);--mat-sys-surface-container-high: light-dark(#e9e7eb, #292a2c);--mat-sys-surface-container-highest: light-dark(#e3e2e6, #343537);--mat-sys-surface-container-low: light-dark(#f4f3f6, #1a1b1f);--mat-sys-surface-container-lowest: light-dark(#ffffff, #0d0e11);--mat-sys-surface-dim: light-dark(#dbd9dd, #121316);--mat-sys-surface-tint: light-dark(#005cbb, #abc7ff);--mat-sys-surface-variant: light-dark(#e0e2ec, #44474e);--mat-sys-tertiary: light-dark(#343dff, #bec2ff);--mat-sys-tertiary-container: light-dark(#e0e0ff, #0000ef);--mat-sys-tertiary-fixed: light-dark(#e0e0ff, #e0e0ff);--mat-sys-tertiary-fixed-dim: light-dark(#bec2ff, #bec2ff);--mat-sys-neutral-variant20: #2d3038;--mat-sys-neutral10: #1a1b1f;--mat-sys-level0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-sys-level1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-sys-level2: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-sys-level3: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-sys-level4: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-sys-level5: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-sys-body-large: 400 1rem / 1.5rem Roboto;--mat-sys-body-large-font: Roboto;--mat-sys-body-large-line-height: 1.5rem;--mat-sys-body-large-size: 1rem;--mat-sys-body-large-tracking: .031rem;--mat-sys-body-large-weight: 400;--mat-sys-body-medium: 400 .875rem / 1.25rem Roboto;--mat-sys-body-medium-font: Roboto;--mat-sys-body-medium-line-height: 1.25rem;--mat-sys-body-medium-size: .875rem;--mat-sys-body-medium-tracking: .016rem;--mat-sys-body-medium-weight: 400;--mat-sys-body-small: 400 .75rem / 1rem Roboto;--mat-sys-body-small-font: Roboto;--mat-sys-body-small-line-height: 1rem;--mat-sys-body-small-size: .75rem;--mat-sys-body-small-tracking: .025rem;--mat-sys-body-small-weight: 400;--mat-sys-display-large: 400 3.562rem / 4rem Roboto;--mat-sys-display-large-font: Roboto;--mat-sys-display-large-line-height: 4rem;--mat-sys-display-large-size: 3.562rem;--mat-sys-display-large-tracking: -.016rem;--mat-sys-display-large-weight: 400;--mat-sys-display-medium: 400 2.812rem / 3.25rem Roboto;--mat-sys-display-medium-font: Roboto;--mat-sys-display-medium-line-height: 3.25rem;--mat-sys-display-medium-size: 2.812rem;--mat-sys-display-medium-tracking: 0;--mat-sys-display-medium-weight: 400;--mat-sys-display-small: 400 2.25rem / 2.75rem Roboto;--mat-sys-display-small-font: Roboto;--mat-sys-display-small-line-height: 2.75rem;--mat-sys-display-small-size: 2.25rem;--mat-sys-display-small-tracking: 0;--mat-sys-display-small-weight: 400;--mat-sys-headline-large: 400 2rem / 2.5rem Roboto;--mat-sys-headline-large-font: Roboto;--mat-sys-headline-large-line-height: 2.5rem;--mat-sys-headline-large-size: 2rem;--mat-sys-headline-large-tracking: 0;--mat-sys-headline-large-weight: 400;--mat-sys-headline-medium: 400 1.75rem / 2.25rem Roboto;--mat-sys-headline-medium-font: Roboto;--mat-sys-headline-medium-line-height: 2.25rem;--mat-sys-headline-medium-size: 1.75rem;--mat-sys-headline-medium-tracking: 0;--mat-sys-headline-medium-weight: 400;--mat-sys-headline-small: 400 1.5rem / 2rem Roboto;--mat-sys-headline-small-font: Roboto;--mat-sys-headline-small-line-height: 2rem;--mat-sys-headline-small-size: 1.5rem;--mat-sys-headline-small-tracking: 0;--mat-sys-headline-small-weight: 400;--mat-sys-label-large: 500 .875rem / 1.25rem Roboto;--mat-sys-label-large-font: Roboto;--mat-sys-label-large-line-height: 1.25rem;--mat-sys-label-large-size: .875rem;--mat-sys-label-large-tracking: .006rem;--mat-sys-label-large-weight: 500;--mat-sys-label-large-weight-prominent: 700;--mat-sys-label-medium: 500 .75rem / 1rem Roboto;--mat-sys-label-medium-font: Roboto;--mat-sys-label-medium-line-height: 1rem;--mat-sys-label-medium-size: .75rem;--mat-sys-label-medium-tracking: .031rem;--mat-sys-label-medium-weight: 500;--mat-sys-label-medium-weight-prominent: 700;--mat-sys-label-small: 500 .688rem / 1rem Roboto;--mat-sys-label-small-font: Roboto;--mat-sys-label-small-line-height: 1rem;--mat-sys-label-small-size: .688rem;--mat-sys-label-small-tracking: .031rem;--mat-sys-label-small-weight: 500;--mat-sys-title-large: 400 1.375rem / 1.75rem Roboto;--mat-sys-title-large-font: Roboto;--mat-sys-title-large-line-height: 1.75rem;--mat-sys-title-large-size: 1.375rem;--mat-sys-title-large-tracking: 0;--mat-sys-title-large-weight: 400;--mat-sys-title-medium: 500 1rem / 1.5rem Roboto;--mat-sys-title-medium-font: Roboto;--mat-sys-title-medium-line-height: 1.5rem;--mat-sys-title-medium-size: 1rem;--mat-sys-title-medium-tracking: .009rem;--mat-sys-title-medium-weight: 500;--mat-sys-title-small: 500 .875rem / 1.25rem Roboto;--mat-sys-title-small-font: Roboto;--mat-sys-title-small-line-height: 1.25rem;--mat-sys-title-small-size: .875rem;--mat-sys-title-small-tracking: .006rem;--mat-sys-title-small-weight: 500;--mat-sys-corner-extra-large: 28px;--mat-sys-corner-extra-large-top: 28px 28px 0 0;--mat-sys-corner-extra-small: 4px;--mat-sys-corner-extra-small-top: 4px 4px 0 0;--mat-sys-corner-full: 9999px;--mat-sys-corner-large: 16px;--mat-sys-corner-large-end: 0 16px 16px 0;--mat-sys-corner-large-start: 16px 0 0 16px;--mat-sys-corner-large-top: 16px 16px 0 0;--mat-sys-corner-medium: 12px;--mat-sys-corner-none: 0;--mat-sys-corner-small: 8px;--mat-sys-dragged-state-layer-opacity: .16;--mat-sys-focus-state-layer-opacity: .12;--mat-sys-hover-state-layer-opacity: .08;--mat-sys-pressed-state-layer-opacity: .12}body{color-scheme:light;background-color:var(--mat-sys-surface);color:var(--mat-sys-on-surface);font:var(--mat-sys-body-medium);margin:0}:root{--color-primary: #1976d2;--color-primary-light: #42a5f5;--color-primary-dark: #1565c0;--color-primary-bg: #e3f2fd;--color-secondary: #388e3c;--color-secondary-light: #66bb6a;--color-secondary-dark: #2e7d32;--color-secondary-bg: #e8f5e9;--color-accent-orange: #f57c00;--color-accent-orange-light: #ff9800;--color-accent-orange-dark: #ef6c00;--color-accent-orange-bg: #fff3e0;--color-accent-purple: #7b1fa2;--color-accent-pink: #c2185b;--color-accent-teal: #0097a7;--color-accent-lime: #689f38;--color-accent-yellow: #fbc02d;--color-success: #4caf50;--color-success-light: #81c784;--color-success-dark: #388e3c;--color-success-bg: #e8f5e9;--color-error: #f44336;--color-error-light: #e57373;--color-error-dark: #d32f2f;--color-error-bg: #ffebee;--color-warning: #ff9800;--color-warning-light: #ffb74d;--color-warning-dark: #f57c00;--color-warning-bg: #fff3e0;--color-info: #2196f3;--color-info-light: #64b5f6;--color-info-dark: #1976d2;--color-info-bg: #e3f2fd;--color-text-primary: #333;--color-text-secondary: #666;--color-text-disabled: #999;--color-text-hint: #bbb;--color-bg-white: #ffffff;--color-bg-light: #fafafa;--color-bg-gray: #f5f5f5;--color-bg-medium: #e0e0e0;--color-border-light: #eee;--color-border-medium: #e0e0e0;--color-border-dark: #ccc;--color-status-completed: #2e7d32;--color-status-completed-bg: #e8f5e9;--color-status-in-progress: #ef6c00;--color-status-in-progress-bg: #fff3e0;--color-status-pending: #666;--color-status-pending-bg: #f5f5f5;--color-split-1: #1976d2;--color-split-2: #388e3c;--color-split-3: #f57c00;--color-split-4: #7b1fa2;--color-split-5: #c2185b;--color-split-6: #0097a7;--color-split-7: #689f38;--color-split-8: #fbc02d}.header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;padding-bottom:12px;border-bottom:2px solid #e0e0e0}.header h2{margin:0;font-size:24px;font-weight:500;color:#333;display:flex;align-items:baseline;gap:8px}.header h2 .record-count{font-size:14px;color:#666;font-weight:400;white-space:nowrap}.header-actions{display:flex;gap:8px}html,body{height:100%}body{margin:0;font-family:Roboto,Helvetica Neue,sans-serif}.list-container{padding:20px}.detail-container{padding:24px;background:#f5f5f5;min-height:100vh}.title-container{display:flex;align-items:center;gap:12px}.title-container mat-icon{color:#3f51b5;font-size:28px;width:28px;height:28px}.form-container{display:flex;flex-direction:column;gap:16px;padding:20px 0;min-width:500px}.form-container mat-form-field{width:100%}.form-row{display:flex;gap:16px}.form-row mat-form-field{flex:1}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-bottom:16px}.form-grid .full-width{grid-column:1 / -1}.section-card{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000000d}.section-card .mat-mdc-card-content,.summary-card .mat-mdc-card-content{padding:20px}mat-card-header .section-header{display:flex;justify-content:space-between;align-items:center;width:100%;background:linear-gradient(135deg,#1e88e5,#1565c0);color:#fff;padding:16px 20px}mat-card-header .section-title{display:flex;align-items:center;gap:12px}mat-card-header .section-title mat-icon{color:#fff;font-size:22px;width:22px;height:22px}mat-card-header .section-title h2,mat-card-header .section-title h4{margin:0;font-size:18px;font-weight:600;color:#fff}mat-card-header .section-actions{margin:0;font-size:14px;font-weight:500;display:flex;align-items:center;gap:8px}mat-card-header .section-actions button,mat-card-header .section-header .collapse-button{color:#fff}mat-card-header .section-header .collapse-button mat-icon{color:#fff}mat-card-header .section-header .search-field{width:300px}.count-badge{background:#ffffff40;color:#fff;padding:3px 10px;border-radius:12px;font-size:12px;font-weight:600}.section-header button{color:#fff;font-size:14px}.section-header button mat-icon{margin-right:4px;font-size:18px;width:18px;height:18px}.estimate-list,.transaction-list{display:flex;flex-direction:column;gap:16px}.estimate-item,.transaction-item{background:#fafafa;border:1px solid #e0e0e0;border-radius:8px;padding:16px;transition:all .2s ease;cursor:pointer}.estimate-item:hover,.transaction-item:hover{box-shadow:0 2px 8px #00000014;border-color:#1976d2}.estimate-header,.transaction-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}.estimate-info h4,.transaction-info h4,.transaction-top h4{margin:0 0 8px;font-size:16px;font-weight:500;color:#333}.area-tag{display:inline-flex;align-items:center;gap:4px;background:#e8f5e9;color:#2e7d32;padding:4px 10px;border-radius:12px;font-size:12px;font-weight:500}.area-tag mat-icon{font-size:16px;width:16px;height:16px}.status-chip{padding:4px 12px;border-radius:12px;font-size:12px;font-weight:500;text-transform:capitalize}.status-chip.pending{background:#fff3e0;color:#e65100}.status-chip.ordered{background:#e3f2fd;color:#1565c0}.status-chip.delivered{background:#e8f5e9;color:#2e7d32}.status-chip.in-progress{background:#e3f2fd;color:#1976d2}.status-chip.completed{background:#e8f5e9;color:#388e3c}.header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.header h2{margin:0;font-size:28px;font-weight:600}.header button{display:flex;align-items:center;gap:8px}.action-btn{padding:4px 12px;margin:0 4px;border:none;border-radius:4px;cursor:pointer;font-size:12px;font-weight:500;transition:background-color .2s}.view-btn{background-color:#e3f2fd;color:#1976d2}.view-btn:hover{background-color:#bbdefb}.ag-header{background:#fafafa!important;font-weight:500!important;border-bottom:1px solid #e0e0e0!important}.ag-header .ag-header-cell{border-right:1px solid #e0e0e0!important}.ag-details-row{background:#f5f8fc!important;padding-left:50px!important;border-left:4px solid #1976d2!important;box-shadow:inset 0 1px 3px #0000000d!important}.ag-details-grid{background-color:#fff;border:1px solid #90caf9;border-radius:4px;margin:8px}.content-grid{display:flex;flex-direction:column;gap:24px}mat-card mat-card-header{padding:0!important}::ng-deep .mdc-snackbar{max-width:600px!important;min-width:400px!important}::ng-deep .mdc-snackbar__label{white-space:normal!important;word-wrap:break-word!important;max-height:none!important;padding:12px 0!important}::ng-deep .mat-simple-snack-bar{padding:16px 20px!important;font-size:14px!important}::ng-deep .confirm-dialog-panel{border-radius:12px!important;overflow:hidden;box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f!important}::ng-deep .confirm-dialog-panel .mat-mdc-dialog-container{padding:0!important;border-radius:12px!important}::ng-deep .confirm-dialog-panel .mat-mdc-dialog-surface{border-radius:12px!important}
