@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/fef07dbb0973bf53-s.518e079e.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/8a480f0b521d4e75-s.ea323500.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/53b9e256198e5412-s.853d50a3.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/7178b3e590c64307-s.55554cd0.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/caa3a2e1cccd8315-s.p.3b6cae6d.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist Fallback;src:local(Arial);ascent-override:95.94%;descent-override:28.16%;line-gap-override:0.0%;size-adjust:104.76%}.geist_a71539c9-module__T19VSG__className{font-family:Geist,Geist Fallback;font-style:normal}.geist_a71539c9-module__T19VSG__variable{--font-geist-sans:"Geist","Geist Fallback"}
@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/5ce348bf30bf5439-s.56c1f21e.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/4fa387ec64143e14-s.3b336396.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/6306c77e7c8268e4-s.e3369375.woff2)format("woff2");unicode-range:U+2000-2001,U+2004-2008,U+200A,U+23B8-23BD,U+2500-259F}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/7d817b4c03b0c5f1-s.a40b9a8b.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/bbc41e54d2fcbd21-s.fe42ddf4.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/797e433ab948586e-s.p.29207c2f.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist Mono Fallback;src:local(Arial);ascent-override:74.67%;descent-override:21.92%;line-gap-override:0.0%;size-adjust:134.59%}.geist_mono_8d43a2aa-module__8Li5zG__className{font-family:Geist Mono,Geist Mono Fallback;font-style:normal}.geist_mono_8d43a2aa-module__8Li5zG__variable{--font-geist-mono:"Geist Mono","Geist Mono Fallback"}
.app-header>div{padding:8px 12px}@media (min-width:640px){.app-header>div{padding:12px 20px}}@media (min-width:1024px){.app-header>div{padding:12px 24px}}.app-header .header-inner{flex-flow:row;justify-content:space-between;align-items:center;gap:8px;width:100%;min-width:0;display:flex}.app-header .header-logo-section{flex-shrink:0;align-items:center;gap:8px;display:flex}.app-header .header-logo-section img{object-fit:contain;width:32px;height:32px}.header-skel-logo{flex-shrink:0;width:32px;height:32px}.header-skel-title{width:108px;max-width:34vw;height:12px}.header-skel-sub{width:84px;max-width:28vw;height:9px;margin-top:2px}.header-skel-k{width:28px;height:8px}.header-skel-v{width:52px;max-width:72px;height:10px;margin-top:2px}.header-skel-theme{border-radius:999px;width:28px;height:16px}.header-skel-logout{border-radius:6px;width:52px;height:22px}.nav-skel-icon{flex-shrink:0;width:14px;height:14px}.nav-skel-label{width:36px;height:8px;margin-top:2px}.nav-skel-branch{border-radius:6px;width:132px;height:22px}.app-header .header-title{color:#000;font-size:12px;line-height:1.2}.app-header .header-subtitle{color:#4b5563;margin-top:1px;font-size:9px}.app-header .header-right{flex-shrink:0;align-items:center;gap:6px;display:flex}.app-header .header-info-section{flex-direction:row;align-items:center;gap:6px;font-size:9px;display:flex}.app-header .header-info-item{flex-direction:column;align-items:center;gap:0;min-width:0;display:flex}.app-header .header-info-item span:first-child{color:#000;font-weight:700}.app-header .header-info-item span:last-child{color:#000;white-space:nowrap;text-overflow:ellipsis;max-width:70px;overflow:hidden}.app-header .header-info-item--theme{max-width:none}.app-header .header-info-item--date span:last-child{max-width:120px}.header-theme-toggle{flex-direction:column;align-items:center;gap:2px;display:flex}.header-theme-toggle-label{color:#000;white-space:nowrap;font-size:9px;font-weight:700;line-height:1.2}.header-theme-switch,.header-theme-switch:hover,.header-theme-switch:focus,.header-theme-switch:active{cursor:pointer;align-items:center;gap:8px;display:inline-flex;box-shadow:none!important;filter:none!important;background:0 0!important;border:none!important;outline:none!important;padding:0!important}.header-theme-switch-track{border-radius:9999px;flex-shrink:0;width:51px;height:31px;transition:background-color .2s;display:inline-block;position:relative}.header-theme-switch-knob{background-color:#fff;border-radius:50%;width:27px;height:27px;transition:transform .2s;position:absolute;top:2px;left:2px;box-shadow:0 1px 3px rgba(0,0,0,.35)}.header-theme-switch-text{min-width:24px;font-size:11px;font-weight:600;line-height:1}.header-theme-switch-text--on{color:#15803d}.header-theme-switch-text--off{color:#6b7280}.app-header .header-actions{align-items:center;gap:6px;display:flex}.app-header .header-actions button{padding:4px 8px;font-size:10px}html.dark .app-header{background-color:#1f2937!important;border-color:#374151!important}html.dark .app-header .header-title{color:#f9fafb!important}html.dark .app-header .header-subtitle,html.dark .app-header .header-info-item span:first-child{color:#9ca3af!important}html.dark .app-header .header-info-item span:last-child{color:#f3f4f6!important}html.dark .header-theme-toggle-label{color:#9ca3af!important}html.dark .header-theme-switch-text--on{color:#86efac!important}html.dark .header-theme-switch-text--off{color:#9ca3af!important}html.dark .nav-responsive a,html.dark .nav-responsive .nav-link{color:#e5e7eb;border-top-color:#4b5563;border-bottom-color:#4b5563;border-right-color:#4b5563}html.dark .nav-responsive .nav-inactive,html.dark .nav-responsive a.nav-inactive{background-color:#1f2937;color:#e5e7eb!important}html.dark .nav-responsive .nav-inactive:hover,html.dark .nav-responsive a.nav-inactive:hover{background-color:#374151!important}html.dark .nav-responsive .nav-active,html.dark .nav-responsive a.nav-active{color:#fff!important;background-color:#dc2626!important}html.dark .nav-responsive .nav-active *,html.dark .nav-responsive a.nav-active *{color:#fff!important}@media (min-width:640px){.app-header .header-logo-section img,.header-skel-logo{width:44px;height:44px}.header-skel-title{width:150px;max-width:none;height:16px}.header-skel-sub{width:110px;max-width:none;height:11px}.header-skel-logout{width:72px;height:28px}.nav-skel-icon{width:18px;height:18px}.nav-skel-label{width:44px;height:10px}.nav-skel-branch{width:140px;height:32px}.app-header .header-title{font-size:16px}.app-header .header-subtitle{font-size:11px}.app-header .header-info-section{gap:12px;font-size:11px}.app-header .header-info-item span:last-child{max-width:90px}.app-header .header-actions button{padding:6px 12px;font-size:12px}}@media (min-width:1024px){.app-header .header-logo-section img,.header-skel-logo{width:60px;height:60px}.header-skel-title{width:220px;height:24px}.header-skel-sub{width:150px;height:14px}.header-skel-k{width:36px;height:12px}.header-skel-v{width:72px;max-width:none;height:14px}.header-skel-logout{width:84px;height:34px}.nav-skel-icon{width:22px;height:22px}.nav-skel-label{width:48px;height:12px}.app-header .header-title{font-size:24px}.app-header .header-subtitle{font-size:14px}.app-header .header-info-section{gap:24px;font-size:14px}.app-header .header-info-item span:last-child{max-width:none}}.nav-responsive-wrapper{-webkit-overflow-scrolling:touch;width:100%;overflow-x:auto;overflow-y:hidden}.nav-responsive{flex-wrap:nowrap;width:max-content;min-width:100%;display:flex}.nav-responsive a,.nav-responsive .nav-link{text-align:center;color:#000;border-top:1px solid #d1d5db;border-bottom:1px solid #d1d5db;border-right:2px solid #d1d5db;flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;min-width:48px;height:48px;padding:8px;font-size:9px;font-weight:500;line-height:1.2;text-decoration:none;transition:all .2s;display:flex;position:relative}.nav-responsive .nav-inactive,.nav-responsive a.nav-inactive{background-color:#f3f4f6;color:#000!important}.nav-responsive .nav-inactive:hover,.nav-responsive a.nav-inactive:hover{background-color:#e5e7eb!important}.nav-responsive .nav-active,.nav-responsive a.nav-active{color:#fff!important;background-color:#dc2626!important}.nav-responsive .nav-active *,.nav-responsive a.nav-active *{color:#fff!important}.nav-responsive .nav-icon{padding-bottom:4px;font-size:16px;line-height:1}@media (min-width:640px){.nav-responsive a,.nav-responsive .nav-link{min-width:52px;height:56px;padding:10px;font-size:10px}.nav-responsive .nav-icon{padding-bottom:4px;font-size:18px}}@media (min-width:768px){.nav-responsive a,.nav-responsive .nav-link{min-width:54px;height:60px;padding:12px;font-size:11px}.nav-responsive .nav-icon{padding-bottom:5px;font-size:20px}}@media (min-width:1024px){.nav-responsive a,.nav-responsive .nav-link{min-width:52px;height:65px;padding:15px;font-size:12px;font-weight:500}.nav-responsive .nav-inactive,.nav-responsive a.nav-inactive{color:#000!important}.nav-responsive .nav-active,.nav-responsive a.nav-active{color:#fff!important}.nav-responsive .nav-icon{padding-bottom:5px;font-size:22px}}@media (max-width:639px){html,body{overflow-x:hidden}.app-header{height:auto!important}.app-header .header-subtitle,.app-header .header-info-item--date span:first-child,.app-header .header-info-item--date .header-skel-date-label,.header-theme-toggle-label,.header-theme-switch-text{display:none}.app-header .header-info-section{gap:4px}.app-header .header-info-item--date span:last-child{max-width:72px;font-size:9px}.app-header .header-actions button{padding:4px 6px;font-size:9px}.nav-bar{min-width:0}.nav-branch-picker{flex-shrink:0;gap:0;max-width:none;padding:4px 8px}.nav-branch-label{display:none}.nav-branch-select{border-radius:6px;width:132px;max-width:132px;line-height:1.2;min-width:132px!important;padding:3px 6px!important;font-size:11px!important}.nav-responsive a,.nav-responsive .nav-link{min-width:44px;height:44px;padding:6px;font-size:8px}.nav-responsive .nav-icon{padding-bottom:2px;font-size:14px}.interface{padding:4px!important;overflow:hidden!important}.interface>.grid{flex:1;min-width:0;grid-template-columns:3fr 4fr 2fr!important;gap:4px!important;height:100%!important;min-height:0!important}.interface>.grid>div{overflow:hidden;min-width:0!important;height:100%!important;min-height:0!important;max-height:none!important}.interface>.grid>div>*{min-width:0;height:100%;overflow:hidden;padding:6px!important}.interface h3{line-height:1.2;margin-bottom:2px!important;font-size:11px!important}.interface .mb-4{margin-bottom:6px!important}.interface .mb-2{margin-bottom:4px!important}.interface .text-lg{font-size:11px!important}.interface .text-sm{font-size:10px!important}.interface .text-xs{font-size:9px!important}.interface input[type=text],.interface input[type=number],.interface textarea,.interface select{padding:3px 5px!important;font-size:10px!important}.interface>.grid button{overflow-wrap:break-word;word-break:break-word;white-space:normal!important;padding:4px 2px!important;font-size:7px!important;line-height:1.15!important}.interface>.grid .space-y-2>*+*{margin-top:4px!important}.interface>.grid>div>*>.grid{min-width:0;height:100%;grid-template-columns:42px minmax(0,1fr) 42px!important;gap:4px!important}.interface>.grid>div>*>.grid>div{min-width:0;overflow:auto}.interface .px-2{padding-left:4px!important;padding-right:4px!important}.interface>.grid>div:nth-child(2) .flex.justify-between{flex-direction:column;align-items:stretch;gap:1px;min-width:0}.interface>.grid>div:nth-child(2) label{white-space:nowrap;text-overflow:ellipsis;min-width:0;line-height:1.2;overflow:hidden;font-size:8px!important}.interface>.grid>div:nth-child(2) .w-24,.interface>.grid>div:nth-child(2) .w-32,.interface>.grid>div:nth-child(2) input[type=text]{flex:none;max-width:none;width:100%!important;min-width:0!important}.interface table{font-size:9px!important}.interface table th,.interface table td{padding:3px 4px!important}.ai-analytics-panel{gap:12px!important;padding:12px!important}.ai-analytics-panel h1{font-size:18px}.ai-analytics-panel button{gap:4px!important;min-height:28px!important;padding:5px 10px!important;font-size:11px!important;line-height:1.2!important}.ai-analytics-panel button svg,.ai-analytics-panel button .inline-flex{width:14px!important;height:14px!important}.ai-analytics-panel .sales-mode-toggle{gap:6px}.ai-analytics-panel .sales-mode-option{border-radius:6px;gap:4px!important;padding:5px 8px!important;font-size:11px!important}}
.home-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%;margin-bottom:16px;display:grid}.home-kpi-grid>*{min-width:0}.home-kpi-grid .kpi-card-mobile .kpi-title{font-size:10px;line-height:1.2}.home-kpi-grid .kpi-card-mobile .kpi-value{font-size:14px;line-height:1.2}.home-kpi-grid .kpi-card-mobile .kpi-subtitle{font-size:9px;line-height:1.2}.home-kpi-grid .kpi-card-mobile .kpi-icon{font-size:16px}.home-kpi-grid>.expected-sales-card{grid-column:1/-1;position:relative}.expected-sales-parts{background:#fff;border:1px solid #d1d5db;border-radius:8px;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-top:4px;display:grid;overflow:hidden}.expected-sales-part{text-align:left;border-right:1px solid #d1d5db;min-width:0;padding:8px}.expected-sales-part:last-child{border-right:none}.expected-sales-part.is-as-of-now{background:#eff6ff}.expected-sales-part.is-last-week{background:#f5f3ff}.expected-sales-part.is-yesterday{background:#fff7ed}.expected-sales-part-label{color:#6b7280;margin-bottom:4px;font-size:10px;font-weight:600;line-height:1.2;display:block}.expected-sales-part-value{color:#111827;word-break:break-word;font-size:13px;font-weight:700;line-height:1.2;display:block}@media (min-width:768px){.home-kpi-grid>.expected-sales-card{grid-column:auto}.expected-sales-part{padding:10px 12px}.expected-sales-part-label{font-size:12px}.expected-sales-part-value{font-size:18px}.home-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:24px}.home-kpi-grid .kpi-card-mobile .kpi-title{font-size:14px}.home-kpi-grid .kpi-card-mobile .kpi-value{font-size:20px}.home-kpi-grid .kpi-card-mobile .kpi-subtitle{font-size:12px}.home-kpi-grid .kpi-card-mobile .kpi-icon{font-size:24px}}@media (min-width:1024px){.home-kpi-grid{gap:16px;margin-bottom:24px}}.home-page-container{box-sizing:border-box;width:100%;max-width:100%;padding:8px}@media (min-width:640px){.home-page-container{padding:12px 16px}}@media (min-width:1024px){.home-page-container{padding:16px 24px}}.sales-mode-toggle{flex-wrap:wrap;gap:8px;margin-bottom:12px;display:flex}.sales-mode-option{color:#374151;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;background:#fff;border:1px solid #d1d5db;border-radius:8px;align-items:center;gap:6px;padding:6px 12px;font-size:13px;font-weight:600;display:inline-flex}.sales-mode-option input{accent-color:#2563eb;margin:0}.sales-mode-option.is-selected{color:#1d4ed8;background:#eff6ff;border-color:#2563eb}.consolidated-preset-row{flex-wrap:wrap;gap:8px;margin-bottom:8px;display:flex}.consolidated-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:stretch;gap:12px;margin-bottom:8px;display:flex}.consolidated-toolbar-left{flex:280px;min-width:0}.consolidated-retention{text-align:right;background:linear-gradient(135deg,#eff6ff 0%,#f8fafc 100%);border:1px solid #bfdbfe;border-radius:10px;flex-direction:column;flex:0 240px;justify-content:center;align-items:flex-end;gap:2px;min-width:180px;padding:8px 14px;display:flex}button.consolidated-retention{cursor:pointer;color:inherit;background:linear-gradient(135deg,#eff6ff 0%,#f8fafc 100%)!important;border:1px solid #bfdbfe!important}button.consolidated-retention:hover{border-color:#60a5fa!important}button.consolidated-retention:hover .consolidated-retention-value{text-decoration:underline}.consolidated-retention-label{letter-spacing:.04em;text-transform:uppercase;color:#4b5563;font-size:11px;font-weight:700}.consolidated-retention-value{color:#111827;font-size:22px;font-weight:800;line-height:1.15}.consolidated-retention-sub{color:#6b7280;font-size:11px;font-weight:600}.consolidated-retention-skeleton-block{flex-direction:column;align-items:flex-end;gap:6px;width:100%;display:flex}.consolidated-retention-skel{background:#e5e7eb;border-radius:6px;display:block}.consolidated-retention-skel-value{width:72px;height:22px}.consolidated-retention-skel-sub{width:140px;height:10px}.consolidated-preset-row button.sales-mode-option{font-family:inherit;line-height:1.2}.consolidated-filters{flex-wrap:wrap;align-items:flex-end;gap:8px;margin-bottom:8px;display:flex}.consolidated-filter-field{flex-direction:column;flex:120px;gap:2px;min-width:0;display:flex}.consolidated-filter-field label{color:#6b7280;font-size:11px;font-weight:600}.consolidated-filter-field input[type=date]{color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:6px;width:100%;min-width:0;padding:6px 8px;font-size:13px}button.consolidated-apply-btn{cursor:pointer;border-radius:6px;padding:7px 14px;font-size:13px;font-weight:600;color:#fff!important;box-shadow:none!important;background:#2563eb!important;border:1px solid #2563eb!important}button.consolidated-apply-btn:hover{background:#1d4ed8!important;border-color:#1d4ed8!important}.consolidated-filter-error{color:#b91c1c;margin:0 0 8px;font-size:12px}.consolidated-filter-hint{color:#6b7280;margin:0 0 12px;font-size:12px}.consolidated-net-card{background:linear-gradient(135deg,#eff6ff 0%,#f0fdf4 100%);border:1px solid #bfdbfe;border-radius:10px;margin-bottom:16px;padding:8px 10px}.consolidated-net-kpis{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:0;display:grid}.consolidated-net-kpi{min-width:0;padding:0 6px}.consolidated-net-kpi:first-child{padding-left:0}.consolidated-net-kpi+.consolidated-net-kpi{border-left:1px solid #bfdbfe}.consolidated-net-kpi .kpi-title{margin-bottom:2px;font-size:10px;line-height:1.2}.consolidated-net-kpi .kpi-subtitle{margin-top:2px;font-size:11px}.consolidated-net-card .kpi-value{overflow-wrap:anywhere;word-break:break-word;font-variant-numeric:tabular-nums;font-size:max(11px,min(3.1vw,16px));line-height:1.25}.consolidated-net-parts{background:#fff;border:1px solid #bfdbfe;border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin-top:10px;display:grid;overflow:hidden}.consolidated-net-parts .consolidated-branch-part{text-align:left;border-bottom:1px solid #e5e7eb;border-right:1px solid #e5e7eb;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:2px;padding:8px;display:flex}.consolidated-net-parts .consolidated-branch-part:nth-child(2n){border-right:none}.consolidated-net-parts .consolidated-branch-part:nth-last-child(-n+2){border-bottom:none}.consolidated-net-parts .consolidated-branch-part.is-zawadi{background:#ecfdf5}.consolidated-net-parts .consolidated-branch-part-label{text-transform:none;letter-spacing:0;margin-bottom:0;font-size:10px}.consolidated-net-parts .consolidated-branch-part-value{font-variant-numeric:tabular-nums;font-size:12px}.consolidated-branch-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;margin-bottom:8px;display:grid}.consolidated-branch-card{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;min-width:0;padding:8px}.consolidated-branch-header{justify-content:space-between;align-items:baseline;gap:6px;min-width:0;margin-bottom:6px;display:flex}.consolidated-branch-name{color:#374151;white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;margin:0;font-size:11px;font-weight:700;overflow:hidden}.consolidated-branch-sc{color:#0f766e;white-space:nowrap;flex-shrink:0;font-size:10px;font-weight:700}.consolidated-branch-parts{background:#fff;border:1px solid #e5e7eb;border-radius:6px;grid-template-columns:1fr;gap:0;display:grid;overflow:hidden}.consolidated-branch-part{text-align:left;border-bottom:1px solid #e5e7eb;border-right:none;justify-content:space-between;align-items:center;gap:6px;min-width:0;padding:6px 8px;display:flex}.consolidated-branch-part:last-child{border-bottom:none;border-right:none}.consolidated-branch-part.is-grand{background:#eff6ff}.consolidated-branch-part-label{color:#6b7280;text-transform:none;letter-spacing:0;margin-bottom:0;font-size:10px;font-weight:600;line-height:1.2;display:block}.consolidated-branch-part-value{color:#111827;word-break:break-word;font-size:12px;font-weight:700;line-height:1.2;display:block}.consolidated-branch-amount{color:#111827;margin:0;font-size:14px;font-weight:700}button.consolidated-zawadi-card{text-align:left;cursor:pointer;border-radius:10px;width:100%;margin-bottom:8px;padding:12px 14px;transition:box-shadow .15s;display:block;background:linear-gradient(135deg,#ecfdf5 0%,#f0fdf4 55%,#fffbeb 100%)!important;border:1px solid #a7f3d0!important;box-shadow:0 1px 2px rgba(0,0,0,.04)!important}button.consolidated-zawadi-card:hover{box-shadow:0 4px 10px rgba(16,185,129,.15)!important}@media (min-width:768px){.sales-mode-option{padding:8px 14px;font-size:14px}.consolidated-net-card{padding:16px 20px}.consolidated-net-kpis{gap:16px}.consolidated-net-kpi{padding:0}.consolidated-net-kpi+.consolidated-net-kpi{padding-left:16px}.consolidated-net-kpi .kpi-title{margin-bottom:4px;font-size:14px}.consolidated-net-card .kpi-value{overflow-wrap:normal;word-break:normal;font-size:24px}.consolidated-net-parts{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:12px}.consolidated-net-parts .consolidated-branch-part{text-align:center;border-bottom:none;border-right:1px solid #e5e7eb;align-items:center;padding:10px 8px;display:block}.consolidated-net-parts .consolidated-branch-part:nth-child(2n){border-right:1px solid #e5e7eb}.consolidated-net-parts .consolidated-branch-part:nth-last-child(-n+2){border-bottom:none}.consolidated-net-parts .consolidated-branch-part:last-child{border-bottom:none;border-right:none}.consolidated-net-parts .consolidated-branch-part-label{text-transform:uppercase;margin-bottom:4px;font-size:11px}.consolidated-net-parts .consolidated-branch-part-value{font-size:14px}.consolidated-branch-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.consolidated-branch-card{padding:12px 14px}.consolidated-branch-name{font-size:14px}.consolidated-branch-sc{font-size:12px}.consolidated-branch-parts{grid-template-columns:repeat(3,minmax(0,1fr))}.consolidated-branch-part{text-align:center;border-bottom:none;border-right:1px solid #e5e7eb;padding:8px 6px;display:block}.consolidated-branch-part:last-child{border-bottom:none;border-right:none}.consolidated-branch-part-label{text-transform:uppercase;margin-bottom:2px;font-size:10px}.consolidated-branch-part-value{font-size:13px}.consolidated-branch-amount{font-size:18px}button.consolidated-zawadi-card{padding:16px 20px}}@media (min-width:1024px){.consolidated-branch-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}}@media (max-width:639px){.consolidated-retention{text-align:left;flex:100%;align-items:flex-start;padding:8px 10px}.consolidated-retention-value{font-size:18px}.consolidated-retention-skeleton-block{align-items:flex-start}}.retention-filter{width:100%;max-width:280px}.retention-filter label{margin-bottom:4px;display:block}.retention-empty{text-align:center;padding:40px 16px}.retention-score-value{color:#b45309;font-weight:700}.retention-customer-cards{flex-direction:column;gap:8px;padding:12px;display:flex}.retention-customer-table-wrap{display:none}.retention-review-scores{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.retention-score{text-align:center;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;min-width:0;padding:8px 6px}.retention-item-row{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.retention-customers-table th,.retention-customers-table td{vertical-align:top;word-break:break-word}button.retention-phone-btn,button.retention-phone-btn:hover,button.retention-phone-btn:focus,button.retention-phone-btn:active{text-underline-offset:2px;cursor:pointer;text-align:left;font-weight:600;font-size:inherit;word-break:break-all;line-height:1.3;text-decoration:underline;box-shadow:none!important;color:#1d4ed8!important;background:0 0!important;border:none!important;padding:2px 0!important}@media (min-width:640px){.retention-review-scores{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width:768px){.retention-customer-cards{display:none}.retention-customer-table-wrap{display:block}}@media (min-width:900px){.retention-review-scores{grid-template-columns:repeat(5,minmax(0,1fr))}}html.dark .retention-score{background:#111827;border-color:#4b5563}html.dark .retention-score-value{color:#fcd34d!important}html.dark button.retention-phone-btn,html.dark button.retention-phone-btn:hover,html.dark button.retention-phone-btn:focus,html.dark button.retention-phone-btn:active{color:#93c5fd!important;background:0 0!important;border:none!important}
.ai-chat{color:#111827;background:#fff;flex:1;height:100%;min-height:0;font-size:15px;display:flex;position:relative}.ai-chat-list{background:#f7f7f8;border-right:1px solid #ececef;flex-direction:column;flex-shrink:0;width:268px;min-height:0;display:flex}.ai-chat-list-head{padding:14px 12px 8px}.ai-chat-list-scroll{-webkit-overflow-scrolling:touch;overscroll-behavior:contain;flex-direction:column;flex:1;gap:10px;min-height:0;padding:8px 10px 16px;display:flex;overflow:auto}.ai-chat button{cursor:pointer;font-family:inherit;box-shadow:none!important;color:inherit!important;background:0 0!important;border:none!important}.ai-chat button.ai-chat-new{border-radius:12px;justify-content:center;align-items:center;gap:8px;width:100%;height:40px;font-weight:600;display:flex;color:#111827!important;background:#fff!important;border:1px solid #e5e7eb!important;font-size:14px!important}.ai-chat button.ai-chat-new span{color:#2d5016;font-size:18px;line-height:1}.ai-chat button.ai-chat-item{text-align:left;border-radius:10px;justify-content:space-between;align-items:center;gap:10px;width:100%;display:flex;min-height:0!important;padding:10px 12px!important;font-size:13.5px!important;line-height:1.35!important}.ai-chat button.ai-chat-item:hover{background:#ececef!important}.ai-chat button.ai-chat-item.is-active{background:#fff!important;box-shadow:0 1px 2px rgba(17,24,39,.08)!important}.ai-chat-item-title{text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.ai-chat-item-meta,.ai-chat-thread-title span,.ai-chat-muted{color:#6b7280;flex-shrink:0;font-size:12px}.ai-chat-thread{background:#fff;flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.ai-chat-thread-head{border-bottom:1px solid #f0f0f2;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:8px;height:56px;padding:0 14px;display:grid}.ai-chat-thread-title{text-align:center;min-width:0}.ai-chat-thread-title strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:600;display:block;overflow:hidden}.ai-chat button.ai-chat-menu{visibility:hidden;pointer-events:none;border-radius:10px;justify-content:center;align-items:center;width:36px;height:36px;display:inline-flex;color:#374151!important}.ai-chat button.ai-chat-menu:hover,.ai-chat button.ai-chat-ghost:hover,.ai-chat button.ai-chat-mic:hover{background:#f3f4f6!important}.ai-chat button.ai-chat-ghost{border-radius:999px;height:32px;font-weight:600;color:#374151!important;background:#fff!important;border:1px solid #e5e7eb!important;padding:0 12px!important;font-size:12px!important}.ai-chat-head-spacer{width:36px}.ai-chat-messages{flex-direction:column;flex:1;min-height:0;display:flex;overflow:auto}.ai-chat-column{flex-direction:column;flex:1;gap:18px;width:min(820px,100%);margin:0 auto;padding:28px 20px 8px;display:flex}.ai-chat-empty{text-align:center;max-width:420px;margin:auto;padding:24px 8px 48px}.ai-chat-empty h2{letter-spacing:-.03em;color:#111827;font-size:28px;font-weight:600}.ai-chat-empty p{color:#6b7280;margin-top:8px;font-size:15px;line-height:1.5}.ai-chat-bubble{white-space:pre-wrap;font-size:15px;line-height:1.55}.ai-chat-bubble.is-user{color:#111827;background:#f3f4f6;border-radius:18px 18px 6px;align-self:flex-end;max-width:min(540px,88%);padding:10px 14px}.ai-chat-bubble.is-assistant{color:#1f2937;align-self:stretch}.ai-chat-summary{color:#374151;margin-bottom:4px}.ai-chat-error{color:#b91c1c;font-size:13px;line-height:1.45}.ai-chat-error-bar{width:min(820px,100% - 32px);margin:0 auto 4px}.ai-chat-table-block{white-space:normal;margin-top:10px}.ai-chat-table-tools{color:#6b7280;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin-bottom:8px;font-size:12px;display:flex}.ai-chat-row-count{margin-right:auto}.ai-chat-table-wrap{background:#fff;border:1px solid #ececef;border-radius:14px;max-height:440px;overflow:auto}.ai-chat-table-wrap table{border-collapse:collapse;width:100%;font-size:13px}.ai-chat-table-wrap th,.ai-chat-table-wrap td{text-align:left;white-space:nowrap;color:#111827;border-bottom:1px solid #f3f4f6;padding:9px 12px}.ai-chat .ai-chat-table-wrap thead th{z-index:1;color:#4b5563;background:#fafafa;font-size:12px;font-weight:600;position:-webkit-sticky;position:sticky;top:0}.ai-chat-table-wrap tbody tr:last-child td{border-bottom:none}.ai-chat-sql{color:#e5e7eb;white-space:pre-wrap;background:#111827;border-radius:12px;max-height:200px;margin:0 0 8px;padding:12px 14px;font-size:12px;line-height:1.45;overflow:auto}.ai-chat-loader{justify-content:center;align-items:center;min-height:180px;margin:auto;display:flex}.ai-chat-spinner{border:2.5px solid #e5e7eb;border-top-color:#1f2937;border-radius:50%;width:28px;height:28px;animation:.7s linear infinite ai-chat-spin}@keyframes ai-chat-spin{to{transform:rotate(360deg)}}.ai-chat-status{color:#6b7280;font-size:15px}.ai-chat-caret{vertical-align:text-bottom;background:currentColor;width:2px;height:1em;margin-left:2px;animation:1s step-end infinite ai-chat-blink;display:inline-block}@keyframes ai-chat-blink{50%{opacity:0}}.ai-chat-typing{align-items:center;gap:5px;height:24px;display:flex}.ai-chat-typing span{background:#9ca3af;border-radius:50%;width:7px;height:7px;animation:1s ease-in-out infinite ai-chat-pulse}.ai-chat-typing span:nth-child(2){animation-delay:.15s}.ai-chat-typing span:nth-child(3){animation-delay:.3s}@keyframes ai-chat-pulse{0%,80%,to{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}.ai-chat-composer{z-index:20;background:linear-gradient(rgba(255,255,255,0),#fff 28%);padding:6px 16px 28px;position:relative}.ai-chat-item-picker{width:min(820px,100%);margin:0 auto 8px;position:relative}.ai-chat button.ai-chat-item-trigger{border-radius:999px;justify-content:center;align-items:center;gap:6px;height:32px;font-weight:600;display:inline-flex;color:#374151!important;background:#fff!important;border:1px solid #e5e7eb!important;padding:0 12px!important;font-size:12px!important;line-height:1!important}.ai-chat button.ai-chat-item-trigger svg{flex-shrink:0;display:block}.ai-chat-item-menu{z-index:30;background:#fff;border:1px solid #e6e6ea;border-radius:16px;flex-direction:column;max-height:320px;padding:8px;display:flex;position:absolute;bottom:calc(100% + 6px);left:0;right:0;box-shadow:0 12px 40px rgba(17,24,39,.12)}.ai-chat-item-search{color:#111827;width:100%;height:36px;font:inherit;background:#f7f7f8;border:1px solid #e5e7eb;border-radius:10px;margin-bottom:6px;padding:0 10px;font-size:13px}.ai-chat-item-list{min-height:0;overflow:auto}.ai-chat button.ai-chat-item-option{text-align:left;border-radius:10px;justify-content:space-between;align-items:center;gap:10px;width:100%;display:flex;min-height:0!important;padding:8px 10px!important;font-size:13px!important;line-height:1.3!important}.ai-chat button.ai-chat-item-option.is-active,.ai-chat button.ai-chat-item-option:hover{background:#f3f4f6!important}.ai-chat-item-option-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:500;overflow:hidden}.ai-chat-item-option-meta{color:#6b7280;flex-shrink:0;align-items:center;gap:6px;font-size:11px;display:inline-flex}.ai-chat-item-option-meta em{color:#166534;background:#ecfdf3;border-radius:999px;padding:1px 6px;font-style:normal;font-weight:600}.ai-chat-composer-box{background:#fff;border:1px solid #e6e6ea;border-radius:28px;align-items:center;gap:4px;width:min(820px,100%);margin:0 auto;padding:6px;display:flex;box-shadow:0 8px 30px rgba(17,24,39,.06)}.ai-chat-composer-box textarea{resize:none;font:inherit;color:#111827;background:0 0;border:none;outline:none;flex:1;min-height:42px;max-height:140px;padding:10px 6px;font-size:15px;line-height:1.4}.ai-chat-composer-box textarea::placeholder{color:#9ca3af}.ai-chat .ai-chat-composer-box textarea:focus{box-shadow:none!important;border-color:transparent!important;outline:none!important}.ai-chat button.ai-chat-mic,.ai-chat button.ai-chat-send{border-radius:50%;flex-shrink:0;justify-content:center;align-self:center;align-items:center;width:38px;min-width:38px;height:38px;display:inline-flex;min-height:38px!important;padding:0!important;line-height:0!important}.ai-chat button.ai-chat-mic svg,.ai-chat button.ai-chat-send svg{width:18px;height:18px;margin:0;display:block}.ai-chat button.ai-chat-mic{font-variant-numeric:tabular-nums;color:#4b5563!important;font-size:12px!important}.ai-chat button.ai-chat-mic.is-live{border-radius:999px;width:auto;min-width:64px;color:#b91c1c!important;background:#fef2f2!important;padding:0 12px!important}html:not(.dark) .ai-chat button.ai-chat-send{color:#111827!important;background:0 0!important;border:1px solid #e5e7eb!important}html:not(.dark) .ai-chat button.ai-chat-send:hover{background:#f3f4f6!important}.ai-chat button.ai-chat-send:disabled,.ai-chat button.ai-chat-new:disabled,.ai-chat button.ai-chat-mic:disabled{opacity:.4;cursor:not-allowed}.ai-chat-backdrop{display:none}html.dark .ai-chat,html.dark .ai-chat-thread,html.dark .ai-chat-composer,html.dark .ai-chat-table-wrap{color:#e5e7eb;background:#0f1115;border-color:#2a2e37}html.dark .ai-chat-composer-box{box-shadow:none;background:#17191e;border-color:#2a2e37}html.dark .ai-chat-composer-box textarea{color:#e5e7eb!important;background:0 0!important;border-color:transparent!important}html.dark .ai-chat-bubble.is-user{color:#f3f4f6;background:#262b36}html.dark .ai-chat-list,html.dark .ai-chat-table-wrap th{background:#17191e;border-color:#2a2e37}html.dark .ai-chat-thread-head,html.dark .ai-chat-table-wrap,html.dark .ai-chat-table-wrap td,html.dark .ai-chat-composer-box{border-color:#2a2e37}html.dark .ai-chat-empty h2,html.dark .ai-chat-thread-title strong,html.dark .ai-chat-table-wrap th,html.dark .ai-chat-table-wrap td,html.dark .ai-chat-composer-box textarea,html.dark .ai-chat-bubble.is-assistant{color:#e5e7eb}html.dark .ai-chat button.ai-chat-new,html.dark .ai-chat button.ai-chat-ghost,html.dark .ai-chat button.ai-chat-item.is-active{color:#e5e7eb!important;background:#22262e!important;border-color:#343844!important}html.dark .ai-chat button.ai-chat-item:hover,html.dark .ai-chat button.ai-chat-menu:hover,html.dark .ai-chat button.ai-chat-ghost:hover,html.dark .ai-chat button.ai-chat-mic:hover{background:#2a2e37!important}html.dark .ai-chat button.ai-chat-send{color:#111827!important;background:#e5e7eb!important;border-color:#e5e7eb!important}html.dark .ai-chat-composer{background:linear-gradient(rgba(15,17,21,0),#0f1115 28%)}html.dark .ai-chat button.ai-chat-item-trigger{color:#e5e7eb!important;background:#22262e!important;border-color:#343844!important}html.dark .ai-chat-item-menu{background:#17191e;border-color:#2a2e37;box-shadow:0 12px 40px rgba(0,0,0,.35)}html.dark .ai-chat-item-search{color:#e5e7eb!important;background:#111827!important;border-color:#2a2e37!important}html.dark .ai-chat button.ai-chat-item-option.is-active,html.dark .ai-chat button.ai-chat-item-option:hover{background:#2a2e37!important}html.dark .ai-chat-item-option-meta{color:#9ca3af!important}html.dark .ai-chat-item-option-meta em{background:#14532d;color:#86efac!important}html.dark .ai-chat-item-meta,html.dark .ai-chat-thread-title span,html.dark .ai-chat-muted,html.dark .ai-chat-table-tools,html.dark .ai-chat-status,html.dark .ai-chat-empty p,html.dark .ai-chat-composer-box textarea::placeholder{color:#9ca3af!important}html.dark .ai-chat-summary{color:#d1d5db!important}html.dark .ai-chat-error{color:#fca5a5!important}html.dark .ai-chat-spinner{border-color:#e5e7eb #2a2e37 #2a2e37}html.dark .ai-chat button.ai-chat-menu,html.dark .ai-chat button.ai-chat-mic{color:#d1d5db!important}html.dark .ai-chat button.ai-chat-new span{color:#86efac!important}html.dark .ai-chat button.ai-chat-mic.is-live{color:#fecaca!important;background:#3f1d1d!important}html.dark .ai-chat-table-wrap th,html.dark .ai-chat-table-wrap td{border-bottom-color:#2a2e37}html.dark .ai-chat-table-wrap th{color:#9ca3af}html.dark .ai-chat-backdrop{background:rgba(0,0,0,.55)!important}@media (max-width:900px){.ai-chat button.ai-chat-menu{visibility:visible;pointer-events:auto}.ai-chat-list{z-index:30;width:min(300px,86vw);transition:transform .2s;position:absolute;top:0;bottom:0;left:0;transform:translate(-105%);box-shadow:12px 0 40px rgba(17,24,39,.16)}.ai-chat-list.is-open{transform:translate(0)}.ai-chat-backdrop{z-index:25;cursor:pointer;border-radius:0;width:100%;height:100%;display:block;position:absolute;top:0;bottom:0;left:0;right:0;background:rgba(17,24,39,.38)!important;border:none!important;padding:0!important}.ai-chat-empty h2{font-size:22px}.ai-chat-column{padding:18px 14px 8px}.ai-chat-composer{padding:6px 12px calc(36px + env(safe-area-inset-bottom,0px))}.ai-chat-composer-box{align-items:center}.ai-chat button.ai-chat-mic,.ai-chat button.ai-chat-send{width:40px;min-width:40px;height:40px;min-height:40px!important;padding:0!important}.ai-chat button.ai-chat-item-trigger{min-height:32px!important;padding:0 12px!important;line-height:1!important}}
