:root { color-scheme: light; font-family: system-ui, sans-serif; color: #183149; background: #f2f5f7; }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 1120px; margin: auto; padding: 28px; }
a { color: #075c78; text-underline-offset: 3px; }
header { padding: 28px 0 12px; }
h1 { font-size: var(--t-page); margin: 8px 0 20px; }
h2 { font-size: var(--t-carte); }
p, li { line-height: 1.6; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; }
.notice, #message { background: #fff0cc; padding: 14px; border-left: 4px solid #986100; }
section { background: white; padding: 24px; border: 1px solid #cdd9df; border-radius: 12px; margin: 20px 0; min-width: 0; }
label { display: block; margin: 14px 0; }
input, select, button { display: block; width: 100%; max-width: 100%; font: inherit; padding: 12px; border: 1px solid #64798a; border-radius: 6px; margin-top: 6px; min-width: 0; }
button { background: #11556b; color: white; cursor: pointer; width: auto; white-space: normal; }
button:disabled { opacity: .55; cursor: default; }
fieldset { border: 1px solid #cdd9df; border-radius: 8px; min-width: 0; margin: 20px 0; }
legend { font-weight: bold; padding: 0 8px; }
.totals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.totals p { margin: 0; background: #e9f3f3; padding: 16px; border-radius: 8px; }
strong { display: block; font-size: var(--t-inter); }
#document, #journal, #message, .totals { overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid #b65d00; outline-offset: 3px; }
@media (max-width: 600px) { main { padding: 16px; } section { padding: 16px; } .totals { grid-template-columns: 1fr; } button { width: 100%; } input[type=file] { font-size: var(--t-corps); } }
