*{box-sizing:border-box}body{margin:0;font:1rem/1.65 system-ui,sans-serif;color:#20372f;background:#f1f5f2}header,main,footer{max-width:960px;margin:auto;padding:1.2rem}header{background:#e0eee5;border-radius:0 0 18px 18px}h1,h2,h3{line-height:1.3}section{background:white;padding:1.3rem;margin:1rem 0;border:1px solid #bccdc3;border-radius:12px}label{display:block;font-weight:600;margin:.8rem 0}input,textarea,select{display:block;width:100%;font:inherit;padding:.6rem;border:1px solid #64796e;border-radius:5px;background:white;color:#172f25}button{font:inherit;font-weight:600;background:#245c49;color:white;border:1px solid #245c49;border-radius:6px;padding:.65rem 1rem;margin:.3rem 0;cursor:pointer}a{color:#174d3b}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #9c4e00;outline-offset:3px}.skip{position:absolute;left:-9999px}.skip:focus{left:1rem;top:1rem;background:white;padding:1rem;z-index:5}fieldset{border:1px solid #aabdb1;margin:1rem 0;padding:1rem;min-width:0}legend{font-weight:700}table{width:100%;border-collapse:collapse;table-layout:fixed}th,td{border:1px solid #526259;padding:.35rem;overflow-wrap:anywhere;vertical-align:top}th{background:#e8eee9}td.mark{text-align:center;font-size:1.1rem} .easy-item{border:2px solid #526259;padding:1rem;margin:.6rem 0;font-size:1.4rem;break-inside:avoid}.easy-item h3{font-size:1.5rem;margin:0 0 .5rem}.note{border-left:4px solid #526259;padding-left:.7rem}#paper{background:white;padding:1rem;overflow-wrap:anywhere} [hidden]{display:none!important} @media print{body{background:white;color:black}body>header,body>footer,.skip,main>section:not(#output),form,#status,#output>h2,#output>label,#output>button,#output>p{display:none!important}main,#output,#paper{margin:0;padding:0;border:0;max-width:none;width:100%}#output{background:white}thead{display:table-header-group}tr,.easy-item{break-inside:avoid}th{background:white}body{font-size:10.5pt} .easy-item{font-size:15pt}}
.card-editor{border-top:1px solid #bccdc3;padding-top:.5rem}.inline-check{display:inline;width:auto;margin-right:.4rem}.support-pictogram{display:block;width:120px;height:120px;object-fit:contain;max-width:100%;border:1px solid #bccdc3;border-radius:6px;background:white}.card-preview{min-height:1rem}.easy-item .support-pictogram{width:105px;height:105px;margin:.5rem 0}.easy-item p{margin:.25rem 0}.easy-item{break-inside:avoid}@media print{.easy-item .support-pictogram{width:30mm;height:30mm}.easy-item{padding:4mm;margin:3mm 0}.easy-item h3{font-size:16pt}.easy-item p{font-size:14pt}}
/* A4 practical print layout */
#paper .checklist-table th:first-child{width:43%}#paper .checklist-table td.mark{font-size:1.35rem;line-height:1.7;vertical-align:middle;height:64px;word-break:normal;overflow-wrap:normal}#paper .easy-marks{display:grid;grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:6px}#paper .easy-marks p{border:1px solid #65746c;border-radius:4px;padding:.35rem;margin:0;min-height:44px;line-height:1.5;font-size:1.15rem}#paper .easy-instruction{font-size:1.15rem}#paper[data-ink="mono"]{color:#000;background:#fff}#paper[data-ink="mono"] th{background:#fff}#paper[data-ink="mono"] img{filter:grayscale(1)}#paper[data-ink="mono"] .easy-item,#paper[data-ink="mono"] td,#paper[data-ink="mono"] th{border-color:#222}#paper h3{break-after:avoid} @media print{#paper .checklist-table td.mark{height:16mm;font-size:15pt;padding:1.5mm}#paper .checklist-table th{font-size:10.5pt}#paper .easy-marks{grid-template-columns:repeat(4,minmax(0,1fr));gap:2mm}#paper .easy-marks p{font-size:13pt;min-height:12mm;padding:2mm}#paper .easy-instruction{font-size:14pt}#paper .easy-item{border-color:#444}#paper[data-orientation="landscape"] .easy-marks{grid-template-columns:repeat(7,minmax(0,1fr))}}

/* Guided start, independent of document rendering */
.start-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.start-grid button{background:#eaf3ed;color:#174d3b;border:1px solid #779a88;text-align:left;padding:1rem;margin:0}.start-grid button strong,.start-grid button span{display:block}.start-grid button span{font-size:.9rem;font-weight:400;margin-top:.4rem}.start-grid button:hover{background:#d9eade}.start-links{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center}.start-links a,.start-links button{display:inline-block;padding:.65rem .8rem;margin:0;border:1px solid #779a88;border-radius:6px;background:white;color:#174d3b;font-weight:600}.start-links #startDemo{background:#245c49;color:white}.steps{font-weight:600;border-top:1px solid #bccdc3;padding-top:.75rem}summary{font-weight:700;cursor:pointer;padding:.4rem 0}summary:focus-visible{outline:3px solid #9c4e00;outline-offset:3px}.skip.aml-skip-link:focus{left:1rem;top:1rem}@media(max-width:600px){.start-grid{grid-template-columns:1fr}.start-links{flex-direction:column;align-items:stretch}.start-links a,.start-links button{text-align:left}}@media print{.aml-skip-link{display:none!important}}

/* AML wizard: screen-only chrome; keep document styles independent. */
@media screen{body{background:#f6f3ed;color:#203342}body>header{background:linear-gradient(130deg,#102c46,#183f56);color:#fff;padding:clamp(1.2rem,4vw,2.4rem);border-radius:0 0 22px 22px}body>header p:first-child{color:#e5cb91;font-size:.83rem;font-weight:700;letter-spacing:.08em}body>header h1{font-size:clamp(1.8rem,4vw,2.8rem);margin:.4rem 0}body>header a{color:#f4e2b4}body>header a:focus-visible{outline-color:#ffe3a0}main>section,form>section{padding:clamp(1rem,3vw,2rem);border-color:#d5dcd7;box-shadow:0 4px 16px #102c4609}h2{margin-top:0}button{min-height:44px}button.secondary{background:white;color:#245c49}button:disabled{opacity:.6;cursor:not-allowed}.wizard-entry{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:1.25rem 0}.wizard-entry>div{padding:1.25rem;border:1px solid #b6c9bf;border-radius:14px}.wizard-entry h3{margin-top:0}.wizard-entry button{width:100%}.wizard-feature{background:#e7f0e9}.wizard-entry>div:not(.wizard-feature) button{background:white;color:#245c49}#wizardProgress{margin:1rem 0 0;padding:1rem;background:white;border:1px solid #d5dcd7;border-radius:12px}#wizardProgress ol{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.35rem;padding:0;margin:0;list-style:none}#wizardProgress li{border-top:4px solid #d7dfd9;padding:.6rem .2rem;text-align:center;font-size:.88rem;color:#485a54;overflow-wrap:anywhere}#wizardProgress li span{display:block;font-weight:700}#wizardProgress li.done{border-color:#789d87}#wizardProgress li[aria-current=step]{border-color:#245c49;background:#e7f0e9;color:#174d3b;font-weight:700}#wizardContext{font-size:.88rem;color:#485a54;margin:.5rem 0 0}.start-grid button[aria-pressed=true],.wizard-file-tabs button[aria-pressed=true]{border:2px solid #245c49;background:#245c49;color:white}.wizard-file-tabs{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0}.wizard-file-tabs button{background:white;color:#245c49;flex:1 1 140px}#paper{border:1px solid #c6d0c9;box-shadow:0 2px 12px #102c4612}#status:not(:empty){position:sticky;bottom:0;background:#fff8e6;border:1px solid #b58b32;border-radius:8px;padding:.75rem;margin:1rem 0}#wizardClear{box-shadow:none;background:transparent}#wizardClear h2{font-size:1.05rem}#wizardClear p{font-size:.9rem}#edit fieldset{border-radius:10px}#edit legend{color:#174d3b} }
@media screen and (max-width:600px){.wizard-entry{grid-template-columns:1fr}#wizardProgress{padding:.65rem}#wizardProgress li{font-size:.75rem}main{padding:.8rem}#paper{padding:.5rem}#paper .checklist-table td.mark{font-size:1rem;overflow-wrap:anywhere}#paper .checklist-table th{font-size:.85rem}}
@media print{#wizardProgress,.wizard-file-tabs{display:none!important}}

.structured-row{border-radius:10px}.structured-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:.75rem}.structured-grid label:only-child{grid-column:1/-1}#structuredStatus{color:#8a370f;font-weight:600}#paper .structured-table th:first-child{width:16%}#paper .structured-table th:nth-child(2){width:32%}#paper .structured-table th:nth-child(3){width:37%}#paper[data-period="week"] .structured-table th:first-child{width:12%}#paper[data-period="week"] .structured-table th:nth-child(2){width:20%}#paper[data-period="week"] .structured-table th:nth-child(3){width:26%}#paper .structured-table td{white-space:pre-line;overflow-wrap:anywhere}#paper .structured-table tbody th{text-align:left}#paper .item-time{font-weight:700;font-size:1.1rem;color:inherit} @media screen and (max-width:600px){.structured-grid{grid-template-columns:1fr}#paper[data-period="week"] .structured-table th,#paper[data-period="week"] .structured-table td{padding:.15rem;font-size:.75rem}} @media print{#paper .structured-table td.mark{overflow-wrap:anywhere}#paper .item-time{font-size:13pt}}

#paper .quality-table th:first-child{width:18%}#paper .quality-table th:nth-child(2){width:42%}#paper .quality-table th:nth-child(3){width:15%}#paper .quality-table td.mark{white-space:pre-line;overflow-wrap:anywhere}#paper[data-period="week"] .quality-table th:first-child{width:12%}#paper[data-period="week"] .quality-table th:nth-child(2){width:25%}#paper[data-period="week"] .quality-table th:nth-child(3){width:auto}#paper .quality-table tbody th{text-align:left}@media screen and (max-width:600px){#paper[data-period="week"] .quality-table td.mark{font-size:.75rem;padding:.1rem}}@media print{#paper[data-period="week"] .quality-table td.mark{font-size:11pt}}

.weekday-picker{margin:.75rem 0;padding:.7rem;border:1px solid #a5b9ac;border-radius:8px}.weekday-picker[hidden]{display:none}.weekday-controls,.weekday-shortcuts{display:flex;flex-wrap:wrap;gap:.5rem}.weekday-controls label{display:flex;align-items:center;gap:.25rem;padding:.4rem .55rem;border:1px solid #b6c7bc;border-radius:5px;margin:0}.weekday-controls input{width:auto;margin:0;min-width:1rem}.weekday-shortcuts button{margin:.4rem 0 0}.checklist-table td.not-scheduled{background:#e7e7e7;color:#454545;text-align:center;font-weight:600}@media print{.checklist-table td.not-scheduled{background:#e7e7e7!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}}

#paper .easy-day{margin-bottom:1.5rem}#paper .easy-day+.easy-day{border-top:2px solid #789d87;padding-top:1rem}#paper .easy-day .easy-marks{grid-template-columns:minmax(0,1fr)}@media print{#paper .easy-day+.easy-day{break-before:page;page-break-before:always;border:0;padding:0}#paper .easy-day{margin:0}#paper .easy-day .easy-marks{grid-template-columns:minmax(0,1fr)}}
