:root{font-family:Arial,Helvetica,sans-serif;color:#252441;background:#f3f0ff}*{box-sizing:border-box}body{max-width:980px;margin:0 auto;padding:36px 28px}header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:26px 28px;border:2px solid #282746;border-radius:16px;background:#ffe57b;box-shadow:6px 6px 0 #282746}header p{margin:0 0 8px;font-size:.75rem;font-weight:800;letter-spacing:1.4px}h1{margin:0 0 8px;font-size:2.2rem}header span{font-size:.9rem}button{padding:13px 16px;border:2px solid #282746;border-radius:8px;background:#fff;color:#252441;font-weight:800;cursor:pointer}.section-heading{display:flex;align-items:center;gap:12px;margin:34px 0 14px;border-bottom:3px solid #252441}.section-heading h2{margin:0 0 8px;font-size:1.55rem}.section-heading span{min-width:29px;padding:4px 8px;border-radius:20px;background:#252441;color:#fff;text-align:center}.item{break-inside:avoid;margin:0 0 12px;padding:16px 18px;border:1.5px solid #a79bbb;border-radius:10px;background:#fff}.item-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.item h3{margin:0;font-size:1.08rem}.status{flex:0 0 auto;padding:4px 8px;border-radius:5px;background:#e8e2f5;font-size:.75rem;font-weight:800}.status.terminée{background:#ddefe3;color:#28553b}.status.en-cours{background:#fff0bf;color:#714f00}.status.en-veille{background:#e9ddff;color:#5b3891}.meta{display:flex;flex-wrap:wrap;gap:8px 24px;margin:9px 0 0;color:#665b73;font-size:.84rem}.details{margin:12px 0 0;padding-top:10px;border-top:1px dashed #c5bace;white-space:pre-wrap;line-height:1.5}.due,.urgent{display:inline-block;margin:10px 12px 0 0;font-size:.84rem;font-weight:700}.urgent{color:#a92f39}.empty,.loading,.error{padding:18px;border:1px dashed #a79bbb;border-radius:8px;background:#fff}.error{color:#9b3038}@media(max-width:650px){body{padding:18px 14px}header{align-items:stretch;flex-direction:column}button{width:100%}.meta{flex-direction:column;gap:5px}}@media print{:root{background:#fff}body{max-width:none;padding:0;font-size:10pt}header{padding:16px 18px;box-shadow:none}header button{display:none}h1{font-size:20pt}.section-heading{margin-top:22px}.item{padding:11px 13px;margin-bottom:8px}.item h3{font-size:11pt}.details{font-size:9pt}section{break-before:auto}@page{size:A4;margin:14mm}}.back{margin-bottom:16px}.back a{color:#55388d;font-weight:700;text-decoration:none}.back a:hover{text-decoration:underline}button:disabled{opacity:.5;cursor:not-allowed}.choices{display:grid;grid-template-columns:minmax(200px,.8fr) 1.4fr;gap:26px;margin-top:28px;padding:22px 24px;border:2px solid #a79bbb;border-radius:14px;background:#fff}.choices h2{margin:5px 0 6px}.choices .eyebrow{margin:0;color:#6d519e;font-size:.72rem;font-weight:800;letter-spacing:1.2px}.hint{margin:0;color:#6b6076;font-size:.9rem;line-height:1.5}.choice-grid{display:grid;gap:9px}.choice-grid label{display:flex;align-items:center;gap:12px;padding:11px 13px;border:1.5px solid #d2c7e3;border-radius:9px;background:#faf8ff;cursor:pointer}.choice-grid input{width:21px;height:21px;flex:0 0 auto;accent-color:#7753c6}.choice-grid span{display:flex;flex-direction:column;gap:2px}.choice-grid small{color:#70657b}#selection-message{grid-column:1/-1;margin:0;color:#5e5269;font-size:.85rem}@media(max-width:650px){.choices{grid-template-columns:1fr;padding:18px}}@media print{.back,.choices{display:none}}
