@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");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-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");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-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,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-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");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-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");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-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,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-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");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-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");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-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,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-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");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-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");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-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,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{--bg-body: #09090b;--bg-surface: rgba(24, 24, 27, .6);--primary-color: #6366f1;--primary-hover: #4f46e5;--primary-light: rgba(99, 102, 241, .2);--secondary-color: #ec4899;--accent-color: #06b6d4;--text-main: #e2e8f0;--text-dark: #f8fafc;--text-muted: #94a3b8;--border-color: rgba(255, 255, 255, .08);--danger-color: #ff4d4f;--danger-bg: rgba(255, 77, 79, .15);--danger-border: rgba(255, 77, 79, .3);--success-color: #10b981;--success-bg: rgba(16, 185, 129, .15);--success-border: rgba(16, 185, 129, .3);--warning-color: #f59e0b;--warning-bg: rgba(245, 158, 11, .15);--radius-lg: 24px;--radius-md: 16px;--shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, .2);--shadow-md: 0 10px 15px -3px rgba(0, 0, 0, .3)}*{box-sizing:border-box;margin:0;padding:0}body{font-family:Inter,system-ui,sans-serif;background-color:var(--bg-body);background-image:radial-gradient(circle at 15% 10%,rgba(99,102,241,.15) 0%,transparent 40%),radial-gradient(circle at 85% 85%,rgba(236,72,153,.12) 0%,transparent 40%),radial-gradient(circle at 50% 50%,rgba(6,182,212,.08) 0%,transparent 60%);background-attachment:fixed;color:var(--text-main);line-height:1.6;-webkit-font-smoothing:antialiased}.app-wrapper{width:100%;min-width:0;max-width:1200px;margin:0 auto;padding:0 24px}.main-layout{display:flex;height:100vh;width:100%;overflow:hidden}.sidebar{width:260px;background-color:#09090bb3;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-right:1px solid var(--border-color);display:flex;flex-direction:column;z-index:100;transition:transform .3s cubic-bezier(.4,0,.2,1)}.sidebar-header{padding:24px;display:flex;align-items:center;justify-content:space-between}.logo-group{display:flex;align-items:center;gap:14px}.logo-icon{background:linear-gradient(135deg,#6366f1,#ec4899);color:#fff;width:36px;height:36px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.2rem;box-shadow:0 4px 12px #ec489966;transform:rotate(-5deg)}.logo-text{font-size:1.4rem;font-weight:800;color:var(--text-dark);letter-spacing:-.03em;background:linear-gradient(to right,#f8fafc,#94a3b8);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}.sidebar-nav{display:flex;flex-direction:column;padding:16px 12px;flex-grow:1;gap:8px}.sidebar-nav a{display:flex;align-items:center;gap:12px;padding:12px 16px;text-decoration:none;color:var(--text-muted);font-weight:500;border-radius:var(--radius-md);transition:all .2s ease}.sidebar-nav a:hover{color:var(--text-dark);background:#ffffff08}.sidebar-nav a.active{background:linear-gradient(90deg,rgba(99,102,241,.1) 0%,transparent 100%);color:var(--text-dark);border-left:3px solid var(--primary-color)}.nav-icon{font-size:1.2rem;opacity:.8}.sidebar-footer{padding:24px;border-top:1px solid var(--border-color)}.user-menu-item{display:flex;align-items:center;gap:12px;text-decoration:none;cursor:pointer;padding:8px;border-radius:var(--radius-md);transition:all .2s ease}.user-menu-item:hover{background:#ffffff0d}.user-avatar{width:36px;height:36px;background:linear-gradient(135deg,#06b6d4,#3b82f6);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.9rem;box-shadow:0 2px 8px #06b6d466}.user-name{font-size:.95rem;font-weight:600;color:var(--text-dark)}.main-content-wrapper{flex:1;display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;position:relative;width:100%}.mobile-header{display:none;align-items:center;justify-content:space-between;padding:16px 24px;background:#09090be6;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--border-color);position:sticky;top:0;z-index:50}.burger-btn{background:none;border:none;color:var(--text-dark);font-size:1.8rem;cursor:pointer;line-height:1}.close-sidebar-btn{display:none;background:none;border:none;color:var(--text-muted);font-size:2rem;cursor:pointer}.sidebar-overlay{display:none;position:fixed;inset:0;background:#0009;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:90;opacity:0;transition:opacity .3s}.dashboard{padding:48px 0 80px}.page-header{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:40px;flex-wrap:wrap;gap:16px}.page-header>div:first-child{flex:1;min-width:0}.page-header h1{font-size:2.2rem;color:var(--text-dark);font-weight:800;margin-bottom:8px;letter-spacing:-.02em}.subtitle{color:var(--text-muted);font-size:1.05rem}.card,.kpi-card,.recap-source-card,.source-card,.auth-card,.onboarding-card{background:var(--bg-surface);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid var(--border-color);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);transition:transform .4s cubic-bezier(.2,.8,.2,1),box-shadow .4s ease}.card:hover,.kpi-card:hover{transform:translateY(-4px) scale(1.005);box-shadow:0 20px 40px -10px #0006,0 0 20px #6366f11a;border-color:#ffffff26}.card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.card-header h2{font-size:1.25rem;font-weight:700;color:var(--text-dark)}.btn-primary{background:linear-gradient(135deg,var(--primary-color),var(--secondary-color));color:#fff;border:none;padding:10px 20px;border-radius:var(--radius-md);font-weight:600;font-size:.95rem;cursor:pointer;box-shadow:0 4px 12px #ec489933;transition:all .3s ease}.btn-primary:hover{box-shadow:0 8px 20px #ec489966;transform:translateY(-2px)}.btn-outline{background:#ffffff08;border:1px solid var(--border-color);color:var(--text-main);padding:10px 20px;border-radius:var(--radius-md);cursor:pointer;font-weight:500;transition:all .3s ease}.btn-outline:hover{border-color:var(--text-muted);background:#ffffff14}.status-banner{display:flex;align-items:center;padding:28px 36px;margin-bottom:36px;border-radius:var(--radius-lg);gap:24px;box-shadow:var(--shadow-sm);border:1px solid var(--border-color);background:#1e293b66;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);position:relative;overflow:hidden}.status-banner:before{content:"";position:absolute;top:0;left:0;bottom:0;width:6px}.status-banner.danger:before{background:var(--danger-color);box-shadow:0 0 20px var(--danger-color)}.status-banner.success:before{background:var(--success-color);box-shadow:0 0 20px var(--success-color)}.status-icon{font-size:2.5rem;animation:pulscolor 2s infinite}@keyframes pulscolor{0%{transform:scale(1);filter:drop-shadow(0 0 10px rgba(255,255,255,0))}50%{transform:scale(1.1);filter:drop-shadow(0 0 15px currentColor)}to{transform:scale(1);filter:drop-shadow(0 0 10px rgba(255,255,255,0))}}.status-content h2{font-size:1.4rem;margin-bottom:6px;color:var(--text-dark);font-weight:800;letter-spacing:-.01em}.status-content p{color:var(--text-main);font-size:1.1rem}.status-content strong{font-size:1.3rem;font-weight:800}.status-banner.danger strong{color:#ff7875}.status-banner.success strong{color:#69b3a2}.kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;margin-bottom:40px}.kpi-card{padding:32px 28px;display:flex;align-items:flex-start;gap:20px}.kpi-card.highlight{border-top:1px solid var(--border-color);background:linear-gradient(180deg,#6366f11a,#18181b99);border:1px solid rgba(99,102,241,.3);box-shadow:0 10px 30px -5px #6366f133}.kpi-icon{font-size:2rem;background:#ffffff0d;width:64px;height:64px;display:flex;align-items:center;justify-content:center;border-radius:20px;border:1px solid rgba(255,255,255,.1);box-shadow:inset 0 2px 10px #ffffff0d}.kpi-info h3{font-size:.95rem;color:var(--text-muted);font-weight:600;margin-bottom:8px;text-transform:uppercase;letter-spacing:.05em}.kpi-card .value{font-size:2.4rem;font-weight:800;color:var(--text-dark);display:flex;align-items:baseline;letter-spacing:-.03em}.kpi-card .unit{font-size:1.1rem;color:var(--text-muted);margin-left:8px;font-weight:500}.bento-grid{display:grid;grid-template-columns:2fr 1fr;gap:24px}.card{padding:32px;display:flex;flex-direction:column;min-width:0}.badge{background:#06b6d426;color:#22d3ee;padding:6px 14px;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;border-radius:20px;border:1px solid rgba(6,182,212,.3)}.chart-section{grid-column:1/2;grid-row:1/2}.simulator-section{grid-column:2/3;grid-row:1/3}.distribution-section{grid-column:1/2;grid-row:2/3}.chart-container{height:340px;width:100%;flex-grow:1;position:relative;min-width:0}.chart-container-donut{height:280px;width:100%;display:flex;justify-content:center;flex-grow:1;margin-top:10px;position:relative;min-width:0}.simulator-body{display:flex;flex-direction:column;flex-grow:1}.simu-help{font-size:.95rem;color:var(--text-muted);margin-bottom:32px;line-height:1.5}.input-group{margin-bottom:28px}.input-group label{display:block;margin-bottom:12px;font-size:1rem;color:var(--text-main);font-weight:600}.input-group input[type=range]{width:100%;height:8px;background:#ffffff1a;outline:none;appearance:none;-webkit-appearance:none;border-radius:4px}.input-group input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:24px;height:24px;background:#fff;cursor:pointer;border:3px solid var(--primary-color);border-radius:50%;box-shadow:0 0 15px var(--primary-color);transition:transform .2s,box-shadow .2s}.input-group input[type=range]::-webkit-slider-thumb:hover{transform:scale(1.2);box-shadow:0 0 25px var(--primary-color)}.range-val{text-align:right;font-size:1.1rem;font-weight:700;margin-top:10px;color:var(--text-dark)}.simu-result{margin-top:auto;padding:28px;background:#0003;border-radius:var(--radius-lg);text-align:center;border:1px solid rgba(255,255,255,.05);box-shadow:inset 0 2px 10px #0003}.simu-result p{font-size:.95rem;color:var(--text-muted);font-weight:600;margin-bottom:8px;text-transform:uppercase;letter-spacing:.08em}.simu-result h3{font-size:2.8rem;font-weight:900;letter-spacing:-.03em;text-shadow:0 4px 10px rgba(0,0,0,.3)}.simu-result h3.danger{color:#ff4d4f}.simu-result h3.success{color:#10b981}.history-list{list-style:none}.history-list li{display:flex;justify-content:space-between;align-items:center;padding:20px 0;border-bottom:1px solid var(--border-color)}.history-list li:last-child{border-bottom:none;padding-bottom:0}.hist-info{display:flex;flex-direction:column;gap:6px}.hist-info .date{color:var(--text-muted);font-size:.9rem;font-weight:500}.hist-info .index{color:var(--text-dark);font-weight:700;font-size:1.1rem}.hist-diff{font-weight:800;font-size:.95rem;padding:6px 14px;border-radius:20px;background:#ffffff0d}.diff-danger{color:#ff4d4f;border:1px solid rgba(255,77,79,.3)}.diff-warning{color:#fbbf24;border:1px solid rgba(251,191,36,.3)}@media(max-width:768px){.main-layout{flex-direction:column}.sidebar{position:fixed;left:0;top:0;bottom:0;transform:translate(-100%)}.mobile-menu-open .sidebar{transform:translate(0)}.mobile-menu-open .sidebar-overlay{display:block;opacity:1}.close-sidebar-btn{display:block}.mobile-header{display:flex}.card{padding:24px;max-width:100%;overflow:hidden;word-wrap:break-word;overflow-wrap:break-word}.card-header{flex-direction:column;align-items:flex-start;gap:16px}.card-header button{width:100%;text-align:center}.status-banner{flex-direction:column;align-items:flex-start;gap:16px;padding:24px}.dashboard{padding:24px 0 40px}}@media(max-width:480px){.app-wrapper{padding:0 16px}.card,.kpi-card,.status-banner{padding:16px}.kpi-grid{grid-template-columns:1fr}.bento-grid{grid-template-columns:1fr;gap:16px}.chart-section{grid-column:1/2;grid-row:1/2}.simulator-section{grid-column:1/2;grid-row:2/3}.distribution-section{grid-column:1/2;grid-row:3/4}.history-section{grid-column:1/2;grid-row:4/5}.page-header h1{font-size:1.8rem}.simu-result h3{font-size:2.2rem}}.auth-wrapper{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px}.auth-card{padding:48px;width:100%;max-width:440px;position:relative;overflow:hidden}.onboarding-card{max-width:600px;margin:40px auto;text-align:center;padding:56px 40px}.wide-card{overflow:hidden}.table-responsive{width:100%;max-width:100vw;overflow-x:auto;-webkit-overflow-scrolling:touch}.data-table{width:100%;border-collapse:collapse;font-size:.95rem;min-width:600px}.data-table th{background-color:#ffffff05;color:var(--text-muted);font-weight:600;text-align:left;padding:16px 24px;border-bottom:1px solid var(--border-color);text-transform:uppercase;font-size:.8rem;letter-spacing:.05em}.data-table td{padding:20px 24px;border-bottom:1px solid rgba(255,255,255,.05);vertical-align:middle;transition:background .2s}.data-table tr:hover td{background-color:#ffffff08}.data-table .row-disabled td{color:var(--text-muted);opacity:.5}.data-table .row-disabled strong{text-decoration:line-through}.tag-source{display:inline-block;padding:4px 12px;border-radius:20px;font-size:.8rem;font-weight:700}.tag-enedis{background-color:#06b6d426;color:#22d3ee;border:1px solid rgba(6,182,212,.3)}.tag-manuel{background-color:#f59e0b26;color:#fbbf24;border:1px solid rgba(245,158,11,.3)}.tag-capteur{background-color:#10b98126;color:#34d399;border:1px solid rgba(16,185,129,.3)}.status-valid{color:#34d399;font-weight:600;font-size:.9rem;text-shadow:0 0 10px rgba(16,185,129,.4)}.status-warning{color:#fbbf24;font-weight:600;font-size:.9rem;text-shadow:0 0 10px rgba(245,158,11,.4)}.text-bold{font-weight:700}.text-danger{color:#ff4d4f}.text-muted{color:var(--text-muted)}.banner-info{display:flex;background:#6366f11a;border:1px solid rgba(99,102,241,.3);border-radius:var(--radius-lg);padding:32px;align-items:flex-start;gap:24px;box-shadow:0 10px 30px #6366f11a}.banner-info .status-icon{font-size:2.5rem}.banner-info h3{color:#a5b4fc;font-size:1.2rem;margin-bottom:8px}.banner-info p{color:var(--text-main);font-size:1rem;line-height:1.6}.mt-32{margin-top:32px}.mt-24{margin-top:24px}.mt-16{margin-top:16px}.modal{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#0009;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.modal-content{background:var(--bg-surface);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,.1);border-radius:var(--radius-lg);width:100%;max-width:550px;box-shadow:0 25px 50px -12px #00000080,0 0 40px #6366f133;animation:modalScaleUp .4s cubic-bezier(.34,1.56,.64,1) forwards}.modal-lg{max-width:650px}@keyframes modalScaleUp{0%{transform:scale(.95);opacity:0}to{transform:scale(1);opacity:1}}.modal-header{padding:32px;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;align-items:center}.modal-header h2{font-size:1.4rem;color:var(--text-dark);font-weight:800}.close-btn{background:#ffffff0d;border:none;width:36px;height:36px;border-radius:50%;font-size:1.2rem;color:var(--text-muted);cursor:pointer;transition:all .2s}.close-btn:hover{background:#ffffff1a;color:var(--text-dark)}.modal-body{padding:32px}.modal-footer{padding:24px 32px;background:#0003;border-top:1px solid var(--border-color);border-bottom-left-radius:var(--radius-lg);border-bottom-right-radius:var(--radius-lg);display:flex;justify-content:flex-end;gap:16px}.form-group{margin-bottom:20px}.form-group label{display:block;font-size:.95rem;font-weight:600;color:var(--text-main);margin-bottom:10px}.row{display:flex;gap:20px}.col-6{flex:1}.form-control{width:100%;padding:12px 16px;border:1px solid var(--border-color);border-radius:var(--radius-md);background:#0003;font-size:1rem;font-family:inherit;color:var(--text-dark);transition:all .3s}.form-control:focus{outline:none;border-color:var(--primary-color);background:#0006;box-shadow:0 0 0 4px #6366f133}.form-control-lg{padding:16px 20px;font-size:1.1rem;font-weight:600}.input-with-suffix{position:relative;display:flex;align-items:center}.input-with-suffix .form-control{padding-right:80px}.input-with-suffix .suffix{position:absolute;right:20px;color:var(--text-muted);font-weight:700}.form-hint{font-size:.9rem;color:var(--text-muted);margin-top:10px}.form-alert{padding:16px 20px;border-radius:var(--radius-md);font-size:.95rem;display:flex;gap:16px;align-items:flex-start;line-height:1.5}.form-alert.warning{background:#f59e0b1a;border:1px solid rgba(245,158,11,.3);color:#fbbf24}.form-alert.info{background:#06b6d41a;border:1px solid rgba(6,182,212,.3);color:#22d3ee}.sources-list{display:flex;flex-direction:column;gap:20px}.recap-source-card{background:linear-gradient(135deg,#6366f126,#ec489926);border:1px solid rgba(255,255,255,.1);border-radius:var(--radius-lg);padding:32px;box-shadow:0 10px 40px #6366f11a}.recap-source-card h3{color:var(--text-dark);margin-bottom:24px;font-size:1.2rem;font-weight:800}.reconciliation-flow{display:flex;align-items:center;gap:20px;background:#0000004d;padding:24px 32px;border-radius:var(--radius-lg);box-shadow:inset 0 2px 10px #0000004d;border:1px solid rgba(255,255,255,.05)}.flow-item{display:flex;flex-direction:column;align-items:center;gap:8px}.flow-operator{font-size:2rem;font-weight:900;color:var(--text-muted);padding:0 12px}.flow-item .label{font-size:.85rem;color:var(--text-muted);text-transform:uppercase;font-weight:700;letter-spacing:.05em}.flow-item .val{font-size:1.8rem;font-weight:800;color:var(--text-dark)}.highlight-house .val{background:linear-gradient(to right,#6366f1,#ec4899);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;text-shadow:0 0 20px rgba(236,72,153,.3)}.source-card{padding:24px;display:flex;gap:24px;align-items:center}.disabled-source{opacity:.5;filter:grayscale(80%)}.source-icon{font-size:2.2rem;width:72px;height:72px;display:flex;align-items:center;justify-content:center;background:#ffffff0d;border-radius:20px;border:1px solid rgba(255,255,255,.1);box-shadow:inset 0 2px 10px #ffffff0d}.border-blue{border-color:#6366f180;box-shadow:0 0 20px #6366f133}.border-teal{border-color:#10b98180;box-shadow:0 0 20px #10b98133}.border-gray{border-color:var(--text-muted)}.source-content{flex:1;display:flex;flex-direction:column;gap:8px}.source-header{display:flex;align-items:center;gap:16px}.source-header h3{font-size:1.2rem;color:var(--text-dark);font-weight:700}.source-type{font-size:.95rem;color:var(--text-muted)}.switch-group{display:inline-flex;background:#0000004d;border-radius:20px;padding:4px;border:1px solid var(--border-color)}.switch-btn{padding:4px 12px;color:var(--text-muted);font-size:.85rem;font-weight:600;border-radius:16px;border:none;background:transparent;cursor:pointer;transition:all .2s ease}.switch-btn.active{background:var(--primary-color);color:#fff;box-shadow:0 2px 8px #6366f14d}.tag-conf{font-size:.8rem;padding:4px 12px;border-radius:20px;font-weight:700}.tag-high{background-color:#10b98133;color:#34d399}.tag-medium{background-color:#f59e0b33;color:#fbbf24}.tag-low{background-color:#ffffff1a;color:var(--text-muted)}.source-metrics{display:flex;gap:32px;margin-top:8px}.metric{font-size:.95rem}.metric .label{color:var(--text-muted)}.metric strong{color:var(--text-dark);font-weight:700}.source-actions{display:flex;flex-direction:column;align-items:flex-end;gap:16px}@media(max-width:768px){.reconciliation-flow{flex-direction:column;align-items:flex-start;gap:12px}.flow-operator{display:none}.source-card{flex-direction:column;align-items:flex-start;gap:16px}.source-header{flex-direction:column;align-items:flex-start;gap:8px}.source-metrics{flex-direction:column;gap:8px}.source-actions{flex-direction:row;width:100%;justify-content:space-between;align-items:center;margin-top:12px}.row{flex-direction:column;gap:16px}.col-6{flex:none;width:100%;max-width:100%}}.switch{position:relative;display:inline-block;width:50px;height:28px}.switch input{opacity:0;width:0;height:0}.slider{position:absolute;cursor:pointer;inset:0;background-color:#ffffff1a;transition:.4s;border-radius:30px;border:1px solid rgba(255,255,255,.2)}.slider:before{position:absolute;content:"";height:20px;width:20px;left:3px;bottom:3px;background-color:#fff;transition:.4s;border-radius:50%;box-shadow:0 2px 5px #00000080}input:checked+.slider{background-color:var(--primary-color);border-color:var(--primary-color);box-shadow:0 0 15px #6366f180}input:checked+.slider:before{transform:translate(22px)}.source-selection-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.source-type-btn{background:#0003;border:2px solid rgba(255,255,255,.1);padding:24px;border-radius:var(--radius-lg);cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);text-align:center}.source-type-btn:hover{border-color:#ffffff4d;background:#ffffff0d;transform:translateY(-2px)}.source-type-btn.active{border-color:var(--primary-color);background:#6366f126;box-shadow:0 10px 20px #6366f133}.source-type-btn .icon{font-size:2.5rem;margin-bottom:12px}.source-type-btn h4{font-size:1.1rem;color:var(--text-dark);font-weight:700;margin-bottom:8px}.source-type-btn p{font-size:.9rem;color:var(--text-muted);line-height:1.5}html,body{height:100%;margin:0;background-color:#0f172a}
