html{--mat-sys-background: light-dark(#fcf8fd, #131316);--mat-sys-error: light-dark(#ba1a1a, #ffb4ab);--mat-sys-error-container: light-dark(#ffdad6, #93000a);--mat-sys-inverse-on-surface: light-dark(#f3eff4, #303034);--mat-sys-inverse-primary: light-dark(#bec2ff, #343dff);--mat-sys-inverse-surface: light-dark(#303034, #e5e1e6);--mat-sys-on-background: light-dark(#1b1b1f, #e5e1e6);--mat-sys-on-error: light-dark(#ffffff, #690005);--mat-sys-on-error-container: light-dark(#93000a, #ffdad6);--mat-sys-on-primary: light-dark(#ffffff, #0001ac);--mat-sys-on-primary-container: light-dark(#0000ef, #e0e0ff);--mat-sys-on-primary-fixed: light-dark(#00006e, #00006e);--mat-sys-on-primary-fixed-variant: light-dark(#0000ef, #0000ef);--mat-sys-on-secondary: light-dark(#ffffff, #2e2f42);--mat-sys-on-secondary-container: light-dark(#444559, #e1e0f9);--mat-sys-on-secondary-fixed: light-dark(#191a2c, #191a2c);--mat-sys-on-secondary-fixed-variant: light-dark(#444559, #444559);--mat-sys-on-surface: light-dark(#1b1b1f, #e5e1e6);--mat-sys-on-surface-variant: light-dark(#46464f, #e4e1ec);--mat-sys-on-tertiary: light-dark(#ffffff, #502400);--mat-sys-on-tertiary-container: light-dark(#723600, #ffdcc7);--mat-sys-on-tertiary-fixed: light-dark(#311300, #311300);--mat-sys-on-tertiary-fixed-variant: light-dark(#723600, #723600);--mat-sys-outline: light-dark(#777680, #91909a);--mat-sys-outline-variant: light-dark(#c7c5d0, #46464f);--mat-sys-primary: light-dark(#343dff, #bec2ff);--mat-sys-primary-container: light-dark(#e0e0ff, #0000ef);--mat-sys-primary-fixed: light-dark(#e0e0ff, #e0e0ff);--mat-sys-primary-fixed-dim: light-dark(#bec2ff, #bec2ff);--mat-sys-scrim: light-dark(#000000, #000000);--mat-sys-secondary: light-dark(#5c5d72, #c5c4dd);--mat-sys-secondary-container: light-dark(#e1e0f9, #444559);--mat-sys-secondary-fixed: light-dark(#e1e0f9, #e1e0f9);--mat-sys-secondary-fixed-dim: light-dark(#c5c4dd, #c5c4dd);--mat-sys-shadow: light-dark(#000000, #000000);--mat-sys-surface: light-dark(#fcf8fd, #131316);--mat-sys-surface-bright: light-dark(#fcf8fd, #3a393c);--mat-sys-surface-container: light-dark(#f0edf1, #201f22);--mat-sys-surface-container-high: light-dark(#ebe7eb, #2a292d);--mat-sys-surface-container-highest: light-dark(#e5e1e6, #353438);--mat-sys-surface-container-low: light-dark(#f6f2f7, #1b1b1f);--mat-sys-surface-container-lowest: light-dark(#ffffff, #0e0e11);--mat-sys-surface-dim: light-dark(#dcd9dd, #131316);--mat-sys-surface-tint: light-dark(#343dff, #bec2ff);--mat-sys-surface-variant: light-dark(#e4e1ec, #46464f);--mat-sys-tertiary: light-dark(#964900, #ffb787);--mat-sys-tertiary-container: light-dark(#ffdcc7, #723600);--mat-sys-tertiary-fixed: light-dark(#ffdcc7, #ffdcc7);--mat-sys-tertiary-fixed-dim: light-dark(#ffb787, #ffb787);--mat-sys-neutral-variant20: #303038;--mat-sys-neutral10: #1b1b1f;--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 Inter;--mat-sys-body-large-font: Inter;--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 Inter;--mat-sys-body-medium-font: Inter;--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 Inter;--mat-sys-body-small-font: Inter;--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 Inter;--mat-sys-display-large-font: Inter;--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 Inter;--mat-sys-display-medium-font: Inter;--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 Inter;--mat-sys-display-small-font: Inter;--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 Inter;--mat-sys-headline-large-font: Inter;--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 Inter;--mat-sys-headline-medium-font: Inter;--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 Inter;--mat-sys-headline-small-font: Inter;--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 Inter;--mat-sys-label-large-font: Inter;--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 Inter;--mat-sys-label-medium-font: Inter;--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 Inter;--mat-sys-label-small-font: Inter;--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 Inter;--mat-sys-title-large-font: Inter;--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 Inter;--mat-sys-title-medium-font: Inter;--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 Inter;--mat-sys-title-small-font: Inter;--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}.middle-container{width:min(80%,700px);margin:20px auto;padding:20px;background:#fff;border:1px solid #d6d6d6;border-radius:8px;box-sizing:border-box;overflow:hidden}.action-container{width:100%;height:80vh;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;text-align:center;margin-top:20px;gap:5px;animation:fadeInUp .8s ease-out forwards}@keyframes fadeInUp{0%{opacity:0;transform:translateY(40px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.card-container{width:80%;margin:20px auto;border:1px solid #d6d6d6;border-radius:8px;background:#fff;overflow:hidden;animation:fadeInUp .8s ease}:root{--color-primary: #2b2118;--color-primary-dark: #17110b;--color-primary-light: #f5e9d4;--color-accent: #f5a524;--color-accent-dark: #c97f0a;--color-accent-light: #fdf1dc;--color-bg: #f6f0e6;--color-surface: #fffdf9;--color-text: #1d1812;--color-text-muted: #7a6f60;--color-border: #e8dcc8;--radius-sm: 10px;--radius-md: 16px;--radius-lg: 24px;--shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);--shadow-md: 0 8px 24px rgba(16, 24, 40, .08);--shadow-lg: 0 20px 48px rgba(16, 24, 40, .16);--font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif}:root[data-theme=dark]{--color-primary: #d08a14;--color-primary-dark: #ffc861;--color-primary-light: #2a2115;--color-accent: #f5a524;--color-accent-dark: #ffc861;--color-accent-light: #2c2413;--color-bg: #0e0c0a;--color-surface: #16130f;--color-text: #f6ecdc;--color-text-muted: #a89c8a;--color-border: #2e271e;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .35);--shadow-md: 0 8px 24px rgba(0, 0, 0, .45);--shadow-lg: 0 20px 48px rgba(0, 0, 0, .55)}html,body{height:100%}html{overflow-x:hidden}body{margin:0;font-family:var(--font-sans);color:var(--color-text);background-color:var(--color-bg);transition:background-color .25s ease,color .25s ease}[data-theme=dark] .cdk-overlay-container{filter:invert(1) hue-rotate(180deg)}*,*:before,*:after{box-sizing:border-box}.modal-backdrop{position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;z-index:2147483647!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#00000080}.modal-card{position:relative!important;width:300px;max-width:calc(100vw - 40px);padding:30px 20px;background:#fff;border-radius:10px;box-shadow:0 10px 30px #0000004d;text-align:center;margin:0!important}html,body{margin:0;padding:0}.modal-backdrop{position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;z-index:999999!important;display:flex!important;justify-content:center!important;align-items:center!important;background:#00000080!important}.custom-dialog{background-color:#f8faff!important}.spend-dialog{width:700px!important;max-width:95vw!important}.spend-dialog .mat-mdc-dialog-container{width:100%!important;max-width:100%!important;padding:0!important}.spend-dialog .mat-mdc-dialog-surface{width:100%!important;max-width:100%!important;min-width:0!important;padding:0!important;overflow:hidden!important}@media print{body *{visibility:hidden}.print-area,.print-area *{visibility:visible}.print-area{position:absolute;top:0;left:0;width:100%;margin:0;padding:0}.print-area *{-webkit-print-color-adjust:exact;print-color-adjust:exact}@page{size:A4;margin:14mm}}.row-actions{display:flex;align-items:center;gap:6px}.row-action{display:inline-flex;align-items:center;gap:4px;padding:5px 10px;border:1px solid transparent;border-radius:8px;font-size:12px;font-weight:600;line-height:1;white-space:nowrap;cursor:pointer;transition:background .2s ease,border-color .2s ease}.row-action mat-icon{width:15px;height:15px;font-size:15px}.row-action.view{background:#f1e8d8;color:#2b2118}.row-action.view:hover{border-color:#2b2118}.row-action.edit{background:#fdf1dc;color:#8f5500}.row-action.edit:hover{border-color:#b86e00}.row-action.delete{background:#fef2f2;color:#dc2626}.row-action.delete:hover{border-color:#dc2626}.receipt-auto-print{visibility:hidden!important;position:fixed!important;left:-10000px!important}@media (max-width: 600px){.cdk-overlay-pane.mat-mdc-dialog-panel{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;min-width:0!important;margin:0 auto}.mat-mdc-dialog-panel .mat-mdc-dialog-container,.mat-mdc-dialog-panel .mat-mdc-dialog-surface{width:100%!important;max-width:100%!important;min-width:0!important}.mat-mdc-dialog-panel .mat-mdc-dialog-surface{max-height:calc(100dvh - 24px);overflow-y:auto}.mat-mdc-dialog-panel .mat-mdc-dialog-content{max-height:none;padding-left:14px!important;padding-right:14px!important}main.content :has(>table),.mat-mdc-dialog-surface :has(>table){overflow-x:auto!important;-webkit-overflow-scrolling:touch}main.content [class*=card-header],main.content [class*=list-header],main.content [class*=toolbar]:not(mat-toolbar),main.content [class*=header]:has(>[class*=search]){flex-wrap:wrap!important;row-gap:10px}main.content [class*=header]:has(>[class*=header-actions]){flex-wrap:wrap!important;row-gap:10px}main.content [class*=header]:has(>.header-right),main.content [class*=filters]{flex-wrap:wrap!important;row-gap:10px}main.content [class*=header]>.header-right{flex:1 1 100%;flex-wrap:wrap;justify-content:flex-start;gap:8px}main.content [class*=filters]>*{flex:1 1 140px;min-width:0}main.content [class*=header-actions]{flex:1 1 100%;flex-wrap:wrap;min-width:0;gap:8px}main.content [class*=-search]:not(input){flex:1 1 auto;min-width:0}main.content table:has(>thead):not(.keep-table),.mat-mdc-dialog-surface table:has(>thead):not(.keep-table){display:block!important;width:100%!important;min-width:0!important;border:0!important;background:transparent!important}main.content table:has(>thead):not(.keep-table)>thead,.mat-mdc-dialog-surface table:has(>thead):not(.keep-table)>thead{display:none!important}main.content table:has(>thead):not(.keep-table)>tbody,.mat-mdc-dialog-surface table:has(>thead):not(.keep-table)>tbody,main.content table:has(>thead):not(.keep-table)>tfoot,.mat-mdc-dialog-surface table:has(>thead):not(.keep-table)>tfoot{display:block!important;width:100%!important}main.content table:has(>thead):not(.keep-table)>tbody>tr,.mat-mdc-dialog-surface table:has(>thead):not(.keep-table)>tbody>tr,main.content table:has(>thead):not(.keep-table)>tfoot>tr,.mat-mdc-dialog-surface table:has(>thead):not(.keep-table)>tfoot>tr{display:block!important;width:100%!important;margin:0 0 10px!important;padding:6px 12px!important;border:1px solid var(--color-border, #e8dcc8)!important;border-radius:12px!important;background:var(--color-surface, #ffffff)!important;box-shadow:none!important;height:auto!important}main.content table:has(>thead):not(.keep-table)>tbody>tr>td,.mat-mdc-dialog-surface table:has(>thead):not(.keep-table)>tbody>tr>td,main.content table:has(>thead):not(.keep-table)>tfoot>tr>td,.mat-mdc-dialog-surface table:has(>thead):not(.keep-table)>tfoot>tr>td{display:flex!important;align-items:center;justify-content:space-between;gap:12px;width:100%!important;min-width:0!important;max-width:none!important;padding:7px 0!important;border:0!important;border-bottom:1px dashed var(--color-border, #e8dcc8)!important;text-align:right!important;white-space:normal!important;position:static!important;height:auto!important;box-shadow:none!important;background:transparent!important}main.content table:has(>thead):not(.keep-table)>tbody>tr>td:last-child,.mat-mdc-dialog-surface table:has(>thead):not(.keep-table)>tbody>tr>td:last-child,main.content table:has(>thead):not(.keep-table)>tfoot>tr>td:last-child,.mat-mdc-dialog-surface table:has(>thead):not(.keep-table)>tfoot>tr>td:last-child{border-bottom:0!important}main.content table:has(>thead):not(.keep-table)>tbody>tr>td:before,.mat-mdc-dialog-surface table:has(>thead):not(.keep-table)>tbody>tr>td:before,main.content table:has(>thead):not(.keep-table)>tfoot>tr>td:before,.mat-mdc-dialog-surface table:has(>thead):not(.keep-table)>tfoot>tr>td:before{content:attr(data-label);flex:0 0 auto;max-width:45%;text-align:left;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--color-text-muted, #7a6f60)}main.content table:has(>thead):not(.keep-table)>tbody>tr>td[data-label=""]:before,.mat-mdc-dialog-surface table:has(>thead):not(.keep-table)>tbody>tr>td[data-label=""]:before,main.content table:has(>thead):not(.keep-table)>tbody>tr>td:not([data-label]):before,.mat-mdc-dialog-surface table:has(>thead):not(.keep-table)>tbody>tr>td:not([data-label]):before{content:none}main.content table:has(>thead):not(.keep-table)>tbody>tr>td[data-label=""],.mat-mdc-dialog-surface table:has(>thead):not(.keep-table)>tbody>tr>td[data-label=""],main.content table:has(>thead):not(.keep-table)>tbody>tr>td:not([data-label]),.mat-mdc-dialog-surface table:has(>thead):not(.keep-table)>tbody>tr>td:not([data-label]){justify-content:center;text-align:center!important}main.content table:has(>thead):not(.keep-table)>tbody>tr>td>*,.mat-mdc-dialog-surface table:has(>thead):not(.keep-table)>tbody>tr>td>*{min-width:0;max-width:100%}main.content table:has(>thead):not(.keep-table)>tbody>tr>td>div,.mat-mdc-dialog-surface table:has(>thead):not(.keep-table)>tbody>tr>td>div{justify-content:flex-end}main.content .action-container{padding-left:0;padding-right:0;height:auto}}.pay-note{display:flex;align-items:center;gap:8px;width:100%;min-height:40px;margin:8px 0 0;padding:6px 12px;border:1px dashed var(--color-border, #e8dcc8);border-radius:10px;background:transparent;color:var(--color-text-muted, #7a6f60);font:inherit;font-size:13px;text-align:left;cursor:pointer}.pay-note mat-icon{flex:0 0 auto;width:18px;height:18px;font-size:18px}.pay-note-text{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}.pay-note.on{border:1px solid color-mix(in srgb,#0f766e 45%,var(--color-border, #e8dcc8));background:color-mix(in srgb,#0f766e 9%,var(--color-surface, #fff));color:#0f766e;font-weight:600}.pay-note .pay-note-edit{opacity:.7}
