:root{font-family:system-ui,sans-serif;color:#172b3d;background:#f3f5f7;line-height:1.5}*{box-sizing:border-box}body{margin:0}header{display:flex;align-items:center;justify-content:space-between;padding:20px max(20px,calc((100vw - 1080px)/2));background:#10283f;color:white;border-bottom:4px solid #bd9a55}header small{color:#dfc58d;letter-spacing:.15em}h1,h2,h3,p{margin:0 0 12px}h1{font-size:1.7rem}main{max-width:1120px;margin:24px auto;padding:0 20px;min-height:75vh}button,input,textarea,select{font:inherit}button{border:1px solid #b39861;background:#19364e;color:white;border-radius:8px;padding:11px 16px;cursor:pointer;font-weight:600}button:disabled{opacity:.5;cursor:wait}button.secondary{background:white;color:#19364e}button.active{background:#bd9a55;color:#10283f;border-color:#bd9a55}label{display:block;font-weight:600;margin:12px 0}input,textarea,select{display:block;width:100%;padding:11px;border:1px solid #bfcad1;border-radius:7px;background:white;color:#172b3d;margin-top:5px}textarea{min-height:100px}form{max-width:700px}form button{margin-top:10px}.card{background:white;border:1px solid #dce2e6;border-radius:12px;padding:20px;margin:16px 0;box-shadow:0 3px 14px #10283f09}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:14px}.grid .card{margin:0}.heading,.switch,nav{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:18px 0}.heading{justify-content:space-between}nav button{background:white;color:#19364e;border-color:#c4cdd4}.photo{width:100%;max-height:300px;object-fit:contain;background:#eee;border-radius:6px}.gallery{display:grid;gap:8px}.muted{color:#536577}.entry-note{white-space:pre-wrap;overflow-wrap:anywhere}summary{cursor:pointer;font-weight:700}footer{text-align:center;padding:24px;color:#536577}#notice{white-space:pre-wrap;overflow-wrap:anywhere;color:#7a4a12;font-weight:600}#notice:empty{display:none}[hidden]{display:none!important}@media(max-width:600px){header{padding:15px}main{padding:0 14px}.switch button{flex:1}nav button{font-size:.9rem;padding:9px 12px}}

.signature-pad{display:block;width:100%;max-width:720px;height:auto;border:2px dashed #b39861;border-radius:8px;touch-action:none;background:white;cursor:crosshair}.signature-controls,.report-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:12px 0}.report-row{justify-content:space-between;border-bottom:1px solid #dce2e6;padding:10px 0}.download-link{display:inline-block;padding:10px 14px;border-radius:8px;background:#19364e;color:white;text-decoration:none;font-weight:600;margin-bottom:8px}.signature-details{border-top:1px solid #dce2e6;padding-top:12px;margin-top:12px}.signature-details summary{color:#19364e}.inline-checkbox{display:inline-block;width:auto;vertical-align:middle}.signature-details>p{margin-top:12px}

.signature-preview{display:block;max-width:100%;width:300px;height:auto;border:1px solid #dce2e6;border-radius:6px;margin:8px 0}.signature-details h3{font-size:1.15rem;margin-bottom:8px}.signature-details details{margin-top:12px}
