.historical-gifts-panel{margin:8px 0;padding:8px 10px;border:1px solid #e6ddd4;border-radius:9px;background:#fff;font-size:10px;line-height:1.25;color:#514b45}
.historical-gifts-panel[hidden]{display:none!important}.hg-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.hg-heading h3{margin:0;font-size:12px;line-height:1.3;font-weight:700}.hg-heading h3 span{font-size:10px;font-weight:600;color:#85796d;margin-left:4px}
.hg-heading button{min-height:22px;height:22px;padding:2px 7px;border:1px solid #d8dce3;border-radius:5px;background:transparent;color:inherit;font-family:inherit;font-size:10px;font-weight:600;line-height:1.2;cursor:pointer}.hg-heading button:disabled{opacity:.55;cursor:wait}.hg-note,.hg-state{margin:4px 0;color:#83786e;font-size:10px;line-height:1.3}.hg-state:empty{display:none}.hg-table-wrap{overflow:auto}.historical-gifts-panel table{width:100%;border-collapse:collapse;font-size:10px;line-height:1.2}.historical-gifts-panel th{padding:3px 5px;text-align:left;background:#f6f3ef;color:#80766e;font-size:9px;font-weight:700}.historical-gifts-panel td{height:26px;padding:3px 5px;border-bottom:1px solid #eee7df;vertical-align:middle}.historical-gifts-panel tr:last-child td{border-bottom:0}.historical-gifts-panel td a{color:#c14c23;text-decoration:underline}.hg-status{font-size:9px;line-height:1.2}.hg-received{color:#167457}.hg-sent{color:#3567a0}.hg-mentioned{color:#936224}
html[data-theme=dark] .historical-gifts-panel{background:#242321;border-color:#4c453f;color:#e9e2da}html[data-theme=dark] .historical-gifts-panel th{background:#302c28;color:#c2b5a9}html[data-theme=dark] .historical-gifts-panel td{border-color:#433b34}html[data-theme=dark] .hg-note,html[data-theme=dark] .hg-state{color:#c2b5a9}html[data-theme=dark] .hg-received{color:#84d6b7}html[data-theme=dark] .hg-sent{color:#9cc5f6}html[data-theme=dark] .hg-mentioned{color:#ecc18a}
@media(max-width:700px){.historical-gifts-panel{padding:8px;font-size:12px}.hg-heading button{min-height:40px;height:40px;font-size:12px}.historical-gifts-panel th{font-size:10px}.historical-gifts-panel td{font-size:12px;min-height:32px;padding:5px}.hg-status,.hg-note,.hg-state{font-size:11px}.hg-heading h3{font-size:14px}}
.hg-not_received{color:#9a6032}.hg-review{color:#a15818}.hg-status-control{display:inline-flex;align-items:center;gap:4px;max-width:100%}.hg-edit{display:inline-grid!important;place-items:center;width:20px!important;min-width:20px!important;height:20px!important;min-height:20px!important;margin:0!important;padding:3px!important;border:1px solid #ded4ca!important;border-radius:5px!important;background:#fffaf6!important;color:#b84c24!important;cursor:pointer}.hg-edit svg{display:block;width:11px;height:11px}.hg-edit:disabled{opacity:.55;cursor:wait}.hg-status-select{max-width:154px;height:24px;min-height:24px;margin:0;padding:1px 22px 1px 6px;border:1px solid #d9c9ba;border-radius:5px;background:#fff;color:#514b45;font:600 10px/1.2 inherit}.hg-status-select[hidden]{display:none!important}
html[data-theme=dark] .hg-not_received,html[data-theme=dark] .hg-review{color:#ecc18a}html[data-theme=dark] .hg-edit{background:#302c28!important;border-color:#5a4d43!important;color:#ffb58b!important}html[data-theme=dark] .hg-status-select{background:#302c28;color:#f2e9e1;border-color:#5a4d43;color-scheme:dark}
@media(max-width:700px){.hg-edit{width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important}.hg-edit svg{width:13px;height:13px}.hg-status-select{height:40px;min-height:40px;max-width:176px;font-size:16px}}
