* { box-sizing: border-box; } body { margin: 0; background: var(--mx-fond); color: var(--mx-texte); font: 1rem/1.6 system-ui, sans-serif; } header { background: var(--mx-entete-bloc); color: var(--mx-entete-bloc-texte); padding: 2rem max(1rem, calc((100% - 1050px)/2)); } header strong { display: block; border-left: 4px solid var(--mx-contour-fort); padding-left: 1rem; } h1 { line-height: 1.2; } main { max-width: 1050px; margin: auto; padding: 1rem; } section { background: var(--mx-surface); border: 1px solid var(--mx-contour); border-radius: 12px; padding: 1.25rem; margin: 1rem 0; } label { display: block; margin: .8rem 0; font-weight: 600; } input, select, textarea { display: block; max-width: 100%; width: 100%; margin-top: .4rem; padding: .7rem; font: inherit; border: 1px solid var(--mx-contour-fort); border-radius: 5px; } textarea { min-height: 6rem; } button { font: inherit; padding: .8rem 1rem; background: var(--mx-action); color: var(--mx-action-texte); border: 0; border-radius: 6px; cursor: pointer; } button:disabled { background: var(--mx-surface-2); color: var(--mx-texte-doux); cursor: default; } .actions { display: flex; flex-wrap: wrap; gap: .75rem; } :focus-visible { outline: 3px solid var(--mx-focus); outline-offset: 3px; } #message { min-height: 2rem; font-weight: bold; overflow-wrap: anywhere; } #document, #storage { overflow-wrap: anywhere; } [hidden] { display: none !important; } @media (max-width: 500px) { header { padding: 1.25rem; } section { padding: 1rem; } button { width: 100%; } }
