@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial}}}.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.top-full{top:100%}.z-\[1000\]{z-index:1000}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-block{display:inline-block}.table{display:table}.max-h-\[200px\]{max-height:200px}.min-h-screen{min-height:100vh}.w-full{width:100%}.flex-shrink{flex-shrink:1}.border-collapse{border-collapse:collapse}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-pointer{cursor:pointer}.resize{resize:both}.list-none{list-style-type:none}.flex-wrap{flex-wrap:wrap}.overflow-y-auto{overflow-y:auto}.border{border-style:var(--tw-border-style);border-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.bg-\[\#f9fafb\]{background-color:#f9fafb}.p-\[8px_12px\]{padding:8px 12px}.text-\[14px\]{font-size:14px}.uppercase{text-transform:uppercase}.italic{font-style:italic}.underline{text-decoration-line:underline}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}@media(prefers-color-scheme:dark){.dark\:bg-\[\#23272f\]{background-color:#23272f}.dark\:bg-\[\#111827\]{background-color:#111827}}:root{color-scheme:light dark;color:#ffffffde;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#242424;font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;font-weight:400;line-height:1.5}a{color:#646cff;-webkit-text-decoration:inherit;text-decoration:inherit;font-weight:500}a:hover{color:#535bf2}body{min-width:320px;min-height:100vh;margin:0}.dark body{color:#f3f4f6;background-color:#18181b}.dark input,.dark textarea,.dark select,.dark .card_info{color:#f3f4f6;background-color:#27272a;border-color:#3f3f46}.dark .sub_text{color:#34d399}.dark .heading_text{color:#d1d5db}h1{font-size:3.2em;line-height:1.1}button{cursor:pointer;background-color:#1a1a1a;border:1px solid #0000;border-radius:8px;padding:.6em 1.2em;font-family:inherit;font-size:1em;font-weight:500;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.card_info{border:0;border-radius:10px;flex:1;min-width:150px;max-width:300px;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a}.card_info .heading_text{color:gray;font-size:1rem;font-weight:400;line-height:1.75rem}.card_info .sub_text{font-size:1.4rem;font-weight:700;line-height:1.75rem}.card_info:first-of-type .sub_text{color:#10b981}.card_info:nth-of-type(2) .sub_text{color:#ef4444}.card_info:nth-of-type(3) .sub_text,.card_info:nth-of-type(4) .sub_text{color:#10b981}.card_info:nth-of-type(5) .sub_text,.card_info:nth-of-type(6) .sub_text{color:#3b82f6}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}body,html,#root,.app-layout{font-family:Segoe UI,Arial,Helvetica Neue,Helvetica,Arial,sans-serif;background:#f9fafb}.app-layout{display:flex;min-height:100vh}.app-shell--fixed{display:flex;flex-direction:column;height:100vh;overflow:hidden}.app-layout--fixed{flex:1;height:auto;min-height:0;overflow:hidden}.app-layout--fixed .sidebar{height:100%;overflow-y:auto}.app-layout--fixed .main-content{height:100%;min-height:0;overflow:hidden}.sidebar{width:220px;background:#ededee;border-radius:8px;box-shadow:0 1px 4px #22335a0a;padding:.45rem .5rem .35rem;margin-bottom:.7rem;color:#22335a;display:flex;flex-direction:column;align-items:flex-start;padding:.7rem .5rem .5rem .7rem;box-shadow:2px 0 8px #00000008;border-right:1px solid #e0e0e0;transition:width .2s;min-width:60px;box-sizing:border-box;position:relative}.sidebar.collapsed{width:60px;padding:1rem .5rem;align-items:center}.sidebar-toggle{position:absolute;top:10px;right:15px;width:32px;height:32px;border:none;background:#f8f9fb;color:#1976d2;border-radius:50%;cursor:pointer;font-size:2rem;box-shadow:0 2px 8px #00000012;z-index:2;transition:background .2s;display:flex;align-items:center;justify-content:center;padding:0}.sidebar-toggle:hover{background:#d0e3f7}.sidebar-toggle:focus{outline:none}.sidebar-header{display:flex;align-items:center;gap:.4rem;margin-bottom:1.1rem}.sidebar-logo{font-size:2rem}.sidebar-title{font-size:1rem;font-weight:600;letter-spacing:.2px;color:#22335a}.entity-select-group,.sidebar-search-group{background:#f7f8fa;border-radius:8px;box-shadow:0 1px 4px #22335a0a;padding:.45rem .5rem .35rem;margin-bottom:.7rem;width:100%;margin-bottom:.6rem;box-sizing:border-box}.dropdown-label{font-weight:500;color:#22335a;margin-bottom:.18rem;display:block;word-wrap:break-word;font-size:.75rem}.sidebar select,.sidebar input[type=text],.sidebar .search-box,#entity-select{width:100%;padding:.3rem .5rem;font-size:.87rem;border-radius:4px;border:1px solid #b0b0b0;background:#fff;color:#22335a;height:32px;box-sizing:border-box}.sidebar-menu{width:100%;margin-bottom:.5rem;display:flex;flex-direction:column}.sidebar-link{font-size:.98rem;cursor:pointer;margin:5px;border-radius:3px;color:#22335a;display:flex;align-items:center;gap:8px}.sidebar-link svg{padding:10px;background:#e7e7e7;border-radius:100px;color:#1565c0;box-shadow:0 0 5px #0000004d}.sidebar.collapsed .sidebar-menu .sidebar-link svg{padding:8px}.sidebar-link.active,.sidebar-link:hover{background:#e6f0fa;color:#1976d2}.sidebar.collapsed .entity-select-group,.sidebar.collapsed .sidebar-search-group,.sidebar.collapsed .sidebar-menu a span{display:none}.sidebar.collapsed .sidebar-menu{margin-top:35px}.sidebar.collapsed .sidebar-title{display:none}.main-content{flex:1;background:#f7f7f7;padding:0;min-width:0;display:flex;flex-direction:column;width:100%}.top-bar{height:60px;background-color:#cbd8e6;padding:0 20px;display:flex;justify-content:space-between;align-items:center}.top-bar .user-panel{display:flex;gap:15px;align-items:center}.content{padding:20px}.sidebar-logo-expanded{width:140px;height:auto;margin-bottom:.5rem;display:block}.sidebar-logo-collapsed{width:40px;height:auto;margin:.5rem auto;display:block}.entity-select-group label{font-size:18px}.sidebar-filter-group{width:100%}.sidebar-toggle span{position:relative;top:-5px}.sidebar-footer-expanded{width:-moz-fit-content;width:fit-content;text-align:center;padding:12px 15px;background:#f8fafd;border-top:1px solid #e0e0e0;margin:12px 52px;position:fixed;bottom:2%;left:0}.sidebar-footer-expanded .sidebar-footer-label{font-size:1rem;color:#888;margin-bottom:8px}.clear-filters-btn{margin-bottom:.7rem;width:100%;background:#f0f2f5;border:1px solid #d0d0d0;border-radius:6px;padding:.35rem 0;font-size:.93rem;font-weight:500;color:#1976d2;cursor:pointer;transition:background .2s}.sidebar-toggle-group{background:#f7f8fa;border-radius:8px;box-shadow:0 1px 4px #22335a0a;padding:.5rem .6rem;margin-bottom:.7rem;width:100%;box-sizing:border-box}.dark .sidebar-toggle-group{background:#27272a;box-shadow:0 1px 4px #0000004d}.toggle-switch-wrap{display:flex;align-items:center;gap:8px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.toggle-switch{position:relative;display:inline-block;flex-shrink:0;width:36px;height:20px}.toggle-switch input{position:absolute;opacity:0;width:0;height:0}.toggle-switch-slider{position:absolute;inset:0;background:#cfd8dc;border-radius:999px;transition:background .2s}.toggle-switch-slider:before{content:"";position:absolute;width:14px;height:14px;left:3px;top:3px;background:#fff;border-radius:50%;transition:transform .2s;box-shadow:0 1px 3px #00000040}.toggle-switch input:checked+.toggle-switch-slider{background:#1976d2}.toggle-switch input:checked+.toggle-switch-slider:before{transform:translate(16px)}.toggle-switch input:focus-visible+.toggle-switch-slider{outline:2px solid #1976d2;outline-offset:2px}.toggle-switch-label{font-size:.85rem;font-weight:500;color:#22335a;white-space:nowrap}.dark .toggle-switch-slider{background:#4b5563}.dark .toggle-switch input:checked+.toggle-switch-slider{background:#60a5fa}.dark .toggle-switch-label{color:#e2e8f0}.rep-dropdown-btn{width:100%;text-align:left;cursor:pointer;background:#fff;border:1.5px solid #cfd8dc;border-radius:8px;padding:10px;font-size:15px}.rep-dropdown-panel{position:absolute;top:110%;left:0;width:100%;background:#fff;border:1px solid #cfd8dc;border-radius:8px;box-shadow:0 2px 8px #00000014;z-index:10;max-height:220px;overflow-y:auto}.rep-dropdown-item{padding:8px 12px;border-bottom:1px solid #eee;cursor:pointer}.rep-dropdown-item-row{padding:8px 12px;border-bottom:1px solid #eee;display:flex;align-items:center}.dark body,.dark html,.dark #root,.dark .app-layout{background:#18181b}.dark .sidebar{background:#1e1e2e;color:#e2e8f0;border-right-color:#3f3f46;box-shadow:2px 0 8px #0006}.dark .sidebar-toggle{background:#2d2d3f;color:#60a5fa}.dark .sidebar-toggle:hover{background:#3b5080}.dark .entity-select-group,.dark .sidebar-search-group{background:#27272a;box-shadow:0 1px 4px #0000004d}.dark .dropdown-label{color:#94a3b8}.dark .sidebar select,.dark .sidebar input[type=text],.dark .sidebar .search-box,.dark #entity-select{background:#27272a;color:#e2e8f0;border-color:#4b5563}.dark .sidebar select option{background:#27272a;color:#e2e8f0}.dark .sidebar-link{color:#cbd5e1}.dark .sidebar-link svg{background:#2d2d3f;color:#60a5fa}.dark .sidebar-link.active,.dark .sidebar-link:hover{background:#2a3a52;color:#93c5fd}.dark .sidebar-title{color:#e2e8f0}.dark .main-content{background:#18181b}.dark .clear-filters-btn{background:#27272a;border-color:#4b5563;color:#60a5fa}.dark .clear-filters-btn:hover{background:#3f3f46}.dark .rep-dropdown-btn{background:#27272a;border-color:#4b5563;color:#e2e8f0}.dark .rep-dropdown-panel{background:#1e1e2e;border-color:#4b5563;box-shadow:0 2px 8px #0006}.dark .rep-dropdown-item,.dark .rep-dropdown-item-row{border-bottom-color:#3f3f46;color:#e2e8f0}.dark .rep-dropdown-item:hover,.dark .rep-dropdown-item-row:hover{background:#2d2d3f}.dark .sidebar-footer-expanded{background:#27272a;border-top-color:#3f3f46}.dark .sidebar-footer-expanded .sidebar-footer-label{color:#94a3b8}thead,th{overflow:visible!important}.ath-th{position:relative;min-width:80px;background:#f8fafd;color:#22335a}.ath-col-header{display:flex;align-items:center;justify-content:space-between}.ath-sort-label{cursor:pointer;font-weight:500}.ath-sort-label.sorted{font-weight:700}.ath-filter-icon{margin-left:8px;cursor:pointer;vertical-align:middle;width:18px;height:18px;fill:#888}.ath-filter-icon.active{fill:#1976d2}.ath-filter-panel{margin-top:6px;position:relative}.ath-filter-input{width:90%;font-size:12px;margin-top:2px;background:#fff;color:#22335a;border:1px solid #b0b0b0;border-radius:3px;padding:2px 4px}.ath-filter-select{width:90%;font-size:12px;margin-top:2px;background:#fff;color:#22335a;border:1px solid #b0b0b0;border-radius:3px}.ath-op-select{font-size:12px;background:#fff;color:#22335a;border:1px solid #b0b0b0;border-radius:3px}.ath-number-input{width:70px;font-size:12px;background:#fff;color:#22335a;border:1px solid #b0b0b0;border-radius:3px;padding:2px 4px}.ath-clear-x{margin-left:4px;cursor:pointer;color:#e53935;font-size:1.1em}.ath-filter-row{display:flex;align-items:center}.ath-rep-wrapper{position:relative;z-index:999}.ath-rep-trigger{width:90%;font-size:12px;margin-top:2px;background:#fff;color:#22335a;border:1px solid #ccc;border-radius:4px;cursor:pointer;padding:4px 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex}.ath-rep-panel{position:absolute;top:110%;left:0;width:220px;max-height:200px;background:#fff;border:1px solid #1976d2;border-radius:6px;box-shadow:0 8px 32px #1976d22e;z-index:9999;padding:8px;overflow:hidden}.ath-rep-scroll{height:200px;overflow:auto}.ath-rep-label{display:block;font-size:13px;margin-bottom:4px;color:#22335a}.ath-rep-close-btn{margin-top:8px;font-size:12px;padding:2px 8px;background:#1976d2;color:#fff;border:none;border-radius:4px;cursor:pointer}.ath-number-row,.ath-date-row{display:flex;gap:4px;margin-top:2px;align-items:center}.dark .ath-th{background:#1e1e2e;color:#e2e8f0}.dark .ath-sort-label{color:#e2e8f0}.dark .ath-filter-icon{fill:#64748b}.dark .ath-filter-icon.active{fill:#60a5fa}.dark .ath-filter-input,.dark .ath-filter-select,.dark .ath-op-select,.dark .ath-number-input{background:#27272a;color:#e2e8f0;border-color:#4b5563}.dark .ath-filter-select option,.dark .ath-op-select option{background:#27272a;color:#e2e8f0}.dark .ath-rep-trigger{background:#27272a;color:#e2e8f0;border-color:#4b5563}.dark .ath-rep-panel{background:#1e1e2e;border-color:#3b82f6;box-shadow:0 8px 32px #00000080}.dark .ath-rep-label{color:#e2e8f0}.dark .ath-rep-close-btn{background:#3b82f6}.select-entity-banner{display:flex;align-items:center;gap:10px;width:100%;padding:14px 20px;border-radius:10px;background:#eef4fc;border:1px solid #d3e3f7;color:#1976d2;font-size:.95rem;font-weight:500;box-sizing:border-box}.dark .select-entity-banner{background:#60a5fa1a;border-color:#60a5fa40;color:#93c5fd}.select-entity-banner-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0}.select-entity-banner-text{line-height:1.4}.loading-overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;background:#ffffffb8;-webkit-backdrop-filter:blur(1.5px);backdrop-filter:blur(1.5px);border-radius:inherit;z-index:20;animation:loading-overlay-fade-in .15s ease-out}.dark .loading-overlay{background:#18181bb8}.loading-overlay-spinner{width:40px;height:40px;border:4px solid rgba(25,118,210,.18);border-top-color:#1976d2;border-radius:50%;animation:loading-overlay-spin .8s linear infinite}.dark .loading-overlay-spinner{border:4px solid rgba(96,165,250,.18);border-top-color:#60a5fa}.loading-overlay-label{font-size:.85rem;font-weight:500;color:#4b5563;letter-spacing:.01em}.dark .loading-overlay-label{color:#9ca3af}@keyframes loading-overlay-spin{to{transform:rotate(360deg)}}@keyframes loading-overlay-fade-in{0%{opacity:0}to{opacity:1}}.last-updated-badge{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:999px;background:#eef4fc;border:1px solid #d3e3f7;color:#45566e;font-size:12.5px;font-weight:500;white-space:nowrap;line-height:1}.last-updated-badge strong{color:#1976d2;font-weight:700}.last-updated-badge svg{flex-shrink:0;color:#6b8fbf}.dark .last-updated-badge{background:#60a5fa1a;border-color:#60a5fa40;color:#b6c6dd}.dark .last-updated-badge strong{color:#93c5fd}.dark .last-updated-badge svg{color:#93c5fd}.center-align{text-align:center}.right-align{text-align:right}.accounts-table-card{background:#fff;border-radius:12px;box-shadow:0 2px 12px #3c3c3c14,0 1.5px 4px #3c3c3c0a;padding:0;min-width:0;width:98%;max-width:none;margin:10px auto auto;display:flex;flex-direction:column;min-height:0}.dark .accounts-table-card{background:#27272a;box-shadow:0 2px 12px #0003,0 1.5px 4px #0000001a}.container-2col{display:flex;height:100vh;background:#f7f7f7;overflow-x:hidden}.dark .container-2col{background:#18181b}.left-pane{background:#f4f4f4;padding:2rem 1.5rem;width:320px;min-width:260px;border-right:1px solid #e0e0e0;display:flex;flex-direction:column;align-items:flex-start}.dark .left-pane{background:#202023;border-right:1px solid #3f3f46}.nav-title{font-size:1.5rem;font-weight:700;margin-bottom:2rem;color:#22335a}.dark .nav-title{color:#e5e7eb}.dropdown-label{font-weight:500;margin-bottom:.5rem;color:#22335a}.dark .dropdown-label{color:#d1d5db}#entity-select{width:100%;padding:.5rem;font-size:1rem;margin-bottom:1rem;border-radius:4px;border:1px solid #b0b0b0}.dark #entity-select{background:#27272a;color:#f3f4f6;border-color:#3f3f46}.right-pane{flex:1;padding:2rem;overflow-y:auto;overflow-x:auto;background:#fff;display:flex;flex-direction:column;height:100vh;position:relative}.dark .right-pane{background:#18181b}.table-header{display:flex;justify-content:flex-end;margin-bottom:1rem}.toolbar-divider{width:1px;height:26px;background:#e0e0e0;margin:0 6px;flex-shrink:0}.dark .toolbar-divider{background:#3f3f46}.toolbar-btn{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 14px;border-radius:6px;font-weight:600;font-size:13.5px;cursor:pointer;border:none;white-space:nowrap;transition:background .15s,border-color .15s,color .15s,box-shadow .15s}.toolbar-btn svg{flex-shrink:0}.toolbar-btn:disabled{opacity:.5;cursor:not-allowed}.toolbar-btn-primary{background:#1976d2;color:#fff;box-shadow:0 2px 8px #1976d22e}.toolbar-btn-primary:hover:not(:disabled){background:#1565c0}.toolbar-btn-success{background:#107c41;color:#fff;box-shadow:0 2px 8px #107c412e}.toolbar-btn-success:hover:not(:disabled){background:#0b5c30}.toolbar-btn-outline{background:#fff;color:#1976d2;border:1.5px solid #b9d3ef}.toolbar-btn-outline:hover:not(:disabled){background:#eef4fc;border-color:#1976d2}.toolbar-btn-ghost{background:#fff;color:#475569;border:1.5px solid #dbe1ea}.toolbar-btn-ghost:hover:not(:disabled){background:#f3f5f8;border-color:#b7c2d0}.dark .toolbar-btn-outline{background:transparent;color:#60a5fa;border-color:#60a5fa59}.dark .toolbar-btn-outline:hover:not(:disabled){background:#60a5fa1f;border-color:#60a5fa}.dark .toolbar-btn-ghost{background:transparent;color:#cbd5e1;border-color:#3f3f46}.dark .toolbar-btn-ghost:hover:not(:disabled){background:#ffffff0f;border-color:#6b7280}.dark .toolbar-btn-success{background:#15803d}.dark .toolbar-btn-success:hover:not(:disabled){background:#166534}.dark .toolbar-btn-primary:hover:not(:disabled){background:#1e40af}.accounts-content{padding:0;background:#fff;flex:1;display:flex;flex-direction:column;overflow:visible;min-height:0}.dark .accounts-content{background:#18181b}.accounts-toolbar{display:flex;align-items:center;justify-content:flex-end;margin-bottom:.2rem;width:100%;padding:.4rem 1.8rem .2rem 1.2rem;gap:.5rem;box-sizing:border-box}.search-box{padding:.5rem 1rem;border-radius:4px;border:1px solid #b0b0b0;font-size:1rem;width:260px}.dark .search-box{background:#27272a;color:#f3f4f6;border-color:#3f3f46}.accounts-summary{display:flex;gap:2rem;padding:0 2rem 1rem;font-size:1.05rem;color:#22335a}.dark .accounts-summary{color:#e5e7eb}.table-responsive{flex:1;overflow-x:auto!important;overflow-y:auto;padding:0rem .8rem;background:#fff;border-radius:10px;box-shadow:0 2px 12px #22335a12,0 1.5px 4px #22335a0a;border:1px solid #e6e8ec;width:100%;min-height:0;max-width:100vw;box-sizing:border-box;-webkit-overflow-scrolling:touch}.dark .table-responsive{background:#27272a;border-color:#3f3f46;box-shadow:0 2px 12px #0003,0 1.5px 4px #0000001a}.table-responsive table{width:-moz-max-content;width:max-content;min-width:1200px;border-collapse:collapse}.styled-table{width:-moz-max-content;width:max-content;min-width:1800px;border-collapse:collapse;font-size:.72rem;background:#fff;border:1px solid #e0e0e0;table-layout:auto}.dark .styled-table{background:#27272a;border-color:#3f3f46;color:#e5e7eb}@media(min-width:1600px){.styled-table{min-width:1800px}}.styled-table th,.styled-table td{border:1px solid #eaeaea;padding:.3rem .4rem;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative;max-width:220px;min-width:60px}.dark .styled-table th,.dark .styled-table td{border-color:#3f3f46}.styled-table th span[title="Resize column"]{position:absolute;right:0;top:0;height:100%;width:8px;cursor:col-resize;z-index:10;-webkit-user-select:none;-moz-user-select:none;user-select:none;background:transparent}.dark .styled-table th:first-child,.dark .styled-table td:first-child{background:#1f2937;box-shadow:2px 0 4px -2px #000}.styled-table td.account-name-cell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:180px;min-width:80px}.styled-table th:first-child,.styled-table td:first-child{position:sticky;left:0;background:#f0f2f5;z-index:3;box-shadow:2px 0 4px -2px #e0e0e0}.styled-table th{background:#f0f2f5;color:#22335a;font-weight:600;font-size:.73rem;position:sticky;top:0;z-index:2}.dark .styled-table th{background:#1f2937;color:#e5e7eb}.styled-table tr:nth-child(2n){background:#fafafa}.dark .styled-table tr:nth-child(2n){background:#27272a}.dark .styled-table tr:nth-child(odd){background:#18181b}.styled-table tr:hover{background-color:#f4f8ff}.dark .styled-table tr:hover{background-color:#374151}.highlight-yellow{background:#fff9db;color:#b59f00;font-weight:500}.dark .highlight-yellow{background:#ca8a04;color:#fff}.highlight-blue{background:#e6f4ff;color:#0958d9;font-weight:500}.dark .highlight-blue{background:#1e40af;color:#fff}.account-link{color:#1976d2;font-weight:600;cursor:pointer;font-size:.72rem;text-decoration:none}.dark .account-link{color:#60a5fa}.account-link:hover{text-decoration:underline}.cta-btn{background:none;border:none;padding:0 2px 0 0;font-size:1em;cursor:pointer;color:#1976d2;vertical-align:middle;transition:color .2s}.dark .cta-btn{color:#60a5fa}@keyframes modalFadeIn{0%{opacity:0;transform:translateY(40px)}to{opacity:1;transform:translateY(0)}}.modal-overlay{position:fixed;inset:0;background:#22335a2e;display:flex;align-items:flex-start;justify-content:center;z-index:1000;overflow-y:auto}.dark .modal-overlay{background:#00000080}.modal-notes-content{background:#fff;margin-top:1.2rem;border-radius:14px;box-shadow:0 8px 32px #22335a2e,0 1.5px 6px #22335a1a;min-width:340px;max-width:98vw;width:1000px;padding-bottom:0;font-family:Montserrat,Arial,sans-serif;animation:modalFadeIn .3s cubic-bezier(.4,0,.2,1);border:1px solid #e0e0e0}.dark .modal-notes-content{background:#27272a;border-color:#3f3f46;box-shadow:0 8px 32px #00000080;color:#e5e7eb}.modal-header{display:flex;align-items:center;justify-content:space-between;border-bottom:3px solid #f2f2f2;padding:1.2rem 1.5rem .7rem;background:linear-gradient(90deg,#f8fafc 60%,#e6f0fa);border-top-left-radius:14px;border-top-right-radius:14px}.dark .modal-header{background:linear-gradient(90deg,#1f2937 60%,#111827);border-bottom-color:#3f3f46}.modal-back-btn{background:#fff;border:2px solid #23406e;color:#23406e;border-radius:50%;font-size:1.5rem;width:38px;height:38px;cursor:pointer;margin-right:1.2rem;display:flex;align-items:center;justify-content:center;transition:background .2s,border .2s}.dark .modal-back-btn{background:#27272a;border-color:#60a5fa;color:#60a5fa}.modal-back-btn:hover,.modal-close-x:hover{background:#e6f0fa;border-color:#1976d2}.dark .modal-back-btn:hover,.dark .modal-close-x:hover{background:#374151;border-color:#3b82f6}.modal-account-title{font-size:1.25rem;font-weight:700;color:#22335a;flex:1;letter-spacing:.5px}.dark .modal-account-title{color:#e5e7eb}.modal-followon{display:flex;align-items:center;gap:.5rem}.modal-date-input{padding:.3rem .5rem;border-radius:4px;border:1px solid #b0b0b0;font-size:1rem;margin-right:.5rem;background:#f8fafc;transition:border .2s}.dark .modal-date-input{background:#27272a;color:#f3f4f6;border-color:#3f3f46}.modal-date-input:focus{border:1.5px solid #1976d2;outline:none}.dark .modal-date-input:focus{border-color:#60a5fa}.modal-close-x{background:none;border:none;font-size:1.3rem;color:#23406e;cursor:pointer;margin-left:.5rem;transition:color .2s}.dark .modal-close-x{color:#60a5fa}.modal-notes-section{margin:1.5rem 1.5rem .5rem}.modal-notes-label{font-size:1.5rem;font-weight:700;color:#23406e;margin-bottom:.7rem;letter-spacing:1px}.dark .modal-notes-label{color:#e5e7eb}.modal-notes-list{background:#f5f6fa;border-radius:8px;padding:1.2rem 1rem;font-size:1.08rem;color:#444;min-height:90px;max-height:180px;overflow-y:auto;margin-bottom:1.5rem;font-family:Montserrat,Arial,sans-serif;border:1px solid #e0e0e0}.dark .modal-notes-list{background:#1f2937;border-color:#3f3f46;color:#d1d5db}.modal-comm-section{border-top:2px solid #ededed;border-bottom:2px solid #ededed;padding:1.2rem 1.5rem;font-size:1.1rem;margin-bottom:1.5rem;display:flex;align-items:center;justify-content:flex-end;gap:1.5rem}.dark .modal-comm-section{border-color:#3f3f46}.comm-radio{display:flex;align-items:center;gap:.3rem;margin-right:1.2rem;font-size:1rem}.comm-radio svg{margin-right:.2rem;color:#1976d2}.dark .comm-radio svg{color:#60a5fa}.modal-notes-input-section{display:flex;justify-content:center;margin-bottom:1.5rem}.modal-notes-input{width:60%;min-width:320px;max-width:700px;border-radius:8px;border:1px solid #b0b0b0;padding:1rem;font-size:1.1rem;resize:vertical;font-family:Montserrat,Arial,sans-serif;background:#f8fafc;transition:border .3s ease}.dark .modal-notes-input{background:#27272a;color:#f3f4f6;border-color:#3f3f46}.modal-notes-input:focus{outline:none;border-color:#1976d2}.dark .modal-notes-input:focus{border-color:#60a5fa}.modal-notes-actions{display:flex;justify-content:flex-end;gap:1rem;margin:0 1.5rem 1.2rem}.modal-submit-btn{background:linear-gradient(90deg,#23406e 60%,#1976d2);color:#fff;border:none;border-radius:4px;padding:.7rem 2.2rem;font-size:1.1rem;font-weight:500;cursor:pointer;box-shadow:0 2px 8px #22335a14;transition:background .3s,box-shadow .3s}.dark .modal-submit-btn{background:linear-gradient(90deg,#374151 60%,#1f2937)}.modal-submit-btn:hover{background:linear-gradient(90deg,#1976d2 60%,#23406e);box-shadow:0 4px 16px #22335a21}@media(max-width:1100px){.modal-notes-content{width:98vw;min-width:unset;padding-left:.5rem;padding-right:.5rem}.modal-notes-input{width:90%;min-width:0;max-width:100%}}html,body{overflow-x:hidden}.accounts-toolbar h2{color:#1976d2;font-weight:700;margin:0}.dark .accounts-toolbar h2{color:#60a5fa}.styled-table thead tr{position:sticky;top:0;z-index:10}.styled-table .total-row{font-weight:700;border-top:2px solid #1976d2;position:sticky;bottom:0;z-index:9}.dark .styled-table .total-row{border-top-color:#60a5fa}.styled-table .total-row td{z-index:9;background:#e6f0fa}.dark .styled-table .total-row td{background:#374151;color:#fff}.email-editor-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.email-editor-content{background-color:#fff;padding:20px;border-radius:8px;width:80%;max-width:1400px;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 4px 6px #0000001a}.email-editor-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;border-bottom:1px solid #eee;padding-bottom:10px}.email-editor-header h2{margin:0;color:#333}.close-button{background:none;border:none;font-size:24px;cursor:pointer;color:#666}.email-editor-header-actions{display:flex;align-items:center;gap:12px}.email-language-pill{display:inline-flex;align-items:center;gap:4px;padding:3px 4px 3px 10px;border:1px solid #93c5fd;border-radius:999px;background:#eff6ff;cursor:pointer;transition:border-color .15s,box-shadow .15s}.email-language-pill:hover{border-color:#2563eb}.email-language-pill:focus-within{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb26}.email-language-icon{font-size:13px;line-height:1}.email-language-select{border:none;background:transparent;color:#1d4ed8;font-size:12px;font-weight:600;padding:2px 4px;cursor:pointer;outline:none}.email-language-select:disabled{opacity:.6;cursor:wait}.email-editor-fields{padding:0 20px}.email-field-group{margin-bottom:10px}.email-field-label{display:block;margin-bottom:5px;font-weight:700;color:#374151}.email-field-input{width:100%;padding:8px;font-size:14px;border:1px solid #ccc;border-radius:4px;background:#fff;color:#1a202c;box-sizing:border-box}.email-field-input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 2px #2563eb26}.email-attach-input{margin-bottom:5px}.email-attach-list{list-style-type:none;padding:0;margin-top:5px}.email-attach-item{display:flex;align-items:center;margin-bottom:4px;font-size:13px;color:#374151}.email-attach-name{margin-right:10px}.email-attach-remove{background:none;border:none;color:#e53935;cursor:pointer;font-weight:700;padding:0 5px;font-size:14px}.email-attach-remove:hover{color:#b71c1c}.email-attach-size{font-size:12px;color:#666}.email-attach-size.over-limit{color:#e53935}.email-preview-container{flex:1;overflow-y:auto;border:1px solid #ddd;border-radius:4px;padding:15px;margin-bottom:15px;background-color:#f9f9f9}.email-editable-area{min-height:300px;outline:none}.email-editor-footer{display:flex;justify-content:flex-end;gap:10px;padding-top:10px;border-top:1px solid #eee}.cancel-btn,.send-btn{padding:8px 16px;border-radius:4px;cursor:pointer;font-weight:600;border:none}.cancel-btn{background-color:#f3f4f6;color:#374151}.send-btn{background-color:#2563eb;color:#fff}.send-btn:hover{background-color:#1d4ed8}.dark .email-editor-overlay{background-color:#000000b3}.dark .email-editor-content{background-color:#1e293b;color:#e2e8f0;box-shadow:0 4px 24px #00000080}.dark .email-editor-header{border-bottom-color:#334155}.dark .email-editor-header h2{color:#93c5fd}.dark .close-button{color:#94a3b8}.dark .close-button:hover{color:#e2e8f0}.dark .email-language-pill{background:#172554;border-color:#1e40af}.dark .email-language-pill:hover,.dark .email-language-pill:focus-within{border-color:#60a5fa}.dark .email-language-select{color:#93c5fd}.dark .email-language-select option{background:#0f172a;color:#e2e8f0}.dark .email-field-label{color:#94a3b8}.dark .email-field-input{background:#0f172a;border-color:#4b5563;color:#e2e8f0}.dark .email-field-input:focus{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f633;background:#1e293b}.dark .email-attach-item{color:#cbd5e1}.dark .email-attach-remove{color:#f87171}.dark .email-attach-remove:hover{color:#fca5a5}.dark .email-attach-size{color:#6b7280}.dark .email-attach-size.over-limit{color:#f87171}.dark .email-preview-container{background-color:#0f172a;border-color:#334155;color:#e2e8f0}.dark .email-editor-footer{border-top-color:#334155}.dark .cancel-btn{background-color:#374151;color:#e2e8f0;border:1px solid #4b5563}.dark .cancel-btn:hover{background-color:#4b5563}.dark .send-btn{background-color:#2563eb}.dark .send-btn:hover{background-color:#1d4ed8}.export-invoices-modal{width:680px;max-width:92vw;font-family:Segoe UI,Arial,sans-serif;color:#222}.export-invoices-title{margin:0 0 4px;font-size:1.25rem;font-weight:700;color:#1976d2}.export-invoices-subtitle{margin:0 0 16px;font-size:.9rem;color:#666}.export-invoices-table-wrapper{border:1px solid #e0e0e0;border-radius:8px;overflow:hidden}.export-invoices-table-header,.export-invoices-row{display:grid;grid-template-columns:56px 1fr 1fr 56px;align-items:center;gap:8px}.export-invoices-table-header{background:#f2f6fc;padding:10px 12px;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em;color:#1976d2}.export-invoices-table-body{max-height:360px;overflow-y:auto}.export-invoices-row{padding:8px 12px;border-top:1px solid #eee;background:#fff;transition:background .15s,opacity .15s}.export-invoices-row.excluded{opacity:.55;background:#fafafa}.export-invoices-row.dragging{background:#e3f2fd;box-shadow:0 2px 10px #1976d22e;border-radius:6px}.ei-col-include{display:flex;align-items:center;justify-content:center}.ei-col-include input[type=checkbox]{width:18px;height:18px;cursor:pointer}.ei-col-name{font-weight:600;font-size:.9rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ei-rename-input{width:100%;box-sizing:border-box;padding:6px 8px;border:1px solid #d0d7de;border-radius:6px;font-size:.88rem}.ei-rename-input:disabled{background:#f2f2f2;color:#999;cursor:not-allowed}.ei-rename-input:focus{outline:none;border-color:#1976d2;box-shadow:0 0 0 2px #1976d226}.ei-col-order{display:flex;align-items:center;justify-content:center}.ei-drag-handle{cursor:grab;color:#999;font-size:1.1rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ei-drag-handle:active{cursor:grabbing}.export-invoices-meta-row{margin-top:10px;font-size:.82rem;color:#666}.export-invoices-feedback{margin-top:12px;padding:8px 12px;border-radius:6px;font-size:.88rem}.export-invoices-feedback.success{background:#e6f4ea;color:#1e7e34;border:1px solid #b7e0c3}.export-invoices-feedback.error{background:#fdecea;color:#c62828;border:1px solid #f3c1bd}.export-invoices-actions{display:flex;align-items:center;justify-content:space-between;margin-top:20px;gap:12px;flex-wrap:wrap}.ei-actions-right{display:flex;gap:10px}.ei-btn{border:none;border-radius:6px;padding:8px 18px;font-weight:600;font-size:.88rem;cursor:pointer;transition:background .15s,opacity .15s}.ei-btn:disabled{cursor:not-allowed;opacity:.6}.ei-btn-reset{background:#fff;color:#1976d2;border:1px solid #1976d2}.ei-btn-reset:hover:not(:disabled){background:#f2f6fc}.ei-btn-cancel{background:#f2f2f2;color:#444}.ei-btn-cancel:hover:not(:disabled){background:#e6e6e6}.ei-btn-export{background:#1976d2;color:#fff}.ei-btn-export:hover:not(:disabled){background:#145ea8}@media(max-width:560px){.export-invoices-table-header,.export-invoices-row{grid-template-columns:40px 1fr 1fr 32px;font-size:.8rem}}.invoice-wrapper{padding:1.5rem;font-family:Segoe UI,sans-serif;background-color:#f8fafc;color:#1a202c;display:flex;flex-direction:column;height:100%;min-height:0;box-sizing:border-box}.invoice-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem;gap:1rem;flex-shrink:0}.invoice-header h2{color:#22335a;margin:0}.back-btn{font-size:1.2rem;padding:.3rem .7rem;background-color:transparent;border:none;cursor:pointer;color:inherit}.send-email-btn{padding:.5rem 1rem;background:#23406e;color:#fff;border:none;border-radius:4px;cursor:pointer}.export-invoices-btn{display:flex;align-items:center;gap:.4rem;padding:.5rem 1rem;background:#fff;color:#23406e;border:1px solid #23406e;border-radius:4px;font-size:.95rem;font-weight:500;cursor:pointer;transition:background .15s,color .15s}.export-invoices-btn:hover{background:#eef2f8}.followup-date-wrapper{display:flex;align-items:center;gap:.5rem}.followup-date-wrapper label{color:#374151;font-weight:500}.followup-date-wrapper input[type=date]{padding:.3rem .5rem;border:1px solid #d1d5db;border-radius:4px;font-size:.85rem;background:#fff;color:#1a202c}.invoice-table-card{background:#fff;box-shadow:0 0 10px #0000000d;border-radius:8px;overflow:hidden;display:flex;flex-direction:column;flex:1;min-height:0}.invoice-table-scroll{flex:1;min-height:240px;overflow-y:auto}.invoice-table{width:100%;border-collapse:collapse;background:#fff}.invoice-table th,.invoice-table td{padding:.75rem 1rem;text-align:left;border-bottom:1px solid #e0e0e0}.invoice-table th{position:sticky;top:0;z-index:1;background-color:#f0f4f8;font-weight:600;font-size:.7rem;color:#22335a}.invoice-table td{font-size:.65rem;color:#374151}.invoice-table-amount td{text-align:right}.invoice-row-preallocated{background:#e6faed}.invoice-pagination{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.75rem;padding:.55rem 1rem;border-top:1px solid #e6e8ec;background:#fafbfc;font-size:.8rem;color:#374151;flex-shrink:0}.invoice-pagination-size{display:flex;align-items:center;gap:.5rem}.invoice-pagination-size select{padding:.25rem .5rem;border:1px solid #d1d5db;border-radius:4px;background:#fff;color:#1a202c;font-size:.8rem}.invoice-pagination-controls{display:flex;align-items:stretch;gap:.35rem;flex-wrap:wrap}.invoice-pagination-btn{display:inline-flex;align-items:center;justify-content:center;height:28px;min-width:28px;padding:0 .6rem;border:1px solid #c7d2e3;border-radius:4px;background:#fff;color:#23406e;cursor:pointer;font-size:.8rem;line-height:1}.invoice-pagination-btn-text{padding:0 .85rem;font-weight:500}.invoice-pagination-btn:hover:enabled{background:#eef2f8;border-color:#23406e}.invoice-pagination-btn:disabled{opacity:.4;cursor:not-allowed}.invoice-pagination-status{display:inline-flex;align-items:center;padding:0 .5rem;white-space:nowrap;color:#64748b}.link{color:#1976d2;cursor:pointer;text-decoration:underline}.editable-email{display:flex;align-items:center;gap:.25rem}.highlight-green{background-color:#b2fab4}.negative{color:red}.no-email-text{color:#888}.note-icon{cursor:pointer;font-size:1.2em;vertical-align:middle}.note-icon.has-note{color:#1976d2}.note-icon.no-note{color:#bbb}.pencil-btn{background:none;border:none;cursor:pointer;font-size:.8em;vertical-align:middle;margin-left:2px;color:#1976d2;transition:color .2s}.pencil-btn:hover{color:#1251a3}.email-btn-wrapper{display:flex;gap:8px;position:relative}.note-modal-inner{min-width:350px}.note-modal-inner h3{margin-top:0;color:#22335a}.note-existing-box{background:#f5f5f5;border-radius:6px;padding:8px;min-height:60px;margin-top:4px;white-space:pre-wrap;color:#374151}.note-textarea{width:100%;margin-bottom:12px;padding:8px;font-size:16px;border:1px solid #d1d5db;border-radius:4px;background:#fff;color:#1a202c;resize:vertical}.note-action-row{text-align:right}.note-cancel-btn{margin-right:8px;padding:8px 16px;border:1px solid #d1d5db;border-radius:4px;background:#f3f4f6;color:#374151;cursor:pointer}.note-submit-btn{background:#1976d2;color:#fff;padding:8px 16px;border:none;border-radius:4px;cursor:pointer}.note-submit-btn:disabled{opacity:.5;cursor:not-allowed}.email-modal-header{background:#1976d2;color:#fff;padding:.8rem 1.2rem;border-top-left-radius:8px;border-top-right-radius:8px;margin:-1.2rem -1.2rem 1.2rem;font-size:1.15rem;font-weight:600;letter-spacing:.5px;display:flex;align-items:center;gap:.7rem}.email-modal-current{margin-bottom:1rem;color:#374151}.modal-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#1118278c;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .25s ease-out}.modal-email-content{background:#fff;padding:2rem 2.5rem;border-radius:14px;box-shadow:0 12px 36px #00000026;min-width:360px;max-width:95vw;width:420px;position:relative;font-family:Segoe UI,Roboto,sans-serif;animation:slideUp .3s ease-out;color:#1a202c}.modal-email-content h3{margin-bottom:1.2rem;font-size:1.3rem;font-weight:600;color:#23406e}.modal-email-content strong{color:#333}.email-input{padding:.75rem 1rem;border-radius:8px;border:1px solid #d1d5db;font-size:.9rem;background:#f9fafb;margin-top:.5rem;margin-bottom:1.5rem;width:100%;transition:border-color .2s,box-shadow .2s;color:#1a202c}.email-input:focus{outline:none;border-color:#23406e;box-shadow:0 0 0 3px #23406e26;background:#fff}.modal-footer{display:flex;justify-content:flex-end;gap:.75rem}.modal-cancel-btn{background:#f3f4f6;color:#374151;border:none;border-radius:6px;padding:.5rem 1.2rem;font-size:.9rem;cursor:pointer;transition:background .2s}.modal-cancel-btn:hover{background:#e5e7eb}.modal-submit-btn{background:#23406e;color:#fff;border:none;border-radius:6px;padding:.5rem 1.4rem;font-size:.9rem;font-weight:500;cursor:pointer;transition:background .25s,transform .15s}.modal-submit-btn:disabled{background:#9ca3af;cursor:not-allowed}.modal-submit-btn:hover:enabled{background:#1e355c;transform:translateY(-1px)}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.email-dropdown-menu{position:absolute;top:100%;right:0;margin-top:.25rem;background:#fff;border:1px solid #e0e0e0;border-radius:6px;box-shadow:0 4px 12px #0000001a;min-width:160px;z-index:50;overflow:hidden;animation:fadeIn .15s ease-out}.email-dropdown-item{padding:.75rem 1rem;font-size:.9rem;color:#333;cursor:pointer;transition:background .2s}.email-dropdown-item:hover{background:#f3f4f6}.email-dropdown-item.disabled{color:#a0a0a0;cursor:not-allowed;pointer-events:none}.dark .invoice-wrapper{background-color:#0f172a;color:#e2e8f0}.dark .invoice-header h2{color:#93c5fd}.dark .back-btn{color:#e2e8f0}.dark .send-email-btn{background:#3b82f6}.dark .send-email-btn:hover:not(:disabled){background:#2563eb}.dark .export-invoices-btn{background:transparent;color:#93c5fd;border-color:#3b82f6}.dark .export-invoices-btn:hover{background:#3b82f626}.dark .followup-date-wrapper label{color:#94a3b8}.dark .followup-date-wrapper input[type=date]{background:#1e293b;border-color:#4b5563;color:#e2e8f0;color-scheme:dark}.dark .invoice-table-card{background:#1e293b;box-shadow:0 0 10px #0006}.dark .invoice-table{background:#1e293b}.dark .invoice-table th{background-color:#1e1e2e;color:#93c5fd;border-bottom-color:#374151}.dark .invoice-table td{color:#cbd5e1;border-bottom-color:#334155}.dark .invoice-table th,.dark .invoice-table td{border-bottom-color:#334155}.dark .invoice-row-preallocated{background:#14532d!important}.dark .invoice-pagination{color:#cbd5e1;background:#17223a;border-top-color:#334155}.dark .invoice-pagination-size select{background:#1e293b;border-color:#4b5563;color:#e2e8f0}.dark .invoice-pagination-btn{background:transparent;color:#93c5fd;border-color:#3b5680}.dark .invoice-pagination-btn:hover:enabled{background:#3b82f626;border-color:#3b82f6}.dark .invoice-pagination-status{color:#94a3b8}.dark .link{color:#60a5fa}.dark .negative{color:#f87171}.dark .no-email-text{color:#6b7280}.dark .note-icon.has-note{color:#60a5fa}.dark .note-icon.no-note{color:#4b5563}.dark .pencil-btn{color:#60a5fa}.dark .pencil-btn:hover{color:#93c5fd}.dark .modal-email-content{background:#1e293b;color:#e2e8f0;box-shadow:0 12px 36px #00000080}.dark .modal-email-content h3{color:#93c5fd}.dark .modal-email-content strong{color:#cbd5e1}.dark .email-modal-header{background:#1e40af}.dark .email-modal-current{color:#94a3b8}.dark .email-input{background:#0f172a;border-color:#4b5563;color:#e2e8f0}.dark .email-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f633;background:#1e293b}.dark .modal-cancel-btn{background:#374151;color:#e2e8f0;border:1px solid #4b5563}.dark .modal-cancel-btn:hover{background:#4b5563}.dark .modal-submit-btn{background:#2563eb}.dark .modal-submit-btn:hover:enabled{background:#1d4ed8}.dark .modal-submit-btn:disabled{background:#4b5563}.dark .note-modal-inner h3{color:#93c5fd}.dark .note-existing-box{background:#0f172a;color:#cbd5e1}.dark .note-textarea{background:#0f172a;border-color:#4b5563;color:#e2e8f0}.dark .note-cancel-btn{background:#374151;border-color:#4b5563;color:#e2e8f0}.dark .note-cancel-btn:hover{background:#4b5563}.dark .note-submit-btn{background:#2563eb}.dark .email-dropdown-menu{background:#1e293b;border-color:#374151;box-shadow:0 4px 16px #0006}.dark .email-dropdown-item{color:#e2e8f0}.dark .email-dropdown-item:hover{background:#334155}.dark .email-dropdown-item.disabled{color:#6b7280}
