.keepsake-dialog{width:min(760px,94vw);max-height:90vh;overflow:auto;border:1px solid #c79552;border-radius:12px;padding:28px;color:#14233b;background:#f6f1e8}.keepsake-dialog::backdrop{background:#14233ba8}.keepsake-top{display:flex;align-items:start;justify-content:space-between;gap:15px}.keepsake-top h2{margin:0;font-size:32px}.keepsake-dialog select{width:100%;padding:12px;font:inherit;background:white;border:1px solid #c9c4bb;border-radius:4px;margin-bottom:18px}.keepsake-preview{width:100%;margin:20px 0;border:1px solid #ddd;background:white}.keepsake-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px}.keepsake-actions a{display:inline-block;text-decoration:underline}.keepsake-code{padding:8px 0;border-top:1px solid #ddd}.keepsake-code button{margin-right:12px}#keepsake-print{display:none}.keepsake-reader{max-width:660px;margin:60px auto;padding:28px}.keepsake-reader audio,.keepsake-reader video{width:100%;margin:24px 0}.keepsake-reader video{max-height:65vh}.keepsake-reader header{margin-bottom:40px}.keepsake-reader header img{height:70px}.keepsake-reader h1{font-size:42px}.keepsake-reader .primary{display:inline-block}.keepsake-reader nav{display:flex;gap:20px;align-items:center;flex-wrap:wrap}
@media print{@page{size:auto;margin:.4in}body>*{display:none!important}body>#keepsake-print{display:block!important;background:white!important}#keepsake-print img{width:7.5in;height:5in;max-width:100%;object-fit:contain;print-color-adjust:exact;-webkit-print-color-adjust:exact}body{background:white!important;margin:0!important}dialog{display:none!important}}

.keepsake-artwork{border:0;padding:0;margin:22px 0}.keepsake-artwork legend{font-weight:600;margin-bottom:12px}.keepsake-art-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.keepsake-art-choice{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;margin:0!important;padding:12px 6px;border:2px solid #d9d1c5;border-radius:10px;background:#fff;cursor:pointer;text-align:center;font-size:13px;line-height:1.3;min-height:142px}.keepsake-art-choice:has(input:checked){border-color:#91682f;background:#fff7e7;box-shadow:0 0 0 1px #91682f}.keepsake-art-choice:focus-within{outline:3px solid #14233b;outline-offset:2px}.keepsake-art-choice input{position:absolute;left:7px;top:7px;width:16px!important;height:16px;margin:0!important;accent-color:#14233b}.keepsake-art-choice img{width:80px;height:80px;border-radius:50%;object-fit:contain}.keepsake-photo-icon{display:flex;align-items:center;justify-content:center;width:80px;height:80px;border:1px dashed #c79552;border-radius:50%;font-size:35px;color:#91682f}@media(max-width:500px){.keepsake-art-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
