:root{color-scheme:dark;font-family:Inter,system-ui,Segoe UI,Arial,sans-serif;background:#0b111b;color:#e8edf5}*{box-sizing:border-box}body{margin:0}header{background:#101a29;border-bottom:1px solid #29384b;display:flex;align-items:center;gap:28px;padding:18px 4%;flex-wrap:wrap}header strong{font-size:24px;letter-spacing:2px}header strong span{color:#42d7bb}header small{display:block;color:#91a1b7;letter-spacing:3px;font-size:10px}nav{display:flex;gap:8px;flex:1;flex-wrap:wrap}button{background:#1d2d42;border:1px solid #344963;color:#e8edf5;padding:11px 15px;border-radius:9px;cursor:pointer;font-weight:600}button:hover,button.active{background:#284b62;border-color:#42d7bb}button.primary,#addIssue,form button[type=submit]{background:#128a79;border-color:#1fbda4}button:disabled{opacity:.5;cursor:default}main{max-width:1300px;margin:32px auto;padding:0 22px}.top{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:25px}h1{font-size:30px;margin:0 0 8px}h2{margin:0 0 18px}p{color:#a9b8cb}#notice:not(:empty){padding:12px;background:#4b2c29;border-radius:8px;margin-bottom:18px}.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:14px;margin-bottom:24px}.stat,.card{background:#121e2e;border:1px solid #2a3b50;border-radius:13px;padding:20px}.stat b{display:block;font-size:34px;color:#53ddc4}.stat span,.muted{color:#9cacc0}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:14px}.card h3{margin:0 0 10px}.card .meta{display:flex;justify-content:space-between;gap:8px;margin-top:16px;color:#9aacc0;font-size:13px}.toolbar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}select,input,textarea{background:#0b1523;border:1px solid #35485e;color:#edf5ff;padding:12px;border-radius:8px;width:100%;font:inherit}select{max-width:350px}.toolbar select{width:auto}.issue{cursor:pointer}.issue:hover{border-color:#3cd6bb}.pill{display:inline-block;padding:4px 9px;border-radius:20px;background:#263e54;font-size:12px;color:#b6d9f2}.board{display:grid;grid-template-columns:repeat(5,minmax(210px,1fr));gap:12px;overflow-x:auto}.board .column{background:#101b29;border:1px solid #29394d;border-radius:12px;padding:12px;min-height:250px}.board h3{font-size:15px}.board .card{padding:13px;margin-bottom:10px}dialog{background:#142132;border:1px solid #3b526d;color:#e8edf5;border-radius:14px;padding:24px;width:min(530px,calc(100% - 30px));max-height:85vh;overflow:auto}dialog::backdrop{background:#000b}form{display:grid;gap:13px}label{display:grid;gap:6px;color:#cbd8e7;font-size:14px}footer{display:flex;gap:10px;justify-content:flex-end;margin-top:15px}.comment{padding:12px;border-left:2px solid #35c9b2;margin:12px 0;background:#0d1928;white-space:pre-wrap}.description{white-space:pre-wrap}.error{color:#ffaaa5}@media(max-width:700px){.board{grid-template-columns:repeat(5,230px)}header{gap:14px}nav{order:3;width:100%}main{margin-top:18px}}

/* Gestion des clés API */
.token-panel{margin-top:14px;padding-top:14px;border-top:1px solid #344963}
.token-panel[hidden]{display:none}
.token-panel h4{margin:0 0 12px;font-size:15px}
.token-item{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #29394d}
.token-item:last-child{border-bottom:0}
.token-info{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0;overflow-wrap:anywhere}
.token-info small{font-size:12px}
.token-state{font-size:12px;font-weight:700}
.token-active{color:#53ddc4}
.token-revoked{color:#a9b8cb}
button.danger{background:#572b35;border-color:#aa5362;color:#ffe1e5}
button.danger:hover{background:#773441;border-color:#ed8796}
