:root { color-scheme: dark; font: 16px/1.5 system-ui, sans-serif; background: #121719; color: #e3ebee; }
* { box-sizing: border-box; }
body { margin: auto; max-width: 1300px; padding: 24px; }
h1 { margin-bottom: 8px; font-weight: 550; }
p { color: #b9c7cb; }
main { display: grid; grid-template-columns: minmax(260px, 360px) minmax(0,1fr); gap: 28px; }
label { display: grid; gap: 6px; margin: 14px 0; }
input, select, button { width: 100%; min-height: 44px; padding: 10px; border: 1px solid #455458; border-radius: 6px; background: #253035; color: inherit; font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .45; cursor: default; }
button:not(:disabled):hover { background: #394a36; }
.actions { display: grid; gap: 8px; margin: 20px 0; }
canvas { display: block; width: 100%; height: min(65vh,680px); object-fit: contain; background: #222d31; touch-action: none; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 460px; overflow: auto; font: 13px/1.6 ui-monospace, monospace; }
summary { cursor: pointer; min-height: 44px; padding-top: 10px; }
#statut { color: #c6ed80; }
footer { padding-top: 30px; color: #b9c7cb; font-size: 14px; }
@media (max-width: 720px) { main { grid-template-columns: 1fr; } body { padding: 16px; } .aperçu { grid-row: 1; } canvas { height: 35vh; } }
