@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap");:root{--bleu-nuit:#1e2e39;--or:#d6b95b;--or-hover:#c4a44a;--or-light:rgba(214,185,91,.12);--ivoire:#faf9f6;--ivoire-alt:#f0ede5;--texte:#1e2e39;--texte-muted:#6b7280;--blanc:#fff;--vert:#2d7a4f;--vert-light:rgba(45,122,79,.1);--rouge:#b91c1c;--rouge-light:rgba(185,28,28,.1);--sidebar-w:260px}*,:after,:before{box-sizing:border-box}html{font-size:16px}body{margin:0;font-family:Inter,system-ui,-apple-system,sans-serif;background:var(--ivoire);color:var(--texte);-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}.app-shell{display:grid;grid-template-columns:var(--sidebar-w) minmax(0,1fr);min-height:100vh}.sidebar{background:var(--bleu-nuit);border-right:1px solid rgba(214,185,91,.2);padding:1.5rem 1.25rem;position:-webkit-sticky;position:sticky;top:0;height:100vh;overflow-y:auto}.sidebar,.sidebar-logo-wrapper{display:flex;flex-direction:column}.sidebar-logo-wrapper{align-items:center;padding-bottom:1.5rem;border-bottom:1px solid rgba(214,185,91,.2);margin-bottom:1.25rem}.sidebar-logo-img{width:80px;height:80px;object-fit:contain;margin-bottom:.5rem}.sidebar-logo{font-family:Playfair Display,serif;font-weight:700;font-size:1rem;letter-spacing:.05em;color:var(--or);text-align:center;line-height:1.2}.sidebar-subtitle{font-size:.7rem;color:hsla(45,29%,97%,.5);text-align:center;margin-top:.25rem;letter-spacing:.04em;text-transform:uppercase}.nav-section-title{font-size:.65rem;text-transform:uppercase;color:rgba(214,185,91,.6);letter-spacing:.1em;margin:0 0 .5rem .5rem}.nav-link{display:flex;align-items:center;gap:.6rem;padding:.55rem .75rem;border-radius:.5rem;font-size:.85rem;font-weight:500;color:hsla(45,29%,97%,.75);transition:all .15s ease;margin-bottom:.15rem;border-left:2px solid transparent}.nav-link:hover{background:rgba(214,185,91,.08);color:var(--ivoire);border-left-color:rgba(214,185,91,.4)}.nav-link-active{background:rgba(214,185,91,.15);color:var(--or);border-left-color:var(--or);font-weight:600}.nav-link-active:hover{background:rgba(214,185,91,.2)}.nav-link-badge{margin-left:auto;font-size:.65rem;padding:.1rem .4rem;border-radius:999px;background:var(--or);color:var(--bleu-nuit);font-weight:700}.sidebar-footer{margin-top:auto;padding-top:1rem;border-top:1px solid rgba(214,185,91,.15)}.sidebar-user-email{font-size:.75rem;color:hsla(45,29%,97%,.5);margin-bottom:.6rem;padding:0 .25rem}.main{background:var(--ivoire);padding:2rem 2.25rem;min-height:100vh}.page-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1.75rem;padding-bottom:1.25rem;border-bottom:2px solid var(--or)}.page-title{font-family:Playfair Display,serif;font-size:1.6rem;font-weight:700;color:var(--bleu-nuit);line-height:1.2}.page-subtitle{font-size:.85rem;color:var(--texte-muted);margin-top:.25rem}.btn-primary{display:inline-flex;align-items:center;gap:.4rem;padding:.5rem 1.1rem;border-radius:.5rem;border:none;background:var(--or);color:var(--bleu-nuit);font-size:.85rem;font-weight:600;letter-spacing:.01em;transition:background .15s ease,transform .1s ease;white-space:nowrap}.btn-primary:hover{background:var(--or-hover);transform:translateY(-1px)}.btn-primary:active{transform:translateY(0)}.btn-primary:disabled{opacity:.5;cursor:default;transform:none}.btn-secondary{display:inline-flex;align-items:center;gap:.4rem;padding:.5rem 1.1rem;border-radius:.5rem;border:1.5px solid var(--or);background:transparent;color:var(--bleu-nuit);font-size:.85rem;font-weight:600;transition:all .15s ease}.btn-secondary:hover{background:var(--or-light)}.btn-danger{display:inline-flex;align-items:center;gap:.4rem;padding:.5rem 1.1rem;border-radius:.5rem;border:1.5px solid var(--rouge);background:transparent;color:var(--rouge);font-size:.85rem;font-weight:600;transition:all .15s ease}.btn-danger:hover{background:var(--rouge-light)}.card{background:var(--blanc);border-radius:.75rem;border:1px solid rgba(30,46,57,.1);padding:1.25rem 1.5rem;box-shadow:0 1px 4px rgba(30,46,57,.06)}.card-or{border-left:3px solid var(--or)}.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));grid-gap:1rem;gap:1rem}.card-stat-number{font-family:Playfair Display,serif;font-size:2rem;font-weight:700;color:var(--bleu-nuit);line-height:1}.card-stat-label{font-size:.8rem;color:var(--texte-muted);margin-top:.3rem;text-transform:uppercase;letter-spacing:.05em}.card-stat-accent{font-size:.75rem;color:var(--or);font-weight:600;margin-top:.2rem}.stat-number{font-family:Playfair Display,serif;font-size:1.6rem;font-weight:700;color:var(--bleu-nuit)}.stat-label{font-size:.8rem;color:var(--texte-muted);margin-top:.25rem}.table-wrapper{background:var(--blanc);border-radius:.75rem;border:1px solid rgba(30,46,57,.1);overflow:hidden;box-shadow:0 1px 4px rgba(30,46,57,.06)}.table{width:100%;border-collapse:collapse;font-size:.855rem}.table th{background:var(--bleu-nuit);color:var(--ivoire);padding:.7rem .85rem;text-align:left;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.07em;border-bottom:2px solid var(--or)}.table td{padding:.65rem .85rem;border-bottom:1px solid rgba(30,46,57,.07);color:var(--texte);vertical-align:middle}.table tbody tr:nth-child(2n) td{background:var(--ivoire-alt)}.table tbody tr:hover td{background:var(--or-light)}.table tbody tr:last-child td{border-bottom:none}.field{display:flex;flex-direction:column;gap:.3rem;margin-bottom:1rem}.field label{font-size:.8rem;font-weight:600;color:var(--bleu-nuit);letter-spacing:.02em}.field input,.field select,.field textarea{border-radius:.5rem;border:1.5px solid rgba(30,46,57,.2);padding:.5rem .75rem;background:var(--blanc);color:var(--texte);font-size:.875rem;transition:border-color .15s ease,box-shadow .15s ease}.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--or);box-shadow:0 0 0 3px rgba(214,185,91,.15)}.field input::placeholder{color:hsla(220,9%,46%,.6)}.pill{display:inline-flex;align-items:center;border-radius:999px;padding:.2rem .65rem;font-size:.72rem;font-weight:600;letter-spacing:.03em;border:1px solid}.pill-green{background:var(--vert-light);color:var(--vert);border-color:rgba(45,122,79,.3)}.pill-amber{background:var(--or-light);color:#92700a;border-color:rgba(214,185,91,.4)}.pill-red{background:var(--rouge-light);color:var(--rouge);border-color:rgba(185,28,28,.3)}.pill-blue{background:rgba(30,46,57,.08);color:var(--bleu-nuit);border-color:rgba(30,46,57,.2)}.tag-muted{font-size:.75rem;color:var(--texte-muted)}.search-bar{background:var(--blanc);border:1.5px solid rgba(30,46,57,.15);border-radius:.5rem;padding:.5rem .85rem;font-size:.875rem;color:var(--texte);width:100%;transition:border-color .15s ease,box-shadow .15s ease}.search-bar:focus{outline:none;border-color:var(--or);box-shadow:0 0 0 3px rgba(214,185,91,.15)}.search-bar::placeholder{color:hsla(220,9%,46%,.55)}.alert{border-radius:.5rem;padding:.75rem 1rem;font-size:.85rem;border-left:3px solid;margin-bottom:1rem}.alert-warning{background:rgba(214,185,91,.1);border-color:var(--or);color:#7a5e10}.alert-error{background:var(--rouge-light);border-color:var(--rouge);color:var(--rouge)}.alert-success{background:var(--vert-light);border-color:var(--vert);color:var(--vert)}.alert-info{background:rgba(30,46,57,.06);border-color:var(--bleu-nuit);color:var(--bleu-nuit)}.text-or{color:var(--or)}.text-bleu{color:var(--bleu-nuit)}.text-muted{color:var(--texte-muted)}.text-vert{color:var(--vert)}.text-rouge{color:var(--rouge)}.fw-600{font-weight:600}.fw-700{font-weight:700}.font-serif{font-family:Playfair Display,serif}.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mb-1{margin-bottom:.5rem}.mb-2{margin-bottom:1rem}.flex{display:flex}.flex-between,.flex-center{display:flex;align-items:center}.flex-between{justify-content:space-between}.gap-1{gap:.5rem}.login-page{min-height:100vh;background:var(--bleu-nuit);display:flex;align-items:center;justify-content:center;padding:1rem}.login-card{background:var(--blanc);border-radius:1rem;padding:2.5rem 2rem;width:100%;max-width:400px;box-shadow:0 20px 60px rgba(0,0,0,.3);border-top:4px solid var(--or)}.login-logo{text-align:center;margin-bottom:1.75rem}.login-logo img{width:90px;height:90px;object-fit:contain}.login-title{font-family:Playfair Display,serif;font-size:1.4rem;font-weight:700;color:var(--bleu-nuit);text-align:center;margin-bottom:.25rem}.login-subtitle{font-size:.8rem;color:var(--texte-muted);text-align:center;margin-bottom:1.75rem}