body{font-family:system-ui,sans-serif;margin:0;padding:2rem 1rem;color:#111;background:#fff}main{max-width:40rem;margin:0 auto}form{grid-gap:.75rem;gap:.75rem}form,label{display:grid}label{grid-gap:.25rem;gap:.25rem;font-size:.9rem}button,input{font:inherit;padding:.5rem}.error{color:#b00020}@media (prefers-color-scheme:dark){body{color:#eee;background:#111}}header{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:2rem}section{margin-bottom:1.5rem}.muted{color:#666}.steps{display:flex;list-style:none;padding:0;margin:1.5rem 0 2rem;gap:.25rem}.steps li{flex:1 1;position:relative}.steps li:not(:last-child):after{content:"";position:absolute;top:.95rem;left:calc(50% + 1.1rem);right:calc(-50% + 1.1rem);height:2px;background:#ddd}.steps li.done:after{background:#111}.steps button{all:unset;display:grid;justify-items:center;grid-gap:.35rem;gap:.35rem;width:100%;cursor:default;font-size:.8rem;color:#888}.steps li.done button{cursor:pointer;color:#111}.steps li.active button{color:#111;font-weight:600}.steps .dot{width:1.9rem;height:1.9rem;border-radius:50%;display:grid;place-items:center;border:2px solid #ddd;background:inherit;font-weight:600}.steps li.active .dot{border-color:#111}.steps li.done .dot{background:#111;border-color:#111;color:#fff}.steps button:focus-visible .dot{outline:2px solid #2563eb;outline-offset:2px}fieldset{border:0;padding:0;margin:0;display:grid;grid-gap:1rem;gap:1rem}fieldset[hidden]{display:none}legend{font-size:1.4rem;font-weight:600;padding:0;margin-bottom:.25rem}fieldset>p{margin:0 0 .5rem}.field{display:grid;grid-gap:.3rem;gap:.3rem}.field label{font-weight:500}.control{display:flex;align-items:center;gap:.5rem}.control input,.control select,.field textarea{flex:1 1;min-width:0;font:inherit;padding:.6rem .7rem;border:1px solid #ccc;border-radius:8px;background:transparent;color:inherit}.control input:focus,.control select:focus,.field textarea:focus{outline:2px solid #2563eb;outline-offset:0;border-color:transparent}.unit{color:#666;font-size:.9rem;min-width:2.5rem}.nav{display:flex;justify-content:space-between;margin-top:2rem;padding-top:1rem;border-top:1px solid #eee}.nav button,.review .link{font:inherit;padding:.6rem 1.2rem;border-radius:8px;border:1px solid #111;background:#111;color:#fff;cursor:pointer}.nav button.secondary{background:transparent;color:inherit;border-color:#ccc}.review{display:grid;grid-template-columns:1fr auto;grid-gap:.2rem 1rem;gap:.2rem 1rem;padding:.9rem 0;border-bottom:1px solid #eee}.review small{grid-column:1}.review .link{grid-row:1/span 2;grid-column:2;align-self:center;background:transparent;color:inherit;border:0;text-decoration:underline;padding:0}@media (max-width:34rem){.steps .name{display:none}.steps li.active .name{display:block}}@media (prefers-color-scheme:dark){.muted,.unit{color:#aaa}.steps .dot,.steps li:not(:last-child):after{border-color:#444}.steps li:not(:last-child):after{background:#444}.steps li.done .dot,.steps li.done:after{background:#eee;border-color:#eee;color:#111}.steps li.active .dot{border-color:#eee}.steps li.active button,.steps li.done button{color:#eee}.control input,.control select,.field textarea{border-color:#444}.nav,.review{border-color:#333}.nav button{background:#eee;color:#111;border-color:#eee}.nav button.secondary{background:transparent;color:#eee;border-color:#444}}.field textarea{width:100%;box-sizing:border-box;font:inherit;padding:.6rem .7rem;border:1px solid #ccc;border-radius:8px;background:transparent;color:inherit}table{width:100%;border-collapse:collapse}td,th{text-align:left;padding:.4rem .5rem;border-bottom:1px solid #ddd}select{font:inherit;padding:.5rem}.pictures{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));grid-gap:12px;gap:12px;margin:12px 0}.pictures figure{margin:0}.pictures img{width:100%;height:auto;border-radius:6px;display:block}.pictures figcaption{font-size:.85em;color:#52606d;margin-top:4px}.warnings{background:#fff8e6;border:1px solid #f0d58a;border-radius:6px;padding:8px 8px 8px 28px}tr.flagged td{background:#fff3f0}fieldset{border:1px solid #ddd;border-radius:6px;margin:12px 0;overflow-x:auto}.record{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));grid-gap:.6rem 1rem;gap:.6rem 1rem;padding:.8rem 0}.record label{display:grid;grid-gap:.2rem;gap:.2rem;font-size:.9rem}.record .wide{grid-column:1/-1}.record input,.record select,.record textarea{font:inherit;padding:.45rem .55rem;border:1px solid #ccc;border-radius:6px;background:transparent;color:inherit;min-width:0}.record .actions{display:flex;gap:.6rem}.record .danger{margin-left:auto;color:#b91c1c;border:1px solid #b91c1c;background:transparent;border-radius:6px;cursor:pointer}.saved{color:#15803d}