:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#fff;background-color:#1a1a1a;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:240px;width:100%;min-height:100vh}li{text-align:left}.markdown-output p{text-align:justify}#app img{width:128px;height:128px}h1{font-size:3.2em;line-height:1.1}#app{max-width:1280px;margin:0 auto;padding:2rem;text-align:center;width:100%}.sidebar{position:fixed;top:0;right:0;width:250px;height:100%;background-color:#2b2e42;color:#fff;padding:1rem;box-shadow:-2px 0 8px #0003;z-index:1000;transform:translate(100%);transition:transform .3s ease}.sidebar.closed{visibility:hidden}.sidebar.show{visibility:visible;transform:translate(0)}.sidebar nav ul{list-style:none;padding:0;margin:2rem 0}.sidebar nav ul li{margin-bottom:1rem}.sidebar nav ul li a{color:#fff;text-decoration:none;font-weight:500}.close-btn{background:none;border:none;color:#fff;font-size:1.5rem;position:absolute;top:1rem;right:1rem;cursor:pointer}.cookie-banner{position:fixed;bottom:0;left:0;right:0;background:#2b2e42;color:#fff;padding:1rem;z-index:10000;text-align:center;font-size:.95rem;box-shadow:0 -2px 6px #0003}.cookie-buttons{margin-top:.5rem;display:flex;justify-content:center;gap:1rem;flex-wrap:wrap}.cookie-banner button{background-color:#087f65;color:#fff;border:none;border-radius:6px;padding:.4rem 1rem;font-weight:500;cursor:pointer}.cookie-banner a{color:#fff;text-decoration:underline;font-weight:500}.cookie-banner{background:#1f1f2f;color:#f0f0f0}.cookie-banner button#reject-cookies{background-color:#666}.hidden{display:none!important}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}}.btn-kebab{font-size:1.25rem;line-height:1;border:none;border-radius:50%;background-color:#eee;color:#333;width:36px;height:36px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color .2s ease}.btn-kebab:hover{background-color:#ddd}.btn-outline{display:inline-flex;align-items:center;gap:.5em;font-size:1rem;font-weight:500;font-family:inherit;background-color:transparent;color:#000;border:1px solid #ccc;border-radius:999px;padding:.4em .9em;cursor:pointer;transition:background-color .2s ease,border-color .2s ease}.btn-outline:hover{background-color:#f5f5f5;border-color:#999}.icon{font-size:1rem;line-height:1}.fixed-right-top{position:absolute;right:10px;top:10px;z-index:1000;display:flex;align-items:column;gap:.5em}.fixed-left-top{position:absolute;left:10px;top:10px;z-index:1000;display:flex;align-items:column;gap:.5em}.composants-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem;margin-top:2rem}.composant-card{background:#f4f4f4;padding:1rem;border-radius:12px;box-shadow:0 2px 6px #0000001a;cursor:pointer;transition:transform .2s ease}.composant-card:hover{transform:translateY(-4px)}.composant-detail{position:fixed;top:0;left:0;width:100%;height:100%;background:#fff;padding:2rem;overflow-y:auto;z-index:2000}.mdp-generator{background:#f9f9f9;border-radius:10px;padding:1.5rem;box-shadow:0 2px 6px #0000001a;max-width:500px;margin:2rem auto;display:flex;flex-direction:column;gap:1rem}.mdp-generator label{display:block;font-weight:500}.options label{display:inline-block;margin-right:1rem}.result{display:flex;gap:.5rem;align-items:center}.result input{flex:1;padding:.5rem;font-family:monospace;font-size:1rem}.markdown-converter{max-width:700px;margin:2rem auto;display:flex;flex-direction:column;gap:1rem}.markdown-converter textarea{width:100%;height:200px;font-family:monospace;font-size:1rem;padding:1rem;border:1px solid #ccc;border-radius:6px}.markdown-converter button{align-self:start;padding:.5rem 1rem;background-color:#10a37f;color:#fff;border:none;border-radius:6px;cursor:pointer}.markdown-converter .markdown-output{padding:1rem;background-color:#f9f9f9;border:1px solid #ccc;border-radius:6px}.component-generator{max-width:600px;margin:2rem auto;display:flex;flex-direction:column;gap:1rem}#component-form input{width:calc(100% - 2rem);border:1px solid #ccc;border-radius:6px;box-shadow:0 2px 6px #0000001a;background:#fff;cursor:pointer;transition:transform .2s ease;margin-top:1rem;padding:1rem;font-size:1rem;font-family:Courier New,Courier,monospace;white-space:pre-wrap;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;margin-bottom:2rem}#loading-indicator{display:flex;flex-direction:column;align-items:center;gap:.5rem;font-weight:700;color:#555;margin-top:1rem}.spinner{width:32px;height:32px;border:4px solid #ccc;border-top:4px solid #2B2E42;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.hidden{display:none}.error-message{color:red}#generated-prompt{background-color:#f0f0f0;width:100%;font-size:1rem;font-family:Courier New,Courier,monospace;white-space:pre-wrap;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;height:500px;max-height:200px;overflow-y:auto;border:1px solid #ccc;background:#fff;border-radius:12px;box-shadow:0 2px 6px #0000001a;cursor:pointer;transition:transform .2s ease;margin-top:1rem;padding:1rem}.register-container{max-width:400px;margin:5rem auto;padding:2rem;background:#f9f9f9;border-radius:12px;box-shadow:0 0 10px #0000001a}.register-container input{width:100%;padding:1rem;margin-bottom:1rem;font-size:1rem}.register-container button{width:100%;padding:1rem;background-color:#646cff;color:#fff;border:none;border-radius:6px;font-weight:700;cursor:pointer}#register-message{margin-top:1rem;color:red}gin-container{max-width:400px;margin:5rem auto;padding:2rem;background:#f9f9f9;border-radius:12px;box-shadow:0 0 10px #0000001a}.login-container input{width:100%;padding:1rem;margin-bottom:1rem;font-size:1rem}.login-container button{width:100%;padding:1rem;background-color:#10a37f;color:#fff;border:none;border-radius:6px;font-weight:700;cursor:pointer}#login-message{margin-top:1rem;color:red}#prompt{width:100%;padding:1rem;margin-bottom:1rem;font-size:1rem;background-color:#f9f9f9;border-radius:12px;box-shadow:0 0 10px #0000001a;border:1px solid #ccc;transition:border-color .3s;height:100px}
