.keepsake-records{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:24px}
.keepsake-record{min-width:0;display:flex;flex-direction:column;gap:12px}
.keepsake-record h2{font-size:22px;margin:0}.keepsake-record>.button{align-self:flex-start;margin-top:auto}
.keepsake-record .work-heading{flex-wrap:wrap;gap:12px}.keepsake-signature{display:flex;align-items:flex-start;gap:16px;border-block:1px solid #73542d66;padding:22px 0;min-height:135px}
.keepsake-signature>div{min-width:0}.keepsake-signature strong{color:#ffc85a;font-size:21px;overflow-wrap:anywhere}.keepsake-signature p{margin:10px 0 0;line-height:1.8;overflow-wrap:anywhere}
.keepsake-empty{color:var(--muted);padding:24px 0}.keepsake-log{margin:0}.keepsake-log ol{list-style:none;padding:0;margin:0}.keepsake-log li{padding:12px 0;border-bottom:1px solid #73542d55}.keepsake-log li:last-child{border:0}.keepsake-log li>div{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.keepsake-log time{font-size:12px;color:var(--muted)}.keepsake-log li p{margin:8px 0 0;font-size:14px;overflow-wrap:anywhere}
.keepsake-invitation{border-color:#a97832;background:radial-gradient(ellipse at top right,#53391788,transparent 70%),#19160f;margin-bottom:24px}.keepsake-invitation h2{margin-top:10px}.keepsake-invitation>button{margin-top:12px}.keepsake-invitation>p:empty{display:none}
.keepsake-dialog{box-sizing:border-box;width:min(760px,calc(100% - 28px));max-height:90dvh;padding:24px;border:1px solid #9e7437;border-radius:18px;background:#17140e;color:#fff0d4;overflow:auto}.keepsake-dialog::backdrop{background:#080604d9}.keepsake-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.keepsake-dialog-head h2{margin:0}.keepsake-dialog-head button{flex-shrink:0}.keepsake-preview{display:block;width:100%;height:auto;border-radius:10px;margin:16px auto;max-width:540px}.keepsake-dialog-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;position:sticky;bottom:-24px;background:#17140ef5;padding:14px 0}.keepsake-dialog-actions .primary{color:#241708}
@media(max-width:700px){.keepsake-records{grid-template-columns:1fr}.keepsake-signature{min-height:0}.keepsake-dialog{padding:16px}.keepsake-dialog-head h2{font-size:20px}.keepsake-dialog-actions{bottom:-16px}.keepsake-dialog-actions>button{flex:1}.keepsake-dialog-actions>span{flex-basis:100%}.keepsake-record{padding:20px}}
