.fund-section{margin:1.2rem 0;padding:1.4rem}.fund-section h3{margin:.25rem 0}.fund-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:1rem}.fund-card{border:1px solid var(--line,#dce4e1);border-radius:18px;overflow:hidden;background:var(--paper,#fff);display:flex;flex-direction:column}.fund-card>div{padding:1.2rem}.fund-card h4{font-size:1.2rem;margin:.2rem 0}.fund-card p{overflow-wrap:anywhere}.fund-image{width:100%;height:210px;object-fit:contain;background:#f5f5f0;padding:12px;box-sizing:border-box}.fund-card progress{width:100%;height:12px;accent-color:#367d70}.fund-history-row{padding:1rem 0;border-bottom:1px solid #dde4e0}.fund-dialog{width:min(560px,calc(100vw - 32px));max-height:86dvh;overflow:auto;box-sizing:border-box;padding:1.5rem;border:1px solid #d6dfda;border-radius:22px;background:#fffdf8;color:#273d40}.fund-dialog::backdrop{background:rgba(18,37,38,.48)}.fund-dialog form{display:grid;gap:1rem}.fund-dialog label:not(.checkbox-label){display:grid;gap:.35rem}.fund-dialog input:not([type=checkbox]),.fund-dialog select,.fund-dialog textarea{width:100%;box-sizing:border-box;border:1px solid #cbd8d2;border-radius:10px;padding:.7rem;background:white;font:inherit}.fund-dialog .checkbox-label{display:flex;gap:.6rem;align-items:flex-start}.fund-dialog input[type=checkbox]{margin-top:.25rem;flex-shrink:0}.fund-dialog .dialog-heading{display:flex;justify-content:space-between;gap:1rem;align-items:center}.fund-dialog .dialog-heading button{border:0;background:transparent;font-size:2rem;cursor:pointer}.fund-dialog [data-fund-payment]{display:grid;gap:.8rem}.fund-dialog [hidden]{display:none!important}@media(max-width:600px){.fund-section{padding:1rem}.fund-section .toolbar{gap:.5rem}.fund-card>div{padding:1rem}.fund-dialog{padding:1rem}}
.gift-ideas-dialog{width:min(700px,calc(100vw - 32px))}.gift-relationship{border:1px solid #d3dfd6;border-radius:12px;padding:1rem}.gift-relationship legend{font-weight:600;padding:0 .3rem}.gift-relationship label{display:flex!important;align-items:center;gap:.6rem;margin:.6rem 0}.gift-relationship input[type=radio]{width:18px;height:18px;accent-color:#367d70}.gift-idea-options{display:grid;gap:1rem}.gift-idea-options article{display:flex;gap:1rem;padding:1rem;border:1px solid #d3dfd6;border-radius:15px;background:#f9faf5}.gift-idea-options article>span{font-size:2rem;color:#427967}.gift-idea-options h4{font-size:1.15rem;margin:0}.gift-idea-options p{margin:.6rem 0}.gift-ideas-dialog [data-ideas-message]{width:100%;box-sizing:border-box;padding:.8rem;font:inherit;border:1px solid #cbd8d2;border-radius:12px}[data-gift-family-recipients] [data-gift-ideas-open]{display:inline-flex;vertical-align:middle;margin-left:.5rem}.personal-gift-list>.page-heading{flex-wrap:wrap}

.fund-card-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding-top:12px;border-top:1px solid var(--line,#e7e0ec);margin-top:14px}.fund-recipient-status{display:inline-flex;align-items:center;gap:6px;font-size:12px;line-height:1.3;color:#687485;background:#f5f2f8;border-radius:999px;padding:6px 10px}.fund-editor-actions{margin-left:auto;display:flex;align-items:center;flex-wrap:wrap;gap:7px}.fund-edit-button{appearance:none;border:1px solid #d7c6e6;color:#714495;background:#fff;border-radius:8px;padding:7px 10px;font:600 12px/1.3 system-ui;cursor:pointer}.fund-edit-button:hover{background:#f4eef9}.fund-edit-button:focus-visible{outline:2px solid #946ab4;outline-offset:3px}.fund-card-actions>.button{margin:0!important}.fund-card-actions>.fund-recipient-status{margin:0!important}
