@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:400;src:url(/static/media/inter-cyrillic-ext-400-normal.39fbf8d2c4abc46f721f.woff2) format("woff2"),url(/static/media/inter-cyrillic-ext-400-normal.818b84180553acc613f3.woff) format("woff");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:400;src:url(/static/media/inter-cyrillic-400-normal.89455522650c3fb3654c.woff2) format("woff2"),url(/static/media/inter-cyrillic-400-normal.dd21c71421d58232ef03.woff) format("woff");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:400;src:url(/static/media/inter-greek-ext-400-normal.f2ef63e732b18d636044.woff2) format("woff2"),url(/static/media/inter-greek-ext-400-normal.fc80974ec6969ee03fd2.woff) format("woff");unicode-range:u+1f??}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:400;src:url(/static/media/inter-greek-400-normal.e685387f69602567b1da.woff2) format("woff2"),url(/static/media/inter-greek-400-normal.b412faded087fbcfa4ff.woff) format("woff");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:400;src:url(/static/media/inter-vietnamese-400-normal.44c9df135eec470b0ab6.woff2) format("woff2"),url(/static/media/inter-vietnamese-400-normal.aaa15d735e3826061950.woff) format("woff");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:400;src:url(/static/media/inter-latin-ext-400-normal.210fb826cb25acbd4094.woff2) format("woff2"),url(/static/media/inter-latin-ext-400-normal.c616205185f0d3677df9.woff) format("woff");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:400;src:url(/static/media/inter-latin-400-normal.eca1e21531598d5db58f.woff2) format("woff2"),url(/static/media/inter-latin-400-normal.2ea1079c0069eb040a52.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:500;src:url(/static/media/inter-cyrillic-ext-500-normal.b2740f247d3be4a05ca0.woff2) format("woff2"),url(/static/media/inter-cyrillic-ext-500-normal.e9974e820735012b025b.woff) format("woff");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:500;src:url(/static/media/inter-cyrillic-500-normal.33a76a7cbcfcb7076534.woff2) format("woff2"),url(/static/media/inter-cyrillic-500-normal.72f7a9db87626ca30c76.woff) format("woff");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:500;src:url(/static/media/inter-greek-ext-500-normal.4c6d520b97e3bb4ef613.woff2) format("woff2"),url(/static/media/inter-greek-ext-500-normal.47cc2391a7edf82cf4e1.woff) format("woff");unicode-range:u+1f??}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:500;src:url(/static/media/inter-greek-500-normal.e7cec4ef4f6780e90a52.woff2) format("woff2"),url(/static/media/inter-greek-500-normal.6d34bacda2be54829b97.woff) format("woff");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:500;src:url(/static/media/inter-vietnamese-500-normal.63d02ea896a7406849b6.woff2) format("woff2"),url(/static/media/inter-vietnamese-500-normal.296d66c0bba9086788b9.woff) format("woff");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:500;src:url(/static/media/inter-latin-ext-500-normal.cdb4dd5dc508fe6e7398.woff2) format("woff2"),url(/static/media/inter-latin-ext-500-normal.2f93aaa35e870cec4704.woff) format("woff");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:500;src:url(/static/media/inter-latin-500-normal.b7c27c60f848f2083f45.woff2) format("woff2"),url(/static/media/inter-latin-500-normal.5014db633e71a7741bf5.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:600;src:url(/static/media/inter-cyrillic-ext-600-normal.8c6413cdd8004fde0a19.woff2) format("woff2"),url(/static/media/inter-cyrillic-ext-600-normal.d6d44e8705a633436dfe.woff) format("woff");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:600;src:url(/static/media/inter-cyrillic-600-normal.fdee7b66c2d88216b75f.woff2) format("woff2"),url(/static/media/inter-cyrillic-600-normal.8609e1b95284125f21cb.woff) format("woff");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:600;src:url(/static/media/inter-greek-ext-600-normal.c3c138d889b8c929822c.woff2) format("woff2"),url(/static/media/inter-greek-ext-600-normal.c7983dac0ad6a359aef0.woff) format("woff");unicode-range:u+1f??}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:600;src:url(/static/media/inter-greek-600-normal.984050ecee12eabe9366.woff2) format("woff2"),url(/static/media/inter-greek-600-normal.d8b0044cf6afdd52b07b.woff) format("woff");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:600;src:url(/static/media/inter-vietnamese-600-normal.6984cf5e8583fac83be3.woff2) format("woff2"),url(/static/media/inter-vietnamese-600-normal.04bb56ffa463ab55708d.woff) format("woff");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:600;src:url(/static/media/inter-latin-ext-600-normal.8148c3ae14dfaefc62ca.woff2) format("woff2"),url(/static/media/inter-latin-ext-600-normal.4d0d5017d71ea1750fc1.woff) format("woff");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:Inter;font-style:normal;font-weight:600;src:url(/static/media/inter-latin-600-normal.69a8d1d484967aba2389.woff2) format("woff2"),url(/static/media/inter-latin-600-normal.f10265da6bd8d66999ac.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-display:swap;font-family:JetBrains Mono;font-style:normal;font-weight:400;src:url(/static/media/jetbrains-mono-cyrillic-ext-400-normal.7347c7bfed47f1ef0b25.woff2) format("woff2"),url(/static/media/jetbrains-mono-cyrillic-ext-400-normal.831e0db23a3b56373d02.woff) format("woff");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-display:swap;font-family:JetBrains Mono;font-style:normal;font-weight:400;src:url(/static/media/jetbrains-mono-cyrillic-400-normal.f69e1e24f04a6ce942c0.woff2) format("woff2"),url(/static/media/jetbrains-mono-cyrillic-400-normal.d0dbe121eb8ccfff69fd.woff) format("woff");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-display:swap;font-family:JetBrains Mono;font-style:normal;font-weight:400;src:url(/static/media/jetbrains-mono-greek-400-normal.3a4578ae9901384175e2.woff2) format("woff2"),url(/static/media/jetbrains-mono-greek-400-normal.55220d4dce9386883dd6.woff) format("woff");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-display:swap;font-family:JetBrains Mono;font-style:normal;font-weight:400;src:url(/static/media/jetbrains-mono-vietnamese-400-normal.aa664ef15f2e285e9dda.woff2) format("woff2"),url(/static/media/jetbrains-mono-vietnamese-400-normal.411bbf704034dd802498.woff) format("woff");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-display:swap;font-family:JetBrains Mono;font-style:normal;font-weight:400;src:url(/static/media/jetbrains-mono-latin-ext-400-normal.e83b764e84e73968db26.woff2) format("woff2"),url(/static/media/jetbrains-mono-latin-ext-400-normal.dfdc51c009ca3dea7613.woff) format("woff");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:JetBrains Mono;font-style:normal;font-weight:400;src:url(/static/media/jetbrains-mono-latin-400-normal.d04352f240062b100fba.woff2) format("woff2"),url(/static/media/jetbrains-mono-latin-400-normal.1fef352a4021940e309a.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}:root{--background:210 25% 98%;--foreground:215 35% 12%;--border:215 18% 88%;--card:0 0% 100%;--card-foreground:215 35% 12%;--card-border:215 18% 90%;--sidebar:215 38% 14%;--sidebar-foreground:210 25% 88%;--sidebar-border:215 35% 20%;--sidebar-primary:184 65% 42%;--sidebar-primary-foreground:0 0% 100%;--sidebar-accent:215 35% 20%;--sidebar-accent-foreground:0 0% 100%;--sidebar-ring:184 65% 42%;--popover:0 0% 100%;--popover-foreground:215 35% 12%;--popover-border:215 18% 88%;--primary:215 50% 22%;--primary-foreground:0 0% 100%;--secondary:215 22% 94%;--secondary-foreground:215 35% 12%;--muted:215 22% 94%;--muted-foreground:215 12% 42%;--accent:184 60% 92%;--accent-foreground:184 70% 22%;--destructive:0 72% 45%;--destructive-foreground:0 0% 100%;--input:215 18% 80%;--ring:184 65% 42%;--positive:158 55% 35%;--negative:0 65% 48%;--warning:35 88% 48%;--info:215 70% 45%;--chart-1:215 50% 25%;--chart-2:184 65% 42%;--chart-3:35 82% 55%;--chart-4:215 30% 55%;--chart-5:0 65% 52%;--elevate-1:rgba(15,23,42,.035);--elevate-2:rgba(15,23,42,.085);--button-outline:#0f172a1f;--badge-outline:#0f172a14;--font-sans:"Inter",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;--font-serif:"Source Serif 4",Georgia,serif;--font-mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Courier New",monospace;--radius:0.5rem;--radius-sm:0.1875rem;--radius-md:0.375rem;--radius-lg:0.5625rem;--radius-xl:0.75rem;--spacing:0.25rem;--shadow-xs:0 1px 2px 0 #141d290a;--shadow-sm:0 1px 3px 0 #141d290f,0 1px 2px -1px #141d290a;--shadow-md:0 4px 6px -1px #141d2912,0 2px 4px -2px #141d290a;--shadow-lg:0 10px 15px -3px #141d2914,0 4px 6px -4px #141d290a;--shadow-xl:0 20px 25px -5px #141d291a,0 8px 10px -6px #141d290a;--sidebar-width:260px;--sidebar-width-collapsed:56px;--header-height:3.5rem;--content-max-width:1600px;--transition-fast:0.15s ease;--transition-base:0.2s ease;--z-sidebar-mobile:40;--z-overlay:30;--z-modal:50;--z-toast:1000;--z-tooltip:60}:root.dark{--background:215 38% 9%;--foreground:210 25% 95%;--border:215 30% 18%;--card:215 35% 12%;--card-foreground:210 25% 95%;--card-border:215 30% 20%;--sidebar:215 42% 8%;--sidebar-foreground:210 25% 88%;--sidebar-border:215 35% 16%;--sidebar-primary:184 65% 50%;--sidebar-primary-foreground:215 42% 8%;--sidebar-accent:215 35% 18%;--sidebar-accent-foreground:210 25% 95%;--sidebar-ring:184 65% 50%;--popover:215 35% 12%;--popover-foreground:210 25% 95%;--popover-border:215 30% 20%;--primary:184 65% 50%;--primary-foreground:215 42% 8%;--secondary:215 30% 18%;--secondary-foreground:210 25% 95%;--muted:215 30% 16%;--muted-foreground:215 15% 65%;--accent:215 30% 22%;--accent-foreground:210 25% 95%;--destructive:0 70% 55%;--destructive-foreground:0 0% 100%;--input:215 25% 28%;--ring:184 65% 50%;--positive:158 55% 55%;--negative:0 70% 60%;--warning:35 88% 60%;--info:215 65% 65%;--chart-1:184 65% 55%;--chart-2:210 70% 65%;--chart-3:35 85% 62%;--chart-4:215 25% 70%;--chart-5:0 65% 60%;--elevate-1:#ffffff0a;--elevate-2:#ffffff17;--button-outline:#ffffff1a;--badge-outline:#ffffff0d;--shadow-xs:0 1px 2px 0 #0006;--shadow-sm:0 1px 3px 0 #00000080,0 1px 2px -1px #0000004d;--shadow-md:0 4px 6px -1px #00000080,0 2px 4px -2px #0000004d;--shadow-lg:0 10px 15px -3px #0000008c,0 4px 6px -4px #00000059;--shadow-xl:0 20px 25px -5px #0009,0 8px 10px -6px #0006}.num,[data-num]{font-feature-settings:tabular-nums lining-nums;font-variant-numeric:tabular-nums lining-nums}.num-mono{font-family:var(--font-mono)}.num-mono,td,th{font-feature-settings:tabular-nums lining-nums;font-variant-numeric:tabular-nums lining-nums}.text-positive{color:hsl(var(--positive))}.text-negative{color:hsl(var(--negative))}.text-warning{color:hsl(var(--warning))}.text-info{color:hsl(var(--info))}.text-muted{color:hsl(var(--muted-foreground))}.text-primary{color:hsl(var(--primary))}.text-foreground{color:hsl(var(--foreground))}.bg-positive{background-color:hsl(var(--positive));color:hsl(var(--primary-foreground))}.bg-negative{background-color:hsl(var(--negative));color:hsl(var(--destructive-foreground))}.bg-warning{background-color:hsl(var(--warning));color:hsl(var(--foreground))}.bg-info{background-color:hsl(var(--info));color:hsl(var(--primary-foreground))}.bg-card{background-color:hsl(var(--card))}.bg-muted{background-color:hsl(var(--muted))}.bg-positive-soft{background-color:hsl(var(--positive)/.1);color:hsl(var(--positive))}.bg-negative-soft{background-color:hsl(var(--negative)/.1);color:hsl(var(--negative))}.bg-warning-soft{background-color:hsl(var(--warning)/.1);color:hsl(var(--warning))}.bg-info-soft{background-color:hsl(var(--info)/.1);color:hsl(var(--info))}.border-positive{border-color:hsl(var(--positive))}.border-negative{border-color:hsl(var(--negative))}.border-warning{border-color:hsl(var(--warning))}.eyebrow{color:hsl(var(--muted-foreground));font-size:.625rem;font-weight:500;letter-spacing:.22em;text-transform:uppercase}.eyebrow--sm{font-size:.625rem;letter-spacing:.18em}.tracking-wide{letter-spacing:.14em}.tracking-wider{letter-spacing:.18em}.tracking-widest{letter-spacing:.22em}.tracking-tight{letter-spacing:-.01em}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.sr-only{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.active-elevate,.active-elevate-2,.hover-elevate,.hover-elevate-2{position:relative;z-index:0}.active-elevate-2:after,.active-elevate:after,.hover-elevate-2:after,.hover-elevate:after{border-radius:inherit;content:"";inset:0;pointer-events:none;position:absolute;z-index:999}.active-elevate:active:after,.hover-elevate:hover:after{background-color:var(--elevate-1)}.active-elevate-2:active:after,.hover-elevate-2:hover:after{background-color:var(--elevate-2)}.has-border.active-elevate-2:after,.has-border.active-elevate:after,.has-border.hover-elevate-2:after,.has-border.hover-elevate:after,[class*="--outline"].active-elevate-2:after,[class*="--outline"].hover-elevate-2:after,[class*="--outline"].hover-elevate:after{inset:-1px}.toggle-elevate{position:relative;z-index:0}.toggle-elevate:before{border-radius:inherit;content:"";inset:0;pointer-events:none;position:absolute;z-index:-1}.toggle-elevate.toggle-elevated:before{background-color:var(--elevate-2)}.focus-ring{outline:none}.focus-ring:focus-visible{box-shadow:0 0 0 2px hsl(var(--background)),0 0 0 4px hsl(var(--ring));outline:none}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes fade-out{0%{opacity:1}to{opacity:0}}@keyframes zoom-in-95{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes slide-in-from-top{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.animate-fade-in{animation:fade-in .15s ease-out}.animate-zoom-in{animation:zoom-in-95 .15s ease-out}.animate-spin{animation:spin 1s linear infinite}.no-overscroll{overscroll-behavior:contain}.btn{gap:.5rem;justify-content:center;min-height:2.25rem;position:relative;-webkit-user-select:none;user-select:none;white-space:nowrap;z-index:0}.btn:focus-visible{box-shadow:0 0 0 1px hsl(var(--ring));outline:none}.btn:disabled,.btn[disabled]{cursor:not-allowed;opacity:.5;pointer-events:none}.btn svg{flex-shrink:0;height:1rem;width:1rem}.btn:after{background-color:initial;border-radius:inherit;content:"";inset:-1px;pointer-events:none;position:absolute;transition:background-color var(--transition-fast);z-index:1}.btn:hover:after{background-color:var(--elevate-1)}.btn:active:after{background-color:var(--elevate-2)}.btn--sm{font-size:.75rem;min-height:2rem;padding:0 .75rem}.btn--lg,.btn--sm{border-radius:var(--radius-md)}.btn--lg{min-height:2.5rem;padding:.5rem 2rem}.btn--icon{min-height:2.25rem;padding:0;width:2.25rem}.btn--icon-sm{font-size:.75rem;min-height:2rem;padding:0;width:2rem}.btn--default{background-color:hsl(var(--primary));border-color:hsl(var(--primary));color:hsl(var(--primary-foreground))}.btn--destructive{background-color:hsl(var(--destructive));border-color:hsl(var(--destructive));color:hsl(var(--destructive-foreground))}.btn--positive{background-color:hsl(var(--positive));border-color:hsl(var(--positive));color:hsl(var(--primary-foreground))}.btn--warning{background-color:hsl(var(--warning));border-color:hsl(var(--warning))}.btn--outline,.btn--warning{color:hsl(var(--foreground))}.btn--outline{background-color:initial;border-color:var(--button-outline)}.btn--secondary{background-color:hsl(var(--secondary));border-color:hsl(var(--secondary));color:hsl(var(--secondary-foreground))}.btn--ghost{background-color:initial;border-color:#0000;color:hsl(var(--foreground))}.btn--ghost:hover{background-color:hsl(var(--accent));color:hsl(var(--accent-foreground))}.btn--link{background-color:initial;border-color:#0000;color:hsl(var(--primary));min-height:auto;padding:0;text-decoration:underline;text-underline-offset:4px}.btn--link:after{display:none}.card__header{display:flex;flex-direction:column;gap:.375rem;padding:1.5rem}.card__title{font-size:1.25rem;font-weight:600;letter-spacing:-.01em;line-height:1.2}.card__description{color:hsl(var(--muted-foreground));font-size:.875rem}.card__content{padding:0 1.5rem 1.5rem}.card__content--first{padding-top:1.5rem}.card__footer{align-items:center;display:flex;gap:.5rem;padding:0 1.5rem 1.5rem}.badge{align-items:center;border:1px solid #0000;border-radius:var(--radius-md);display:inline-flex;font-size:.75rem;font-weight:600;gap:.25rem;line-height:1.4;padding:.125rem .625rem;transition:background-color var(--transition-fast);white-space:nowrap}.badge--default{background-color:hsl(var(--primary));color:hsl(var(--primary-foreground))}.badge--secondary{background-color:hsl(var(--secondary));color:hsl(var(--secondary-foreground))}.badge--destructive{background-color:hsl(var(--destructive));color:hsl(var(--destructive-foreground))}.badge--outline{background-color:initial;border-color:var(--badge-outline);color:hsl(var(--foreground))}.badge--positive{background-color:hsl(var(--positive)/.1);border-color:hsl(var(--positive)/.2);color:hsl(var(--positive))}.badge--negative{background-color:hsl(var(--negative)/.1);border-color:hsl(var(--negative)/.2);color:hsl(var(--negative))}.badge--warning{background-color:hsl(var(--warning)/.1);border-color:hsl(var(--warning)/.2);color:hsl(var(--warning))}.badge--info{background-color:hsl(var(--info)/.1);border-color:hsl(var(--info)/.2);color:hsl(var(--info))}.input,.select-trigger,.textarea{background-color:hsl(var(--background));border:1px solid hsl(var(--input));border-radius:var(--radius-md);color:hsl(var(--foreground));display:flex;font-family:var(--font-sans);font-size:.875rem;padding:.5rem .75rem;transition:border-color var(--transition-fast),box-shadow var(--transition-fast);width:100%}.input,.select-trigger{align-items:center;height:2.25rem}.textarea{line-height:1.4;min-height:4.5rem;resize:vertical}.input::placeholder,.textarea::placeholder{color:hsl(var(--muted-foreground))}.input:focus-visible,.select-trigger:focus-visible,.textarea:focus-visible{border-color:hsl(var(--ring));box-shadow:0 0 0 2px hsl(var(--ring)/.25);outline:none}.input:disabled,.select-trigger:disabled,.textarea:disabled{background-color:hsl(var(--muted));cursor:not-allowed;opacity:.6}.input-group{align-items:center;display:inline-flex;position:relative;width:100%}.input-group .input{padding-left:2.25rem}.input-group__icon{color:hsl(var(--muted-foreground));height:1rem;left:.625rem;pointer-events:none;position:absolute;top:50%;transform:translateY(-50%);width:1rem}.alert{align-items:flex-start;background-color:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);color:hsl(var(--card-foreground));display:flex;gap:.75rem;line-height:1.5;padding:1rem}.alert__icon{flex-shrink:0;height:1.25rem;margin-top:.0625rem;width:1.25rem}.alert__content{flex:1 1;min-width:0}.alert__title{font-weight:600;margin-bottom:.25rem}.alert__message{color:hsl(var(--muted-foreground))}.alert--positive,.alert--success{background-color:hsl(var(--positive)/.08);border-color:hsl(var(--positive)/.25);color:hsl(var(--positive))}.alert--positive .alert__message,.alert--success .alert__message{color:hsl(var(--positive))}.alert--destructive,.alert--error{background-color:hsl(var(--destructive)/.08);border-color:hsl(var(--destructive)/.25);color:hsl(var(--destructive))}.alert--destructive .alert__message,.alert--error .alert__message{color:hsl(var(--destructive))}.alert--warning{background-color:hsl(var(--warning)/.08);border-color:hsl(var(--warning)/.25)}.alert--warning,.alert--warning .alert__message{color:hsl(var(--warning))}.alert--info{background-color:hsl(var(--info)/.08);border-color:hsl(var(--info)/.25)}.alert--info,.alert--info .alert__message{color:hsl(var(--info))}.table-wrapper{overflow-x:auto;position:relative;width:100%}.table{font-feature-settings:tabular-nums lining-nums;caption-side:bottom;font-size:.875rem;font-variant-numeric:tabular-nums lining-nums}.table thead tr{border-bottom:1px solid hsl(var(--border))}.table th{height:3rem;letter-spacing:.04em;padding:0 1rem;text-align:left;vertical-align:middle;white-space:nowrap}.table tbody tr{border-bottom:1px solid hsl(var(--border));transition:background-color var(--transition-fast)}.table tbody tr:last-child{border-bottom:0}.table tbody tr.is-selected{background-color:hsl(var(--accent))}.table td{color:hsl(var(--foreground));padding:.875rem 1rem;vertical-align:middle}.table--compact th{font-size:.6875rem;height:2.25rem}.table--compact td{font-size:.8125rem;padding:.5rem .75rem}.table th.is-sortable{cursor:pointer;transition:color var(--transition-fast);-webkit-user-select:none;user-select:none}.table th.is-sortable:hover{color:hsl(var(--foreground))}.table th.is-sortable .sort-indicator{color:hsl(var(--primary));display:inline-block;font-weight:700;margin-left:.375rem}.page-header{align-items:flex-end;border-bottom:1px solid hsl(var(--border));padding-bottom:1.25rem}.page-header__main{flex:1 1;min-width:0}.page-header__eyebrow{color:hsl(var(--muted-foreground));font-size:.625rem;font-weight:500;letter-spacing:.22em;margin-bottom:.5rem;text-transform:uppercase}.page-header__title{color:hsl(var(--foreground));font-size:1.5rem;font-weight:600;letter-spacing:-.01em;line-height:1.2;margin:0}.page-header__subtitle{color:hsl(var(--muted-foreground));font-size:.875rem;line-height:1.5;margin-top:.375rem;max-width:60ch}.page-header__actions{align-items:center;display:flex;flex-shrink:0;gap:.5rem}.section-header{align-items:flex-end;gap:1rem;margin-bottom:1rem}.section-header__eyebrow{color:hsl(var(--muted-foreground));font-size:.625rem;font-weight:500;letter-spacing:.22em;margin-bottom:.25rem;text-transform:uppercase}.section-header__title{color:hsl(var(--foreground));font-size:1.125rem;font-weight:600;letter-spacing:-.01em;line-height:1.2;margin:0}.section-header__subtitle{color:hsl(var(--muted-foreground));font-size:.8125rem;margin-top:.25rem}.section-header__actions{align-items:center;display:flex;flex-shrink:0;gap:.5rem}.kpi-card{background-color:hsl(var(--card));border:1px solid hsl(var(--card-border));border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);overflow:hidden;padding:1rem;position:relative}.kpi-card__accent{border-radius:0 var(--radius-sm) var(--radius-sm) 0;bottom:.75rem;left:0;position:absolute;top:.75rem;width:3px}.kpi-card__accent--default{background-color:hsl(var(--border))}.kpi-card__accent--primary{background-color:hsl(var(--primary))}.kpi-card__accent--positive{background-color:hsl(var(--positive))}.kpi-card__accent--negative{background-color:hsl(var(--negative))}.kpi-card__accent--warning{background-color:hsl(var(--warning))}.kpi-card__accent--info{background-color:hsl(var(--info))}.kpi-card__body{padding-left:.75rem}.kpi-card__label{color:hsl(var(--muted-foreground));font-size:.6875rem;font-weight:500;letter-spacing:.18em;text-transform:uppercase}.kpi-card__value{font-feature-settings:tabular-nums lining-nums;color:hsl(var(--foreground));font-size:1.5rem;font-variant-numeric:tabular-nums lining-nums;font-weight:600;line-height:1.1;margin-top:.5rem}.kpi-card__meta{align-items:center;display:flex;font-size:.75rem;gap:.5rem;margin-top:.5rem}.kpi-card__delta{align-items:center;display:inline-flex;font-weight:500;gap:.25rem}.kpi-card__delta--positive{color:hsl(var(--positive))}.kpi-card__delta--negative{color:hsl(var(--negative))}.kpi-card__delta--neutral,.kpi-card__hint{color:hsl(var(--muted-foreground))}.modal-backdrop{align-items:center;animation:fade-in .15s ease-out;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);background-color:hsl(var(--foreground)/.6);display:flex;inset:0;justify-content:center;padding:1rem;position:fixed;z-index:var(--z-modal)}.modal-content{animation:zoom-in-95 .15s ease-out;background-color:hsl(var(--card));border:1px solid hsl(var(--card-border));border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);color:hsl(var(--card-foreground));display:flex;flex-direction:column;max-height:calc(100vh - 2rem);max-width:28rem;position:relative}.modal-content--sm{max-width:24rem}.modal-content--md{max-width:28rem}.modal-content--lg{max-width:36rem}.modal-content--xl{max-width:48rem}.modal-content--2xl{max-width:64rem}.modal-content--full{height:calc(100vh - 2rem);max-height:calc(100vh - 2rem);max-width:calc(100vw - 2rem);width:calc(100vw - 2rem)}.modal-header{gap:1rem;padding:1.25rem 1.5rem .75rem}.modal-header__main{flex:1 1;min-width:0}.modal-title{color:hsl(var(--foreground));font-size:1.0625rem;font-weight:600;letter-spacing:-.01em;line-height:1.3;margin:0}.modal-description{color:hsl(var(--muted-foreground));font-size:.8125rem;line-height:1.5;margin-top:.25rem}.modal-close{background-color:initial;border:0;border-radius:var(--radius-md);display:inline-flex;height:1.75rem;transition:background-color var(--transition-fast),color var(--transition-fast);width:1.75rem}.modal-close:hover{background-color:hsl(var(--muted))}.modal-close svg{height:1rem;width:1rem}.modal-body{flex:1 1;overflow-y:auto;padding:1rem 1.5rem}.modal-footer{gap:.5rem;padding:.75rem 1.5rem 1.25rem}@media (max-width:640px){.modal-backdrop{align-items:flex-end;padding:0}.modal-content{border-radius:var(--radius-lg) var(--radius-lg) 0 0;max-height:92vh;max-width:100%}.modal-content--full{border-radius:0;height:100vh;width:100vw}}.status-badge--positive,.status-badge--success,.status-badge.processado{background-color:hsl(var(--positive)/.12);border-color:hsl(var(--positive)/.25);color:hsl(var(--positive))}.status-badge--pending,.status-badge--warning,.status-badge.aguardando{background-color:hsl(var(--warning)/.12);border-color:hsl(var(--warning)/.25);color:hsl(var(--warning))}.status-badge--error,.status-badge--negative,.status-badge.erro{background-color:hsl(var(--destructive)/.12);border-color:hsl(var(--destructive)/.25);color:hsl(var(--destructive))}.status-badge--info,.status-badge--processing,.status-badge.processando{background-color:hsl(var(--info)/.12);border-color:hsl(var(--info)/.25);color:hsl(var(--info))}.status-badge--neutral,.status-badge.neutral{background-color:hsl(var(--muted));border-color:hsl(var(--border));color:hsl(var(--muted-foreground))}.potential-container{display:inline-flex}.potential-container:hover{border-color:hsl(var(--border))}.potential-level{gap:.25rem}.potential-level--alto,.potential-level--high,.potential-level.alto{background-color:hsl(var(--positive)/.12);border-color:hsl(var(--positive)/.25);color:hsl(var(--positive))}.potential-level--medio,.potential-level--medium,.potential-level.medio,.potential-level.médio{background-color:hsl(var(--warning)/.12);border-color:hsl(var(--warning)/.25);color:hsl(var(--warning))}.potential-level--baixo,.potential-level--low,.potential-level.baixo{background-color:hsl(var(--destructive)/.12);border-color:hsl(var(--destructive)/.25);color:hsl(var(--destructive))}.potential-confidence{padding:.25rem .5rem}.form-field{display:flex;flex-direction:column;gap:.375rem}.form-label{color:hsl(var(--foreground));font-size:.8125rem;font-weight:500}.form-helper{color:hsl(var(--muted-foreground));font-size:.75rem}.form-error{color:hsl(var(--destructive));font-size:.75rem}.loading{gap:.75rem;padding:3rem 1rem}.spinner{animation:spin .8s linear infinite;height:1.5rem;width:1.5rem}.empty-state{padding:3rem 1.5rem}.empty-state__icon{color:hsl(var(--muted-foreground));height:2.5rem;margin-bottom:1rem;width:2.5rem}.empty-state__title{color:hsl(var(--foreground));font-size:1rem;font-weight:600;margin-bottom:.375rem}.empty-state__description{color:hsl(var(--muted-foreground));font-size:.875rem;max-width:32rem}.divider{border:0;border-top:1px solid hsl(var(--border));margin:1rem 0}.divider--vertical{align-self:center;border-left:1px solid hsl(var(--border));border-top:0;height:1.5rem;margin:0 .5rem}.kpi-grid{grid-gap:.75rem;display:grid;gap:.75rem;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));margin-bottom:2rem}.kpi-grid--2{grid-template-columns:repeat(2,1fr)}.kpi-grid--3{grid-template-columns:repeat(3,1fr)}.kpi-grid--4{grid-template-columns:repeat(4,1fr)}@media (max-width:768px){.kpi-grid,.kpi-grid--2,.kpi-grid--3,.kpi-grid--4{grid-template-columns:1fr 1fr}}@media (max-width:480px){.kpi-grid,.kpi-grid--2,.kpi-grid--3,.kpi-grid--4{grid-template-columns:1fr}}.multiselect{max-width:18rem;min-width:9.5rem;position:relative}.multiselect__trigger{align-items:center;background-color:hsl(var(--background));border:1px solid hsl(var(--input));border-radius:var(--radius-md);color:hsl(var(--foreground));cursor:pointer;display:inline-flex;font-size:.875rem;gap:.5rem;height:2.25rem;justify-content:space-between;padding:0 .75rem;text-align:left;transition:border-color var(--transition-fast);width:100%}.multiselect__trigger:hover{border-color:hsl(var(--ring)/.4)}.multiselect__trigger:focus-visible{border-color:hsl(var(--ring));box-shadow:0 0 0 2px hsl(var(--ring)/.25);outline:none}.multiselect__arrow{color:hsl(var(--muted-foreground));height:.875rem;transition:transform var(--transition-fast);width:.875rem}.multiselect--open .multiselect__arrow{transform:rotate(180deg)}.multiselect__dropdown{background-color:hsl(var(--popover));border:1px solid hsl(var(--popover-border));border-radius:var(--radius-md);box-shadow:var(--shadow-md);color:hsl(var(--popover-foreground));left:0;max-height:18rem;overflow-y:auto;padding:.25rem;position:absolute;right:0;top:calc(100% + 4px);z-index:100}.multiselect__option{align-items:center;border-radius:var(--radius-sm);cursor:pointer;display:flex;font-size:.875rem;gap:.5rem;padding:.5rem .625rem;transition:background-color var(--transition-fast)}.multiselect__option:hover{background-color:hsl(var(--accent));color:hsl(var(--accent-foreground))}.multiselect__option input[type=checkbox]{accent-color:hsl(var(--primary));cursor:pointer;height:1rem;width:1rem}*,:after,:before{box-sizing:border-box}html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;color-scheme:light dark;font-family:var(--font-sans)}#root,body,html{height:100%}body{font-feature-settings:"cv11","ss01";-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:hsl(var(--background));color:hsl(var(--foreground));font-family:var(--font-sans);font-size:.875rem;line-height:1.5;margin:0;transition:background-color var(--transition-base),color var(--transition-base)}code,kbd,pre,samp{font-family:var(--font-mono);font-size:.9em}canvas,img,svg,video{display:block;max-width:100%}button{color:inherit;font-family:inherit;font-size:inherit;line-height:inherit}a{color:hsl(var(--primary));text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:2px}::selection{background-color:hsl(var(--primary)/.2);color:hsl(var(--foreground))}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-track{background:#0000}::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:hsl(var(--muted-foreground)/.3);border:2px solid #0000;border-radius:999px}::-webkit-scrollbar-thumb:hover{background-clip:padding-box;background-color:hsl(var(--muted-foreground)/.5)}.clients-toolbar{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.75rem}.clients-toolbar .input-group{flex:1 1 240px;min-width:220px}.clients-toolbar select.input{width:auto}.clients-toolbar__spacer{flex:1 1}.clients-segments{display:flex;flex-wrap:wrap;gap:.375rem;margin-bottom:.75rem}.clients-segment{align-items:center;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:999px;color:hsl(var(--foreground));cursor:pointer;display:inline-flex;font-size:.78rem;font-weight:600;gap:.375rem;padding:.3rem .7rem;transition:background-color var(--transition-fast),border-color var(--transition-fast),color var(--transition-fast)}.clients-segment:hover{border-color:hsl(var(--ring))}.clients-segment--active{background:hsl(var(--primary));border-color:hsl(var(--primary));color:hsl(var(--primary-foreground))}.clients-segment__count{font-feature-settings:"tnum";font-size:.7rem;font-variant-numeric:tabular-nums;opacity:.7}.clients-segment-desc{border-left:2px solid hsl(var(--border));color:hsl(var(--muted-foreground));font-size:.78rem;line-height:1.4;margin:-.25rem 0 .75rem;padding-left:.5rem}.clients-segment-desc:before{content:"ℹ ";opacity:.7}.clients-table-wrap{overflow:auto}.clients-table{border-collapse:initial;border-spacing:0;font-size:.85rem;width:100%}.clients-table thead th{background:hsl(var(--muted));border-bottom:1px solid hsl(var(--border));color:hsl(var(--muted-foreground));font-size:.72rem;font-weight:700;letter-spacing:.02em;padding:.6rem .75rem;position:-webkit-sticky;position:sticky;text-align:left;text-transform:uppercase;top:0;-webkit-user-select:none;user-select:none;white-space:nowrap;z-index:1}.clients-table th.is-sortable{cursor:pointer}.clients-table th.is-sortable:hover{color:hsl(var(--foreground))}.clients-table th .sort-ind{margin-left:.2rem;opacity:.5}.clients-table td.num,.clients-table th.num{text-align:right}.clients-table tbody td{border-bottom:1px solid hsl(var(--border));padding:.6rem .75rem;vertical-align:middle}.clients-table tbody tr{cursor:pointer;transition:background-color var(--transition-fast)}.clients-table tbody tr:hover{background:hsl(var(--muted)/.5)}.clients-table tbody tr:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:-2px}.clients-table tbody tr.is-critical td:first-child{box-shadow:inset 3px 0 0 0 hsl(var(--destructive))}.num{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.muted{color:hsl(var(--muted-foreground))}.client-name{font-weight:600;line-height:1.2}.client-sub{color:hsl(var(--muted-foreground));font-size:.72rem;margin-top:1px}.next-action{color:hsl(var(--foreground));font-size:.78rem;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-chevron{color:hsl(var(--muted-foreground));font-size:1.1rem;line-height:1}.days-cell{align-items:flex-end;display:flex;flex-direction:column;gap:3px;min-width:84px}.days-cell__value{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-weight:600}.days-bar{background:hsl(var(--muted));border-radius:999px;height:4px;overflow:hidden;width:70px}.days-bar__fill{border-radius:999px;height:100%}.days-bar__fill--ok{background:hsl(var(--positive))}.days-bar__fill--late{background:hsl(var(--warning))}.days-bar__fill--critical{background:hsl(var(--destructive))}.pot-badge{align-items:center;border-radius:50%;display:inline-flex;font-size:.72rem;font-weight:700;height:1.4rem;justify-content:center;width:1.4rem}.pot-badge--A{background:hsl(var(--positive)/.15);color:hsl(var(--positive))}.pot-badge--B{background:hsl(var(--warning)/.15);color:hsl(var(--warning))}.pot-badge--C{background:hsl(var(--muted))}.clients-empty,.pot-badge--C{color:hsl(var(--muted-foreground))}.clients-empty{padding:3rem 1.5rem;text-align:center}.clients-empty__icon{font-size:2rem;margin-bottom:.5rem}.sk{animation:sk-shimmer 1.3s ease-in-out infinite;background:linear-gradient(90deg,hsl(var(--muted)) 25%,hsl(var(--muted)/.5) 37%,hsl(var(--muted)) 63%);background-size:400% 100%;border-radius:4px;display:inline-block;height:.8rem}@keyframes sk-shimmer{0%{background-position:100% 0}to{background-position:0 0}}.clients-legend{display:flex;flex-wrap:wrap;gap:2rem;margin-bottom:.75rem;padding:1rem}.clients-legend__col-title{font-size:.75rem;font-weight:700;margin-bottom:.5rem}.clients-legend__row{align-items:center;display:flex;font-size:.78rem;gap:.5rem;margin-bottom:.35rem}@media (prefers-reduced-motion:reduce){.sk{animation:none}}.orders-page{padding:.25rem}.orders-header{align-items:flex-start;display:flex;gap:1rem;justify-content:space-between;margin-bottom:1rem}.orders-title{font-size:1.25rem;font-weight:700;margin:0}.orders-subtitle{color:hsl(var(--muted-foreground));font-size:.8rem;margin:2px 0 0;max-width:60ch}.orders-toolbar{align-items:center;display:flex;gap:.5rem;margin-bottom:.75rem}.orders-toolbar .input{max-width:360px}.orders-board{align-items:flex-start;display:flex;gap:.75rem;overflow-x:auto;padding-bottom:.5rem}.orders-board.is-busy{opacity:.6;pointer-events:none}.orders-col{background:hsl(var(--muted)/.4);border:1px solid hsl(var(--border));border-radius:12px;display:flex;flex:0 0 268px;flex-direction:column;max-height:calc(100vh - 200px);width:268px}.orders-col--over{background:hsl(var(--muted)/.7);outline:2px dashed hsl(var(--ring));outline-offset:-2px}.orders-col__head{grid-gap:2px 6px;align-items:center;border-bottom:1px solid hsl(var(--border));border-left:3px solid #0000;border-top-left-radius:12px;display:grid;gap:2px 6px;grid-template-columns:1fr auto;padding:.6rem .75rem}.orders-col__label{font-size:.82rem;font-weight:700}.orders-col__count{font-feature-settings:"tnum";background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:999px;color:hsl(var(--muted-foreground));font-size:.72rem;font-variant-numeric:tabular-nums;font-weight:700;padding:0 .45rem}.orders-col__hint{color:hsl(var(--muted-foreground));font-size:.68rem;grid-column:1/-1;line-height:1.3}.orders-col__body{display:flex;flex-direction:column;gap:.5rem;overflow-y:auto;padding:.6rem}.orders-col__empty{color:hsl(var(--muted-foreground));font-size:.85rem;opacity:.6;padding:.75rem 0;text-align:center}.order-card{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:10px;box-shadow:0 1px 2px #0000000a;cursor:grab;padding:.6rem .7rem;transition:box-shadow var(--transition-fast),border-color var(--transition-fast)}.order-card:hover{border-color:hsl(var(--ring));box-shadow:0 2px 8px #00000014}.order-card:active{cursor:grabbing}.order-card--overdue{box-shadow:inset 3px 0 0 0 hsl(var(--destructive))}.order-card__name{background:none;border:none;color:hsl(var(--foreground));cursor:pointer;display:block;font-size:.85rem;font-weight:600;line-height:1.2;padding:0;text-align:left}.order-card__name:hover{color:hsl(var(--primary));text-decoration:underline}.order-card__value{font-feature-settings:"tnum";color:hsl(var(--muted-foreground));font-size:.78rem;font-variant-numeric:tabular-nums;margin-top:2px}.order-card__items{display:flex;flex-direction:column;gap:1px;list-style:none;margin:6px 0 0;padding:0}.order-card__items li{color:hsl(var(--muted-foreground));display:flex;font-size:.72rem;gap:4px;line-height:1.35;min-width:0}.order-card__items .oi-qty{font-feature-settings:"tnum";color:hsl(var(--foreground));flex:none;font-variant-numeric:tabular-nums;font-weight:700}.order-card__items .oi-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-card__items .oi-more{font-style:italic;opacity:.75}.order-card__meta{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}.order-chip{background:hsl(var(--muted));border-radius:999px;color:hsl(var(--muted-foreground));font-size:.68rem;padding:1px 7px;white-space:nowrap}.order-chip--info{background:hsl(var(--info)/.12);color:hsl(var(--info))}.order-chip--ok{background:hsl(var(--positive)/.12);color:hsl(var(--positive))}.order-chip--danger{background:hsl(var(--destructive)/.12);color:hsl(var(--destructive));font-weight:600}.order-card__cancel{background:hsl(var(--destructive)/.08);border-radius:6px;color:hsl(var(--destructive));font-size:.72rem;margin-top:6px;padding:4px 6px}.order-card__cancel-obs{color:hsl(var(--muted-foreground));margin-top:2px}.order-card__seller{color:hsl(var(--muted-foreground));font-size:.7rem;margin-top:6px}.orders-page .sk{animation:orders-sk 1.3s ease-in-out infinite;background:linear-gradient(90deg,hsl(var(--muted)) 25%,hsl(var(--muted)/.5) 37%,hsl(var(--muted)) 63%);background-size:400% 100%;display:inline-block}@keyframes orders-sk{0%{background-position:100% 0}to{background-position:0 0}}@media (prefers-reduced-motion:reduce){.orders-page .sk{animation:none}}.sellers-container{background-color:hsl(var(--muted)/.4);display:flex;flex-direction:column;height:calc(100vh - 80px);overflow:hidden;width:100%}.sellers-header{background-color:hsl(var(--card));border-bottom:1px solid hsl(var(--border));box-shadow:0 1px 3px 0 hsl(var(--foreground)/.1);padding:16px 24px}.sellers-header-content{align-items:center;display:flex;justify-content:space-between}.sellers-title{color:hsl(var(--foreground));font-size:24px;font-weight:700;margin:0}.sellers-subtitle{color:hsl(var(--muted-foreground));font-size:14px;margin:4px 0 0}.sellers-header-actions{align-items:center;display:flex;gap:12px}.sellers-export-button{background-color:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:6px;color:hsl(var(--foreground));cursor:pointer;font-size:14px;font-weight:600;padding:8px 14px;transition:all .2s ease}.sellers-export-button:hover:not(:disabled){background-color:hsl(var(--muted))}.sellers-export-button:disabled{cursor:not-allowed;opacity:.6}.sellers-new-button{background-color:hsl(var(--card));border:2px solid hsl(var(--info));border-radius:6px;color:hsl(var(--info));cursor:pointer;font-size:14px;font-weight:600;padding:8px 16px;transition:all .2s ease}.sellers-new-button:hover{background-color:hsl(var(--info));color:hsl(var(--primary-foreground))}.sellers-content{background-color:hsl(var(--card));flex:1 1;overflow-y:auto;padding:24px}.sellers-table-container{background:hsl(var(--card));border-radius:8px;box-shadow:0 1px 3px 0 hsl(var(--foreground)/.1);overflow-x:auto}.sellers-table{background-color:hsl(var(--card));border-collapse:collapse;width:100%}.sellers-table thead{background-color:hsl(var(--muted)/.5)}.sellers-table th{border-bottom:2px solid hsl(var(--border));font-weight:600;text-align:left;white-space:nowrap}.sellers-table td,.sellers-table th{color:hsl(var(--muted-foreground));font-size:14px;padding:12px 16px}.sellers-table td{border-bottom:1px solid hsl(var(--muted))}.sellers-table tbody tr:hover{background-color:hsl(var(--muted)/.5)}.sellers-table tbody tr:last-child td{border-bottom:none}.sellers-row-actions{align-items:center;display:flex;flex-direction:row;gap:8px;justify-content:flex-start}.sellers-action-button{align-items:center;border:none;border-radius:6px;cursor:pointer;display:flex;font-size:16px;height:36px;justify-content:center;min-width:36px;padding:6px 10px;transition:all .2s ease}.sellers-action-button:hover{box-shadow:0 2px 4px hsl(var(--foreground)/.1);transform:translateY(-1px)}.sellers-action-button.edit{color:hsl(var(--primary-foreground))}.sellers-action-button.edit,.sellers-action-button.edit:hover{background-color:hsl(var(--primary))}.sellers-action-button.delete{color:hsl(var(--primary-foreground))}.sellers-action-button.delete,.sellers-action-button.delete:hover{background-color:hsl(var(--destructive))}.sellers-error,.sellers-loading{align-items:center;display:flex;height:100%;justify-content:center;min-height:400px}.sellers-error-text,.sellers-loading-text{color:hsl(var(--muted-foreground));font-size:18px}.sellers-error-text{color:hsl(var(--destructive))}.sellers-empty{color:hsl(var(--muted-foreground));font-style:italic;padding:48px 24px;text-align:center}.sellers-modal-overlay{align-items:center;background:hsl(var(--foreground)/.35);display:flex;inset:0;justify-content:center;position:fixed;z-index:1000}.sellers-modal{background:hsl(var(--card));border-radius:8px;box-shadow:0 10px 30px hsl(var(--foreground)/.15);max-height:calc(100vh - 64px);max-width:calc(100vw - 32px);overflow-y:auto;padding:24px;width:720px}.sellers-modal-title{color:hsl(var(--foreground));font-size:20px;font-weight:600;margin:0 0 16px}.sellers-form-grid{grid-gap:16px 20px;display:grid;gap:16px 20px;grid-template-columns:repeat(2,minmax(0,1fr))}.sellers-form-field{display:flex;flex-direction:column;gap:6px}.sellers-form-field label{color:hsl(var(--muted-foreground));font-size:13px;font-weight:600}.sellers-form-field input{border:1px solid hsl(var(--border));border-radius:6px;font-size:14px;padding:10px 12px;transition:border-color .2s ease,box-shadow .2s ease}.sellers-form-field input:focus{border-color:hsl(var(--info));box-shadow:0 0 0 3px #3b82f61a;outline:none}.sellers-form-field.full-width{grid-column:1/-1}.sellers-form-error{color:hsl(var(--destructive));font-size:12px;margin-top:2px}.sellers-modal-actions{border-top:1px solid hsl(var(--border));display:flex;gap:12px;justify-content:flex-end;margin-top:24px;padding-top:20px}.sellers-cancel-button,.sellers-save-button{border:1px solid;border-radius:6px;cursor:pointer;font-size:14px;font-weight:600;padding:10px 24px;transition:all .2s ease}.sellers-cancel-button{background-color:hsl(var(--card));border-color:hsl(var(--border));color:hsl(var(--muted-foreground))}.sellers-cancel-button:hover:not(:disabled){background-color:hsl(var(--muted)/.4);border-color:hsl(var(--muted-foreground)/.85);color:hsl(var(--muted-foreground))}.sellers-save-button{color:hsl(var(--primary-foreground))}.sellers-save-button,.sellers-save-button:hover:not(:disabled){background-color:hsl(var(--info));border-color:hsl(var(--info))}.sellers-cancel-button:disabled,.sellers-save-button:disabled{cursor:not-allowed;opacity:.6}.sellers-pagination{align-items:center;border-top:1px solid hsl(var(--border)/.7);display:flex;gap:.5rem;justify-content:center;margin-top:1.5rem;padding-top:1.5rem}.sellers-pagination-button{background-color:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:4px;cursor:pointer;font-size:.9rem;padding:.5rem 1rem;transition:all .2s ease}.sellers-pagination-button:hover:not(:disabled){background-color:hsl(var(--muted)/.4);border-color:hsl(var(--muted-foreground)/.85)}.sellers-pagination-button:disabled{background-color:hsl(var(--muted));cursor:not-allowed;opacity:.6}.sellers-pagination-info{color:hsl(var(--muted-foreground));font-size:.9rem}.auth-container{align-items:center;background:linear-gradient(135deg,hsl(var(--primary)/.7) 0,hsl(var(--primary)) 100%);display:flex;justify-content:center;min-height:100vh;overflow:hidden;padding:2rem 1rem;position:relative}.auth-container:before{background:radial-gradient(circle at 20% 50%,hsl(var(--card)/.1) 0,#0000 50%),radial-gradient(circle at 80% 80%,hsl(var(--card)/.1) 0,#0000 50%);bottom:0;content:"";left:0;pointer-events:none;position:absolute;right:0;top:0}.auth-wrapper{animation:slideUp .6s ease-out;background:hsl(var(--card));border-radius:24px;box-shadow:0 20px 60px hsl(var(--foreground)/.3);display:grid;grid-template-columns:1fr 1fr;max-width:1200px;overflow:hidden;width:100%}.auth-branding{align-items:center;background:linear-gradient(135deg,hsl(var(--primary)/.7) 0,hsl(var(--primary)) 100%);color:hsl(var(--primary-foreground));display:flex;justify-content:center;overflow:hidden;padding:4rem 3rem;position:relative}.auth-branding:before{animation:pulse 15s ease-in-out infinite;background:radial-gradient(circle,hsl(var(--card)/.1) 0,#0000 70%);content:"";height:200%;position:absolute;right:-50%;top:-50%;width:200%}@keyframes pulse{0%,to{opacity:.5;transform:scale(1)}50%{opacity:.8;transform:scale(1.1)}}.branding-content{max-width:400px;position:relative;z-index:1}.logo-container{align-items:center;display:flex;gap:1rem;margin-bottom:2rem}.logo-icon{animation:bounce 2s ease-in-out infinite;font-size:3rem}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.brand-title{font-size:2.5rem;font-weight:800;letter-spacing:-.02em;margin:0}.brand-subtitle{font-size:1.75rem;font-weight:700;line-height:1.2;margin:0 0 1rem}.brand-description{font-size:1.1rem;line-height:1.6;margin-bottom:2.5rem;opacity:.95}.features-list{display:flex;flex-direction:column;gap:1rem}.feature-item{font-size:1rem;gap:.75rem}.feature-icon,.feature-item{align-items:center;display:flex}.feature-icon{background:hsl(var(--card)/.2);border-radius:50%;flex-shrink:0;font-weight:700;height:24px;justify-content:center;width:24px}.auth-form-section{align-items:center;display:flex;justify-content:center;padding:3rem}.auth-form-container{max-width:420px;width:100%}.auth-header{margin-bottom:2rem;text-align:center}.form-title{color:hsl(var(--foreground));font-size:2rem;font-weight:700;margin:0 0 .5rem}.form-subtitle{color:hsl(var(--muted-foreground));font-size:1rem;margin:0}.alert-error{align-items:center;animation:shake .5s;background:hsl(var(--destructive)/.05);border:1px solid hsl(var(--destructive)/.3);border-radius:12px;display:flex;font-size:.875rem;gap:.75rem;margin-bottom:1.5rem;padding:1rem}.alert-icon{flex-shrink:0;height:20px;width:20px}.auth-form{gap:1.5rem}.auth-form,.form-group{display:flex;flex-direction:column}.form-label{color:hsl(var(--muted-foreground));font-size:.875rem;font-weight:600}.input-wrapper{align-items:center;display:flex;position:relative}.input-icon{color:hsl(var(--muted-foreground)/.85);height:20px;pointer-events:none;position:absolute;right:.85rem;width:20px;z-index:1}.form-input{background:hsl(var(--card));border:2px solid hsl(var(--border));border-radius:12px;font-size:1rem;padding:.875rem 1rem .875rem 3.2rem;transition:all .2s}.form-input:focus{border-color:hsl(var(--primary)/.7);box-shadow:0 0 0 3px #667eea1a}.form-input::placeholder,.password-toggle{color:hsl(var(--muted-foreground)/.85)}.password-toggle{align-items:center;background:none;border:none;cursor:pointer;display:flex;justify-content:center;padding:.5rem;position:absolute;right:.3rem;transition:color .2s}.password-toggle:hover{color:hsl(var(--primary)/.7)}.password-toggle svg{height:20px;width:20px}.password-hint{color:hsl(var(--muted-foreground));font-size:.75rem;margin:0}.submit-button{align-items:center;background:linear-gradient(135deg,hsl(var(--primary)/.7) 0,hsl(var(--primary)) 100%);border:none;border-radius:12px;box-shadow:0 4px 12px #667eea66;color:hsl(var(--primary-foreground));cursor:pointer;display:flex;font-size:1rem;font-weight:600;gap:.5rem;justify-content:center;margin-top:.5rem;padding:1rem;transition:all .3s;width:100%}.submit-button:hover:not(:disabled){box-shadow:0 6px 20px #667eea80;transform:translateY(-2px)}.submit-button:active:not(:disabled){transform:translateY(0)}.submit-button:disabled{cursor:not-allowed;opacity:.7}.spinner{height:20px;width:20px}.spinner-circle{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-dasharray:1,200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite}@keyframes dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}.auth-divider{align-items:center;display:flex;margin:1rem 0;text-align:center}.auth-divider:after,.auth-divider:before{border-bottom:1px solid hsl(var(--border));content:"";flex:1 1}.auth-divider span{color:hsl(var(--muted-foreground)/.85);font-size:.875rem;padding:0 1rem}.toggle-mode-button{background:hsl(var(--card));border:2px solid hsl(var(--border));border-radius:12px;color:hsl(var(--muted-foreground));cursor:pointer;font-size:.9375rem;padding:.875rem;transition:all .2s;width:100%}.toggle-mode-button:hover{background:hsl(var(--muted)/.4);border-color:hsl(var(--primary)/.7);color:hsl(var(--primary)/.7)}.toggle-mode-button strong{color:hsl(var(--primary)/.7);font-weight:600}@media (max-width:968px){.auth-wrapper{grid-template-columns:1fr}.auth-branding{min-height:300px;padding:3rem 2rem}.branding-content{text-align:center}.logo-container{justify-content:center}.auth-form-section{padding:2rem 1.5rem}}@media (max-width:640px){.auth-container{padding:1rem}.auth-wrapper{border-radius:16px}.auth-branding{padding:2rem 1.5rem}.brand-title{font-size:2rem}.brand-subtitle{font-size:1.5rem}.form-title{font-size:1.75rem}.auth-form-section{padding:1.5rem 1rem}}.pending-activation-container{align-items:center;background:linear-gradient(135deg,hsl(var(--primary)/.7) 0,hsl(var(--primary)) 100%);display:flex;justify-content:center;min-height:100vh;padding:2rem}.pending-activation-content{background:hsl(var(--card));border-radius:1rem;box-shadow:0 20px 25px -5px hsl(var(--foreground)/.1),0 10px 10px -5px hsl(var(--foreground)/.04);max-width:500px;padding:3rem;text-align:center;width:100%}.pending-activation-icon{color:hsl(var(--warning));height:80px;margin:0 auto 1.5rem;width:80px}.pending-activation-icon svg{height:100%;width:100%}.pending-activation-title{color:hsl(var(--foreground));font-size:1.875rem;font-weight:700;margin-bottom:1rem}.pending-activation-message{color:hsl(var(--muted-foreground));font-size:1.125rem;margin-bottom:1rem}.pending-activation-description{color:hsl(var(--muted-foreground));font-size:1rem;line-height:1.6;margin-bottom:2rem}.pending-activation-info{background:hsl(var(--muted));border-radius:.5rem;margin-bottom:2rem;padding:1.5rem;text-align:left}.pending-activation-info p{color:hsl(var(--muted-foreground));font-size:.875rem;margin:.5rem 0}.pending-activation-info strong{color:hsl(var(--foreground));font-weight:600}.pending-activation-logout{border:none;border-radius:.5rem;color:hsl(var(--primary-foreground));cursor:pointer;font-size:1rem;font-weight:600;padding:.75rem 2rem;transition:background-color .2s}.pending-activation-logout,.pending-activation-logout:hover{background:hsl(var(--destructive))}.pending-activation-logout:active{transform:scale(.98)}.user-management-container{margin:0 auto;max-width:1400px;padding:2rem}.user-management-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:2rem}.header-actions{align-items:center;gap:1rem}.user-management-header h1{color:hsl(var(--foreground));font-size:2rem;font-weight:700}.refresh-button{border-radius:.5rem;font-size:1rem;font-weight:600;transition:background-color .2s}.refresh-button:hover{background:hsl(var(--info))}.error-message{border-radius:.5rem;color:hsl(var(--destructive));margin-bottom:1.5rem}.users-table-container{background:hsl(var(--card));border-radius:.5rem;box-shadow:0 1px 3px 0 hsl(var(--foreground)/.1);overflow-x:auto}.users-table{border-collapse:collapse;width:100%}.users-table thead{background:hsl(var(--muted)/.4)}.users-table th{border-bottom:2px solid hsl(var(--border));font-weight:600;text-align:left}.users-table td,.users-table th{color:hsl(var(--muted-foreground));padding:1rem}.users-table td{border-bottom:1px solid hsl(var(--border))}.users-table tbody tr:hover{background:hsl(var(--muted)/.4)}.status-badge{border-radius:9999px;display:inline-block;font-size:.875rem;padding:.25rem .75rem}.status-badge.active{background:hsl(var(--positive)/.15);color:hsl(var(--positive))}.status-badge.inactive{background:hsl(var(--destructive)/.12);color:hsl(var(--destructive)/.9)}.admin-badge{background:hsl(var(--info)/.15);border-radius:9999px;color:hsl(var(--info)/.9);display:inline-block;font-size:.875rem;font-weight:600;padding:.25rem .75rem}.modules-list{display:flex;flex-wrap:wrap;gap:.5rem}.module-badge{background:hsl(var(--primary)/.15);border-radius:.25rem;color:hsl(var(--primary));display:inline-block;font-size:.875rem;padding:.25rem .75rem}.no-modules{color:hsl(var(--muted-foreground)/.85);font-style:italic}.modules-edit{display:flex;flex-direction:column;gap:.5rem}.module-checkbox{align-items:center;cursor:pointer;display:flex;gap:.5rem}.module-checkbox input[type=checkbox]{cursor:pointer}.action-buttons{gap:.5rem}.action-buttons.column{align-items:flex-start;flex-direction:column;gap:.75rem}.action-buttons-main{display:flex;flex-wrap:wrap;justify-content:space-around;width:100%}.action-buttons-secondary{align-items:center;display:flex;flex-direction:column;gap:.5rem;justify-content:center;width:100%}.action-buttons button{border:none;border-radius:.375rem;cursor:pointer;font-size:.875rem;font-weight:600;padding:.5rem 1rem;transition:all .2s}.activate-button{background:hsl(var(--muted)/.5);border:1px solid hsl(var(--border));border-radius:9999px;color:hsl(var(--foreground));padding-inline:1.25rem}.activate-button.deactivate{background:hsl(var(--destructive)/.05);border-color:hsl(var(--destructive)/.3);color:hsl(var(--destructive)/.9)}.activate-button:disabled{cursor:not-allowed;opacity:.5}.edit-button{background:hsl(var(--muted)/.5);border:1px solid hsl(var(--border));border-radius:9999px;color:hsl(var(--info)/.9);padding-inline:1.25rem}.edit-button:hover{background:hsl(var(--border))}.save-button{border:none;border-radius:.5rem;color:hsl(var(--primary-foreground));cursor:pointer;font-size:1rem;font-weight:600;padding:.5rem 1rem;transition:background-color .2s}.save-button,.save-button:hover{background:hsl(var(--positive))}.cancel-button{border:none;border-radius:.5rem;color:hsl(var(--primary-foreground));cursor:pointer;font-size:1rem;font-weight:600;padding:.5rem 1rem;transition:background-color .2s}.cancel-button,.cancel-button:hover{background:hsl(var(--muted-foreground))}.edit-input{border:1px solid hsl(var(--border));border-radius:.375rem;max-width:200px}.edit-input:focus{border-color:hsl(var(--info));box-shadow:0 0 0 3px #3b82f61a}.loading{text-align:center}.link-seller-form{display:flex;flex-direction:column;gap:.5rem;min-width:250px}.seller-select-input{border:1px solid hsl(var(--border));border-radius:.375rem;font-size:.875rem;padding:.5rem;width:100%}.seller-select-input:focus{border-color:hsl(var(--info));box-shadow:0 0 0 3px #3b82f61a;outline:none}.link-button{border:none;border-radius:.375rem;color:hsl(var(--primary-foreground));cursor:pointer;font-size:.875rem;font-weight:600;padding:.5rem 1rem;transition:background-color .2s}.link-button,.link-button:hover:not(:disabled){background:hsl(var(--positive))}.link-button:disabled{cursor:not-allowed;opacity:.5}.link-seller-button{border:none;border-radius:9999px;color:hsl(var(--primary-foreground));cursor:pointer;font-size:.875rem;font-weight:600;padding:.5rem 1rem;transition:background-color .2s;width:100%}.link-seller-button,.link-seller-button:hover{background:hsl(var(--primary))}.seller-linked{align-items:flex-start;display:flex;flex-direction:column;gap:.35rem}.seller-linked.compact{gap:.25rem}.seller-chip{align-items:center;background:hsl(var(--info)/.12);border:none;border-radius:9999px;color:hsl(var(--info)/.9);cursor:pointer;display:inline-flex;font-size:.75rem;font-weight:500;gap:.4rem;padding:.35rem .7rem;transition:background-color .2s,transform .1s}.seller-chip:hover{background:hsl(var(--info)/.2);transform:translateY(-1px)}.seller-chip-label{color:hsl(var(--info));font-size:.7rem;letter-spacing:.03em;text-transform:uppercase}.seller-chip-name{font-weight:600}.seller-unlink-link{background:#0000;border:none;color:hsl(var(--destructive));cursor:pointer;font-size:.75rem;padding:0;text-decoration:underline;text-underline-offset:2px;width:100%}.seller-unlink-link:hover{color:hsl(var(--destructive)/.9)}.create-button{border:none;border-radius:.5rem;color:hsl(var(--primary-foreground));cursor:pointer;font-size:1rem;font-weight:600;padding:.75rem 1.5rem;transition:background-color .2s}.create-button,.create-button:hover{background:hsl(var(--positive))}.modal-overlay{animation:fadeIn .2s ease-out;background:hsl(var(--foreground)/.6);padding:1rem}.modal-content{animation:slideUp .3s ease-out;border-radius:.75rem;box-shadow:0 25px 50px -12px hsl(var(--foreground)/.25);max-width:800px}.modal-header{align-items:flex-start;background:linear-gradient(to bottom,hsl(var(--muted)/.4),hsl(var(--card)));padding:2rem 2rem 1.5rem}.modal-header-content{flex:1 1}.modal-header h2{color:hsl(var(--foreground));font-size:1.75rem;font-weight:700;line-height:1.2;margin:0 0 .5rem}.modal-subtitle{color:hsl(var(--muted-foreground));font-size:.875rem;line-height:1.5;margin:0}.modal-close{align-items:center;background:hsl(var(--muted));border-radius:.5rem;display:flex;flex-shrink:0;font-size:1.5rem;height:36px;justify-content:center;margin-left:1rem;padding:0;transition:all .2s;width:36px}.modal-close:hover{background:hsl(var(--border));transform:scale(1.05)}.modal-body{padding:2rem}.error-message-modal{align-items:center;animation:shake .3s;background:hsl(var(--destructive)/.05);border:1px solid hsl(var(--destructive)/.3);border-radius:.5rem;color:hsl(var(--destructive));display:flex;font-size:.875rem;gap:.75rem;margin-bottom:1.5rem;padding:1rem 1.25rem}@keyframes shake{0%,to{transform:translateX(0)}25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}.error-icon{flex-shrink:0;font-size:1.25rem}.form-section{border-bottom:1px solid hsl(var(--muted));margin-bottom:2rem;padding-bottom:2rem}.form-section:last-of-type{border-bottom:none;margin-bottom:0;padding-bottom:0}.form-section-title{align-items:center;color:hsl(var(--foreground));display:flex;font-size:1rem;font-weight:600;gap:.5rem;margin:0 0 1.25rem}.form-section-title:before{background:hsl(var(--info));border-radius:2px;content:"";height:16px;width:4px}.form-row{flex-direction:column;margin-bottom:10px}.form-group:last-child{margin-bottom:0}.form-group label{font-size:.875rem;line-height:1.5;margin-bottom:.5rem}.required{color:hsl(var(--destructive));font-weight:600}.section-label{color:hsl(var(--muted-foreground));display:block;font-size:.875rem;font-weight:500;margin-bottom:1rem}.form-group input[type=email],.form-group input[type=password],.form-group input[type=text]{background:hsl(var(--card));border:2px solid hsl(var(--border));border-radius:.5rem;color:hsl(var(--foreground));font-size:.9375rem;padding:.75rem 1rem;transition:all .2s;width:95%}.form-group input[type=email]:hover,.form-group input[type=password]:hover,.form-group input[type=text]:hover{border-color:hsl(var(--border))}.form-group input[type=email]:focus,.form-group input[type=password]:focus,.form-group input[type=text]:focus{border-color:hsl(var(--info));box-shadow:0 0 0 3px #3b82f61a;outline:none}.form-group input.has-value{border-color:hsl(var(--positive))}.field-hint{color:hsl(var(--muted-foreground));display:block;font-size:.75rem;margin-top:.5rem}.field-hint.error{color:hsl(var(--destructive))}.field-hint.success{color:hsl(var(--positive));font-weight:500}.modules-grid{grid-gap:.75rem;display:grid;gap:.75rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.module-checkbox-card{align-items:center;background:hsl(var(--card));border:2px solid hsl(var(--border));border-radius:.5rem;cursor:pointer;display:flex;gap:.75rem;padding:1rem;position:relative;transition:all .2s}.module-checkbox-card:hover{background:hsl(var(--muted)/.5);border-color:hsl(var(--info))}.module-checkbox-card input[type=checkbox]{cursor:pointer;flex-shrink:0;height:20px;margin:0;width:20px}.module-checkbox-card input[type=checkbox]:checked+.checkbox-card-content{color:hsl(var(--foreground))}.checkbox-card-content{display:flex;flex:1 1;flex-direction:column;gap:.25rem}.checkbox-card-label{color:hsl(var(--foreground));font-size:.875rem;font-weight:500}.checkbox-card-description{color:hsl(var(--muted-foreground));font-size:.75rem;line-height:1.4}.checkbox-indicator{align-items:center;display:flex;flex-shrink:0;font-size:1rem;font-weight:600;height:24px;justify-content:center;width:24px}.checkbox-indicator,.module-checkbox-card input[type=checkbox]:checked~.checkbox-indicator{color:hsl(var(--positive))}.module-checkbox-card input[type=checkbox]:checked{accent-color:hsl(var(--positive))}.module-checkbox-card:has(input[type=checkbox]:checked){background:hsl(var(--positive)/.05);border-color:hsl(var(--positive))}.permissions-row{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:1fr 1fr;margin-top:1rem}.permission-card{align-items:center;background:hsl(var(--card));border:2px solid hsl(var(--border));border-radius:.5rem;cursor:pointer;display:flex;gap:.75rem;padding:1.25rem;position:relative;transition:all .2s}.permission-card:hover{background:hsl(var(--muted)/.5);border-color:hsl(var(--info))}.permission-card.admin-card:has(input[type=checkbox]:checked){background:hsl(var(--accent)/.3);border-color:hsl(var(--primary))}.permission-card input[type=checkbox]{cursor:pointer;flex-shrink:0;height:20px;margin:0;width:20px}.permission-card-content{display:flex;flex:1 1;flex-direction:column;gap:.25rem}.permission-title{color:hsl(var(--foreground));font-size:.875rem;font-weight:600}.permission-description{color:hsl(var(--muted-foreground));font-size:.75rem;line-height:1.4}.permission-indicator{align-items:center;color:hsl(var(--positive));display:flex;flex-shrink:0;font-size:1rem;font-weight:600;height:24px;justify-content:center;width:24px}.permission-card.admin-card .permission-indicator{color:hsl(var(--primary))}.permission-card input[type=checkbox]:checked{accent-color:hsl(var(--positive))}.permission-card.admin-card input[type=checkbox]:checked{accent-color:hsl(var(--primary))}.modal-footer{background:hsl(var(--muted)/.4);border-radius:0 0 .75rem .75rem;gap:1rem;justify-content:space-between;padding:1.5rem 2rem}.modal-footer .save-button{min-width:140px}.modal-footer .save-button:disabled{cursor:not-allowed;opacity:.5}.modal-footer .save-button:disabled,.modal-footer .save-button:disabled:hover{background:hsl(var(--muted-foreground)/.85)}@media (max-width:768px){.action-buttons{flex-direction:column}.link-seller-form{min-width:100%}.header-actions{flex-direction:column;width:100%}.create-button,.refresh-button{width:100%}.modal-content{border-radius:.75rem .75rem 0 0;margin:0;max-height:95vh;max-width:100%}.modal-header{padding:1.5rem}.modal-header h2{font-size:1.5rem}.modal-body{padding:1.5rem}.form-row,.modules-grid,.permissions-row{grid-template-columns:1fr}.modal-footer{flex-direction:column-reverse;padding:1.25rem 1.5rem}.modal-footer button{width:100%}}.logistic-module-container{background-color:hsl(var(--muted)/.4);display:flex;flex-direction:column;height:calc(100vh - 80px);overflow:hidden;width:100%}.logistic-header{background-color:hsl(var(--card));border-bottom:1px solid hsl(var(--border));box-shadow:0 1px 3px 0 hsl(var(--foreground)/.1);padding:16px 24px;z-index:10}.logistic-header-content{align-items:center;display:flex;justify-content:space-between}.logistic-title{align-items:center;color:hsl(var(--foreground));display:flex;font-size:24px;font-weight:700;gap:12px;margin:0}.logistic-subtitle{color:hsl(var(--muted-foreground));font-size:14px;margin:4px 0 0}.logistic-header-actions{align-items:center;display:flex;gap:12px}.logistic-filter-button{align-items:center;background-color:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:6px;color:hsl(var(--foreground));cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:8px;padding:8px 14px;position:relative;transition:all .2s ease}.logistic-filter-button:hover{background-color:hsl(var(--muted))}.logistic-filter-button.active{background-color:hsl(var(--info)/.08);border-color:hsl(var(--info));color:hsl(var(--info))}.filter-badge{background-color:hsl(var(--info));border-radius:10px;color:hsl(var(--primary-foreground));font-size:11px;font-weight:700;min-width:18px;padding:2px 6px;text-align:center}.view-mode-toggle{border:1px solid hsl(var(--border));border-radius:6px;overflow:hidden}.view-mode-button,.view-mode-toggle{background-color:hsl(var(--card));display:flex}.view-mode-button{align-items:center;border:none;color:hsl(var(--muted-foreground));cursor:pointer;justify-content:center;padding:8px 12px;transition:all .2s ease}.view-mode-button:hover{background-color:hsl(var(--muted))}.view-mode-button.active{background-color:hsl(var(--info));color:hsl(var(--primary-foreground))}.view-mode-button:not(:last-child){border-right:1px solid hsl(var(--border))}.sort-direction-button{background-color:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:6px;color:hsl(var(--foreground));cursor:pointer;font-size:14px;font-weight:600;padding:8px 14px;transition:all .2s ease}.sort-direction-button:hover{background-color:hsl(var(--muted))}.logistic-filters{animation:slideDown .2s ease;background-color:hsl(var(--card));border-bottom:1px solid hsl(var(--border));padding:20px 24px}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.logistic-filters-grid{grid-gap:16px 20px;display:grid;gap:16px 20px;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:16px}.logistic-filter-field{display:flex;flex-direction:column;gap:6px}.logistic-filter-field label{color:hsl(var(--muted-foreground));font-size:13px;font-weight:600}.logistic-filter-field input,.logistic-filter-field select{background-color:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:6px;color:hsl(var(--foreground));font-size:14px;padding:10px 12px;transition:border-color .2s ease}.logistic-filter-field input:focus,.logistic-filter-field select:focus{border-color:hsl(var(--info));box-shadow:0 0 0 3px #3b82f61a;outline:none}.logistic-filters-actions{align-items:center;display:flex;gap:12px}.logistic-button-primary{border:none;border-radius:6px;color:hsl(var(--primary-foreground));cursor:pointer;font-size:14px;font-weight:600;padding:10px 20px;transition:all .2s ease}.logistic-button-primary,.logistic-button-primary:hover{background-color:hsl(var(--info))}.logistic-button-secondary{align-items:center;background-color:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:6px;color:hsl(var(--foreground));cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:6px;padding:10px 20px;transition:all .2s ease}.logistic-button-secondary:hover{background-color:hsl(var(--muted))}.logistic-content{flex:1 1;overflow-y:auto;padding:24px}.logistic-loading{align-items:center;color:hsl(var(--muted-foreground));display:flex;flex-direction:column;justify-content:center;padding:60px 20px}.spinner{color:hsl(var(--info));margin-bottom:12px}.spinner-small{animation:spin 1s linear infinite}.logistic-empty{align-items:center;color:hsl(var(--muted-foreground));display:flex;flex-direction:column;justify-content:center;padding:60px 20px;text-align:center}.logistic-empty h3{color:hsl(var(--foreground));font-size:18px;margin:16px 0 8px}.logistic-empty p{color:hsl(var(--muted-foreground));font-size:14px}.logistic-table-container{background-color:hsl(var(--card));border-radius:8px;box-shadow:0 1px 3px 0 hsl(var(--foreground)/.1);overflow:hidden}.logistic-table{border-collapse:collapse;width:100%}.logistic-table thead{background-color:hsl(var(--muted)/.4);border-bottom:2px solid hsl(var(--border))}.logistic-table th{color:hsl(var(--muted-foreground));font-size:12px;font-weight:600;letter-spacing:.5px;padding:12px 16px;text-align:left;text-transform:uppercase}.logistic-table tbody tr{border-bottom:1px solid hsl(var(--border));transition:background-color .15s ease}.logistic-table tbody tr:hover{background-color:hsl(var(--muted)/.4)}.logistic-table td{color:hsl(var(--foreground));font-size:14px;padding:16px}.sale-id{color:hsl(var(--muted-foreground));font-family:Monaco,Courier New,monospace;font-size:12px}.sale-client{display:flex;flex-direction:column;gap:4px}.sale-client strong{color:hsl(var(--foreground));font-weight:600}.sale-cnpj{color:hsl(var(--muted-foreground));font-family:Monaco,Courier New,monospace;font-size:12px}.sale-location{color:hsl(var(--muted-foreground)/.85);font-size:12px}.delivery-status-badge{border-radius:12px;display:inline-block;font-size:12px;font-weight:600;letter-spacing:.5px;padding:4px 12px;text-transform:uppercase}.sale-value{color:hsl(var(--positive));font-weight:600}.sale-actions{align-items:center;display:flex;gap:8px}.action-button{background-color:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:6px;color:hsl(var(--muted-foreground));display:flex;height:32px;min-width:32px;padding:6px 10px;transition:all .2s ease}.action-button:hover:not(:disabled){background-color:hsl(var(--muted));border-color:hsl(var(--muted-foreground)/.85)}.action-button:disabled{cursor:not-allowed;opacity:.5}.action-button.advance{border-color:hsl(var(--info));color:hsl(var(--info))}.action-button.advance:hover:not(:disabled){background-color:hsl(var(--info)/.08)}.action-button.back{color:hsl(var(--muted-foreground))}.action-button.back:hover:not(:disabled){background-color:hsl(var(--muted))}.action-button.cancel{border-color:hsl(var(--destructive));color:hsl(var(--destructive))}.action-button.cancel:hover:not(:disabled){background-color:hsl(var(--destructive)/.12)}.no-actions-text{color:hsl(var(--muted-foreground)/.85);font-size:12px;font-style:italic;padding:6px 10px}.logistic-kanban{display:flex;gap:16px;height:100%;overflow-x:auto;padding-bottom:16px}.kanban-column{background-color:hsl(var(--muted)/.4);border-radius:8px;display:flex;flex:1 1;flex-direction:column;height:100%;min-width:300px}.kanban-column-header{align-items:center;background-color:hsl(var(--card));border-radius:8px 8px 0 0;border-top:4px solid;box-shadow:0 1px 2px 0 hsl(var(--foreground)/.05);display:flex;justify-content:space-between;padding:16px}.kanban-column-header h3{color:hsl(var(--foreground));font-size:14px;font-weight:600;letter-spacing:.5px;margin:0;text-transform:uppercase}.kanban-count{background-color:hsl(var(--border));border-radius:12px;color:hsl(var(--muted-foreground));font-size:12px;font-weight:600;padding:4px 10px}.kanban-column-content{flex:1 1;overflow-y:auto}.kanban-card,.kanban-column-content{display:flex;flex-direction:column;gap:12px;padding:16px}.kanban-card{background-color:hsl(var(--card));border-radius:8px;box-shadow:0 1px 3px 0 hsl(var(--foreground)/.1);cursor:grab;touch-action:none;transition:box-shadow .2s ease}.kanban-card:active{cursor:grabbing}.kanban-card:hover{box-shadow:0 4px 6px -1px hsl(var(--foreground)/.1)}.kanban-card-dragging{opacity:.5;transform:rotate(2deg)}.kanban-card-drag-overlay{box-shadow:0 10px 20px hsl(var(--foreground)/.2);cursor:grabbing;transform:rotate(5deg)}.kanban-drop-zone{min-height:100px}.kanban-column-content.kanban-drop-zone[data-status]:empty:before{border:2px dashed hsl(var(--border));border-radius:8px;color:hsl(var(--muted-foreground)/.85);content:"Solte aqui";display:block;font-size:12px;font-style:italic;margin:8px;padding:20px;text-align:center}.kanban-card-header{align-items:center;border-bottom:1px solid hsl(var(--border));display:flex;justify-content:space-between;padding-bottom:12px}.kanban-card-id{color:hsl(var(--muted-foreground));font-family:Monaco,Courier New,monospace;font-size:11px;font-weight:600}.kanban-card-status{border-radius:12px;font-size:10px;font-weight:600;letter-spacing:.5px;padding:4px 10px;text-transform:uppercase}.kanban-card-body{display:flex;flex-direction:column;gap:12px}.kanban-card-client{display:flex;flex-direction:column;gap:4px}.kanban-card-client strong{color:hsl(var(--foreground));font-size:14px;font-weight:600}.kanban-card-cnpj{color:hsl(var(--muted-foreground));font-family:Monaco,Courier New,monospace;font-size:11px}.kanban-card-info{display:flex;flex-direction:column;gap:8px}.kanban-card-info-item{align-items:center;display:flex;font-size:12px;justify-content:space-between}.kanban-card-info-item .label{color:hsl(var(--muted-foreground));font-weight:500}.kanban-card-info-item .value{color:hsl(var(--positive));font-weight:600}.kanban-card-actions{border-top:1px solid hsl(var(--border));display:flex;flex-wrap:wrap;gap:6px;padding-top:12px}.kanban-action-button{align-items:center;background-color:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:6px;color:hsl(var(--muted-foreground));cursor:pointer;display:flex;flex:1 1 auto;font-size:11px;font-weight:600;gap:4px;justify-content:center;min-width:0;overflow:hidden;padding:7px 8px;transition:all .2s ease;white-space:nowrap}.kanban-action-button svg{flex-shrink:0}.kanban-button-text{min-width:0;overflow:hidden;text-overflow:ellipsis}.kanban-action-button.cancel-icon-only .kanban-button-text{display:none}.kanban-action-button.cancel-icon-only{flex:0 0 auto;max-width:36px;min-width:36px;padding:7px}.kanban-action-button:hover:not(:disabled){background-color:hsl(var(--muted))}.kanban-action-button:disabled{cursor:not-allowed;opacity:.5}.kanban-action-button.advance{border-color:hsl(var(--info));color:hsl(var(--info))}.kanban-action-button.advance:hover:not(:disabled){background-color:hsl(var(--info)/.08)}.kanban-action-button.back{color:hsl(var(--muted-foreground))}.kanban-action-button.back:hover:not(:disabled){background-color:hsl(var(--muted))}.kanban-action-button.cancel{border-color:hsl(var(--destructive));color:hsl(var(--destructive))}.kanban-action-button.cancel:hover:not(:disabled){background-color:hsl(var(--destructive)/.12)}.kanban-empty{color:hsl(var(--muted-foreground)/.85);font-size:13px;font-style:italic;padding:40px 20px;text-align:center}.kanban-column-content::-webkit-scrollbar,.logistic-content::-webkit-scrollbar{height:8px;width:8px}.kanban-column-content::-webkit-scrollbar-track,.logistic-content::-webkit-scrollbar-track{background:hsl(var(--muted));border-radius:4px}.kanban-column-content::-webkit-scrollbar-thumb,.logistic-content::-webkit-scrollbar-thumb{background:hsl(var(--border));border-radius:4px}.kanban-column-content::-webkit-scrollbar-thumb:hover,.logistic-content::-webkit-scrollbar-thumb:hover{background:hsl(var(--muted-foreground)/.85)}.logistic-kanban::-webkit-scrollbar{height:8px}.logistic-kanban::-webkit-scrollbar-track{background:hsl(var(--muted));border-radius:4px}.logistic-kanban::-webkit-scrollbar-thumb{background:hsl(var(--border));border-radius:4px}.logistic-kanban::-webkit-scrollbar-thumb:hover{background:hsl(var(--muted-foreground)/.85)}@media (max-width:1200px){.logistic-filters-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kanban-column{min-width:280px}}@media (max-width:768px){.logistic-header-content{align-items:flex-start;flex-direction:column;gap:12px}.logistic-header-actions{justify-content:space-between;width:100%}.logistic-filters-grid{grid-template-columns:1fr}.logistic-table-container{overflow-x:auto}.kanban-column{min-width:250px}}.logistic-cancel-confirm-overlay{align-items:center;animation:fadeIn .2s ease;background:hsl(var(--foreground)/.5);display:flex;inset:0;justify-content:center;padding:16px;position:fixed;z-index:2000}.logistic-cancel-confirm-modal{animation:slideUp .3s ease;background:hsl(var(--card));border-radius:12px;box-shadow:0 20px 60px hsl(var(--foreground)/.3);max-width:480px;overflow:hidden;padding:0;width:100%}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.logistic-cancel-confirm-header{align-items:center;border-bottom:1px solid hsl(var(--border));display:flex;gap:12px;padding:24px 24px 16px}.logistic-cancel-confirm-icon{color:hsl(var(--destructive));flex-shrink:0}.logistic-cancel-confirm-header h3{color:hsl(var(--foreground));font-size:20px;font-weight:600;margin:0}.logistic-cancel-confirm-body{padding:20px 24px}.logistic-cancel-confirm-body p{color:hsl(var(--muted-foreground));font-size:15px;line-height:1.6;margin:0 0 16px}.logistic-cancel-confirm-body p strong{color:hsl(var(--foreground));font-weight:600}.logistic-cancel-confirm-details{background:hsl(var(--muted)/.4);border-radius:8px;margin-bottom:16px;padding:16px}.logistic-cancel-confirm-detail-item{align-items:center;display:flex;justify-content:space-between;padding:8px 0}.logistic-cancel-confirm-detail-item:not(:last-child){border-bottom:1px solid hsl(var(--border))}.detail-label{color:hsl(var(--muted-foreground));font-size:14px}.detail-value{color:hsl(var(--foreground));font-size:14px;font-weight:600}.logistic-cancel-confirm-warning{align-items:center;background:hsl(var(--destructive)/.05);border:1px solid hsl(var(--destructive)/.3);border-radius:8px;color:hsl(var(--destructive)/.9);display:flex;font-size:14px;gap:8px;padding:12px}.logistic-cancel-confirm-warning svg{flex-shrink:0}.logistic-cancel-confirm-actions{background:hsl(var(--muted)/.4);border-top:1px solid hsl(var(--border));display:flex;gap:12px;justify-content:flex-end;padding:16px 24px 24px}.logistic-cancel-confirm-button{align-items:center;border:1px solid;border-radius:8px;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:8px;justify-content:center;min-width:120px;padding:10px 20px;transition:all .2s ease}.logistic-cancel-confirm-button:disabled{cursor:not-allowed;opacity:.6}.logistic-cancel-confirm-button.cancel{background:hsl(var(--card));border-color:hsl(var(--border));color:hsl(var(--muted-foreground))}.logistic-cancel-confirm-button.cancel:hover:not(:disabled){background:hsl(var(--muted)/.4);border-color:hsl(var(--muted-foreground)/.85)}.logistic-cancel-confirm-button.confirm{color:hsl(var(--primary-foreground))}.logistic-cancel-confirm-button.confirm,.logistic-cancel-confirm-button.confirm:hover:not(:disabled){background:hsl(var(--destructive));border-color:hsl(var(--destructive))}.logistic-cancel-confirm-button.confirm .spinner-small{animation:spin 1s linear infinite}@media (max-width:768px){.logistic-cancel-confirm-modal{margin:16px;max-width:100%}.logistic-cancel-confirm-actions{flex-direction:column-reverse}.logistic-cancel-confirm-button{width:100%}}.products-filters{background:hsl(var(--card));border-radius:12px;box-shadow:0 1px 3px hsl(var(--foreground)/.1);margin-bottom:1.5rem;padding:1.5rem}.products-filters .filters-header{align-items:center;border-bottom:1px solid hsl(var(--border));display:flex;justify-content:space-between;margin-bottom:1.25rem;padding-bottom:.75rem}.products-filters .filters-header h3{align-items:center;color:hsl(var(--muted-foreground));display:flex;font-size:1rem;font-weight:600;gap:.5rem;margin:0}.products-filters .clear-filters-btn{align-items:center;background:hsl(var(--muted));border:none;border-radius:6px;color:hsl(var(--muted-foreground));cursor:pointer;display:flex;font-size:.8125rem;font-weight:500;gap:.375rem;padding:.5rem .75rem;transition:all .2s}.products-filters .clear-filters-btn:hover{background:hsl(var(--border));color:hsl(var(--muted-foreground))}.products-filters .filters-grid{grid-gap:1rem;align-items:end;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.products-filters .filter-group{display:flex;flex-direction:column;gap:.5rem}.products-filters .filter-group label{align-items:center;color:hsl(var(--muted-foreground));display:flex;font-size:.8125rem;font-weight:500;gap:.375rem}.products-filters .date-input{border:1px solid hsl(var(--border));border-radius:6px;box-sizing:border-box;color:hsl(var(--muted-foreground));font-size:.875rem;padding:.625rem .75rem;transition:all .2s;width:100%}.products-filters .date-input:focus{border-color:hsl(var(--primary));box-shadow:0 0 0 3px #7c3aed1a;outline:none}.products-filters .period-buttons{display:flex;flex-wrap:wrap;gap:.5rem}.products-filters .period-buttons button{background:hsl(var(--muted));border:1px solid hsl(var(--border));border-radius:6px;color:hsl(var(--muted-foreground));cursor:pointer;font-size:.8125rem;font-weight:500;padding:.5rem .75rem;transition:all .2s;white-space:nowrap}.products-filters .period-buttons button:hover{background:hsl(var(--border));border-color:hsl(var(--border))}.products-filters .period-buttons button.active{background:hsl(var(--primary));border-color:hsl(var(--primary));color:hsl(var(--primary-foreground))}.products-filters .search-group{grid-column:span 1}.products-filters .search-form{display:flex;gap:.5rem}.products-filters .search-input{border:1px solid hsl(var(--border));border-radius:6px;color:hsl(var(--muted-foreground));flex:1 1;font-size:.875rem;padding:.625rem .75rem;transition:all .2s}.products-filters .search-input:focus{border-color:hsl(var(--primary));box-shadow:0 0 0 3px #7c3aed1a;outline:none}.products-filters .search-input::placeholder{color:hsl(var(--muted-foreground)/.85)}.products-filters .search-btn{align-items:center;border:none;border-radius:6px;color:hsl(var(--primary-foreground));cursor:pointer;display:flex;justify-content:center;padding:.625rem;transition:all .2s}.products-filters .search-btn,.products-filters .search-btn:hover{background:hsl(var(--primary))}@media (max-width:768px){.products-filters .filters-grid{grid-template-columns:1fr}.products-filters .period-buttons{flex-wrap:wrap}.products-filters .period-buttons button{flex:1 1;min-width:calc(50% - .25rem)}}.products-kpi-cards{display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:2rem}.kpi-card{align-items:flex-start;background:hsl(var(--card));border-radius:12px;box-shadow:0 1px 3px hsl(var(--foreground)/.1);display:flex;flex:1 1;gap:1rem;min-width:280px;padding:1.5rem;transition:transform .2s,box-shadow .2s}.kpi-card:hover{box-shadow:0 4px 12px hsl(var(--foreground)/.1);transform:translateY(-2px)}.kpi-card.loading{align-items:center;justify-content:center;min-height:120px}.kpi-skeleton{animation:shimmer 1.5s infinite;background:linear-gradient(90deg,hsl(var(--muted)) 25%,hsl(var(--border)) 50%,hsl(var(--muted)) 75%);background-size:200% 100%;border-radius:8px;height:60px;width:100%}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.kpi-icon{align-items:center;border-radius:12px;display:flex;flex-shrink:0;height:56px;justify-content:center;width:56px}.kpi-icon-yellow{background:hsl(var(--warning)/.15);color:hsl(var(--warning))}.kpi-icon-green{background:hsl(var(--positive)/.15);color:hsl(var(--positive))}.kpi-icon-purple{background:hsl(var(--accent));color:hsl(var(--primary))}.kpi-content{flex:1 1;min-width:0}.kpi-content h3{color:hsl(var(--muted-foreground));font-size:.875rem;font-weight:500;letter-spacing:.025em;margin:0 0 .5rem;text-transform:uppercase}.kpi-value{color:hsl(var(--foreground));font-size:1.75rem;font-weight:700;line-height:1.2;margin:0 0 .25rem}.kpi-description{color:hsl(var(--muted-foreground)/.85);font-size:.8125rem;line-height:1.4;margin:0}@media (max-width:1024px){.products-kpi-cards{flex-direction:column}.kpi-card{min-width:100%}}@media (max-width:480px){.kpi-card{align-items:center;flex-direction:column;text-align:center}.kpi-icon{margin-bottom:.5rem}}.pareto-container{background:hsl(var(--card));border-radius:12px;box-shadow:0 1px 3px hsl(var(--foreground)/.1);padding:1.5rem;position:relative}.pareto-container .chart-header{align-items:flex-start;display:flex;flex-direction:row;justify-content:space-between;margin-bottom:1rem}.pareto-container .chart-header-left{display:flex;flex-direction:column;gap:.25rem}.pareto-container .chart-header h3{align-items:center;color:hsl(var(--foreground));display:flex;font-size:1.125rem;font-weight:600;gap:.5rem;margin:0}.pareto-container .chart-subtitle{color:hsl(var(--muted-foreground));font-size:.875rem}.pareto-container .help-button{align-items:center;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:8px;color:hsl(var(--muted-foreground));cursor:pointer;display:flex;flex-shrink:0;height:32px;justify-content:center;transition:all .2s;width:32px}.pareto-container .help-button:hover{background:hsl(var(--muted));border-color:hsl(var(--primary));color:hsl(var(--primary))}.help-modal-overlay{align-items:center;background:hsl(var(--foreground)/.5);bottom:0;display:flex;justify-content:center;left:0;padding:1rem;position:fixed;right:0;top:0;z-index:1000}.help-modal{background:hsl(var(--card));border-radius:12px;box-shadow:0 20px 25px -5px hsl(var(--foreground)/.1),0 10px 10px -5px hsl(var(--foreground)/.04);max-height:80vh;max-width:560px;overflow-y:auto;width:100%}.help-modal-header{align-items:center;background:hsl(var(--card));border-bottom:1px solid hsl(var(--border));border-radius:12px 12px 0 0;display:flex;justify-content:space-between;padding:1.25rem 1.5rem;position:-webkit-sticky;position:sticky;top:0}.help-modal-header h4{color:hsl(var(--foreground));font-size:1.125rem;font-weight:600;margin:0}.help-modal-close{align-items:center;background:#0000;border:none;border-radius:6px;color:hsl(var(--muted-foreground));cursor:pointer;display:flex;height:32px;justify-content:center;transition:all .2s;width:32px}.help-modal-close:hover{background:hsl(var(--muted));color:hsl(var(--foreground))}.help-modal-content{padding:1.5rem}.help-modal-content section{margin-bottom:1.5rem}.help-modal-content section:last-child{margin-bottom:0}.help-modal-content h5{color:hsl(var(--muted-foreground));font-size:.9375rem;font-weight:600;margin:0 0 .75rem}.help-modal-content p{color:hsl(var(--muted-foreground));font-size:.875rem;line-height:1.6;margin:0}.help-modal-content ol,.help-modal-content ul{color:hsl(var(--muted-foreground));font-size:.875rem;line-height:1.8;margin:0;padding-left:1.25rem}.help-modal-content ol li,.help-modal-content ul li{margin-bottom:.25rem}.help-modal-content ul ul{margin-top:.25rem}.help-modal-content .class-a{color:hsl(var(--positive));font-weight:600}.help-modal-content .class-b{color:hsl(var(--warning));font-weight:600}.help-modal-content .class-c{color:hsl(var(--destructive));font-weight:600}.pareto-container .chart-empty,.pareto-container .chart-loading{align-items:center;color:hsl(var(--muted-foreground));display:flex;flex-direction:column;justify-content:center;min-height:400px}.pareto-container .chart-loading .spinner{animation:spin 1s linear infinite;border:3px solid hsl(var(--border));border-radius:50%;border-top-color:hsl(var(--primary));height:40px;width:40px}.abc-summary{background:hsl(var(--muted)/.4);border-radius:8px;display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:1rem;padding:1rem}.abc-item{align-items:center;display:flex;flex:1 1;gap:.75rem;min-width:150px}.abc-color{border-radius:3px;flex-shrink:0;height:12px;width:12px}.abc-info{display:flex;flex-direction:column;gap:.125rem}.abc-label{font-size:.8125rem;font-weight:600}.abc-count,.abc-label{color:hsl(var(--muted-foreground))}.abc-count{font-size:.75rem}.pareto-tooltip{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:8px;box-shadow:0 4px 12px hsl(var(--foreground)/.1);padding:.75rem}.pareto-tooltip .tooltip-title{color:hsl(var(--foreground));font-size:.875rem;font-weight:600;margin:0 0 .5rem}.pareto-tooltip .tooltip-cumulative,.pareto-tooltip .tooltip-value{color:hsl(var(--muted-foreground));font-size:.8125rem;margin:0 0 .25rem}.pareto-tooltip .tooltip-label{color:hsl(var(--muted-foreground));margin-right:.25rem}.pareto-tooltip .tooltip-category{margin:.5rem 0 0}.pareto-tooltip .category-badge{border-radius:4px;color:hsl(var(--primary-foreground));display:inline-block;font-size:.75rem;font-weight:600;padding:.25rem .5rem}@media (max-width:768px){.abc-summary{flex-direction:column}.abc-item{min-width:100%}}.scatter-container{background:hsl(var(--card));border-radius:12px;box-shadow:0 1px 3px hsl(var(--foreground)/.1);padding:1.5rem;position:relative}.scatter-container .chart-header{align-items:flex-start;display:flex;flex-direction:row;justify-content:space-between;margin-bottom:1rem}.scatter-container .chart-header-left{display:flex;flex-direction:column;gap:.25rem}.scatter-container .chart-header h3{align-items:center;color:hsl(var(--foreground));display:flex;font-size:1.125rem;font-weight:600;gap:.5rem;margin:0}.scatter-container .chart-subtitle{color:hsl(var(--muted-foreground));font-size:.875rem}.scatter-container .help-button{align-items:center;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:8px;color:hsl(var(--muted-foreground));cursor:pointer;display:flex;flex-shrink:0;height:32px;justify-content:center;transition:all .2s;width:32px}.scatter-container .help-button:hover{background:hsl(var(--muted));border-color:hsl(var(--primary));color:hsl(var(--primary))}.scatter-container .help-modal-overlay{align-items:center;background:hsl(var(--foreground)/.5);bottom:0;display:flex;justify-content:center;left:0;padding:1rem;position:fixed;right:0;top:0;z-index:1000}.scatter-container .help-modal{background:hsl(var(--card));border-radius:12px;box-shadow:0 20px 25px -5px hsl(var(--foreground)/.1),0 10px 10px -5px hsl(var(--foreground)/.04);max-height:80vh;max-width:560px;overflow-y:auto;width:100%}.scatter-container .help-modal-header{align-items:center;background:hsl(var(--card));border-bottom:1px solid hsl(var(--border));border-radius:12px 12px 0 0;display:flex;justify-content:space-between;padding:1.25rem 1.5rem;position:-webkit-sticky;position:sticky;top:0}.scatter-container .help-modal-header h4{color:hsl(var(--foreground));font-size:1.125rem;font-weight:600;margin:0}.scatter-container .help-modal-close{align-items:center;background:#0000;border:none;border-radius:6px;color:hsl(var(--muted-foreground));cursor:pointer;display:flex;height:32px;justify-content:center;transition:all .2s;width:32px}.scatter-container .help-modal-close:hover{background:hsl(var(--muted));color:hsl(var(--foreground))}.scatter-container .help-modal-content{padding:1.5rem}.scatter-container .help-modal-content section{margin-bottom:1.5rem}.scatter-container .help-modal-content section:last-child{margin-bottom:0}.scatter-container .help-modal-content h5{color:hsl(var(--muted-foreground));font-size:.9375rem;font-weight:600;margin:0 0 .75rem}.scatter-container .help-modal-content p{color:hsl(var(--muted-foreground));font-size:.875rem;line-height:1.6;margin:0}.scatter-container .help-modal-content ol,.scatter-container .help-modal-content ul{color:hsl(var(--muted-foreground));font-size:.875rem;line-height:1.8;margin:0;padding-left:1.25rem}.scatter-container .help-modal-content ol li,.scatter-container .help-modal-content ul li{margin-bottom:.25rem}.scatter-container .help-modal-content ul ul{margin-top:.25rem}.scatter-container .help-modal-content .cat-premium{color:hsl(var(--positive));font-weight:600}.scatter-container .help-modal-content .cat-alto-giro{color:hsl(var(--info));font-weight:600}.scatter-container .help-modal-content .cat-nicho{color:hsl(var(--warning));font-weight:600}.scatter-container .help-modal-content .cat-cauda{color:hsl(var(--muted-foreground)/.85);font-weight:600}.scatter-container .chart-empty,.scatter-container .chart-loading{align-items:center;color:hsl(var(--muted-foreground));display:flex;flex-direction:column;justify-content:center;min-height:350px}.scatter-container .chart-loading .spinner{animation:spin 1s linear infinite;border:3px solid hsl(var(--border));border-radius:50%;border-top-color:hsl(var(--primary));height:40px;width:40px}.scatter-legend{background:hsl(var(--muted)/.4);border-radius:8px;display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:1rem;padding:.75rem 1rem}.scatter-legend .legend-item{align-items:center;display:flex;gap:.5rem}.scatter-legend .legend-dot{border-radius:50%;flex-shrink:0;height:10px;width:10px}.scatter-legend .legend-text{color:hsl(var(--muted-foreground));font-size:.8125rem}.scatter-tooltip{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:8px;box-shadow:0 4px 12px hsl(var(--foreground)/.1);padding:.75rem}.scatter-tooltip .tooltip-title{color:hsl(var(--foreground));font-size:.875rem;font-weight:600;margin:0 0 .5rem;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scatter-tooltip .tooltip-qty,.scatter-tooltip .tooltip-total,.scatter-tooltip .tooltip-value{color:hsl(var(--muted-foreground));font-size:.8125rem;margin:0 0 .25rem}.scatter-tooltip .tooltip-label{color:hsl(var(--muted-foreground));margin-right:.25rem}.chart-content{width:100%}@media (max-width:768px){.scatter-legend{flex-direction:column;gap:.5rem}}.leaflet-image-layer,.leaflet-layer,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-pane,.leaflet-pane>canvas,.leaflet-pane>svg,.leaflet-tile,.leaflet-tile-container,.leaflet-zoom-box{left:0;position:absolute;top:0}.leaflet-container{overflow:hidden}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile{-webkit-user-drag:none;-webkit-user-select:none;user-select:none}.leaflet-tile::selection{background:#0000}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{height:1600px;-webkit-transform-origin:0 0;width:1600px}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-height:none!important;max-width:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer{max-height:none!important;max-width:none!important;padding:0;width:auto}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{box-sizing:border-box;height:0;width:0;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{height:1px;width:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{pointer-events:visiblePainted;pointer-events:auto;position:relative;z-index:800}.leaflet-bottom,.leaflet-top{pointer-events:none;position:absolute;z-index:1000}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{clear:both;float:left}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-pan-anim .leaflet-tile,.leaflet-zoom-anim .leaflet-tile{transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-control,.leaflet-popup-pane{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:grabbing}.leaflet-image-layer,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-image-layer.leaflet-interactive,.leaflet-marker-icon.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{background:#ffffff80;border:2px dotted #38f}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{border-radius:4px;box-shadow:0 1px 5px #000000a6}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;color:#000;display:block;height:26px;line-height:26px;text-align:center;text-decoration:none;width:26px}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:focus,.leaflet-bar a:hover{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom:none;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.leaflet-bar a.leaflet-disabled{background-color:#f4f4f4;color:#bbb;cursor:default}.leaflet-touch .leaflet-bar a{height:30px;line-height:30px;width:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{background:#fff;border-radius:5px;box-shadow:0 1px 5px #0006}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);height:36px;width:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{height:44px;width:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{background:#fff;color:#333;padding:6px 10px 6px 6px}.leaflet-control-layers-scrollbar{overflow-x:hidden;overflow-y:scroll;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{border-top:1px solid #ddd;height:0;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{color:#333;line-height:1.4;padding:0 5px}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:focus,.leaflet-control-attribution a:hover{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;height:.6669em;vertical-align:initial!important;width:1em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{background:#fffc;border:2px solid #777;border-top:none;box-sizing:border-box;line-height:1.1;padding:2px 5px 1px;text-shadow:1px 1px #fff;white-space:nowrap}.leaflet-control-scale-line:not(:first-child){border-bottom:none;border-top:2px solid #777;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers{box-shadow:none}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-layers{background-clip:padding-box;border:2px solid #0003}.leaflet-popup{margin-bottom:20px;position:absolute;text-align:center}.leaflet-popup-content-wrapper{border-radius:12px;padding:1px;text-align:left}.leaflet-popup-content{font-size:13px;font-size:1.08333em;line-height:1.3;margin:13px 24px 13px 20px;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{height:20px;left:50%;margin-left:-20px;margin-top:-1px;overflow:hidden;pointer-events:none;position:absolute;width:40px}.leaflet-popup-tip{height:17px;margin:-10px auto 0;padding:1px;pointer-events:auto;transform:rotate(45deg);width:17px}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;box-shadow:0 3px 14px #0006;color:#333}.leaflet-container a.leaflet-popup-close-button{background:#0000;border:none;color:#757575;font:16px/24px Tahoma,Verdana,sans-serif;height:24px;position:absolute;right:0;text-align:center;text-decoration:none;top:0;width:24px}.leaflet-container a.leaflet-popup-close-button:focus,.leaflet-container a.leaflet-popup-close-button:hover{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678,M12=0.70710678,M21=-0.70710678,M22=0.70710678);margin:0 auto;width:24px}.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{background-color:#fff;border:1px solid #fff;border-radius:3px;box-shadow:0 1px 3px #0006;color:#222;padding:6px;pointer-events:none;position:absolute;-webkit-user-select:none;user-select:none;white-space:nowrap}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before,.leaflet-tooltip-top:before{background:#0000;border:6px solid #0000;content:"";pointer-events:none;position:absolute}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{border-top-color:#fff;bottom:0;margin-bottom:-12px}.leaflet-tooltip-bottom:before{border-bottom-color:#fff;margin-left:-6px;margin-top:-12px;top:0}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{margin-top:-6px;top:50%}.leaflet-tooltip-left:before{border-left-color:#fff;margin-right:-12px;right:0}.leaflet-tooltip-right:before{border-right-color:#fff;left:0;margin-left:-12px}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.sales-map-container{background:hsl(var(--card));border-radius:12px;box-shadow:0 1px 3px hsl(var(--foreground)/.1);padding:1.5rem;transition:box-shadow .2s}.sales-map-container:hover{box-shadow:0 4px 12px hsl(var(--foreground)/.08)}.sales-map-container .chart-header{align-items:center;display:flex;flex-direction:row;justify-content:space-between;margin-bottom:1rem}.sales-map-container .chart-header-left h3{align-items:center;color:hsl(var(--foreground));display:flex;font-size:1.125rem;font-weight:600;gap:.5rem;margin:0}.sales-map-container .chart-header-right{align-items:center;display:flex;gap:.75rem}.zoom-level-badge{align-items:center;background:hsl(var(--muted));border-radius:20px;color:hsl(var(--muted-foreground));display:flex;font-size:.8125rem;font-weight:500;gap:.5rem;padding:.375rem .75rem;transition:all .2s}.zoom-level-badge svg{color:hsl(var(--primary))}.zoom-level-badge .point-count{background:hsl(var(--primary));border-radius:12px;color:hsl(var(--primary-foreground));font-size:.75rem;font-weight:600;padding:.125rem .5rem}.sales-map-container .expand-button,.sales-map-container .help-button{align-items:center;background:hsl(var(--muted));border:none;border-radius:8px;color:hsl(var(--muted-foreground));cursor:pointer;display:flex;height:32px;justify-content:center;transition:all .2s;width:32px}.sales-map-container .expand-button:hover,.sales-map-container .help-button:hover{background:hsl(var(--border));color:hsl(var(--primary))}.sales-map-container .chart-empty,.sales-map-container .chart-loading{align-items:center;color:hsl(var(--muted-foreground));display:flex;flex-direction:column;gap:1rem;height:400px;justify-content:center}.sales-map-container .spinner{animation:spin 1s linear infinite;border:3px solid hsl(var(--border));border-radius:50%;border-top-color:hsl(var(--primary));height:40px;width:40px}.map-content{border:1px solid hsl(var(--border));border-radius:10px;height:400px;min-height:400px;overflow:hidden;position:relative}.map-content .leaflet-container{border-radius:10px;height:100%!important;width:100%!important;z-index:1}.sales-map-container .map-content .leaflet-container{height:400px!important}.map-legend{align-items:center;background:hsl(var(--muted)/.4);border-radius:8px;display:flex;gap:2rem;justify-content:center;margin-top:1rem;padding:.75rem 1rem}.color-scale-legend{align-items:center;display:flex;flex-direction:column;gap:3px;text-align:center}.legend-item{gap:.75rem}.legend-label{color:hsl(var(--muted-foreground));font-size:.75rem;font-weight:500}.legend-sizes{align-items:center;display:flex;gap:.375rem}.legend-circle{background:hsl(var(--primary));border-radius:50%;opacity:.7}.legend-circle.small{height:10px;width:10px}.legend-circle.medium{height:16px;width:16px}.legend-circle.large{height:24px;width:24px}.legend-divider{background:hsl(var(--border));height:24px;width:1px}.legend-gradient{background:linear-gradient(to right,hsl(var(--destructive)),hsl(var(--warning)),hsl(var(--positive)));border-radius:5px;height:10px;width:100px}.legend-gradient-labels{color:hsl(var(--muted-foreground)/.85);display:flex;font-size:.625rem;justify-content:space-between;margin-top:.125rem;width:100px}.sales-map-popup .leaflet-popup-content-wrapper{border:1px solid hsl(var(--border));border-radius:12px;box-shadow:0 10px 25px hsl(var(--foreground)/.15);padding:0}.sales-map-popup .leaflet-popup-content{margin:0;min-width:280px}.sales-map-popup .leaflet-popup-tip{background:hsl(var(--card));border:1px solid hsl(var(--border));box-shadow:0 2px 4px hsl(var(--foreground)/.1)}.popup-content{padding:1rem}.popup-title{border-bottom:1px solid hsl(var(--border));color:hsl(var(--foreground));font-size:1rem;font-weight:600;margin:0 0 .75rem;padding-bottom:.75rem}.popup-stats{grid-gap:.75rem;display:grid;gap:.75rem;grid-template-columns:1fr 1fr;margin-bottom:1rem}.popup-stat{background:hsl(var(--muted)/.4);border-radius:8px;display:flex;flex-direction:column;gap:.25rem;padding:.5rem}.popup-stat .stat-label{color:hsl(var(--muted-foreground));font-size:.6875rem;font-weight:500;letter-spacing:.025em;text-transform:uppercase}.popup-stat .stat-value{color:hsl(var(--foreground));font-size:.875rem;font-weight:600}.popup-products{border-top:1px solid hsl(var(--border));padding-top:.75rem}.popup-products h5{align-items:center;color:hsl(var(--muted-foreground));display:flex;font-size:.8125rem;font-weight:600;gap:.375rem;margin:0 0 .5rem}.popup-products h5 svg{color:hsl(var(--primary))}.popup-products ul{list-style:none;margin:0;padding:0}.popup-products li{grid-gap:.5rem;align-items:center;border-bottom:1px solid hsl(var(--muted));display:grid;font-size:.75rem;gap:.5rem;grid-template-columns:20px 1fr auto auto;padding:.375rem 0}.popup-products li:last-child{border-bottom:none}.product-rank{color:hsl(var(--muted-foreground)/.85);font-weight:500}.product-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-name,.product-qty{color:hsl(var(--muted-foreground))}.product-qty,.product-value{text-align:right}.product-value{color:hsl(var(--positive));font-weight:600}.sales-map-container .help-modal-overlay{align-items:center;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:hsl(var(--foreground)/.5);bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.sales-map-container .help-modal{animation:modalSlideIn .2s ease-out;background:hsl(var(--card));border-radius:12px;box-shadow:0 20px 40px hsl(var(--foreground)/.2);max-height:80vh;max-width:480px;overflow-y:auto;width:90%}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.sales-map-container .help-modal-header{align-items:center;background:hsl(var(--card));border-bottom:1px solid hsl(var(--border));border-radius:12px 12px 0 0;display:flex;justify-content:space-between;padding:1rem 1.25rem;position:-webkit-sticky;position:sticky;top:0}.sales-map-container .help-modal-header h4{color:hsl(var(--foreground));font-size:1rem;font-weight:600;margin:0}.sales-map-container .help-modal-close{align-items:center;background:#0000;border:none;border-radius:8px;color:hsl(var(--muted-foreground));cursor:pointer;display:flex;height:32px;justify-content:center;transition:all .2s;width:32px}.sales-map-container .help-modal-close:hover{background:hsl(var(--muted));color:hsl(var(--foreground))}.sales-map-container .help-modal-content{padding:1.25rem}.sales-map-container .help-modal-content section{margin-bottom:1.25rem}.sales-map-container .help-modal-content section:last-child{margin-bottom:0}.sales-map-container .help-modal-content h5{color:hsl(var(--muted-foreground));font-size:.875rem;font-weight:600;margin:0 0 .5rem}.sales-map-container .help-modal-content p{color:hsl(var(--muted-foreground));font-size:.8125rem;line-height:1.5;margin:0}.sales-map-container .help-modal-content ol,.sales-map-container .help-modal-content ul{margin:.5rem 0 0;padding-left:1.25rem}.sales-map-container .help-modal-content li{color:hsl(var(--muted-foreground));font-size:.8125rem;line-height:1.5;margin-bottom:.25rem}.sales-map-container .help-modal-content li strong{color:hsl(var(--muted-foreground))}@media (max-width:768px){.sales-map-container{padding:1rem}.sales-map-container .chart-header{align-items:flex-start;flex-direction:column;gap:.75rem}.sales-map-container .chart-header-right{justify-content:space-between;width:100%}.map-legend{align-items:flex-start;flex-direction:column;gap:.75rem}.legend-divider{display:none}.popup-stats{grid-template-columns:1fr}.popup-products li{gap:.25rem;grid-template-columns:20px 1fr}.product-qty,.product-value{grid-column:2;text-align:left}}@media (max-width:480px){.zoom-level-badge span:not(.point-count){display:none}.zoom-level-badge{padding:.375rem .5rem}}.expanded-map-overlay{align-items:center;animation:fadeIn .2s ease-out;background:hsl(var(--foreground)/.8);bottom:0;display:flex;justify-content:center;left:0;padding:1.5rem;position:fixed;right:0;top:0;z-index:9999}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.expanded-map-container{animation:scaleIn .2s ease-out;background:hsl(var(--card));border-radius:16px;box-shadow:0 25px 50px hsl(var(--foreground)/.3);display:flex;flex-direction:column;height:100%;max-height:95vh;max-width:1600px;overflow:hidden;width:100%}@keyframes scaleIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.expanded-map-header{align-items:center;background:hsl(var(--muted)/.4);border-bottom:1px solid hsl(var(--border));display:flex;flex-shrink:0;justify-content:space-between;padding:1rem 1.5rem}.expanded-map-title{align-items:center;display:flex;gap:.75rem}.expanded-map-title svg{color:hsl(var(--primary))}.expanded-map-title h3{color:hsl(var(--foreground));font-size:1.25rem;font-weight:600;margin:0}.close-expanded-button{align-items:center;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:10px;color:hsl(var(--muted-foreground));cursor:pointer;display:flex;height:40px;justify-content:center;transition:all .2s;width:40px}.close-expanded-button:hover{background:hsl(var(--muted));border-color:hsl(var(--primary));color:hsl(var(--primary))}.expanded-map-content{flex:1 1;min-height:0;position:relative}.expanded-map-content .leaflet-container{height:100%!important;width:100%!important;z-index:1}.expanded-map-legend{align-items:center;background:hsl(var(--muted)/.4);border-top:1px solid hsl(var(--border));display:flex;flex-shrink:0;gap:2rem;justify-content:center;padding:1rem 1.5rem}@media (max-width:768px){.expanded-map-overlay{padding:0}.expanded-map-container{border-radius:0;max-height:100vh}.expanded-map-header{padding:.75rem 1rem}.expanded-map-title h3{font-size:1rem}.expanded-map-title .zoom-level-badge{display:none}.expanded-map-legend{flex-direction:column;gap:.75rem;padding:.75rem 1rem}.expanded-map-legend .legend-divider{display:none}}.products-mix-table-container{background:hsl(var(--card));border-radius:12px;box-shadow:0 1px 3px hsl(var(--foreground)/.1);padding:1.5rem}.products-mix-table-container .table-header{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:1rem}.products-mix-table-container .header-title{align-items:center;display:flex;gap:.75rem}.products-mix-table-container .header-title h3{color:hsl(var(--foreground));font-size:1.125rem;font-weight:600;margin:0}.products-mix-table-container .table-count{background:hsl(var(--muted));border-radius:4px;color:hsl(var(--muted-foreground));font-size:.8125rem;padding:.25rem .5rem}.products-mix-table-container .header-actions{align-items:center;display:flex;gap:.75rem}.products-mix-table-container .table-search{align-items:center;background:hsl(var(--muted)/.4);border:1px solid hsl(var(--border));border-radius:6px;display:flex;gap:.5rem;padding:.5rem .75rem}.products-mix-table-container .table-search svg{color:hsl(var(--muted-foreground)/.85)}.products-mix-table-container .table-search input{background:#0000;border:none;color:hsl(var(--muted-foreground));font-size:.875rem;outline:none;width:150px}.products-mix-table-container .table-search input::placeholder{color:hsl(var(--muted-foreground)/.85)}.products-mix-table-container .export-btn{align-items:center;background:hsl(var(--primary));border:none;border-radius:6px;color:hsl(var(--primary-foreground));cursor:pointer;display:flex;font-size:.875rem;font-weight:500;gap:.5rem;padding:.5rem 1rem;transition:all .2s}.products-mix-table-container .export-btn:hover{background:hsl(var(--primary))}.products-mix-table-container .help-button{align-items:center;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:6px;color:hsl(var(--muted-foreground));cursor:pointer;display:flex;flex-shrink:0;height:36px;justify-content:center;transition:all .2s;width:36px}.products-mix-table-container .help-button:hover{background:hsl(var(--muted));border-color:hsl(var(--primary));color:hsl(var(--primary))}.products-mix-table-container .help-modal-overlay{align-items:center;background:hsl(var(--foreground)/.5);bottom:0;display:flex;justify-content:center;left:0;padding:1rem;position:fixed;right:0;top:0;z-index:1000}.products-mix-table-container .help-modal{background:hsl(var(--card));border-radius:12px;box-shadow:0 20px 25px -5px hsl(var(--foreground)/.1),0 10px 10px -5px hsl(var(--foreground)/.04);max-height:85vh;max-width:600px;overflow-y:auto;width:100%}.products-mix-table-container .help-modal-header{align-items:center;background:hsl(var(--card));border-bottom:1px solid hsl(var(--border));border-radius:12px 12px 0 0;display:flex;justify-content:space-between;padding:1.25rem 1.5rem;position:-webkit-sticky;position:sticky;top:0}.products-mix-table-container .help-modal-header h4{color:hsl(var(--foreground));font-size:1.125rem;font-weight:600;margin:0}.products-mix-table-container .help-modal-close{align-items:center;background:#0000;border:none;border-radius:6px;color:hsl(var(--muted-foreground));cursor:pointer;display:flex;height:32px;justify-content:center;transition:all .2s;width:32px}.products-mix-table-container .help-modal-close:hover{background:hsl(var(--muted));color:hsl(var(--foreground))}.products-mix-table-container .help-modal-content{padding:1.5rem}.products-mix-table-container .columns-list{display:flex;flex-direction:column;gap:1rem}.products-mix-table-container .column-item{background:hsl(var(--muted)/.4);border-left:3px solid hsl(var(--primary));border-radius:8px;padding:1rem}.products-mix-table-container .column-name{color:hsl(var(--foreground));font-size:.9375rem;font-weight:600;margin-bottom:.5rem}.products-mix-table-container .column-description{color:hsl(var(--muted-foreground));font-size:.875rem;line-height:1.6}.products-mix-table-container .column-formula{background:hsl(var(--border));border-radius:4px;display:inline-block;margin-top:.5rem;padding:.5rem .75rem}.products-mix-table-container .column-formula code{color:hsl(var(--muted-foreground));font-family:SF Mono,Monaco,Inconsolata,monospace;font-size:.8125rem}.products-mix-table-container .help-tips{border-top:1px solid hsl(var(--border));margin-top:1.5rem;padding-top:1.5rem}.products-mix-table-container .help-tips h5{color:hsl(var(--muted-foreground));font-size:.9375rem;font-weight:600;margin:0 0 .75rem}.products-mix-table-container .help-tips ul{color:hsl(var(--muted-foreground));font-size:.875rem;line-height:1.8;margin:0;padding-left:1.25rem}.products-mix-table-container .help-tips ul li{margin-bottom:.25rem}.products-mix-table-container .table-loading{align-items:center;color:hsl(var(--muted-foreground));display:flex;flex-direction:column;justify-content:center;min-height:300px}.products-mix-table-container .table-loading .spinner{animation:spin 1s linear infinite;border:3px solid hsl(var(--border));border-radius:50%;border-top-color:hsl(var(--primary));height:40px;width:40px}.products-mix-table-container .table-wrapper{overflow-x:auto}.products-mix-table{border-collapse:collapse;font-size:.875rem;width:100%}.products-mix-table th{background:hsl(var(--muted)/.4);border-bottom:1px solid hsl(var(--border));color:hsl(var(--muted-foreground));font-weight:600;padding:.75rem 1rem;text-align:left;white-space:nowrap}.products-mix-table th.sortable{cursor:pointer;-webkit-user-select:none;user-select:none}.products-mix-table th.sortable:hover{background:hsl(var(--muted))}.products-mix-table th .th-content{align-items:center;display:flex;gap:.375rem}.products-mix-table th .th-content svg{color:hsl(var(--muted-foreground)/.85)}.products-mix-table th .th-content svg.active{color:hsl(var(--primary))}.products-mix-table td{border-bottom:1px solid hsl(var(--muted));color:hsl(var(--muted-foreground));padding:.75rem 1rem}.products-mix-table tbody tr:hover{background:hsl(var(--muted)/.4)}.products-mix-table .empty-row{color:hsl(var(--muted-foreground));padding:2rem 1rem;text-align:center}.products-mix-table .product-cell{align-items:center;display:flex;gap:.75rem}.products-mix-table .product-rank{color:hsl(var(--muted-foreground)/.85);font-size:.75rem;font-weight:600;min-width:30px}.products-mix-table .product-info{display:flex;flex-direction:column;gap:.125rem;min-width:0}.products-mix-table .product-name{color:hsl(var(--foreground));font-weight:500;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.products-mix-table .product-sku{color:hsl(var(--muted-foreground));font-size:.75rem}.products-mix-table .value-cell{color:hsl(var(--positive));font-weight:600}.products-mix-table .clients-cell,.products-mix-table .qty-cell{text-align:center}.products-mix-table .price-cell{font-weight:500}.progress-bar-container{align-items:center;display:flex;gap:.5rem;min-width:100px}.progress-bar-container .progress-bar{background:hsl(var(--primary));border-radius:3px;flex:1 1;height:6px;max-width:60px}.progress-bar-container.share .progress-bar{background:hsl(var(--info))}.progress-bar-container .progress-value{color:hsl(var(--muted-foreground));font-size:.8125rem;font-weight:500;min-width:50px;text-align:right}.table-pagination{align-items:center;border-top:1px solid hsl(var(--border));display:flex;justify-content:space-between;margin-top:1rem;padding-top:1rem}.table-pagination .pagination-info{color:hsl(var(--muted-foreground));font-size:.8125rem}.table-pagination .pagination-controls{align-items:center;display:flex;gap:.5rem}.table-pagination .pagination-btn{align-items:center;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:6px;color:hsl(var(--muted-foreground));cursor:pointer;display:flex;height:32px;justify-content:center;transition:all .2s;width:32px}.table-pagination .pagination-btn:hover:not(:disabled){background:hsl(var(--muted));border-color:hsl(var(--border))}.table-pagination .pagination-btn:disabled{cursor:not-allowed;opacity:.5}.table-pagination .page-info{color:hsl(var(--muted-foreground));font-size:.8125rem;padding:0 .5rem}@media (max-width:768px){.products-mix-table-container .table-header{align-items:stretch;flex-direction:column}.products-mix-table-container .header-actions{flex-direction:column;width:100%}.products-mix-table-container .table-search,.products-mix-table-container .table-search input{width:100%}.products-mix-table-container .export-btn{justify-content:center;width:100%}.table-pagination{flex-direction:column;gap:.75rem}}.products-dashboard{background-color:hsl(var(--muted)/.4);margin:0 auto;max-width:1600px;min-height:calc(100vh - 80px);padding:2rem}.products-dashboard .dashboard-header{align-items:flex-start;display:flex;gap:1rem;justify-content:space-between;margin-bottom:2rem}.products-dashboard .header-content{display:flex;flex-direction:column}.products-dashboard .header-content h1{align-items:center;color:hsl(var(--foreground));display:flex;font-size:2rem;font-weight:700;gap:.75rem;margin:0 0 .5rem}.products-dashboard .dashboard-description{color:hsl(var(--muted-foreground));font-size:1rem;margin:0}.products-dashboard .refresh-button{align-items:center;background:hsl(var(--primary));border:none;border-radius:8px;color:hsl(var(--primary-foreground));cursor:pointer;display:flex;font-size:.875rem;font-weight:500;gap:.5rem;padding:.75rem 1.5rem;transition:all .2s;white-space:nowrap}.products-dashboard .refresh-button:hover:not(:disabled){background:hsl(var(--primary));box-shadow:0 4px 6px #7c3aed4d;transform:translateY(-1px)}.products-dashboard .refresh-button:disabled{cursor:not-allowed;opacity:.6}.products-dashboard .refresh-button .spinning{animation:spin 1s linear infinite}.products-dashboard .dashboard-error{align-items:center;color:hsl(var(--destructive));display:flex;flex-direction:column;gap:1rem;justify-content:center;min-height:400px}.products-dashboard .retry-button{align-items:center;background:hsl(var(--destructive));border:none;border-radius:8px;color:hsl(var(--primary-foreground));cursor:pointer;display:flex;font-size:.875rem;font-weight:500;gap:.5rem;padding:.75rem 1.5rem;transition:all .2s}.products-dashboard .retry-button:hover{background:hsl(var(--destructive)/.9)}.products-dashboard .charts-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(2,1fr);margin-bottom:2rem}.products-dashboard .chart-item{display:flex;flex-direction:column;min-height:400px}.products-dashboard .chart-item-full{grid-column:1/-1;min-height:500px}.products-dashboard .chart-item-half{grid-column:span 1;min-height:450px}.products-dashboard .table-section{margin-bottom:2rem}@media (max-width:1200px){.products-dashboard .charts-grid{grid-template-columns:1fr}.products-dashboard .chart-item-full,.products-dashboard .chart-item-half{grid-column:1}}@media (max-width:768px){.products-dashboard{padding:1rem}.products-dashboard .dashboard-header{align-items:stretch;flex-direction:column}.products-dashboard .header-content h1{font-size:1.5rem}.products-dashboard .refresh-button{justify-content:center;width:100%}}.sales-gap-filters{background:hsl(var(--muted)/.4);border:1px solid hsl(var(--border));border-radius:12px;margin-bottom:1.5rem;padding:1.25rem}.filters-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1.25rem}.filters-header h3{align-items:center;color:hsl(var(--muted-foreground));display:flex;font-size:.875rem;font-weight:600;gap:.5rem;letter-spacing:.025em;margin:0;text-transform:uppercase}.filters-header h3 svg{color:hsl(var(--muted-foreground)/.85)}.clear-filters-btn{align-items:center;background:#0000;border:none;border-radius:6px;color:hsl(var(--muted-foreground));cursor:pointer;display:flex;font-size:.75rem;font-weight:500;gap:.375rem;padding:.375rem .75rem;transition:all .15s ease}.clear-filters-btn:hover{background:hsl(var(--muted));color:hsl(var(--muted-foreground))}.filters-grid{align-items:end;display:flex;flex-wrap:wrap;gap:1rem}.filter-group{flex:1 1 120px;gap:.375rem;min-width:120px}.filter-group label{align-items:center;display:flex;font-size:.75rem;gap:.375rem}.filter-group label svg{color:hsl(var(--muted-foreground)/.85);height:14px;width:14px}.date-input,.number-input,.select-input,.text-input{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:8px;box-sizing:border-box;color:hsl(var(--foreground));font-size:.8125rem;height:38px;padding:.5rem .75rem;transition:all .15s ease;width:100%}.date-input:hover,.number-input:hover,.select-input:hover,.text-input:hover{border-color:hsl(var(--border))}.date-input:focus,.number-input:focus,.select-input:focus,.text-input:focus{border-color:hsl(var(--info));box-shadow:0 0 0 2px #3b82f614;outline:none}.select-input:disabled{background:hsl(var(--muted)/.4);color:hsl(var(--muted-foreground)/.85);cursor:not-allowed}.number-input::placeholder,.text-input::placeholder{color:hsl(var(--border))}.filter-group-search{flex:2 1 280px;min-width:200px}.search-input{background-image:none}.period-buttons{display:flex;flex-wrap:wrap;gap:.375rem}.period-buttons button{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:6px;color:hsl(var(--muted-foreground));cursor:pointer;font-size:.75rem;font-weight:500;padding:.375rem .625rem;transition:all .15s ease}.period-buttons button:hover{background:hsl(var(--muted)/.4);border-color:hsl(var(--border));color:hsl(var(--muted-foreground))}.period-buttons button.active{background:hsl(var(--info));border-color:hsl(var(--info));color:hsl(var(--primary-foreground))}.filter-group-dates{display:flex;flex-wrap:wrap;gap:.5rem}.filter-group-dates .date-input{flex:1 1 100px;min-width:100px}.filter-group-days{display:flex;flex-wrap:wrap;gap:.5rem}.filter-group-days .number-input{flex:1 1 60px;min-width:60px}.filters-row-secondary{border-top:1px solid hsl(var(--muted));display:flex;flex-wrap:wrap;gap:1rem;margin-top:1rem;padding-top:1rem}.filters-row-secondary .filter-group{flex:1 1 180px;min-width:160px}@media (max-width:768px){.sales-gap-filters{padding:1rem}.filter-group-search{flex:1 1 100%}}@media (max-width:480px){.filter-group,.filter-group-search{flex:1 1 100%}.filters-row-secondary .filter-group{flex:1 1 100%;min-width:0;min-width:auto}}.sales-gap-timeline{border-radius:8px;box-shadow:0 1px 3px hsl(var(--foreground)/.1);box-sizing:border-box;max-width:100%;padding:1.5rem}.sales-gap-timeline,.timeline-header{background:hsl(var(--card));width:100%}.timeline-header{align-items:center;border-bottom:1px solid hsl(var(--border));display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:1rem;padding:1rem 0;position:relative;z-index:1}.timeline-header h3{color:hsl(var(--foreground));font-size:1.125rem;font-weight:600;margin:0}.timeline-legend{display:flex;flex-wrap:wrap;gap:1rem}.legend-item{color:hsl(var(--muted-foreground));font-size:.875rem;gap:.5rem}.legend-item,.legend-marker{align-items:center;display:flex}.legend-marker{border:2px solid;border-radius:4px;flex-shrink:0;height:20px;justify-content:center;width:20px}.legend-visit-completed{background:hsl(var(--info)/.15);border-color:hsl(var(--info));color:hsl(var(--info)/.9)}.legend-visit-missed{background:hsl(var(--destructive)/.12);border-color:hsl(var(--destructive));color:hsl(var(--destructive)/.9)}.legend-visit-scheduled{background:hsl(var(--warning)/.15);border-color:hsl(var(--warning));color:hsl(var(--warning))}.legend-sale{background:hsl(var(--positive)/.15);border-color:hsl(var(--positive));color:hsl(var(--positive))}.timeline-container{box-sizing:border-box;max-width:100%;overflow-x:auto;overflow-y:visible;width:100%}.timeline-header-row{border-bottom:2px solid hsl(var(--border));display:flex;margin-bottom:.5rem;min-width:100%;padding-bottom:.5rem;top:0;width:-webkit-max-content;width:max-content;z-index:2}.timeline-header-row,.timeline-lead-header{background:hsl(var(--card));position:-webkit-sticky;position:sticky}.timeline-lead-header{border-right:2px solid hsl(var(--border));color:hsl(var(--muted-foreground));font-size:.875rem;font-weight:600;left:0;max-width:250px;min-width:250px;padding:.5rem;z-index:3}.timeline-periods{display:flex;flex:0 0 auto;gap:0;min-width:0;width:-webkit-max-content;width:max-content}.timeline-period-header{border-right:1px solid hsl(var(--border));flex:1 1;min-width:120px;padding:.5rem .25rem;position:relative;text-align:center}.timeline-period-header.today-period{background:hsl(var(--warning)/.15);border-right:2px solid hsl(var(--warning));font-weight:600}.timeline-period-header.today-period .period-label{color:hsl(var(--warning));font-weight:700}.timeline-period-header:last-child{border-right:none}.period-label{color:hsl(var(--muted-foreground));font-size:.75rem;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.timeline-rows{display:flex;flex-direction:column;gap:.25rem}.timeline-row{align-items:center;border-bottom:1px solid hsl(var(--muted));display:flex;min-height:80px;min-width:100%;padding:.75rem 0;width:-webkit-max-content;width:max-content}.timeline-row:hover{background:hsl(var(--muted)/.4)}.timeline-lead-info{background:hsl(var(--card));border-right:2px solid hsl(var(--border));display:flex;flex-direction:column;gap:.375rem;left:0;max-width:250px;min-width:250px;padding:.5rem;position:-webkit-sticky;position:sticky;z-index:2}.lead-name{word-wrap:break-word;font-weight:600;line-height:1.4;overflow-wrap:break-word;white-space:normal}.lead-cnpj{font-size:.75rem;font-size:.875rem;font-weight:500}.lead-cnpj,.lead-details{color:hsl(var(--muted-foreground))}.lead-details{display:flex;flex-wrap:wrap;font-size:.75rem;gap:.5rem}.lead-details span{background:hsl(var(--muted));border-radius:4px;padding:.125rem .375rem}.lead-meta{font-size:.75rem}.days-without-sale{align-items:center;color:hsl(var(--destructive));display:flex;font-weight:500;gap:4px}.timeline-cell{align-items:center;border-right:1px solid hsl(var(--border));display:flex;flex:1 1;justify-content:center;min-height:60px;min-width:120px;padding:.25rem;position:relative}.timeline-cell.has-schedule-button{background:hsl(var(--muted)/.4)}.timeline-schedule-button{align-items:center;background:hsl(var(--info));border:none;border-radius:4px;box-shadow:0 2px 4px hsl(var(--foreground)/.1);color:hsl(var(--primary-foreground));cursor:pointer;display:none;justify-content:center;padding:.25rem;position:absolute;right:.25rem;top:.25rem;transition:all .2s;z-index:4}.timeline-cell.has-schedule-button .timeline-schedule-button{display:flex}.timeline-schedule-button:hover{background:hsl(var(--info));box-shadow:0 4px 8px hsl(var(--foreground)/.15);transform:scale(1.1)}.timeline-cell.today-period{background:hsl(var(--warning)/.15);border-right:2px solid hsl(var(--warning))}.timeline-cell:last-child{border-right:none}.timeline-events{align-items:center;display:flex;flex-direction:column;gap:.25rem;width:100%}.timeline-event{align-items:center;border:2px solid;border-radius:4px;cursor:pointer;display:flex;font-size:.625rem;justify-content:center;max-width:100%;min-width:80px;padding:.25rem .375rem;position:relative;transition:all .2s}.timeline-event:hover{box-shadow:0 2px 8px hsl(var(--foreground)/.15);transform:scale(1.1);z-index:5}.timeline-visit{min-height:32px;min-width:32px}.timeline-visit.visit-completed{background:hsl(var(--info)/.15);border-color:hsl(var(--info));color:hsl(var(--info)/.9)}.timeline-visit.visit-missed{background:hsl(var(--destructive)/.12);border-color:hsl(var(--destructive));color:hsl(var(--destructive)/.9)}.timeline-visit.visit-scheduled{background:hsl(var(--warning)/.15);border-color:hsl(var(--warning));color:hsl(var(--warning))}.timeline-sale{background:hsl(var(--positive)/.15);border-color:hsl(var(--positive));color:hsl(var(--positive));flex-direction:column;font-weight:600;gap:.25rem;max-width:150px;min-width:100px;padding:.375rem .5rem}.sale-icon{justify-content:center}.sale-icon,.sale-info{align-items:center;display:flex}.sale-info{flex-direction:column;gap:.125rem;width:100%}.sale-value{font-size:.625rem;font-weight:700;line-height:1.2;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sale-details{align-items:center;display:flex;flex-direction:column;font-size:.5rem;gap:.125rem;line-height:1.2;width:100%}.sale-items{color:hsl(var(--positive));font-weight:500}.sale-status{font-size:.5rem;font-weight:600;text-transform:capitalize}.sales-gap-timeline-empty,.sales-gap-timeline-loading{color:hsl(var(--muted-foreground));font-size:1rem;padding:3.75rem 1.25rem;text-align:center}.sale-tooltip{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:8px;box-shadow:0 10px 15px -3px hsl(var(--foreground)/.1),0 4px 6px -2px hsl(var(--foreground)/.05);max-width:400px;min-width:300px;pointer-events:none;position:fixed;z-index:25}.tooltip-header{align-items:center;background:hsl(var(--muted)/.4);border-bottom:1px solid hsl(var(--border));border-radius:8px 8px 0 0;display:flex;justify-content:space-between;padding:.75rem 1rem}.tooltip-header h4{color:hsl(var(--foreground));font-size:.875rem;font-weight:600;margin:0}.tooltip-status{background:hsl(var(--foreground)/.05);border-radius:4px;font-size:.75rem;font-weight:600;padding:.25rem .5rem;text-transform:capitalize}.tooltip-content{padding:1rem}.tooltip-row{align-items:center;display:flex;font-size:.875rem;justify-content:space-between;margin-bottom:.5rem}.tooltip-label{color:hsl(var(--muted-foreground));font-weight:500}.tooltip-value{color:hsl(var(--foreground));font-weight:600}.tooltip-divider{background:hsl(var(--border));height:1px;margin:.75rem 0}.tooltip-section{margin-top:.5rem}.tooltip-section-title{color:hsl(var(--muted-foreground));font-size:.75rem;font-weight:600;letter-spacing:.05em;margin-bottom:.5rem;text-transform:uppercase}.tooltip-product{background:hsl(var(--muted)/.4);border-radius:4px;margin-bottom:.5rem;padding:.5rem}.tooltip-product:last-child{margin-bottom:0}.tooltip-product-name{color:hsl(var(--foreground));font-size:.875rem;font-weight:600;margin-bottom:.25rem}.tooltip-product-details{align-items:center;color:hsl(var(--muted-foreground));display:flex;flex-wrap:wrap;font-size:.75rem;gap:.5rem}.tooltip-product-subtotal{color:hsl(var(--foreground));font-weight:600}@media (max-width:768px){.timeline-container{-webkit-overflow-scrolling:touch;box-sizing:border-box;max-width:100vw;overflow-x:auto;width:100%}.timeline-table{min-width:100%}.timeline-lead-header,.timeline-lead-info{left:0;max-width:200px;min-width:200px;position:-webkit-sticky;position:sticky;z-index:5}.timeline-cell,.timeline-period-header{min-width:100px}.timeline-header{align-items:flex-start;flex-direction:column}.sale-tooltip{max-width:calc(100vw - 2rem);min-width:auto}}.sales-gap-page{background-color:hsl(var(--muted)/.4);box-sizing:border-box;margin:0 auto;max-width:1600px;min-height:calc(100vh - 80px);padding:2rem;width:100%}@media (max-width:1632px){.sales-gap-page{max-width:calc(100vw - 4rem)}}.page-header{gap:1rem;margin-bottom:2rem}.header-content{flex:1 1}.page-header h1{align-items:center;color:hsl(var(--foreground));display:flex;font-size:2rem;font-weight:700;gap:.75rem;margin:0 0 .5rem}.page-description{font-size:1rem;margin:0 0 0 2.75rem}.refresh-button{align-items:center;background:hsl(var(--info));border:none;border-radius:8px;color:hsl(var(--primary-foreground));cursor:pointer;display:flex;font-size:.875rem;font-weight:500;gap:.5rem;padding:.75rem 1.5rem;transition:all .2s;white-space:nowrap}.refresh-button:hover:not(:disabled){background:hsl(var(--info));box-shadow:0 4px 6px #3b82f64d;transform:translateY(-1px)}.refresh-button:disabled{cursor:not-allowed;opacity:.6}.error-message{align-items:center;background:hsl(var(--destructive)/.12);border:1px solid hsl(var(--destructive)/.3);border-radius:8px;display:flex;gap:1rem;justify-content:space-between;margin-bottom:2rem;padding:1rem}.error-message p{color:hsl(var(--destructive)/.9);font-weight:500;margin:0}.retry-button{align-items:center;background:hsl(var(--destructive));border:none;border-radius:8px;color:hsl(var(--primary-foreground));cursor:pointer;display:flex;font-size:.875rem;font-weight:500;gap:.5rem;padding:.75rem 1.5rem;transition:all .2s}.retry-button:hover{background:hsl(var(--destructive)/.9)}.timeline-section{box-sizing:border-box;margin-bottom:2rem;max-width:100%;width:100%}.pagination{align-items:center;background:hsl(var(--card));border-radius:8px;box-shadow:0 1px 3px hsl(var(--foreground)/.1);display:flex;gap:1rem;justify-content:center;margin-top:2rem;padding:1rem}.pagination-button{background:hsl(var(--info));border:none;border-radius:8px;color:hsl(var(--primary-foreground));cursor:pointer;font-size:.875rem;font-weight:500;padding:.75rem 1.5rem;transition:all .2s}.pagination-button:hover:not(:disabled){background:hsl(var(--info));box-shadow:0 4px 6px #3b82f64d;transform:translateY(-1px)}.pagination-button:disabled{cursor:not-allowed;opacity:.6}.pagination-info{color:hsl(var(--muted-foreground));font-size:.875rem;font-weight:500}@media (max-width:768px){.sales-gap-page{padding:1rem}.page-header{align-items:stretch;flex-direction:column}.page-header h1{font-size:1.5rem}.page-description{margin-left:0;margin-top:.5rem}.pagination{flex-direction:column;gap:.75rem}}.products-container{background-color:hsl(var(--muted)/.4);display:flex;flex-direction:column;height:calc(100vh - 80px);overflow:hidden;width:100%}.products-header{background-color:hsl(var(--card));border-bottom:1px solid hsl(var(--border));box-shadow:0 1px 3px 0 hsl(var(--foreground)/.1);padding:16px 24px}.products-header-content{align-items:center;display:flex;justify-content:space-between}.products-title{color:hsl(var(--foreground));font-size:24px;font-weight:700;margin:0}.products-subtitle{color:hsl(var(--muted-foreground));font-size:14px;margin:4px 0 0}.products-header-actions{align-items:center;display:flex;gap:12px}.products-export-button{background-color:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:6px;color:hsl(var(--foreground));cursor:pointer;font-size:14px;font-weight:600;padding:8px 14px;transition:all .2s ease}.products-export-button:hover:not(:disabled){background-color:hsl(var(--muted))}.products-export-button:disabled{cursor:not-allowed;opacity:.6}.products-filters{background-color:hsl(var(--card));border-bottom:1px solid hsl(var(--border));padding:20px 24px}.products-filters-grid{grid-gap:16px 20px;display:grid;gap:16px 20px;grid-template-columns:1fr;margin-bottom:16px}.products-filter-field{display:flex;flex-direction:column;gap:6px}.products-filter-field.full-width{grid-column:1/-1}.products-filter-field label{color:hsl(var(--muted-foreground));font-size:13px;font-weight:600}.products-filter-field input{border:1px solid hsl(var(--border));border-radius:6px;font-size:14px;padding:10px 12px;transition:border-color .2s ease,box-shadow .2s ease}.products-filter-field input:focus{border-color:hsl(var(--info));box-shadow:0 0 0 3px #3b82f61a;outline:none}.products-filters-actions{display:flex;gap:12px;justify-content:flex-end}.products-apply-filters-button,.products-clear-filters-button{border:1px solid;border-radius:6px;cursor:pointer;font-size:14px;font-weight:600;padding:8px 16px;transition:all .2s ease}.products-apply-filters-button{color:hsl(var(--primary-foreground))}.products-apply-filters-button,.products-apply-filters-button:hover{background-color:hsl(var(--info));border-color:hsl(var(--info))}.products-clear-filters-button{background-color:hsl(var(--card));border-color:hsl(var(--border));color:hsl(var(--muted-foreground))}.products-clear-filters-button:hover{background-color:hsl(var(--muted)/.4);border-color:hsl(var(--muted-foreground)/.85);color:hsl(var(--muted-foreground))}.products-content{background-color:hsl(var(--card));flex:1 1;overflow-y:auto;padding:24px}.products-table-container{background:hsl(var(--card));border-radius:8px;box-shadow:0 1px 3px 0 hsl(var(--foreground)/.1);overflow-x:auto}.products-table{background-color:hsl(var(--card));border-collapse:collapse;width:100%}.products-table thead{background-color:hsl(var(--muted)/.5)}.products-table th{border-bottom:2px solid hsl(var(--border));color:hsl(var(--muted-foreground));font-size:14px;font-weight:600;padding:12px 16px;text-align:left;white-space:nowrap}.products-table th.sortable{cursor:pointer;-webkit-user-select:none;user-select:none}.products-table th.sortable:hover{background-color:hsl(var(--muted))}.sort-indicator{color:hsl(var(--info));margin-left:4px}.products-table td{border-bottom:1px solid hsl(var(--muted));color:hsl(var(--muted-foreground));font-size:14px;padding:12px 16px}.products-table tbody tr:hover{background-color:hsl(var(--muted)/.5)}.products-table tbody tr:last-child td{border-bottom:none}.products-product-info{display:flex;flex-direction:column;gap:4px}.products-product-name{color:hsl(var(--foreground));font-weight:600}.products-product-description{color:hsl(var(--muted-foreground));font-size:12px;font-style:italic}.products-sales-count{background-color:hsl(var(--info)/.15);border-radius:12px;color:hsl(var(--info)/.9);display:inline-block;font-size:12px;font-weight:600;padding:4px 10px}.products-error,.products-loading{align-items:center;display:flex;height:100%;justify-content:center;min-height:400px}.products-error-text,.products-loading-text{color:hsl(var(--muted-foreground));font-size:18px}.products-error-text{color:hsl(var(--destructive))}.products-error{background-color:hsl(var(--destructive)/.12);border-radius:6px;margin-bottom:16px;padding:16px}.products-empty{color:hsl(var(--muted-foreground));font-style:italic;padding:48px 24px;text-align:center}.products-pagination{align-items:center;border-top:1px solid hsl(var(--border));display:flex;gap:16px;justify-content:center;margin-top:24px;padding-top:20px}.products-pagination-button{background-color:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:6px;color:hsl(var(--muted-foreground));cursor:pointer;font-size:14px;font-weight:600;padding:8px 16px;transition:all .2s ease}.products-pagination-button:hover:not(:disabled){background-color:hsl(var(--muted));border-color:hsl(var(--muted-foreground)/.85)}.products-pagination-button:disabled{cursor:not-allowed;opacity:.5}.products-pagination-info{color:hsl(var(--muted-foreground));font-size:14px;font-weight:500}.commercial-policy-page{margin:0 auto;max-width:1200px;padding:24px}.btn-help{align-items:center;background:hsl(var(--muted));border:1px solid hsl(var(--border));border-radius:8px;color:hsl(var(--muted-foreground));cursor:pointer;display:flex;justify-content:center;padding:10px;transition:all .2s}.btn-help:hover{background:hsl(var(--info)/.15);border-color:hsl(var(--info));color:hsl(var(--info))}.btn-help.active{background:hsl(var(--info));border-color:hsl(var(--info));color:hsl(var(--primary-foreground))}.active-policy-card{background:hsl(var(--card));border:2px solid hsl(var(--info));border-radius:12px;box-shadow:0 4px 12px #2563eb26;margin-bottom:24px;padding:24px}.active-policy-header{align-items:center;display:flex;gap:12px;margin-bottom:20px}.active-badge{align-items:center;background:hsl(var(--info));border-radius:20px;color:hsl(var(--primary-foreground));display:inline-flex;font-size:12px;font-weight:600;gap:6px;padding:6px 14px}.active-policy-header h2{color:hsl(var(--foreground));font-size:24px;font-weight:600;margin:0}.active-policy-info{gap:16px}.active-policy-info,.info-item{display:flex;flex-direction:column}.info-item{gap:4px}.info-item .label{color:hsl(var(--muted-foreground));font-size:13px;font-weight:500}.info-item .value{color:hsl(var(--foreground));font-size:16px;font-weight:600}.info-stats{border-top:1px solid hsl(var(--border));display:flex;flex-wrap:wrap;gap:32px;margin-top:8px;padding:16px 0}.stat{display:flex;flex-direction:column;gap:2px}.stat-value{color:hsl(var(--info));font-size:28px;font-weight:700}.stat-label{color:hsl(var(--muted-foreground));font-size:12px;font-weight:500}.active-policy-actions{border-top:1px solid hsl(var(--border));margin-top:20px;padding-top:16px}.active-policy-actions .btn-secondary{background:hsl(var(--card));border:1px solid hsl(var(--border));color:hsl(var(--info))}.active-policy-actions .btn-secondary:hover{background:hsl(var(--info)/.06);border-color:hsl(var(--info))}.quick-access-section{margin-bottom:32px}.quick-access-section h3{color:hsl(var(--foreground));font-size:16px;font-weight:600;margin:0 0 16px}.quick-access-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.quick-access-card{align-items:center;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:12px;cursor:pointer;display:flex;gap:16px;padding:20px;text-align:left;transition:all .2s}.quick-access-card:hover{border-color:hsl(var(--info));box-shadow:0 4px 12px #2563eb1a}.card-icon-wrapper{align-items:center;border-radius:12px;display:flex;flex-shrink:0;height:48px;justify-content:center;width:48px}.card-icon-wrapper.tables{background:hsl(var(--info)/.15);color:hsl(var(--info))}.card-icon-wrapper.discounts{background:hsl(var(--positive)/.1);color:hsl(var(--positive))}.card-icon-wrapper.payments{background:hsl(var(--warning)/.15);color:hsl(var(--warning)/.9)}.card-icon-wrapper.approvals{background:hsl(var(--destructive)/.12);color:hsl(var(--destructive))}.card-content{display:flex;flex:1 1;flex-direction:column;gap:4px}.card-title{color:hsl(var(--foreground));font-size:16px;font-weight:600}.card-description{color:hsl(var(--muted-foreground));font-size:13px}.quick-access-card .chevron{color:hsl(var(--muted-foreground)/.85);flex-shrink:0;transition:transform .2s}.quick-access-card:hover .chevron{transform:translateX(4px)}.policies-list-section h3{color:hsl(var(--foreground));font-size:16px;font-weight:600;margin:0 0 16px}.policies-list{display:flex;flex-direction:column;gap:8px}.policy-item{align-items:center;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:8px;display:flex;justify-content:space-between;padding:16px}.policy-item.active{background:hsl(var(--info)/.06);border-color:hsl(var(--info))}.policy-info{display:flex;flex-direction:column;gap:4px}.policy-name{color:hsl(var(--foreground));font-weight:500}.policy-accumulation{color:hsl(var(--muted-foreground));font-size:13px}.policy-actions{gap:8px}.active-label,.policy-actions{align-items:center;display:flex}.active-label{color:hsl(var(--positive));font-size:13px;font-weight:500;gap:4px}.btn-activate,.btn-edit{border-radius:6px;cursor:pointer;font-size:13px;padding:6px 12px;transition:all .2s}.btn-activate{background:hsl(var(--info)/.15);border:none;color:hsl(var(--info))}.btn-activate:hover{background:hsl(var(--info)/.3)}.btn-edit{background:#0000;border:1px solid hsl(var(--border));color:hsl(var(--muted-foreground))}.btn-edit:hover{background:hsl(var(--muted))}.onboarding-wizard{background:linear-gradient(135deg,hsl(var(--info)/.06) 0,hsl(var(--info)/.1) 100%);border:2px dashed hsl(var(--info));border-radius:16px;margin-bottom:32px;padding:40px;position:relative;text-align:center}.wizard-close{align-items:center;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:8px;color:hsl(var(--muted-foreground));cursor:pointer;display:flex;justify-content:center;padding:8px;position:absolute;right:16px;top:16px;transition:all .2s}.wizard-close:hover{background:hsl(var(--destructive)/.12);border-color:hsl(var(--destructive));color:hsl(var(--destructive))}.onboarding-wizard h2{color:hsl(var(--foreground));font-size:28px;font-weight:700;margin:0 0 8px}.onboarding-wizard>p{color:hsl(var(--muted-foreground));font-size:16px;margin:0 0 32px}.wizard-steps{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:32px}.wizard-step{background:hsl(var(--card));border:2px solid hsl(var(--border));border-radius:12px;padding:24px;text-align:left;transition:all .3s}.wizard-step:hover{border-color:hsl(var(--info));box-shadow:0 8px 16px hsl(var(--foreground)/.1);transform:translateY(-4px)}.step-icon{align-items:center;background:hsl(var(--info)/.15);border-radius:12px;color:hsl(var(--info));display:flex;height:56px;justify-content:center;margin-bottom:16px;width:56px}.step-number{color:hsl(var(--info));font-size:11px;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.step-content h3{color:hsl(var(--foreground));font-size:16px;font-weight:600;margin:4px 0 8px}.step-content p{color:hsl(var(--muted-foreground));font-size:13px;margin:0}.wizard-actions{display:flex;gap:12px;justify-content:center}.btn-large{font-size:16px;padding:14px 28px}@media (max-width:768px){.commercial-policy-page{padding:16px}.page-header{align-items:stretch;flex-direction:column}.header-actions{justify-content:flex-end}.active-policy-card{padding:20px}.info-stats{gap:16px}.quick-access-grid{grid-template-columns:1fr}.onboarding-wizard{padding:24px}.onboarding-wizard h2{font-size:22px}.wizard-steps{grid-template-columns:1fr}.wizard-actions{flex-direction:column}.wizard-actions .btn-large,.wizard-actions .btn-secondary{width:100%}}.price-tables-page{margin:0 auto;max-width:1400px;padding:24px}.back-button{padding:10px;transition:background .2s}.filters-section{gap:16px;margin-bottom:24px}.filter-group{display:flex;flex-direction:column;gap:6px}.filter-group label{color:hsl(var(--muted-foreground));font-size:12px;font-weight:500}.filter-select{border:1px solid hsl(var(--border));border-radius:8px;font-size:14px;min-width:150px;padding:8px 12px}.search-group{flex:1 1;min-width:200px}.search-input-wrapper{background:var(--card);border:1px solid hsl(var(--border));border-radius:8px;gap:8px;padding:8px 12px}.search-input-wrapper svg{color:hsl(var(--muted-foreground)/.85)}.search-input{border:none;font-size:14px;outline:none}.hierarchy-section{background:linear-gradient(135deg,hsl(var(--muted)/.5) 0,hsl(var(--muted)) 100%);border:1px solid hsl(var(--border));border-radius:12px;margin-bottom:24px;padding:16px 20px}.hierarchy-header{display:flex;flex-direction:column;gap:4px;margin-bottom:16px}.hierarchy-title{color:hsl(var(--foreground));font-size:14px;font-weight:600}.hierarchy-subtitle{color:hsl(var(--muted-foreground));font-size:12px}.hierarchy-flow{align-items:center;display:flex;gap:8px;overflow-x:auto;padding:4px 0}.hierarchy-item{align-items:center;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:10px;display:flex;gap:10px;min-width:-webkit-fit-content;min-width:fit-content;padding:10px 14px;transition:all .2s}.hierarchy-item.has-tables{border-color:hsl(var(--border));box-shadow:0 1px 3px hsl(var(--foreground)/.05)}.hierarchy-item.empty{opacity:.5}.hierarchy-icon{align-items:center;border-radius:8px;color:hsl(var(--primary-foreground));display:flex;height:32px;justify-content:center;width:32px}.hierarchy-info{display:flex;flex-direction:column;gap:2px}.hierarchy-type-name{color:hsl(var(--foreground));font-size:13px;font-weight:600}.hierarchy-type-count{color:hsl(var(--muted-foreground));font-size:11px}.hierarchy-arrow{align-items:center;color:hsl(var(--muted-foreground)/.85);display:flex;flex-shrink:0}.tables-container{display:flex;flex-direction:column;gap:32px}.type-section{background:hsl(var(--muted)/.4);border:1px solid hsl(var(--border));border-radius:16px;padding:20px}.type-section-header{align-items:center;display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;margin-bottom:16px}.type-section-title-wrapper{display:flex;flex-direction:column;gap:4px}.type-section-title{align-items:center;display:flex;font-size:16px;font-weight:600;gap:8px}.type-priority-number{border-radius:10px;color:hsl(var(--primary-foreground));font-size:11px;font-weight:700;padding:2px 8px}.type-priority-desc{color:hsl(var(--muted-foreground));font-size:12px;font-weight:400}.type-section-title .type-count{color:hsl(var(--muted-foreground));font-size:14px;font-weight:400}.priority-hint{background:hsl(var(--muted));border-radius:12px;padding:4px 10px}.btn-edit-priorities,.priority-hint{color:hsl(var(--muted-foreground));font-size:12px}.btn-edit-priorities{align-items:center;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:8px;cursor:pointer;display:flex;font-weight:500;gap:6px;padding:6px 12px;transition:all .2s}.btn-edit-priorities:hover{background:hsl(var(--muted));border-color:hsl(var(--muted-foreground)/.85);color:hsl(var(--foreground))}.type-section-cards{align-items:stretch;display:flex;gap:12px;overflow-x:auto;overflow-y:visible;padding-bottom:8px;padding-top:14px}.priority-arrow{align-items:center;color:hsl(var(--muted-foreground)/.85);display:flex;flex-shrink:0}.priority-indicator{border-radius:10px;color:hsl(var(--primary-foreground));font-size:11px;font-weight:700;left:16px;padding:2px 8px;position:absolute;top:-10px;z-index:1}.table-card{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:12px;display:flex;flex-direction:column;flex-shrink:0;max-width:340px;min-width:280px;overflow:visible;position:relative;transition:all .2s}.table-card:hover{box-shadow:0 4px 12px hsl(var(--foreground)/.1)}.table-card.inactive{opacity:.7}.table-card-header{align-items:center;background:hsl(var(--muted)/.4);border-bottom:1px solid hsl(var(--border));display:flex;justify-content:space-between;padding:12px 16px}.table-type-info{align-items:center;display:flex;gap:8px}.table-type-badge{border-radius:12px;color:hsl(var(--primary-foreground));font-size:12px;font-weight:500;padding:4px 10px}.priority-badge{background:hsl(var(--muted));border-radius:8px;color:hsl(var(--muted-foreground));font-size:11px;font-weight:600;padding:2px 8px}.toggle-btn{background:none;border:none;cursor:pointer;padding:0}.table-card-body{cursor:pointer;display:flex;flex:1 1;flex-direction:column;justify-content:space-around;padding:16px}.table-card-body h3{color:hsl(var(--foreground));font-size:16px;font-weight:600;margin:0 0 8px}.table-description{-webkit-line-clamp:2;-webkit-box-orient:vertical;color:hsl(var(--muted-foreground));display:-webkit-box;font-size:13px;margin:0 0 12px;min-height:36px;overflow:hidden}.table-stats{display:flex;gap:24px}.table-stats .stat{display:flex;flex-direction:column;gap:2px}.table-stats .stat-value{color:hsl(var(--foreground));font-size:20px;font-weight:700}.table-stats .stat-label{color:hsl(var(--muted-foreground));font-size:11px;text-transform:uppercase}.table-channels-preview,.table-regions-preview{border-top:1px dashed hsl(var(--border));display:flex;flex-wrap:wrap;gap:6px;margin-top:auto;padding-top:12px}.channel-tag,.region-tag{background:hsl(var(--muted));border-radius:6px;color:hsl(var(--muted-foreground));font-size:11px;font-weight:500;padding:4px 8px}.region-tag{background:hsl(var(--warning)/.15);color:hsl(var(--warning))}.channel-tag{background:hsl(var(--primary)/.12);color:hsl(var(--primary))}.region-tag.more{background:hsl(var(--border));color:hsl(var(--muted-foreground))}.table-card-actions{background:hsl(var(--muted)/.4);border-top:1px solid hsl(var(--border));display:flex;gap:4px;justify-content:flex-end;padding:12px 16px}.table-card-actions button{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:6px;color:hsl(var(--muted-foreground));cursor:pointer;padding:8px;transition:all .2s}.table-card-actions button:hover{background:hsl(var(--muted));color:hsl(var(--foreground))}.table-card-actions .delete-btn:hover{background:hsl(var(--destructive)/.12);border-color:hsl(var(--destructive)/.3);color:hsl(var(--destructive))}.empty-state,.loading-state{color:hsl(var(--muted-foreground));grid-column:1/-1;padding:48px 24px;text-align:center}.empty-state svg{color:hsl(var(--border))}.empty-state h3{color:hsl(var(--foreground));font-size:18px;font-weight:600;margin:0}.modal-content.modal-small{max-width:500px}.modal-content.modal-large{max-width:600px}.modal-close{border-radius:4px}.modal-close:hover{background:hsl(var(--muted))}.form-group{margin-bottom:16px}.form-group label{margin-bottom:6px}.form-input,.form-select,.form-textarea{border:1px solid hsl(var(--border));border-radius:8px;font-size:14px;padding:10px 12px;width:100%}.form-input:focus,.form-select:focus,.form-textarea:focus{border-color:hsl(var(--info));outline:none}.form-row{gap:16px}.checkbox-group label{align-items:center;cursor:pointer;display:flex;gap:8px}.checkbox-group input[type=checkbox]{height:16px;width:16px}.btn-save:disabled{background:hsl(var(--info)/.5);cursor:not-allowed}.priority-info{background:hsl(var(--info)/.06);border:1px solid hsl(var(--info)/.3);border-radius:8px;margin-bottom:20px;padding:12px 16px}.priority-info p{color:hsl(var(--info)/.9);font-size:13px;margin:0}.priority-list{border:1px solid hsl(var(--border));border-radius:8px;overflow:hidden}.priority-list-header{background:hsl(var(--muted)/.4);color:hsl(var(--muted-foreground));font-size:11px;font-weight:600;padding:10px 16px;text-transform:uppercase}.priority-item,.priority-list-header{grid-gap:12px;border-bottom:1px solid hsl(var(--border));display:grid;gap:12px;grid-template-columns:60px 1fr 80px}.priority-item{align-items:center;padding:12px 16px}.priority-item:last-child{border-bottom:none}.priority-item:hover{background:hsl(var(--muted)/.4)}.priority-number{color:hsl(var(--info));font-size:14px;font-weight:700}.priority-table-info{display:flex;flex-direction:column;gap:2px}.priority-table-name{color:hsl(var(--foreground));font-size:14px;font-weight:500}.priority-table-desc{color:hsl(var(--muted-foreground));font-size:12px}.priority-actions{display:flex;gap:4px}.btn-move{background:hsl(var(--muted));border:1px solid hsl(var(--border));border-radius:6px;color:hsl(var(--muted-foreground));cursor:pointer;padding:6px;transition:all .2s}.btn-move:hover:not(:disabled){background:hsl(var(--info)/.15);border-color:hsl(var(--info));color:hsl(var(--info))}.btn-move:disabled{cursor:not-allowed;opacity:.4}@media (max-width:768px){.price-tables-page{padding:16px}.page-header{align-items:stretch;flex-direction:column}.header-actions{justify-content:flex-end}.filters-section{flex-direction:column}.filter-select{width:100%}.tables-grid{grid-template-columns:1fr}}.price-table-detail{margin:0 auto;max-width:1200px;padding:24px}.price-table-detail.loading{align-items:center;color:hsl(var(--muted-foreground));display:flex;justify-content:center;min-height:400px}.header-content{gap:16px}.back-button{background:hsl(var(--muted));border:1px solid hsl(var(--border));border-radius:8px;flex-shrink:0;height:40px;width:40px}.back-button:hover{background:hsl(var(--border))}.header-content h1{margin:0 0 4px}.btn-primary:disabled{background:hsl(var(--info)/.5);cursor:not-allowed}.tabs{border-bottom:1px solid hsl(var(--border));display:flex;gap:4px;margin-bottom:24px;padding-bottom:4px}.tab{background:none;border:none;border-radius:6px 6px 0 0;color:hsl(var(--muted-foreground));cursor:pointer;font-size:14px;font-weight:500;padding:10px 16px;transition:all .2s}.tab:hover{background:hsl(var(--muted));color:hsl(var(--foreground))}.tab.active{background:hsl(var(--info)/.15);color:hsl(var(--info))}.associations-section,.items-section{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:12px;padding:20px}.section-header{margin-bottom:16px}.section-header h3{color:hsl(var(--foreground));font-size:16px;font-weight:600;margin:0}.btn-add{border-radius:6px;padding:8px 12px}.btn-add:disabled{cursor:not-allowed;opacity:.5}.product-search-panel{background:hsl(var(--muted)/.4);border:1px solid hsl(var(--border));border-radius:8px;margin-bottom:16px;overflow:hidden}.search-header{align-items:center;background:hsl(var(--card));border-bottom:1px solid hsl(var(--border));display:flex;gap:12px;padding:12px}.search-header svg{color:hsl(var(--muted-foreground)/.85);flex-shrink:0}.search-header input{border:none;flex:1 1;font-size:14px;outline:none}.search-header button{background:none;border:none;color:hsl(var(--muted-foreground)/.85);cursor:pointer;padding:4px}.search-header button:hover{color:hsl(var(--muted-foreground))}.search-results{max-height:240px;overflow-y:auto}.search-result-item{align-items:center;background:none;border:none;border-bottom:1px solid hsl(var(--border));cursor:pointer;display:flex;gap:12px;padding:12px;text-align:left;transition:background .2s;width:100%}.search-result-item:last-child{border-bottom:none}.search-result-item:hover{background:hsl(var(--muted))}.search-result-item .product-name{color:hsl(var(--foreground));flex:1 1;font-size:14px}.search-result-item .product-sku{color:hsl(var(--muted-foreground)/.85);font-size:12px}.no-results{color:hsl(var(--muted-foreground));font-size:14px;padding:20px;text-align:center}.items-table-wrapper{overflow-x:auto}.items-table{border-collapse:collapse;width:100%}.items-table td,.items-table th{border-bottom:1px solid hsl(var(--border));padding:12px;text-align:left}.items-table th{background:hsl(var(--muted)/.4);color:hsl(var(--muted-foreground));font-size:12px;font-weight:600;text-transform:uppercase}.items-table th:last-child{width:50px}.items-table tr.edited{background:hsl(var(--warning)/.15)}.items-table td .product-name{color:hsl(var(--foreground));display:block;font-size:14px;font-weight:500}.items-table td .product-sku{color:hsl(var(--muted-foreground)/.85);display:block;font-size:12px;margin-top:2px}.price-input{border:1px solid hsl(var(--border));border-radius:6px;font-size:14px;padding:8px 10px;text-align:right;width:100px}.price-input:focus{border-color:hsl(var(--info));outline:none}.btn-remove{align-items:center;background:none;border:none;border-radius:4px;color:hsl(var(--destructive));cursor:pointer;display:flex;justify-content:center;padding:6px;transition:background .2s}.btn-remove:hover{background:hsl(var(--destructive)/.12)}.lead-search-wrapper{align-items:center;background:hsl(var(--muted)/.4);border:1px solid hsl(var(--border));border-radius:8px;display:flex;gap:12px;margin-bottom:16px;padding:12px}.lead-search-wrapper svg{color:hsl(var(--muted-foreground)/.85);flex-shrink:0}.lead-search-wrapper input{background:none;border:none;flex:1 1;font-size:14px;outline:none}.lead-search-wrapper .searching{color:hsl(var(--muted-foreground)/.85);font-size:12px}.lead-results{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:8px;margin-bottom:16px;overflow:hidden}.lead-result-item{align-items:center;background:none;border:none;border-bottom:1px solid hsl(var(--border));cursor:pointer;display:flex;gap:12px;padding:12px;text-align:left;transition:background .2s;width:100%}.lead-result-item:last-child{border-bottom:none}.lead-result-item:hover{background:hsl(var(--muted))}.lead-result-item .lead-name{color:hsl(var(--foreground));flex:1 1;font-size:14px;font-weight:500}.lead-result-item .lead-cnpj{color:hsl(var(--muted-foreground));font-size:12px}.lead-result-item .lead-city{color:hsl(var(--muted-foreground)/.85);font-size:12px}.associations-list{display:flex;flex-direction:column;gap:8px}.association-item{align-items:center;background:hsl(var(--muted)/.4);border:1px solid hsl(var(--border));border-radius:8px;display:flex;justify-content:space-between;padding:12px}.association-info{display:flex;flex-direction:column;gap:2px}.association-name{color:hsl(var(--foreground));font-size:14px;font-weight:500}.association-detail{color:hsl(var(--muted-foreground));font-size:12px}.region-form{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:16px}.region-form input,.region-form select{border:1px solid hsl(var(--border));border-radius:8px;font-size:14px;padding:10px 12px}.region-form select{min-width:180px}.region-form input{flex:1 1;min-width:200px}.region-form input:focus,.region-form select:focus{border-color:hsl(var(--info));outline:none}.channel-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.btn-channel{align-items:center;background:hsl(var(--card));border:1px dashed hsl(var(--border));border-radius:8px;color:hsl(var(--muted-foreground));cursor:pointer;display:flex;font-size:13px;gap:6px;padding:8px 14px;transition:all .2s}.btn-channel:hover{background:hsl(var(--info)/.06);border-color:hsl(var(--info));color:hsl(var(--info))}@media (max-width:768px){.price-table-detail{padding:16px}.page-header{align-items:stretch;flex-direction:column}.header-actions{justify-content:flex-end}.tabs{overflow-x:auto}.price-input{width:80px}.region-form{flex-direction:column}.region-form input,.region-form select{width:100%}}.discount-settings{margin:0 auto;max-width:1200px;padding:24px}.discount-settings.loading{align-items:center;color:hsl(var(--muted-foreground));display:flex;justify-content:center;min-height:400px}.section{padding:24px}.section-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:8px}.section-header h2{align-items:center;color:hsl(var(--foreground));display:flex;font-size:18px;font-weight:600;gap:10px;margin:0}.section-description{color:hsl(var(--muted-foreground));font-size:14px;margin:0 0 20px}.seller-limits-table-wrapper{overflow-x:auto}.seller-limits-table{border-collapse:collapse;width:100%}.seller-limits-table td,.seller-limits-table th{border-bottom:1px solid hsl(var(--border));padding:14px 12px;text-align:left}.seller-limits-table th{background:hsl(var(--muted)/.4);color:hsl(var(--muted-foreground));font-size:12px;font-weight:600;text-transform:uppercase}.seller-limits-table th:last-child{width:80px}.seller-info{display:flex;flex-direction:column;gap:2px}.seller-name{color:hsl(var(--foreground));font-size:14px;font-weight:500}.seller-email{color:hsl(var(--muted-foreground)/.85);font-size:12px}.limit-value{color:hsl(var(--foreground));font-size:14px;font-weight:500}.limit-value.not-set{color:hsl(var(--muted-foreground)/.85)}.limit-input{border:1px solid hsl(var(--info));border-radius:6px;font-size:14px;padding:8px 10px;text-align:right;width:100px}.limit-input:focus{outline:none}.action-buttons{display:flex;gap:8px}.btn-delete,.btn-edit{padding:8px}.btn-save-inline{align-items:center;background:hsl(var(--positive)/.1);border:none;border-radius:6px;color:hsl(var(--positive));cursor:pointer;display:flex;justify-content:center;padding:8px;transition:background .2s}.btn-save-inline:hover{background:hsl(var(--positive)/.25)}.btn-cancel-inline{align-items:center;background:hsl(var(--muted));border:none;border-radius:6px;color:hsl(var(--muted-foreground));cursor:pointer;display:flex;justify-content:center;padding:8px;transition:background .2s}.btn-cancel-inline:hover{background:hsl(var(--border))}.empty-message{padding:40px 20px;text-align:center}.volume-rules-list{display:flex;flex-direction:column;gap:12px}.volume-rule-card{background:hsl(var(--muted)/.4);border:1px solid hsl(var(--border));border-radius:10px;overflow:hidden}.volume-rule-card.expanded{border-color:hsl(var(--info))}.rule-header{align-items:center;cursor:pointer;display:flex;gap:12px;padding:16px;transition:background .2s}.rule-header:hover{background:hsl(var(--muted))}.rule-toggle{color:hsl(var(--muted-foreground)/.85);flex-shrink:0}.rule-info{display:flex;flex:1 1;flex-direction:column;gap:2px}.rule-name{color:hsl(var(--foreground));font-size:14px;font-weight:600}.rule-product{color:hsl(var(--muted-foreground));font-size:12px}.rule-product.all{color:hsl(var(--info))}.rule-summary{background:hsl(var(--border));border-radius:12px;color:hsl(var(--muted-foreground)/.85);font-size:12px;padding:4px 10px}.rule-actions{display:flex;gap:4px}.rule-tiers{padding:0 16px 16px}.tiers-table{background:hsl(var(--card));border-collapse:collapse;border-radius:8px;overflow:hidden;width:100%}.tiers-table td,.tiers-table th{border-bottom:1px solid hsl(var(--border));padding:12px;text-align:center}.tiers-table th{background:hsl(var(--muted)/.4);color:hsl(var(--muted-foreground));font-size:11px;font-weight:600;text-transform:uppercase}.tiers-table tr:last-child td{border-bottom:none}.tiers-editor{display:flex;flex-direction:column;gap:12px}.tier-row{grid-gap:12px;align-items:end;background:hsl(var(--muted)/.4);border:1px solid hsl(var(--border));border-radius:10px;display:grid;gap:12px;grid-template-columns:1fr 1fr 1fr auto;padding:16px}.tier-field{display:flex;flex-direction:column;gap:6px}.tier-field label{color:hsl(var(--muted-foreground));font-size:12px;font-weight:600}.tier-field input{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:8px;font-size:14px;padding:10px 12px;text-align:center;transition:border-color .2s,box-shadow .2s;width:60px}.tier-field input::placeholder{color:hsl(var(--muted-foreground)/.85);font-size:16px}.tier-field input:focus{border-color:hsl(var(--info));box-shadow:0 0 0 3px #2563eb1a;outline:none}.btn-remove-tier{align-items:center;background:hsl(var(--card));border:1px solid hsl(var(--destructive)/.3);border-radius:8px;color:hsl(var(--destructive));cursor:pointer;display:flex;flex-shrink:0;height:38px;justify-content:center;transition:all .2s;width:38px}.btn-remove-tier:hover:not(:disabled){background:hsl(var(--destructive)/.12);border-color:hsl(var(--destructive))}.btn-remove-tier:disabled{border-color:hsl(var(--border));color:hsl(var(--border));cursor:not-allowed}.btn-add-tier{align-items:center;background:none;border:1px dashed hsl(var(--border));border-radius:8px;color:hsl(var(--muted-foreground));cursor:pointer;display:flex;font-size:13px;gap:6px;justify-content:center;padding:10px;transition:all .2s}.btn-add-tier:hover{background:hsl(var(--info)/.06);border-color:hsl(var(--info));color:hsl(var(--info))}@media (max-width:768px){.discount-settings,.section{padding:16px}.section-header{align-items:flex-start;flex-direction:column;gap:12px}.limit-input{width:80px}.tier-row{gap:10px;grid-template-columns:1fr 1fr}.tier-row .btn-remove-tier{grid-column:span 2;width:100%}.tier-field{min-width:0}}.payment-conditions{margin:0 auto;max-width:1200px;padding:24px}.payment-conditions.loading{align-items:center;color:hsl(var(--muted-foreground));display:flex;justify-content:center;min-height:400px}.header-content{gap:12px}.btn-primary{align-items:center;background:hsl(var(--info));border:none;border-radius:8px;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:8px;padding:10px 16px;transition:background .2s}.btn-primary:hover{background:hsl(var(--info)/.9)}.btn-secondary{align-items:center;background:hsl(var(--muted));border:1px solid hsl(var(--border));border-radius:8px;color:hsl(var(--muted-foreground));cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:8px;padding:10px 16px;transition:all .2s}.btn-secondary:hover{background:hsl(var(--border))}.btn-add{align-items:center;background:hsl(var(--info)/.15);border:none;border-radius:8px;color:hsl(var(--info));cursor:pointer;display:flex;font-size:13px;font-weight:500;gap:6px;padding:8px 14px;transition:background .2s}.btn-add:hover{background:hsl(var(--info)/.3)}.section{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:12px;margin-bottom:24px;padding:20px}.section h3{color:hsl(var(--foreground));font-size:16px;font-weight:600;margin:0 0 16px}.methods-grid{display:flex;flex-wrap:wrap;gap:10px}.method-card{align-items:center;background:hsl(var(--muted)/.4);border:1px solid hsl(var(--border));border-radius:8px;display:flex;gap:8px;padding:10px 14px}.method-name{color:hsl(var(--foreground));font-size:14px;font-weight:500}.method-type{background:hsl(var(--border));color:hsl(var(--muted-foreground));font-size:12px}.method-fee,.method-type{border-radius:10px;padding:2px 8px}.method-fee{background:hsl(var(--warning)/.15);color:hsl(var(--warning)/.9);font-size:11px}.conditions-list{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.condition-card{background:hsl(var(--muted)/.4);border:1px solid hsl(var(--border));border-radius:12px;padding:16px;transition:border-color .2s}.condition-card:hover{border-color:hsl(var(--info))}.condition-card.inactive{opacity:.6}.condition-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:12px}.condition-info{display:flex;flex-direction:column;gap:2px}.condition-name{color:hsl(var(--foreground));font-size:16px;font-weight:600}.condition-code{color:hsl(var(--muted-foreground)/.85);font-family:monospace;font-size:12px}.condition-actions{display:flex;gap:4px}.btn-delete,.btn-edit{align-items:center;background:none;border:none;border-radius:6px;cursor:pointer;display:flex;justify-content:center;padding:6px;transition:background .2s}.btn-edit{color:hsl(var(--info))}.btn-edit:hover{background:hsl(var(--info)/.15)}.btn-delete{color:hsl(var(--destructive))}.btn-delete:hover{background:hsl(var(--destructive)/.12)}.condition-details{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:12px}.detail-item{align-items:center;color:hsl(var(--muted-foreground));display:flex;font-size:13px;gap:4px}.detail-item.discount{color:hsl(var(--positive))}.detail-item.surcharge{color:hsl(var(--destructive))}.condition-methods{border-top:1px solid hsl(var(--border));display:flex;flex-wrap:wrap;gap:6px;padding-top:12px}.method-badge{background:hsl(var(--info)/.15);border-radius:12px;color:hsl(var(--info));font-size:11px;padding:4px 10px}.empty-state{gap:12px;grid-column:1/-1;padding:60px 20px}.empty-state p{font-size:14px}.empty-message{color:hsl(var(--muted-foreground));font-size:14px}.modal-content{max-height:90vh;max-width:450px;overflow-y:auto}.modal-content.large{max-width:600px}.modal-header{align-items:center;display:flex;justify-content:space-between}.modal-close{background:none;border:none;color:hsl(var(--muted-foreground));cursor:pointer;padding:4px}.modal-close:hover{color:hsl(var(--foreground))}.form-row{display:flex;gap:12px}.form-row .form-group{flex:1 1}.form-group{margin-bottom:20px}.form-group label{align-items:center;display:flex;gap:6px}.form-input,.form-select{border:1px solid hsl(var(--border));border-radius:8px;font-size:14px;padding:10px 12px;transition:border-color .2s;width:100%}.form-input:focus,.form-select:focus{border-color:hsl(var(--info));outline:none}.form-hint{color:hsl(var(--muted-foreground));display:block;font-size:12px;margin-top:6px}.type-selector{display:flex;gap:8px}.type-option{background:hsl(var(--muted)/.4);border:1px solid hsl(var(--border));border-radius:8px;color:hsl(var(--muted-foreground));cursor:pointer;flex:1 1;font-size:14px;font-weight:500;padding:12px;transition:all .2s}.type-option.active,.type-option:hover{border-color:hsl(var(--info))}.type-option.active{background:hsl(var(--info)/.15);color:hsl(var(--info))}.methods-checkboxes{display:flex;flex-wrap:wrap;gap:12px}.checkbox-label{align-items:center;color:hsl(var(--muted-foreground));cursor:pointer;display:flex;font-size:14px;gap:8px}.checkbox-label input[type=checkbox]{cursor:pointer;height:16px;width:16px}.btn-save{align-items:center;background:hsl(var(--info));border:none;border-radius:8px;color:hsl(var(--primary-foreground));cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:8px;padding:10px 16px}.btn-save:hover{background:hsl(var(--info)/.9)}@media (max-width:768px){.payment-conditions{padding:16px}.page-header{align-items:stretch;flex-direction:column}.header-actions{justify-content:flex-end}.conditions-list{grid-template-columns:1fr}.form-row{gap:0}.form-row,.type-selector{flex-direction:column}}.discount-approvals{margin:0 auto;max-width:900px;padding:24px}.discount-approvals.loading{align-items:center;color:hsl(var(--muted-foreground));display:flex;justify-content:center;min-height:400px}.page-header{flex-wrap:wrap;gap:16px;justify-content:space-between;margin-bottom:24px}.header-content,.page-header{align-items:flex-start;display:flex}.header-content{gap:6px}.back-button{align-items:center;background:none;border:none;border-radius:6px;color:hsl(var(--muted-foreground));cursor:pointer;display:flex;justify-content:center;margin-top:2px;padding:8px;transition:all .2s}.back-button:hover{background:hsl(var(--muted));color:hsl(var(--foreground))}.header-content h1{color:hsl(var(--foreground));display:flex;font-size:24px;gap:12px;margin:0 0 8px}.header-content h1,.pending-badge{align-items:center;font-weight:600}.pending-badge{background:hsl(var(--destructive));border-radius:12px;color:hsl(var(--primary-foreground));display:inline-flex;font-size:13px;height:24px;justify-content:center;min-width:24px;padding:0 8px}.page-description{font-size:14px;margin:0}.btn-refresh,.header-actions{display:flex;gap:8px}.btn-refresh{align-items:center;background:hsl(var(--muted));border:1px solid hsl(var(--border));border-radius:8px;color:hsl(var(--muted-foreground));cursor:pointer;font-size:14px;font-weight:500;padding:10px 16px;transition:all .2s}.btn-refresh:hover:not(:disabled){background:hsl(var(--border))}.btn-refresh:disabled{cursor:not-allowed;opacity:.7}.spinning{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}.filter-btn{align-items:center;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:8px;color:hsl(var(--muted-foreground));cursor:pointer;display:flex;font-size:13px;font-weight:500;gap:6px;padding:8px 14px;transition:all .2s}.filter-btn.active,.filter-btn:hover{border-color:hsl(var(--info));color:hsl(var(--info))}.filter-btn.active{background:hsl(var(--info)/.15)}.requests-list{display:flex;flex-direction:column;gap:16px}.request-card{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:12px;overflow:hidden}.request-card.status-pending{border-left:4px solid hsl(var(--warning))}.request-card.status-approved{border-left:4px solid hsl(var(--positive))}.request-card.status-rejected{border-left:4px solid hsl(var(--destructive))}.request-header{align-items:center;background:hsl(var(--muted)/.4);border-bottom:1px solid hsl(var(--border));display:flex;justify-content:space-between;padding:16px}.request-status{align-items:center;display:flex;gap:8px}.status-badge{border-radius:12px;font-size:12px;padding:4px 10px}.status-badge.pending{background:hsl(var(--warning)/.15);color:hsl(var(--warning)/.9)}.status-badge.approved{background:hsl(var(--positive)/.1);color:hsl(var(--positive))}.status-badge.rejected{background:hsl(var(--destructive)/.12);color:hsl(var(--destructive))}.request-date{color:hsl(var(--muted-foreground)/.85);font-size:12px}.request-body{padding:16px}.request-info{margin-bottom:16px}.info-row{align-items:center;display:flex;font-size:14px;gap:8px;margin-bottom:8px}.info-row:last-child{margin-bottom:0}.info-row svg{color:hsl(var(--muted-foreground)/.85);flex-shrink:0}.info-row .label{color:hsl(var(--muted-foreground))}.info-row .value{color:hsl(var(--foreground));font-weight:500}.discount-comparison{background:hsl(var(--muted)/.4);flex-wrap:wrap;gap:12px;padding:16px}.discount-box,.discount-comparison{align-items:center;border-radius:8px;display:flex}.discount-box{flex-direction:column;gap:4px;min-width:100px;padding:12px 20px}.discount-box.allowed{background:hsl(var(--positive)/.1)}.discount-box.requested{background:hsl(var(--warning)/.15)}.discount-label{color:hsl(var(--muted-foreground));font-size:11px;font-weight:600;text-transform:uppercase}.discount-value{color:hsl(var(--foreground));font-size:24px;font-weight:700}.discount-arrow{color:hsl(var(--muted-foreground)/.85);font-size:20px}.discount-excess{align-items:center;background:hsl(var(--destructive)/.12);border-radius:16px;color:hsl(var(--destructive));display:flex;font-size:13px;font-weight:600;gap:4px;padding:6px 12px}.request-actions{border-top:1px solid hsl(var(--border));display:flex;gap:12px;justify-content:flex-end;padding:16px}.btn-approve{align-items:center;background:hsl(var(--positive));border:none;border-radius:8px;color:hsl(var(--primary-foreground));cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:6px;padding:10px 20px;transition:background .2s}.btn-approve:hover:not(:disabled){background:hsl(var(--positive)/.9)}.btn-approve:disabled{background:hsl(var(--positive)/.5);cursor:not-allowed}.btn-reject{align-items:center;background:hsl(var(--card));border:1px solid hsl(var(--destructive));border-radius:8px;color:hsl(var(--destructive));cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:6px;padding:10px 20px;transition:all .2s}.btn-reject:hover:not(:disabled){background:hsl(var(--destructive)/.12)}.btn-reject:disabled{cursor:not-allowed;opacity:.6}.request-footer{background:hsl(var(--muted)/.4);border-top:1px solid hsl(var(--border));color:hsl(var(--muted-foreground));font-size:12px;padding:12px 16px}.request-footer.rejected{display:flex;flex-direction:column;gap:4px}.rejection-reason{color:hsl(var(--destructive));font-style:italic}.empty-state{align-items:center;color:hsl(var(--muted-foreground)/.85);display:flex;flex-direction:column;gap:16px;justify-content:center;padding:80px 20px}.empty-state p{font-size:16px;margin:0}.modal-overlay{align-items:center;background:hsl(var(--foreground)/.5);bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:1000}.modal-content{background:hsl(var(--card));border-radius:12px;max-width:500px;width:100%}.modal-header{border-bottom:1px solid hsl(var(--border));padding:20px 24px}.modal-header h2{font-size:18px;font-weight:600;margin:0}.modal-body{padding:24px}.form-group{margin-bottom:10px}.form-group label{color:hsl(var(--muted-foreground));display:block;font-size:14px;font-weight:500;margin-bottom:8px}.form-textarea{border:1px solid hsl(var(--border));border-radius:8px;font-family:inherit;font-size:14px;padding:12px;resize:vertical;transition:border-color .2s;width:100%}.form-textarea:focus{border-color:hsl(var(--info));outline:none}.modal-footer{border-top:1px solid hsl(var(--border));display:flex;gap:12px;justify-content:flex-end;padding:16px 24px}.btn-cancel{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:8px;color:hsl(var(--muted-foreground));cursor:pointer;font-size:14px;padding:10px 16px}.btn-cancel:hover{background:hsl(var(--muted))}@media (max-width:768px){.discount-approvals{padding:16px}.page-header{align-items:stretch;flex-direction:column}.header-actions{justify-content:flex-end}.discount-comparison{justify-content:center}.discount-box{min-width:80px;padding:10px 16px}.discount-value{font-size:20px}.request-actions{flex-direction:column}.btn-approve,.btn-reject{justify-content:center;width:100%}}body>div[style*="position: fixed"][style*="pointer-events: none"]{z-index:10000!important}body>div[style*="position: fixed"]:has(>div[role=status]){z-index:10000!important}div[role=status]{position:relative!important;z-index:10001!important}.container{margin:0 auto;max-width:1200px;padding:0 1rem}.btn{align-items:center;border:1px solid #0000;border-radius:var(--radius-md);cursor:pointer;display:inline-flex;font-family:var(--font-sans);font-size:.875rem;font-weight:500;gap:.375rem;line-height:1.25;padding:.5rem 1rem;text-decoration:none;transition:background-color var(--transition-fast),color var(--transition-fast),border-color var(--transition-fast)}.btn-primary{background-color:hsl(var(--primary));border-color:hsl(var(--primary));color:hsl(var(--primary-foreground))}.btn-primary:hover{background-color:hsl(var(--primary)/.9);border-color:hsl(var(--primary)/.9)}.btn-excel{background-color:hsl(var(--positive)/.15);border-color:hsl(var(--positive)/.3);color:hsl(var(--positive))}.btn-excel:hover,.btn-success{background-color:hsl(var(--positive));color:hsl(var(--primary-foreground))}.btn-success{border-color:hsl(var(--positive))}.btn-success:hover{background-color:hsl(var(--positive)/.9);border-color:hsl(var(--positive)/.9)}.btn-danger{background-color:hsl(var(--destructive));border-color:hsl(var(--destructive));color:hsl(var(--destructive-foreground))}.btn-danger:hover{background-color:hsl(var(--destructive)/.9);border-color:hsl(var(--destructive)/.9)}.page-actions{display:flex;justify-content:flex-end;margin-bottom:1rem}.btn-logout{background-color:hsl(var(--muted));border:1px solid hsl(var(--border));border-radius:var(--radius-md);color:hsl(var(--foreground));cursor:pointer;font-size:.875rem;padding:.5rem 1rem;transition:background-color var(--transition-fast)}.btn-logout:hover{background-color:hsl(var(--accent));border-color:hsl(var(--accent-foreground)/.3)}.btn-sm{border-radius:var(--radius-md);font-size:.75rem;padding:.375rem .75rem}.btn-disabled{background-color:hsl(var(--muted));border-color:hsl(var(--border));color:hsl(var(--muted-foreground));cursor:not-allowed;opacity:.6}.btn-map-link{background-color:hsl(var(--accent));border-color:hsl(var(--accent)/.5);color:hsl(var(--accent-foreground))}.btn-map-link:hover{background-color:hsl(var(--accent)/.8)}.btn-map-icon{font-size:.85rem;margin-right:.25rem}.btn-link-out{background-color:hsl(var(--card));border-color:hsl(var(--border));color:hsl(var(--primary))}.btn-link-out:hover{background-color:hsl(var(--accent));border-color:hsl(var(--primary)/.3)}.btn-map-link-text{color:hsl(var(--primary));cursor:pointer;font-size:.875rem;font-weight:600;text-decoration:none;transition:color var(--transition-fast);white-space:nowrap}.btn-map-link-text:hover{color:hsl(var(--primary)/.8)}.form-input{background-color:hsl(var(--background));border:1px solid hsl(var(--input));border-radius:var(--radius-md);color:hsl(var(--foreground));font-family:var(--font-sans);font-size:.875rem;padding:.5rem .75rem;transition:border-color var(--transition-fast),box-shadow var(--transition-fast);width:100%}.form-input:focus{border-color:hsl(var(--ring));box-shadow:0 0 0 2px hsl(var(--ring)/.2);outline:none}.form-input::placeholder{color:hsl(var(--muted-foreground))}.alert{border:1px solid #0000;border-radius:var(--radius-md);font-size:.875rem;margin-bottom:1rem;padding:.75rem 1rem}.alert-success{background-color:hsl(var(--positive)/.1);border-color:hsl(var(--positive)/.25);color:hsl(var(--positive))}.alert-error{background-color:hsl(var(--destructive)/.1);border-color:hsl(var(--destructive)/.25);color:hsl(var(--destructive))}.alert-info{background-color:hsl(var(--info)/.1);border-color:hsl(var(--info)/.25);color:hsl(var(--info))}.alert-content{align-items:flex-start;display:flex}.alert-icon{font-size:1.25rem;margin-right:.75rem;margin-top:.125rem}.alert-message h3{font-size:.875rem;font-weight:500;margin:0 0 .5rem}.nav{background-color:hsl(var(--card));border-bottom:1px solid hsl(var(--border));padding:1rem}.nav-container{align-items:center;display:flex;justify-content:space-between}.nav-brand{color:hsl(var(--foreground));font-size:1.25rem;font-weight:700}.nav-links{display:flex;gap:2rem}.nav-link{color:hsl(var(--muted-foreground));font-weight:500;text-decoration:none}.nav-link:hover{color:hsl(var(--foreground))}.nav-link.active{border-bottom:2px solid hsl(var(--primary));color:hsl(var(--primary))}.nav-user{align-items:center;display:flex;gap:1rem}.nav-greeting{color:hsl(var(--muted-foreground));font-size:.875rem}.nav-username{color:hsl(var(--foreground));font-weight:500}.page-header{margin-bottom:1.5rem}.page-title{color:hsl(var(--foreground));font-size:1.5rem;font-weight:600;letter-spacing:-.01em;margin-bottom:.5rem}.page-description{color:hsl(var(--muted-foreground));font-size:.875rem}.page-header-content{align-items:flex-start;display:flex;justify-content:space-between}.stats-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));margin-bottom:1.5rem}.stat-card{background-color:hsl(var(--card));border:1px solid hsl(var(--card-border));border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:1.25rem}.stat-card,.stat-icon{align-items:center;display:flex}.stat-icon{border-radius:var(--radius-md);flex-shrink:0;height:2.5rem;justify-content:center;margin-right:1rem;width:2.5rem}.stat-content h3{color:hsl(var(--muted-foreground));font-size:.75rem;font-weight:500;letter-spacing:.05em;margin:0 0 .25rem;text-transform:uppercase}.stat-content p{font-feature-settings:tabular-nums lining-nums;color:hsl(var(--foreground));font-size:1.5rem;font-variant-numeric:tabular-nums lining-nums;font-weight:600;margin:0}.stat-icon-blue{background-color:hsl(var(--info)/.12);color:hsl(var(--info))}.stat-icon-green{background-color:hsl(var(--positive)/.12);color:hsl(var(--positive))}.stat-icon-yellow{background-color:hsl(var(--warning)/.12);color:hsl(var(--warning))}.stat-icon-purple{background-color:hsl(var(--accent));color:hsl(var(--accent-foreground))}.card{background-color:hsl(var(--card));border:1px solid hsl(var(--card-border));border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);color:hsl(var(--card-foreground));padding:1.5rem}.instruction-card{background-color:hsl(var(--info)/.08);border-color:hsl(var(--info)/.25);color:hsl(var(--info))}.instruction-title{color:hsl(var(--info));font-size:1rem;font-weight:600;margin-bottom:.5rem}.instruction-list{color:hsl(var(--info));font-size:.875rem}.instruction-list p{margin:.5rem 0}.upload-area{background-color:hsl(var(--card));border:2px dashed hsl(var(--border));border-radius:var(--radius-lg);padding:3rem;text-align:center;transition:border-color var(--transition-fast),background-color var(--transition-fast)}.upload-area:hover{background-color:hsl(var(--accent)/.4);border-color:hsl(var(--ring))}.upload-area.dragover{background-color:hsl(var(--accent));border-color:hsl(var(--ring))}.upload-icon{color:hsl(var(--muted-foreground));height:3rem;margin:0 auto 1rem;width:3rem}.upload-text{color:hsl(var(--foreground));font-size:1rem;font-weight:500;margin-bottom:.5rem}.upload-subtext{color:hsl(var(--muted-foreground));font-size:.875rem;margin-bottom:1.5rem}.upload-button{background-color:hsl(var(--primary));border:none;border-radius:var(--radius-md);color:hsl(var(--primary-foreground));cursor:pointer;font-size:.875rem;font-weight:500;padding:.5rem 1.25rem;transition:background-color var(--transition-fast)}.upload-button:hover{background-color:hsl(var(--primary)/.9)}.upload-button:disabled{cursor:not-allowed;opacity:.5}.upload-stats{font-size:.875rem;margin-top:.5rem}.upload-stats p{margin:.25rem 0}.upload-details{background-color:hsl(var(--muted)/.5);border-radius:var(--radius-md);margin:1rem 0;padding:1rem}.upload-details p{font-size:.875rem;margin:.5rem 0}.status-accepted{background-color:hsl(var(--positive));border-radius:var(--radius-sm);color:hsl(var(--primary-foreground));font-size:.75rem;font-weight:600;padding:.25rem .5rem}.processing-info{background-color:hsl(var(--info)/.08);border-left:4px solid hsl(var(--info));border-radius:var(--radius-md);margin-top:1rem;padding:1rem}.processing-info .note{color:hsl(var(--info));font-size:.875rem;font-style:italic;margin-top:.5rem}.table{border-collapse:collapse;width:100%}.table td,.table th{border-bottom:1px solid hsl(var(--border));padding:.75rem;text-align:left}.table th{background-color:hsl(var(--muted));color:hsl(var(--muted-foreground));font-size:.75rem;font-weight:500;letter-spacing:.05em;text-transform:uppercase}.table tbody tr:hover{background-color:hsl(var(--muted)/.5)}.table-container{overflow-x:auto}.editable-table-container{width:100%}.bulk-actions{background-color:hsl(var(--muted));border:1px solid hsl(var(--border));border-radius:var(--radius-md);justify-content:space-between;margin:1rem 0;padding:.75rem 1rem}.bulk-actions,.bulk-buttons{align-items:center;display:flex}.bulk-buttons{gap:.5rem}.selected-count{color:hsl(var(--foreground));font-weight:600}.editable-table{background-color:hsl(var(--card));border-collapse:collapse;border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);overflow:hidden;width:100%}.editable-table th{background-color:hsl(var(--muted));color:hsl(var(--muted-foreground));font-size:.75rem;font-weight:500;letter-spacing:.04em;text-align:left;text-transform:uppercase}.editable-table td,.editable-table th{border-bottom:1px solid hsl(var(--border));padding:.75rem}.editable-table td{color:hsl(var(--foreground));vertical-align:top}.editable-table tr:hover{background-color:hsl(var(--muted)/.4)}.editable-table tr.selected{background-color:hsl(var(--accent)/.5)}.edit-input{background-color:hsl(var(--background));border:1px solid hsl(var(--input));border-radius:var(--radius-md);color:hsl(var(--foreground));font-size:.875rem;margin-bottom:.25rem;padding:.5rem;width:100%}.edit-input:focus{border-color:hsl(var(--ring));box-shadow:0 0 0 2px hsl(var(--ring)/.2);outline:none}.edit-textarea{background-color:hsl(var(--background));border:1px solid hsl(var(--input));border-radius:var(--radius-md);color:hsl(var(--foreground));font-size:.875rem;min-height:60px;padding:.5rem;resize:vertical;width:100%}.edit-address,.row-actions{display:flex;flex-direction:column;gap:.25rem}.row-actions{min-width:40px}.edit-actions{display:flex;flex-direction:column;gap:.25rem}.action-button{align-items:center;border:1px solid #0000;border-radius:var(--radius-md);cursor:pointer;display:inline-flex;font-size:.75rem;gap:.25rem;justify-content:center;padding:.4rem .5rem;transition:background-color var(--transition-fast),color var(--transition-fast);width:100%}.action-button.edit{background-color:hsl(var(--primary));color:hsl(var(--primary-foreground))}.action-button.edit:hover{background-color:hsl(var(--primary)/.9)}.action-button.delete{background-color:hsl(var(--muted));border-color:hsl(var(--border));color:hsl(var(--foreground))}.action-button.delete:hover{background-color:hsl(var(--destructive)/.1);border-color:hsl(var(--destructive)/.25);color:hsl(var(--destructive))}.editable-table input[type=checkbox]{accent-color:hsl(var(--primary));cursor:pointer;height:1rem;width:1rem}.potential-tooltip{cursor:help;overflow:visible;position:relative}.potential-tooltip-content{animation:fade-in .15s ease-in-out;background-color:hsl(var(--popover));border:1px solid hsl(var(--popover-border));border-radius:var(--radius-md);box-shadow:var(--shadow-md);color:hsl(var(--popover-foreground));font-size:.75rem;line-height:1.4;min-width:9.5rem;padding:.625rem .875rem;pointer-events:none;position:fixed;text-align:center;white-space:pre-line;z-index:9999}.tooltip-arrow{border:5px solid #0000;height:0;position:absolute;width:0}.potential-tooltip-content[style*=bottom] .tooltip-arrow{border-bottom-color:hsl(var(--popover-border));left:50%;top:-5px;transform:translateX(-50%)}.potential-tooltip-content[style*=top] .tooltip-arrow{border-top-color:hsl(var(--popover-border));bottom:-5px;left:50%;transform:translateX(-50%)}.tooltip-body{position:relative;z-index:1}.search-and-filters{background-color:hsl(var(--muted)/.4);border:1px solid hsl(var(--border));border-radius:var(--radius-lg);margin-bottom:1rem;padding:1rem}.search-section{margin-bottom:.75rem}.search-input-wrapper{align-items:center;display:flex;gap:1rem}.search-input{background-color:hsl(var(--background));border:1px solid hsl(var(--input));border-radius:var(--radius-md);color:hsl(var(--foreground));flex:1 1;font-size:.875rem;padding:.625rem .75rem}.search-input:focus{border-color:hsl(var(--ring));box-shadow:0 0 0 2px hsl(var(--ring)/.2);outline:none}.search-count{color:hsl(var(--muted-foreground));font-size:.875rem;white-space:nowrap}.filters-section{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem}.filter-input,.filter-select{background-color:hsl(var(--background));border:1px solid hsl(var(--input));border-radius:var(--radius-md);color:hsl(var(--foreground));font-size:.875rem;min-width:8rem;padding:.5rem .75rem}.filter-input:focus,.filter-select:focus{border-color:hsl(var(--ring));box-shadow:0 0 0 2px hsl(var(--ring)/.2);outline:none}.leads-map-multiselect{max-width:18rem;min-width:9.5rem;position:relative}.leads-map-multiselect-button{align-items:center;background-color:hsl(var(--background));border:1px solid hsl(var(--input));border-radius:var(--radius-md);color:hsl(var(--foreground));cursor:pointer;display:flex;font-size:.875rem;justify-content:space-between;outline:none;padding:.5rem .75rem;transition:border-color var(--transition-fast);width:100%}.leads-map-multiselect-button:hover{border-color:hsl(var(--ring)/.4)}.leads-map-multiselect-button:focus{border-color:hsl(var(--ring));box-shadow:0 0 0 2px hsl(var(--ring)/.2)}.leads-map-multiselect-arrow{color:hsl(var(--muted-foreground));font-size:.625rem;margin-left:.5rem;transition:transform var(--transition-fast)}.leads-map-multiselect-dropdown{background-color:hsl(var(--popover));border:1px solid hsl(var(--popover-border));border-radius:var(--radius-md);box-shadow:var(--shadow-md);left:0;max-height:18rem;overflow-y:auto;position:absolute;right:0;top:calc(100% + 4px);z-index:1000}.leads-map-multiselect-option{align-items:center;color:hsl(var(--popover-foreground));cursor:pointer;display:flex;padding:.625rem .75rem;transition:background-color var(--transition-fast)}.leads-map-multiselect-option:hover{background-color:hsl(var(--accent));color:hsl(var(--accent-foreground))}.leads-map-multiselect-option input[type=checkbox]{accent-color:hsl(var(--primary));cursor:pointer;height:1rem;margin-right:.5rem;width:1rem}.leads-map-multiselect-option span{color:inherit;flex:1 1;font-size:.875rem}.sortable-header{cursor:pointer;position:relative;transition:background-color var(--transition-fast);-webkit-user-select:none;user-select:none}.sortable-header:hover{background-color:hsl(var(--muted)/.7)}.sort-indicator{color:hsl(var(--primary));font-weight:700;margin-left:.5rem}.loading{align-items:center;color:hsl(var(--muted-foreground));display:flex;justify-content:center;padding:2rem}.spinner{animation:spin 1s linear infinite;border-top:2px solid hsl(var(--border));border:2px solid hsl(var(--border));border-radius:50%;border-top-color:hsl(var(--ring));height:2rem;margin-right:.5rem;width:2rem}.app{background-color:hsl(var(--background));min-height:100vh}.main-content{padding:2rem 0}.empty-state{padding:3rem;text-align:center}.empty-icon,.empty-state{color:hsl(var(--muted-foreground))}.empty-icon{height:3rem;margin:0 auto 1rem;width:3rem}.empty-title{color:hsl(var(--foreground));font-size:1rem;font-weight:600;margin-bottom:.5rem}.empty-description{color:hsl(var(--muted-foreground));font-size:.875rem}.company-name{color:hsl(var(--foreground));font-size:.875rem;font-weight:600}.trade-name{color:hsl(var(--muted-foreground));font-size:.875rem}.cnpj{font-feature-settings:"tnum";color:hsl(var(--foreground));font-family:var(--font-mono);font-size:.875rem;font-variant-numeric:tabular-nums;white-space:nowrap}.address{max-width:250px}.street{color:hsl(var(--foreground));font-weight:600;margin-bottom:.25rem}.street-number{color:hsl(var(--muted-foreground));font-weight:500}.neighborhood{color:hsl(var(--muted-foreground))}.city-state,.neighborhood{font-size:.875rem;margin-bottom:.25rem}.city-state{color:hsl(var(--foreground))}.zip-code{color:hsl(var(--muted-foreground));font-family:var(--font-mono);font-size:.75rem}.zip-code-table{font-size:.875rem;font-weight:600;white-space:nowrap}.date{color:hsl(var(--muted-foreground))}.cnae,.date{font-size:.875rem}.cnae-code{font-feature-settings:"tnum";color:hsl(var(--foreground));font-family:var(--font-mono);font-variant-numeric:tabular-nums;font-weight:500}.cnae-description{color:hsl(var(--muted-foreground));font-size:.75rem;line-height:1.3;margin-top:.25rem}.capital{font-size:.875rem}.capital-value{font-feature-settings:"tnum";color:hsl(var(--positive));font-family:var(--font-mono);font-variant-numeric:tabular-nums;font-weight:500}.no-data{color:hsl(var(--muted-foreground));font-size:.75rem;font-style:italic}.partners{display:flex;flex-direction:column;font-size:.875rem}.partners-list{max-height:130px;overflow-y:auto}.partner-item{border-bottom:1px solid hsl(var(--border));padding:.25rem 0}.partner-item:last-child{border-bottom:none}.partner-name{color:hsl(var(--foreground));font-weight:500}.partner-role{color:hsl(var(--muted-foreground));font-size:.75rem;margin-top:.125rem}.coordinates{align-items:flex-start;display:flex;flex-direction:column;gap:.25rem}.coordinates-pill{font-feature-settings:"tnum";align-items:center;background-color:hsl(var(--info)/.1);border-radius:999px;color:hsl(var(--info));display:inline-flex;font-family:var(--font-mono);font-size:.75rem;font-variant-numeric:tabular-nums;gap:.25rem;padding:.25rem .625rem;text-decoration:none}.coordinates-icon{font-size:.85rem}.coordinates-text{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.coordinates-link:hover{text-decoration:underline}.coordinates-empty{color:hsl(var(--muted-foreground));font-size:.75rem;font-style:italic}.cnae-secondary-list{display:flex;flex-wrap:wrap;gap:.25rem;max-height:130px;max-width:260px;overflow-y:auto}.cnae-secondary-chip{background-color:hsl(var(--muted));border-radius:999px;color:hsl(var(--foreground));font-size:.75rem;line-height:1.3;padding:.125rem .5rem}.cnae-secondary-empty{color:hsl(var(--muted-foreground));font-size:.75rem;font-style:italic}.notes{max-width:200px}.notes-content{word-wrap:break-word;color:hsl(var(--foreground));font-size:.875rem;line-height:1.4}.no-notes{color:hsl(var(--muted-foreground));font-size:.75rem;font-style:italic}.potential-container{align-items:center;background-color:hsl(var(--card));border:1px solid hsl(var(--card-border));border-radius:var(--radius-lg);display:flex;flex-direction:column;gap:.5rem;min-width:5.5rem;padding:.75rem 1rem;position:relative;transition:border-color var(--transition-fast)}.potential-container:hover{border-color:hsl(var(--ring)/.3)}.potential-level{align-items:center;border:1px solid #0000;border-radius:999px;display:inline-flex;font-size:.625rem;font-weight:700;gap:.375rem;letter-spacing:.08em;padding:.25rem .625rem;text-transform:uppercase;white-space:nowrap}.potential-level.alto{background-color:hsl(var(--positive)/.12);border-color:hsl(var(--positive)/.25);color:hsl(var(--positive))}.potential-level.medio,.potential-level.médio{background-color:hsl(var(--warning)/.12);border-color:hsl(var(--warning)/.25);color:hsl(var(--warning))}.potential-level.baixo{background-color:hsl(var(--destructive)/.12);border-color:hsl(var(--destructive)/.25);color:hsl(var(--destructive))}.level-text{font-size:.625rem;font-weight:700}.potential-score{font-feature-settings:tabular-nums lining-nums;color:hsl(var(--foreground));font-size:1.5rem;font-variant-numeric:tabular-nums lining-nums;font-weight:700;line-height:1}.potential-score:after{color:hsl(var(--muted-foreground));content:"/100";font-size:.75rem;font-weight:400;margin-left:.125rem}.potential-confidence{background-color:hsl(var(--muted));border-radius:999px;color:hsl(var(--muted-foreground));font-size:.6875rem;font-weight:500;padding:.25rem .625rem}.potential-confidence:before{content:"📊";font-size:.7rem;margin-right:.25rem}.status-badge{align-items:center;border:1px solid #0000;border-radius:999px;display:inline-flex;font-size:.75rem;font-weight:600;gap:.25rem;padding:.25rem .625rem;transition:background-color var(--transition-fast);white-space:nowrap}.status-badge.processado{background-color:hsl(var(--positive)/.12);border-color:hsl(var(--positive)/.25);color:hsl(var(--positive))}.status-badge.aguardando{background-color:hsl(var(--warning)/.12);border-color:hsl(var(--warning)/.25);color:hsl(var(--warning))}.status-badge.erro{background-color:hsl(var(--destructive)/.12);border-color:hsl(var(--destructive)/.25);color:hsl(var(--destructive))}.status-badge.processando{background-color:hsl(var(--info)/.12);border-color:hsl(var(--info)/.25);color:hsl(var(--info))}.foundation-date{padding:.75rem;vertical-align:top}.foundation-info{align-items:flex-start;display:flex;flex-direction:column;gap:.25rem}.foundation-date-value{background-color:hsl(var(--muted));border:1px solid hsl(var(--border));border-radius:var(--radius-md);color:hsl(var(--foreground));font-size:.8125rem;font-weight:600;padding:.25rem .625rem}.foundation-date-value:before{content:"📅";font-size:.75rem;margin-right:.375rem}.foundation-years{background-color:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:999px;color:hsl(var(--muted-foreground));font-size:.6875rem;font-weight:500;padding:.125rem .5rem}.foundation-years:before{content:"⏱️";font-size:.625rem;margin-right:.25rem}.salesforce-webhook{background-color:hsl(var(--muted)/.5);border:1px solid hsl(var(--border));border-radius:var(--radius-lg);margin:1rem 0;padding:1.5rem}.webhook-header h3{color:hsl(var(--foreground));font-size:1.125rem;font-weight:600;margin:0 0 .5rem}.webhook-header p{color:hsl(var(--muted-foreground));font-size:.875rem;margin:0 0 1.25rem}.webhook-url-container{align-items:center;background-color:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius-md);display:flex;gap:1rem;margin-bottom:1.5rem;padding:1rem}.url-display{display:flex;flex:1 1;flex-direction:column;gap:.5rem}.url-label{font-size:.875rem;font-weight:600}.url-label,.url-value{color:hsl(var(--foreground))}.url-value{background-color:hsl(var(--muted));border-radius:var(--radius-sm);font-family:var(--font-mono);font-size:.8125rem;padding:.5rem;word-break:break-all}.copy-button{background-color:hsl(var(--primary));border:none;border-radius:var(--radius-md);color:hsl(var(--primary-foreground));cursor:pointer;font-size:.875rem;padding:.5rem 1rem;transition:background-color var(--transition-fast);white-space:nowrap}.copy-button:hover{background-color:hsl(var(--primary)/.9)}.copy-button.copied{background-color:hsl(var(--positive))}.webhook-info{grid-gap:1.25rem;display:grid;gap:1.25rem;grid-template-columns:1fr 1fr;margin-bottom:1.5rem}.info-card{background-color:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius-md);padding:1rem}.info-card h4{color:hsl(var(--foreground));font-size:.9375rem;font-weight:600;margin:0 0 1rem}.info-card ol,.info-card ul{margin:0;padding-left:1.25rem}.info-card li{color:hsl(var(--muted-foreground));font-size:.875rem;margin-bottom:.5rem}.webhook-note{background-color:hsl(var(--info)/.08);border:1px solid hsl(var(--info)/.25);border-radius:var(--radius-md);padding:1rem}.webhook-note p{color:hsl(var(--info));font-size:.875rem;margin:0}@media (max-width:768px){.filters-section{align-items:stretch;flex-direction:column}.filter-input,.filter-select{min-width:auto}.search-input-wrapper,.webhook-url-container{align-items:stretch;flex-direction:column}.webhook-info{grid-template-columns:1fr}.url-value{font-size:.75rem}.foundation-info{gap:.125rem}.foundation-date-value{font-size:.75rem;padding:.25rem .5rem}.foundation-years{font-size:.625rem;padding:.125rem .375rem}}.app-shell{background-color:hsl(var(--background));display:grid;grid-template-columns:var(--sidebar-width) 1fr;grid-template-rows:auto 1fr;height:100dvh;min-height:100vh;overflow:hidden;position:relative;transition:grid-template-columns .2s cubic-bezier(.4,0,.2,1)}.app-shell--collapsed{grid-template-columns:var(--sidebar-width-collapsed) 1fr}.sidebar{background-color:hsl(var(--sidebar));border-right:1px solid hsl(var(--sidebar-border));color:hsl(var(--sidebar-foreground));display:flex;flex-direction:column;grid-row:span 2;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;transition:width .2s cubic-bezier(.4,0,.2,1)}.sidebar::-webkit-scrollbar-thumb{background-color:hsl(var(--sidebar-accent)/.6)}.sidebar__brand{align-items:center;border-bottom:1px solid hsl(var(--sidebar-border)/.6);display:flex;flex-shrink:0;gap:.625rem;padding:1.25rem 1.25rem 1rem}.sidebar__brand-mark{flex-shrink:0;font-size:1.5rem;line-height:1}.sidebar__brand-text{display:flex;flex-direction:column;gap:.0625rem;min-width:0}.sidebar__brand-name{color:hsl(var(--sidebar-foreground));font-size:.875rem;font-weight:600;letter-spacing:-.01em;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar__brand-tagline{color:hsl(var(--sidebar-foreground)/.55);font-size:.625rem;font-weight:500;letter-spacing:.18em;text-transform:uppercase;white-space:nowrap}.sidebar__nav{flex:1 1;gap:1.25rem;padding:1rem .75rem}.sidebar__module,.sidebar__nav{display:flex;flex-direction:column}.sidebar__module-header{align-items:center;background:#0000;border:0;border-radius:var(--radius-md);color:hsl(var(--sidebar-foreground)/.5);cursor:pointer;display:flex;font-size:.625rem;font-weight:500;gap:.5rem;letter-spacing:.2em;margin-bottom:.375rem;padding:.375rem .75rem;text-align:left;text-transform:uppercase;transition:color var(--transition-fast),background-color var(--transition-fast);width:100%}.sidebar__module-header:hover{background-color:hsl(var(--sidebar-accent)/.4);color:hsl(var(--sidebar-foreground))}.sidebar__module-toggle{align-items:center;color:inherit;display:inline-flex;flex-shrink:0;height:.875rem;justify-content:center;transition:transform var(--transition-fast);width:.875rem}.sidebar__module-name{flex:1 1}.sidebar__module-items{display:flex;flex-direction:column;gap:.125rem}.sidebar__link{align-items:center;border-radius:var(--radius-md);color:hsl(var(--sidebar-foreground)/.8);display:flex;font-size:.8125rem;font-weight:400;gap:.625rem;padding:.5rem .75rem;position:relative;text-decoration:none;transition:background-color var(--transition-fast),color var(--transition-fast)}.sidebar__link:hover{background-color:hsl(var(--sidebar-accent)/.4);color:hsl(var(--sidebar-foreground));text-decoration:none}.sidebar__link.active{background-color:hsl(var(--sidebar-accent));color:hsl(var(--sidebar-accent-foreground));font-weight:500}.sidebar__icon{align-items:center;color:inherit;display:inline-flex;flex-shrink:0;height:1rem;justify-content:center;width:1rem}.sidebar__icon svg{stroke-width:1.6;height:100%;width:100%}.sidebar__label{flex:1 1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar__link-version{font-feature-settings:"tnum";color:hsl(var(--sidebar-foreground)/.4);flex-shrink:0;font-family:var(--font-mono);font-size:.5625rem;font-variant-numeric:tabular-nums}.sidebar__spacer{flex:1 1}.sidebar__footer{background-color:hsl(var(--sidebar)/.5);border-top:1px solid hsl(var(--sidebar-border)/.6);display:flex;flex-direction:column;flex-shrink:0;gap:.625rem;padding:.875rem 1rem}.sidebar__footer-meta{align-items:center;color:hsl(var(--sidebar-foreground)/.55);display:flex;font-size:.625rem;justify-content:space-between;letter-spacing:.18em;text-transform:uppercase}.sidebar__footer-version{font-feature-settings:"tnum";font-family:var(--font-mono);font-variant-numeric:tabular-nums;letter-spacing:normal;opacity:.7;text-transform:none}.sidebar__user{align-items:center;display:flex;gap:.5rem;justify-content:space-between}.sidebar__user-info{display:flex;flex:1 1;flex-direction:column;min-width:0}.sidebar__greeting{color:hsl(var(--sidebar-foreground)/.5);font-size:.625rem;letter-spacing:.04em;line-height:1.2}.sidebar__username{color:hsl(var(--sidebar-foreground));font-size:.8125rem;font-weight:500;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar__footer-actions{align-items:center;display:flex;flex-shrink:0;gap:.375rem}.sidebar__icon-btn{align-items:center;background-color:initial;border:1px solid hsl(var(--sidebar-border));border-radius:var(--radius-md);color:hsl(var(--sidebar-foreground)/.7);cursor:pointer;display:inline-flex;height:2rem;justify-content:center;transition:background-color var(--transition-fast),color var(--transition-fast),border-color var(--transition-fast);width:2rem}.sidebar__icon-btn:hover{background-color:hsl(var(--sidebar-accent)/.6);border-color:hsl(var(--sidebar-border));color:hsl(var(--sidebar-foreground))}.sidebar__icon-btn svg{height:1rem;width:1rem}.sidebar__logout{align-items:center;background-color:initial;border:1px solid hsl(var(--sidebar-border));border-radius:var(--radius-md);color:hsl(var(--sidebar-foreground)/.7);cursor:pointer;display:inline-flex;font-size:.75rem;font-weight:500;gap:.375rem;padding:.375rem .75rem;transition:background-color var(--transition-fast),color var(--transition-fast),border-color var(--transition-fast);white-space:nowrap}.sidebar__logout:hover{background-color:hsl(var(--sidebar-accent)/.6);color:hsl(var(--sidebar-foreground))}.sidebar--collapsed{width:var(--sidebar-width-collapsed)}.sidebar--collapsed .sidebar__brand{justify-content:center;padding:1rem .5rem}.sidebar--collapsed .sidebar__brand-text{display:none}.sidebar--collapsed .sidebar__nav{align-items:center;padding:.75rem .25rem}.sidebar--collapsed .sidebar__module-header{display:none}.sidebar--collapsed .sidebar__module,.sidebar--collapsed .sidebar__module-items{align-items:center;width:100%}.sidebar--collapsed .sidebar__link{gap:0;height:2.25rem;justify-content:center;padding:.5rem;width:2.25rem}.sidebar--collapsed .sidebar__label,.sidebar--collapsed .sidebar__link-version{display:none}.sidebar--collapsed .sidebar__footer{padding:.625rem .375rem}.sidebar--collapsed .sidebar__footer-meta,.sidebar--collapsed .sidebar__user-info{display:none}.sidebar--collapsed .sidebar__user{flex-direction:column;gap:.5rem}.sidebar--collapsed .sidebar__footer-actions{align-items:stretch;flex-direction:column;width:100%}.sidebar--collapsed .sidebar__logout{font-size:0;justify-content:center;padding:.375rem}.sidebar--collapsed .sidebar__logout:before{content:"⇥";font-size:.875rem}.content{display:flex;flex-direction:column;grid-column:2;min-width:0;overflow:hidden}.content__header{backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);background-color:hsl(var(--background)/.85);border-bottom:1px solid hsl(var(--border));flex-shrink:0;height:var(--header-height);padding:0 1.5rem;position:-webkit-sticky;position:sticky;top:0;z-index:10}.content__breadcrumb,.content__header{align-items:center;display:flex;gap:.75rem}.content__breadcrumb{flex:1 1;min-width:0}.content__breadcrumb-domain{color:hsl(var(--muted-foreground));flex-shrink:0;font-size:.625rem;font-weight:500;letter-spacing:.18em;text-transform:uppercase}.content__breadcrumb-sep{color:hsl(var(--muted-foreground)/.3);flex-shrink:0}.content__breadcrumb-title{color:hsl(var(--foreground));font-size:.8125rem;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.content__header-actions{align-items:center;display:flex;flex-shrink:0;gap:.5rem}.content__hamburger,.content__sidebar-toggle{align-items:center;background-color:initial;border:1px solid hsl(var(--border));border-radius:var(--radius-md);color:hsl(var(--muted-foreground));cursor:pointer;display:inline-flex;flex-shrink:0;height:2rem;justify-content:center;transition:background-color var(--transition-fast),color var(--transition-fast);width:2rem}.content__hamburger:hover,.content__sidebar-toggle:hover{background-color:hsl(var(--muted));color:hsl(var(--foreground))}.content__hamburger{display:none}.content__sidebar-toggle svg{height:1rem;width:1rem}.content__sidebar-toggle-icon{font-size:.875rem}.content__body{flex:1 1;overflow-y:auto;overscroll-behavior:contain}.content__body-inner{margin:0 auto;max-width:var(--content-max-width);padding:1.5rem}@media (max-width:768px){.app-shell{grid-template-columns:1fr}.content{grid-column:1}.content__sidebar-toggle{display:none}.content__hamburger{display:inline-flex}.sidebar{bottom:0;box-shadow:0 0 24px #00000040;height:100vh;left:calc(var(--sidebar-width)*-1 - 8px);position:fixed;top:0;transition:left .25s cubic-bezier(.4,0,.2,1);width:var(--sidebar-width);z-index:var(--z-sidebar-mobile)}.sidebar--mobile-open{left:0}.sidebar--collapsed{width:var(--sidebar-width)}.sidebar--collapsed .sidebar__brand,.sidebar--collapsed .sidebar__brand-text,.sidebar--collapsed .sidebar__footer-meta,.sidebar--collapsed .sidebar__label,.sidebar--collapsed .sidebar__link-version,.sidebar--collapsed .sidebar__module-header,.sidebar--collapsed .sidebar__user-info{display:revert}.sidebar--collapsed .sidebar__link{gap:.625rem;height:auto;justify-content:flex-start;padding:.5rem .75rem;width:auto}.overlay{animation:fade-in .2s ease-out;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background-color:#00000073;inset:0;position:fixed;z-index:var(--z-overlay)}}@media (max-width:640px){.content__body-inner{padding:1rem}.content__header{gap:.5rem;padding:0 1rem}}
/*# sourceMappingURL=main.9cf9a591.css.map*/