:root{--brand-teal: #28a8b5;--brand-teal-dark: #1d8f9a;--brand-teal-light: #e8f6f8;--brand-teal-muted: #d4eef2;--font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif}.auth-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;font-family:var(--font-sans);background:#f8fafc}.auth-brand{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 40px;background:linear-gradient(145deg,var(--brand-teal-light) 0%,var(--brand-teal-muted) 55%,#c5e8ec 100%);overflow:hidden}.auth-brand:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 20% 80%,rgba(40,168,181,.15) 0%,transparent 50%),radial-gradient(circle at 80% 20%,rgba(40,168,181,.1) 0%,transparent 45%);pointer-events:none}.auth-brand__content{position:relative;z-index:1;text-align:center;max-width:360px}.auth-brand__logo{width:min(280px,80vw);height:auto;object-fit:contain;margin-bottom:28px;filter:drop-shadow(0 4px 12px rgba(15,23,42,.08))}.auth-brand__tagline{margin:0;font-size:1.125rem;font-weight:600;color:#1e293b;letter-spacing:-.02em}.auth-brand__subtitle{margin:10px 0 0;font-size:.9rem;color:#475569;line-height:1.5}.auth-form-side{display:flex;align-items:center;justify-content:center;padding:32px 24px;background:#f8fafc}.auth-card{width:100%;max-width:400px;background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:32px;box-shadow:0 4px 24px #0f172a0f}.auth-card__title{margin:0 0 6px;font-size:1.5rem;font-weight:700;color:#0f172a;letter-spacing:-.03em}.auth-card__subtitle{margin:0 0 24px;font-size:.875rem;color:#64748b;line-height:1.45}.auth-alert{background:#fffbeb;border:1px solid #fcd34d;color:#b45309;border-radius:10px;padding:12px 14px;margin-bottom:16px;font-size:.8125rem;line-height:1.4}.auth-form{display:grid;gap:18px}.auth-field label{display:block}.auth-field__label{display:block;font-size:.8125rem;font-weight:600;color:#475569;margin-bottom:6px}.auth-field input{width:100%;box-sizing:border-box;background:#f8fafc;color:#0f172a;border:1px solid #cbd5e1;border-radius:10px;padding:11px 14px;font-size:.9375rem;font-family:inherit;outline:none;transition:border-color .15s,box-shadow .15s}.auth-field input:focus{border-color:var(--brand-teal);box-shadow:0 0 0 3px #28a8b52e}.auth-error{color:#dc2626;font-size:.8125rem;margin:-6px 0 0}.auth-submit{margin-top:4px;width:100%;background:var(--brand-teal);color:#fff;border:none;border-radius:10px;padding:12px 16px;font-size:.9375rem;font-weight:700;font-family:inherit;cursor:pointer;transition:background .15s,transform .1s}.auth-submit:hover:not(:disabled){background:var(--brand-teal-dark)}.auth-submit:active:not(:disabled){transform:scale(.99)}.auth-submit:disabled{opacity:.65;cursor:not-allowed}.auth-forgot-link,.auth-link-button{display:block;width:100%;margin-top:16px;padding:0;border:none;background:none;color:var(--brand-teal-dark);font-size:.875rem;font-weight:600;text-align:center;text-decoration:none;cursor:pointer}.auth-forgot-link:hover,.auth-link-button:hover{text-decoration:underline}.auth-info{margin:0 0 24px;color:#475569;font-size:.9375rem;line-height:1.6}@media(max-width:860px){.auth-page{grid-template-columns:1fr}.auth-brand{padding:36px 24px 28px}.auth-brand__logo{width:min(220px,70vw);margin-bottom:16px}.auth-brand__tagline{font-size:1rem}.auth-form-side{padding:8px 20px 40px}}.app-shell{font-family:var(--font-sans)}.app-sticky-top{position:sticky;top:0;z-index:100;background:#fff;box-shadow:0 1px 3px #0f172a0f}.app-shell[data-theme=dark] .app-sticky-top{background:#1e293b;box-shadow:0 1px 3px #00000040}.app-header{background:transparent;border-bottom:1px solid #f1f5f9}.app-shell[data-theme=dark] .app-header{border-bottom-color:#334155}.app-header__inner{max-width:1400px;margin:0 auto;padding:14px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.app-header__brand{display:flex;align-items:center;gap:14px;min-width:0}.app-header__logo{width:88px;height:88px;object-fit:contain;flex-shrink:0;border-radius:8px}.app-header__titles{min-width:0}.app-header__title{margin:0;font-size:1.125rem;font-weight:700;color:#0f172a;letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app-shell[data-theme=dark] .app-header__title{color:#f1f5f9}.app-header__meta{margin:2px 0 0;font-size:.8125rem;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app-shell[data-theme=dark] .app-header__meta{color:#94a3b8}.app-header__meta strong{color:#334155;font-weight:600}.app-shell[data-theme=dark] .app-header__meta strong{color:#e2e8f0}.app-header__actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.header-btn{display:inline-flex;align-items:center;gap:6px;background:#f1f5f9;color:#334155;border:1px solid #e2e8f0;border-radius:9px;padding:8px 12px;font-size:.8125rem;font-weight:600;font-family:inherit;cursor:pointer;white-space:nowrap;transition:background .15s,border-color .15s}.app-shell[data-theme=dark] .header-btn{background:#334155;color:#e2e8f0;border-color:#475569}.header-btn:hover:not(:disabled){background:#e2e8f0}.app-shell[data-theme=dark] .header-btn:hover:not(:disabled){background:#475569}.header-btn:disabled{opacity:.45;cursor:not-allowed}.header-btn--primary{background:var(--brand-teal);color:#fff;border-color:var(--brand-teal)}.header-btn--primary:hover:not(:disabled){background:var(--brand-teal-dark);border-color:var(--brand-teal-dark)}.header-btn--admin{background:#059669;color:#fff;border-color:#059669}.header-btn--admin:hover:not(:disabled){background:#047857;border-color:#047857}.header-btn--icon{padding:8px 10px}.header-dropdown{position:relative}.header-menu{position:absolute;right:0;top:calc(100% + 6px);min-width:240px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:8px;box-shadow:0 8px 30px #0f172a1f;z-index:200}.app-shell[data-theme=dark] .header-menu{background:#1e293b;border-color:#475569;box-shadow:0 8px 30px #00000059}.header-menu__section{padding:4px 0}.header-menu__section+.header-menu__section{border-top:1px solid #e2e8f0;margin-top:4px;padding-top:8px}.app-shell[data-theme=dark] .header-menu__section+.header-menu__section{border-top-color:#475569}.header-menu__label{display:block;padding:4px 10px 6px;font-size:.6875rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#94a3b8}.header-menu__item{display:flex;align-items:center;gap:8px;width:100%;background:none;border:none;border-radius:8px;padding:9px 10px;font-size:.8125rem;font-weight:500;font-family:inherit;color:#334155;cursor:pointer;text-align:left;transition:background .12s}.app-shell[data-theme=dark] .header-menu__item{color:#e2e8f0}.header-menu__item:hover:not(:disabled){background:#f1f5f9}.app-shell[data-theme=dark] .header-menu__item:hover:not(:disabled){background:#334155}.header-menu__item:disabled{opacity:.45;cursor:not-allowed}.header-menu__item--danger{color:#dc2626}.header-menu__select{width:100%;box-sizing:border-box;background:#f8fafc;color:#0f172a;border:1px solid #cbd5e1;border-radius:8px;padding:8px 10px;font-size:.8125rem;font-family:inherit;margin:0 10px 6px;width:calc(100% - 20px);outline:none}.app-shell[data-theme=dark] .header-menu__select{background:#334155;color:#f1f5f9;border-color:#475569}.header-menu__user{padding:8px 10px 6px}.header-menu__email{display:block;font-size:.8125rem;font-weight:600;color:#0f172a;word-break:break-all}.app-shell[data-theme=dark] .header-menu__email{color:#f1f5f9}.header-menu__role{display:inline-block;margin-top:4px;font-size:.6875rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--brand-teal);background:#28a8b51f;padding:2px 8px;border-radius:6px}.header-chevron{font-size:.625rem;opacity:.6}@media(max-width:720px){.app-header__inner{flex-wrap:wrap;padding:12px 16px}.app-header__actions{width:100%;justify-content:flex-end;flex-wrap:wrap}.app-header__meta{white-space:normal}}.period-toolbar{border-bottom:1px solid #e2e8f0;padding:10px 24px 12px;background:#fafbfc}.app-shell[data-theme=dark] .period-toolbar{background:#172033;border-bottom-color:#334155}.period-toolbar__inner{max-width:1400px;margin:0 auto;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px 14px}.period-toolbar__label{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#64748b;white-space:nowrap}.app-shell[data-theme=dark] .period-toolbar__label{color:#94a3b8}.period-toolbar__presets{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:center}.period-preset{background:#fff;color:#475569;border:1px solid #e2e8f0;border-radius:8px;padding:6px 12px;font-size:.8125rem;font-weight:600;font-family:inherit;cursor:pointer;white-space:nowrap;transition:background .15s,border-color .15s,color .15s}.app-shell[data-theme=dark] .period-preset{background:#334155;color:#cbd5e1;border-color:#475569}.period-preset:hover{border-color:var(--brand-teal);color:var(--brand-teal-dark)}.period-preset--active{background:#28a8b51f;color:var(--brand-teal-dark);border-color:var(--brand-teal)}.app-shell[data-theme=dark] .period-preset--active{background:#28a8b533;color:#5eead4;border-color:var(--brand-teal)}.period-toolbar__range{display:flex;align-items:center;gap:8px}.period-select{background:#fff;color:#0f172a;border:1px solid #cbd5e1;border-radius:8px;padding:6px 10px;font-size:.8125rem;font-weight:500;font-family:inherit;cursor:pointer;outline:none}.app-shell[data-theme=dark] .period-select{background:#334155;color:#f1f5f9;border-color:#475569}.period-select:focus{border-color:var(--brand-teal);box-shadow:0 0 0 2px #28a8b533}.period-toolbar__arrow{color:#94a3b8;font-size:.875rem}.period-toolbar__count{font-size:.8125rem;color:#64748b;white-space:nowrap}.app-shell[data-theme=dark] .period-toolbar__count{color:#94a3b8}.period-reset{background:transparent;color:var(--brand-teal-dark);border:none;padding:4px 8px;font-size:.8125rem;font-weight:600;font-family:inherit;cursor:pointer;text-decoration:underline;text-underline-offset:2px}.app-shell[data-theme=dark] .period-reset{color:#5eead4}.period-reset:hover{opacity:.85}@media(max-width:640px){.period-toolbar{padding:10px 16px}.period-toolbar__inner{gap:8px 10px}.period-toolbar__label{width:100%;text-align:center}}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:24px;background:#0f172a59;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);animation:modal-fade-in .2s ease}.app-shell[data-theme=dark] .modal-overlay{background:#0000008c}@keyframes modal-fade-in{0%{opacity:0}to{opacity:1}}.modal-panel{width:100%;max-width:920px;max-height:calc(100vh - 48px);display:flex;flex-direction:column;border:1px solid #e2e8f0;border-radius:16px;overflow:hidden;animation:modal-slide-in .22s ease}.app-shell[data-theme=dark] .modal-panel{border-color:#475569}@keyframes modal-slide-in{0%{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.modal-panel__header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:22px 24px 18px;border-bottom:1px solid #e2e8f0;flex-shrink:0}.app-shell[data-theme=dark] .modal-panel__header{border-bottom-color:#475569}.modal-panel__title{margin:0;font-size:1.25rem;font-weight:700;letter-spacing:-.02em}.modal-panel__subtitle{margin:4px 0 0;font-size:.8125rem;line-height:1.4}.modal-close{flex-shrink:0;width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:#f1f5f9;color:#64748b;border:1px solid #e2e8f0;border-radius:10px;font-size:1rem;cursor:pointer;transition:background .15s,color .15s}.app-shell[data-theme=dark] .modal-close{background:#334155;color:#94a3b8;border-color:#475569}.modal-close:hover{background:#e2e8f0;color:#0f172a}.app-shell[data-theme=dark] .modal-close:hover{background:#475569;color:#f1f5f9}.modal-panel__body{padding:20px 24px 24px;overflow-y:auto}.admin-form{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:16px}.admin-form__submit{color:#fff;border:none;border-radius:8px;padding:9px 14px;font-size:.8125rem;font-weight:700;font-family:inherit;cursor:pointer}.admin-alert{border-radius:10px;padding:10px 12px;margin-bottom:14px;font-size:.8125rem;overflow-wrap:anywhere}.admin-alert--success{background:#10b98118;border:1px solid #10b98155;color:#059669}.admin-alert--error{background:#ef444418;border:1px solid #ef444455;color:#ef4444}.admin-table-wrap{overflow-x:auto;border:1px solid #e2e8f0;border-radius:12px}.app-shell[data-theme=dark] .admin-table-wrap{border-color:#475569}.admin-table{width:100%;border-collapse:collapse;font-size:.8125rem}.admin-table th{text-align:left;padding:10px 12px;border-bottom:2px solid #e2e8f0;font-weight:600}.admin-table td{padding:10px 12px;border-bottom:1px solid #e2e8f080;vertical-align:middle}.admin-table__actions{display:flex;gap:8px;flex-wrap:wrap}.admin-table__actions button{border:1px solid;border-radius:7px;padding:7px 9px;font-size:.75rem;font-family:inherit;cursor:pointer}.modal-panel--wide{max-width:1040px}.modal-panel--editor{max-width:min(1280px,98vw)}.modal-panel--editor .modal-panel__body.month-editor__body{padding:12px 16px 14px;overflow:hidden;flex:1;min-height:0}.modal-panel--editor .month-editor__header{padding:14px 18px 12px}.modal-panel__header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.modal-panel__header{flex-wrap:wrap}@media(max-width:640px){.modal-overlay{padding:12px;align-items:flex-end}.modal-panel{max-height:calc(100vh - 24px);border-bottom-left-radius:0;border-bottom-right-radius:0}}.dash-main{max-width:1400px;margin:0 auto;padding:20px 32px 32px}@media(max-width:640px){.dash-main{padding:16px}}.dash-tabs-wrap{margin-bottom:20px}.dash-tabs{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;padding-bottom:16px;border-bottom:1px solid #e2e8f0;margin-bottom:20px}.app-shell[data-theme=dark] .dash-tabs{border-bottom-color:#334155}.dash-tab{background:#f1f5f9;color:#475569;border:1px solid #e2e8f0;border-radius:10px;padding:9px 16px;font-size:.8125rem;font-weight:600;font-family:inherit;cursor:pointer;transition:background .15s,border-color .15s,color .15s}.app-shell[data-theme=dark] .dash-tab{background:#334155;color:#cbd5e1;border-color:#475569}.dash-tab:hover{border-color:var(--brand-teal);color:var(--brand-teal-dark)}.dash-tab--active{background:var(--brand-teal);color:#fff;border-color:var(--brand-teal)}.app-shell[data-theme=dark] .dash-tab--active{background:var(--brand-teal);color:#fff}.dash-tab-panel{animation:dash-fade-in .2s ease}@keyframes dash-fade-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.dash-card{background:#fff;border-radius:14px;padding:20px 22px;border:1px solid #e2e8f0;box-shadow:0 1px 3px #0f172a0f}.app-shell[data-theme=dark] .dash-card{background:#1e293b;border-color:#334155;box-shadow:none}.dash-chart-card{padding:22px 24px;margin-bottom:20px}.dash-chart-card__title{margin:0 0 16px;font-size:.9375rem;font-weight:700;color:#0f172a;letter-spacing:-.02em}.app-shell[data-theme=dark] .dash-chart-card__title{color:#f1f5f9}.dash-chart-card__hint{margin:-10px 0 14px;font-size:.75rem;color:#64748b}.dash-kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-bottom:16px}.dash-kpi{display:flex;flex-direction:column;min-height:120px}.dash-kpi__label{font-size:.75rem;font-weight:600;color:#64748b;margin-bottom:6px;text-transform:uppercase;letter-spacing:.03em}.app-shell[data-theme=dark] .dash-kpi__label{color:#94a3b8}.dash-kpi__value{font-size:1.625rem;font-weight:700;color:#0f172a;letter-spacing:-.03em;line-height:1.2}.app-shell[data-theme=dark] .dash-kpi__value{color:#f1f5f9}.dash-kpi__delta{font-size:.8125rem;margin-top:4px}.dash-kpi__delta--up{color:#059669}.dash-kpi__delta--down{color:#dc2626}.dash-kpi__delta--neutral{color:#64748b}.dash-kpi__trend{margin-top:auto;padding-top:12px;border-top:1px solid #e2e8f080}.dash-kpi__trend-badge{display:inline-flex;align-items:center;gap:4px;font-size:.6875rem;font-weight:700;padding:3px 8px;border-radius:8px}.dash-kpi__sparkline{display:flex;align-items:flex-end;gap:2px;height:20px;margin-top:6px}.dash-kpi__spark-bar{width:14px;border-radius:3px;transition:height .3s}.dash-cumul-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px;margin-bottom:20px}.dash-cumul-grid--stack{grid-template-columns:1fr;margin-bottom:0;gap:12px}.dash-synthese-split{display:grid;grid-template-columns:minmax(0,4fr) minmax(220px,1fr);gap:20px;align-items:start;margin-bottom:20px}.dash-synthese-charts{min-width:0}.dash-synthese-charts .dash-chart-card{margin-bottom:16px}.dash-synthese-charts .dash-chart-card:last-child{margin-bottom:0}.dash-synthese-metrics{display:flex;flex-direction:column;gap:12px;position:sticky;top:calc(var(--sticky-top-offset, 180px))}.dash-synthese-metrics .dash-kpi{min-height:auto;padding:16px 18px}.dash-synthese-metrics .dash-kpi__value{font-size:1.375rem}.dash-synthese-metrics .dash-kpi__trend{padding-top:8px}.dash-synthese-metrics .dash-kpi__sparkline{height:16px}.dash-synthese-metrics .dash-card .dash-kpi__value{font-size:1.25rem}.dash-synthese-metrics .dash-kpi__label{font-size:.6875rem}@media(max-width:1024px){.dash-synthese-split{grid-template-columns:1fr}.dash-synthese-metrics{position:static;display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;order:-1;margin-bottom:4px}.dash-synthese-metrics .dash-cumul-grid--stack{grid-column:1 / -1;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}}.dash-progress__track{margin-top:10px;background:#f1f5f9;border-radius:6px;height:10px;overflow:hidden}.app-shell[data-theme=dark] .dash-progress__track{background:#334155}.dash-progress__fill{height:100%;border-radius:6px;transition:width .5s ease}.dash-progress__meta{font-size:.6875rem;font-weight:600;margin-top:6px}.dash-chart-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px}@media(max-width:900px){.dash-chart-grid-2{grid-template-columns:1fr}}.dash-chart-grid-2 .dash-chart-card{margin-bottom:0}.dash-projection__header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:14px}.dash-projection__title-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.dash-projection__title{font-size:.9375rem;font-weight:700;color:#0f172a}.dash-badge-beta{display:inline-block;font-size:.625rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;background:#f59e0b18;color:#b45309;border:1px solid #f59e0b55;padding:2px 8px;border-radius:6px;line-height:1.4}.app-shell[data-theme=dark] .dash-badge-beta{background:#f59e0b25;color:#fbbf24;border-color:#f59e0b66}.app-shell[data-theme=dark] .dash-projection__title{color:#f1f5f9}.dash-projection__horizons{display:flex;gap:6px;flex-wrap:wrap}.dash-horizon-btn{background:transparent;color:#64748b;border:1px solid #e2e8f0;border-radius:8px;padding:5px 12px;font-size:.75rem;font-weight:500;font-family:inherit;cursor:pointer;transition:all .15s}.dash-horizon-btn--active{background:var(--brand-teal);color:#fff;border-color:var(--brand-teal);font-weight:600}.dash-projection__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.dash-projection-item{background:#f8fafc;border-radius:10px;padding:14px 16px;border:1px dashed}.app-shell[data-theme=dark] .dash-projection-item{background:#334155}.month-detail{display:flex;flex-direction:column;gap:0;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;background:#fff}.app-shell[data-theme=dark] .month-detail{background:#1e293b;border-color:#475569}.month-detail__heading{margin:0 0 12px;font-size:.6875rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:#64748b;text-align:center}.app-shell[data-theme=dark] .month-detail__heading{color:#94a3b8}.month-detail__synth{padding:18px 20px 16px;border-bottom:1px solid #e2e8f0}.app-shell[data-theme=dark] .month-detail__synth{border-bottom-color:#475569}.month-detail__synth-cols{display:grid;grid-template-columns:1fr auto 1fr;align-items:stretch;gap:0}.month-detail__synth-col{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:4px 12px;min-height:88px}.month-detail__synth-divider{width:1px;background:#e2e8f0;margin:4px 0}.app-shell[data-theme=dark] .month-detail__synth-divider{background:#475569}.month-detail__synth-kicker{font-size:.75rem;font-weight:600;color:#64748b;margin-bottom:4px}.month-detail__synth-main{font-size:1.625rem;font-weight:700;letter-spacing:-.03em;line-height:1.15;color:#0f172a}.app-shell[data-theme=dark] .month-detail__synth-main{color:#f1f5f9}.month-detail__synth-main--effectif{display:flex;align-items:center;gap:10px}.month-detail__effectif-arrow{font-size:1.125rem;font-weight:400;color:#94a3b8}.month-detail__synth-foot{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:6px;font-size:.8125rem;color:#64748b}.month-detail__synth-foot strong{font-weight:700}.month-detail__synth-muted{color:#94a3b8;font-size:.8125rem}.month-detail__effectif-var{font-size:.75rem;font-weight:700;padding:3px 8px;border-radius:6px}.month-detail__effectif-var--up{color:#059669;background:#05966918}.month-detail__effectif-var--down{color:#dc2626;background:#dc262618}.month-detail__split{display:grid;grid-template-columns:1fr 1fr}@media(max-width:560px){.month-detail__split{grid-template-columns:1fr}.month-detail__panel+.month-detail__panel{border-top:1px solid #e2e8f0;border-left:none}.app-shell[data-theme=dark] .month-detail__panel+.month-detail__panel{border-top-color:#475569}}.month-detail__split--solo{grid-template-columns:1fr}.month-detail__panel{padding:16px 18px 14px}.month-detail__panel+.month-detail__panel{border-left:1px solid #e2e8f0}.app-shell[data-theme=dark] .month-detail__panel+.month-detail__panel{border-left-color:#475569}@media(max-width:560px){.month-detail__panel+.month-detail__panel{border-left:none}}.month-detail__table{display:flex;flex-direction:column;gap:0}.month-detail__row{display:grid;grid-template-columns:minmax(5rem,1.1fr) 1fr 1fr auto;align-items:center;gap:8px 10px;padding:9px 0;border-bottom:1px solid #f1f5f9}.month-detail__row--head{padding:0 0 8px;border-bottom:1px solid #e2e8f0}.app-shell[data-theme=dark] .month-detail__row--head{border-bottom-color:#475569}.month-detail__col-head{font-size:.6875rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#94a3b8;text-align:center}.month-detail__col-head--reel{color:#1d4ed8}.app-shell[data-theme=dark] .month-detail__col-head--reel{color:#60a5fa}.month-detail__col-head--budget{color:#d97706}.month-detail__col-head:last-child{text-align:right;padding-right:2px}.month-detail__row:last-child{border-bottom:none;padding-bottom:0}.app-shell[data-theme=dark] .month-detail__row{border-bottom-color:#334155}.month-detail__row-label{font-size:.8125rem;font-weight:600;color:#475569}.app-shell[data-theme=dark] .month-detail__row-label{color:#cbd5e1}.month-detail__row-reel{font-size:.8125rem;font-weight:700;color:#1d4ed8;text-align:center;white-space:nowrap}.app-shell[data-theme=dark] .month-detail__row-reel{color:#60a5fa}.month-detail__row-budget{font-size:.8125rem;font-weight:600;color:#d97706;text-align:center;white-space:nowrap}.month-detail__ecart{font-size:.6875rem;font-weight:700;padding:3px 7px;border-radius:6px;white-space:nowrap;text-align:center;justify-self:end}.month-detail__ecart--up{color:#059669;background:#05966918}.month-detail__ecart--down{color:#dc2626;background:#dc262618}.dash-table-wrap{overflow-x:auto;border-radius:10px;border:1px solid #e2e8f0}.app-shell[data-theme=dark] .dash-table-wrap{border-color:#334155}.dash-table{width:100%;border-collapse:collapse;font-size:.8125rem}.dash-table th{position:sticky;top:0;background:#f8fafc;padding:10px 12px;text-align:left;color:#64748b;border-bottom:2px solid #e2e8f0;font-weight:600;white-space:nowrap;z-index:1}.app-shell[data-theme=dark] .dash-table th{background:#334155;color:#94a3b8;border-bottom-color:#475569}.dash-table td{padding:10px 12px;border-bottom:1px solid #e2e8f050;white-space:nowrap}.dash-table tr{cursor:pointer;transition:background .12s}.dash-table tr:hover td{background:#f1f5f980}.app-shell[data-theme=dark] .dash-table tr:hover td{background:#33415580}.dash-table tr.dash-table__row--selected td{background:#28a8b51f}.dash-flux-kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin-bottom:20px}.dash-flux-kpi__value{font-size:1.5rem;font-weight:700}.dash-flux-kpi__label{font-size:.6875rem;font-weight:600;color:#64748b;margin-bottom:4px}.dash-alert{border-radius:10px;padding:10px 14px;margin-bottom:16px;font-size:.8125rem;font-weight:600}.dash-alert--success{background:#10b98118;color:#059669;border:1px solid #10b98155}.month-editor__header{align-items:flex-start}.month-editor__header-main{flex:1;min-width:0}.month-editor__mois-field{display:inline-flex;align-items:center;gap:8px;margin-top:10px}.month-editor__mois-label{font-size:.6875rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.04em}.month-editor__mois-input{width:120px;padding:6px 10px;font-size:.8125rem;font-family:inherit;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc}.app-shell[data-theme=dark] .month-editor__mois-input{background:#334155;border-color:#475569;color:#f1f5f9}.month-editor__body{display:flex;flex-direction:column}.month-editor__errors{background:#ef444415;border:1px solid #ef444460;border-radius:8px;padding:8px 12px;margin-bottom:10px;font-size:.75rem;color:#ef4444}.month-editor__layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:12px;align-items:start;min-height:0}.month-editor__section-title{margin:0 0 6px;font-size:.75rem;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.04em}.month-editor__table-wrap{overflow-x:auto;border:1px solid #e2e8f0;border-radius:8px}.app-shell[data-theme=dark] .month-editor__table-wrap{border-color:#475569}.month-editor__table{width:100%;border-collapse:collapse;font-size:.6875rem}.month-editor__table th{background:#1f4e86;color:#fff;padding:4px 5px;text-align:center;font-weight:700;border:1px solid #1a4070;white-space:nowrap}.month-editor__cell{border:1px solid #e2e8f0;padding:2px;vertical-align:middle}.app-shell[data-theme=dark] .month-editor__cell{border-color:#475569}.month-editor__row-label{background:#f8fafc;font-weight:700;padding:4px 6px!important;white-space:nowrap}.app-shell[data-theme=dark] .month-editor__row-label{background:#334155}.month-editor__row-total td{background:#24558f;color:#fff;font-weight:800;padding:4px 6px!important}.month-editor__row-entry td:first-child{background:#059669;color:#fff;font-weight:800;padding:4px 8px!important}.month-editor__row-exit td:first-child{background:#dc2626;color:#fff;font-weight:800;padding:4px 8px!important}.month-editor__cell--total{background:#24558f!important}.month-editor__cell--computed{background:#f1f5f9!important;text-align:right;padding:4px 8px!important}.app-shell[data-theme=dark] .month-editor__cell--computed{background:#334155!important}.month-editor__cell--entry-total{background:#059669!important;text-align:right;padding:4px 8px!important}.month-editor__cell--exit-total{background:#dc2626!important;text-align:right;padding:4px 8px!important}.month-editor__cell--total-inline{background:#24558f!important;color:#fff;text-align:right;padding:4px 8px!important}.month-editor__input{width:100%;min-width:0;box-sizing:border-box;border:1px solid #e2e8f0;border-radius:3px;padding:3px 5px;font-size:.6875rem;font-family:inherit;text-align:right;background:#fff}.app-shell[data-theme=dark] .month-editor__input{background:#1e293b;border-color:#475569;color:#f1f5f9}.month-editor__input--compact{padding:4px 6px;font-size:.75rem}.month-editor__computed,.month-editor__total{display:block;text-align:right;font-weight:800;font-size:.6875rem;padding:2px 4px}.month-editor__cell--entry-total .month-editor__computed,.month-editor__cell--exit-total .month-editor__computed,.month-editor__cell--total-inline .month-editor__computed,.month-editor__total{color:#fff}.month-editor__flux{display:flex;flex-direction:column;gap:8px;border:1px solid #e2e8f0;border-radius:8px;padding:8px;max-height:calc(100vh - 220px);overflow-y:auto}.app-shell[data-theme=dark] .month-editor__flux{border-color:#475569}.month-editor__table--flux td:first-child{font-size:.6875rem;padding:3px 6px!important;white-space:nowrap}.month-editor__sorties-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px 8px;padding-top:4px;border-top:1px solid #e2e8f080}.month-editor__sortie-field{display:flex;flex-direction:column;gap:2px;font-size:.625rem;font-weight:600;color:#64748b}.month-editor__footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 18px;border-top:1px solid #e2e8f0;flex-shrink:0}.app-shell[data-theme=dark] .month-editor__footer{border-top-color:#475569}.month-editor__btn{border-radius:8px;padding:8px 14px;font-size:.8125rem;font-weight:700;font-family:inherit;cursor:pointer}.month-editor__btn--ghost{background:transparent;color:#64748b;border:1px solid #e2e8f0}.month-editor__btn--primary{color:#fff;border:none}@media(max-width:960px){.month-editor__layout{grid-template-columns:1fr}.month-editor__flux{max-height:none}}.dash-footer{text-align:center;padding:20px 32px;color:#64748b;font-size:.75rem;border-top:1px solid #e2e8f040;margin-top:40px}
