body{max-width:48rem;margin:0 auto;padding:1rem;font-family:system-ui,sans-serif;line-height:1.5}.field{margin:.5rem 0}.field label{font-weight:600;display:block}.field input:not([type=date]),.field textarea{box-sizing:border-box;width:100%}.notice{color:#8a4b00;margin:.25rem 0;font-size:.9rem}.notice:empty{display:none}.counter{font-size:.9rem}#drop-zone{border:2px dashed #888;padding:1rem}#photo-errors{color:#b00020}#photo-list>li{border:1px solid #ccc;margin:1rem 0;padding:.5rem}#photo-list canvas{max-width:160px;display:block}.buttons button,#autofill,#download{margin:.25rem .25rem .25rem 0}:focus-visible{outline-offset:2px;outline:3px solid #1a5fb4}footer{margin-top:2rem;font-size:.9rem}header{border-bottom:1px solid #ddd;flex-wrap:wrap;align-items:center;gap:.5rem 1rem;padding-bottom:.75rem;display:flex}.brand{font-size:1.25rem;font-weight:700}.badge{color:#1d6b4c;border:1px solid #8fcfb4;border-radius:4px;padding:.125rem .5rem;font-size:.9rem}.hint{color:#555;margin-left:auto;font-size:.9rem}#recent-list{grid-template-columns:repeat(auto-fill,minmax(14rem,1fr));gap:.75rem;margin:0;padding:0;list-style:none;display:grid}.recent-card,.template-card{width:100%;font:inherit;text-align:left;cursor:pointer;background:#fff;border:1px solid #ccc;border-radius:6px;gap:.25rem;padding:.75rem;display:grid}.recent-card{grid-template-columns:3rem 1fr;align-items:center}.recent-card .grid-2x2{grid-row:span 2}.template-card{border:2px solid #1f3a5f;max-width:16rem}.grid-2x2{aspect-ratio:3/4;background:#f4f2ee;grid-template-columns:1fr 1fr;gap:4px;padding:4px;display:grid}.grid-2x2 span{background:#9ba7b4}.grid-2x2 span:nth-child(2){background:#848d84}.grid-2x2 span:nth-child(3){background:#c0b39b}.tag{color:#fff;background:#1f3a5f;border-radius:3px;justify-self:start;padding:0 .375rem;font-size:.8rem}.action{color:#1f3a5f;font-weight:600}
