.ml-correction-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}
.ml-correction-summary>div,.ml-correction-clauses>section{border:1px solid var(--ml-line);padding:22px;background:var(--ml-tile);display:grid;align-content:start;gap:12px}
.ml-correction-summary small,.ml-correction-result small,.ml-correction-clauses small{font-size:11px;letter-spacing:.06em;color:var(--ml-accent)}
.ml-correction-summary strong{font-size:30px;line-height:1.15}.ml-correction-summary span{font-size:12px;color:var(--ml-muted)}
.ml-correction-incident{border:2px solid var(--ml-ink);box-shadow:5px 5px 0 var(--ml-cyan);background:var(--ml-tile);padding:24px;margin:24px 5px 32px 0}
.ml-correction-incident>header{display:flex;justify-content:space-between;align-items:start;gap:20px}.ml-correction-incident h3{font-size:32px;margin:6px 0 0}.ml-correction-incident>header small{color:var(--ml-muted)}
.ml-correction-progress{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));list-style:none;margin:26px 0;padding:0;gap:8px}
.ml-correction-progress li{border-top:3px solid var(--ml-line);padding-top:14px;display:grid;align-content:start;gap:8px;color:var(--ml-muted);font-size:12px}
.ml-correction-progress li[data-complete]{border-color:var(--ml-accent);color:var(--ml-ink)}.ml-correction-progress li>span{color:var(--ml-accent);font-size:20px}.ml-correction-progress time{font-size:10px;line-height:1.5}
.ml-correction-result{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;border-top:1px solid var(--ml-line);padding:18px 0}.ml-correction-result>div{display:grid;gap:8px}.ml-correction-result strong{font-size:24px}
.ml-correction-clauses{display:grid;gap:16px;margin:24px 0}.ml-correction-clauses h3{margin:0;font-size:23px}.ml-correction-clauses p{margin:0;line-height:1.7}
.ml-correction-document{padding:20px;border:1px solid var(--ml-line)}.ml-correction-document pre{font-family:inherit;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}
.ml-correction-day>h3{font-size:15px;margin:28px 0 16px}.ml-correction-incident details{font-size:12px}.ml-correction-incident summary,.ml-correction-document summary{cursor:pointer}
@media(max-width:700px){.ml-correction-summary{grid-template-columns:1fr}.ml-correction-summary>div{padding:16px}.ml-correction-progress{grid-template-columns:1fr;gap:12px}.ml-correction-progress li{grid-template-columns:25px 1fr;gap:6px 12px;border-top:0;border-left:3px solid var(--ml-line);padding:4px 12px}.ml-correction-progress li time{grid-column:2}.ml-correction-incident{padding:16px}.ml-correction-result strong{font-size:20px}}
.ml-dialog [data-ml-correction-form] .ml-agreement-consent{display:flex;align-items:flex-start;gap:14px;line-height:1.6;cursor:pointer}
.ml-dialog [data-ml-correction-form] input[type=checkbox]{flex:0 0 22px;width:22px;height:22px;margin:2px 0 0;accent-color:var(--ml-accent)}
.ml-dialog [data-ml-correction-form] .ml-term-box>input{display:block;width:100%;min-width:0;box-sizing:border-box;padding:12px;font-size:22px;margin:12px 0;border:2px solid var(--ml-ink)}
.ml-dialog [data-ml-activation] .ml-proof-path [aria-current=step]{border-color:var(--ml-accent);box-shadow:4px 4px 0 var(--ml-accent)}
.ml-dialog [data-ml-activation] .ml-agreement-clause>p{font-size:14px;line-height:1.75;white-space:normal;overflow-wrap:anywhere}

.ml-dialog [data-ml-weekly-form] .ml-term-boxes{grid-template-columns:repeat(2,minmax(0,1fr))}
.ml-dialog [data-ml-weekly-form] .ml-term-box>input{display:block;width:100%;min-width:0;box-sizing:border-box;padding:12px;font:inherit;font-size:22px;margin:12px 0;border:2px solid var(--ml-ink);background:var(--ml-paper);color:var(--ml-ink)}
.ml-dialog [data-ml-weekly-form] .ml-agreement-consent,.ml-dialog .ml-weekly-expiry label{display:flex;align-items:flex-start;gap:12px;line-height:1.6;cursor:pointer}
.ml-dialog [data-ml-weekly-form] input[type=checkbox],.ml-dialog .ml-weekly-expiry input{flex:0 0 20px;width:20px;height:20px;margin:2px 0 0;accent-color:var(--ml-accent)}
.ml-dialog .ml-weekly-expiry{margin:22px 0;padding:14px;border:1px solid var(--ml-line);display:grid;gap:12px}
@media(max-width:540px){.ml-dialog [data-ml-weekly-form] .ml-term-boxes{grid-template-columns:1fr}}

.ml-weekly-history{margin:22px 0}.ml-weekly-history article{margin:12px 0;overflow-wrap:anywhere}.ml-weekly-history details{font-size:12px;line-height:1.6}
