.wallet-membership-link{display:inline-flex;align-items:center;justify-content:center;min-height:32px;max-width:100%;border:0;border-radius:4px;padding:5px 7px;background:transparent;color:#3e6442;white-space:nowrap;font-variant-numeric:tabular-nums}
.wallet-membership-link:hover:not(:disabled){background:#edf3e8;color:#2e6039}
.wallet-membership-link:disabled{color:var(--muted);opacity:1}
.wallet-history-dialog{width:min(760px,calc(100% - 32px));height:min(680px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);overflow:hidden}
.wallet-history-dialog[open]{display:flex;flex-direction:column}
.wallet-history-dialog .dialog-header{flex:none;padding:17px 24px}
.wallet-history-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 12px;min-width:0}
.wallet-history-account{color:#728071;font-size:12px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.wallet-history-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;padding:10px 24px;border-bottom:1px solid var(--line);font-size:12px;color:#6a766b}
.wallet-history-filters{display:flex;align-items:center;gap:6px;min-width:0}
.wallet-history-filter{display:inline-flex;align-items:center;gap:9px;min-height:34px;border:0;border-radius:5px;padding:6px 9px;background:transparent;color:#697560;font-size:12px;white-space:nowrap}
.wallet-history-filter.selected{background:#edf2e8;color:#405c39;font-weight:550}
.wallet-history-filter b{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:19px;padding:0 5px;border-radius:4px;background:#f0f2ed;color:#687461;font-size:10px;font-weight:500;font-variant-numeric:tabular-nums;line-height:19px}
.wallet-history-filter.selected b{background:#fff;color:#405c39}
.wallet-history-tools{display:flex;align-items:center;gap:8px;font-size:11px}
.wallet-history-body{flex:1;min-height:0;overflow:auto;padding:0 24px;background:#fcfcfb;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#cdd5c8 transparent}
.wallet-history-body:focus-visible{outline:2px solid #bf973e;outline-offset:-2px}
.wallet-history-list{list-style:none;padding:0;margin:0}
.wallet-history-entry{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 0;border-bottom:1px solid #e9ede7}
.wallet-history-entry:last-child{border-bottom:0}
.wallet-history-description{min-width:0}
.wallet-history-remark{color:#35413b;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.wallet-history-time{display:block;margin-top:4px;color:#6c776e;font-size:12px;line-height:1.6;font-variant-numeric:tabular-nums}
.wallet-history-value{display:flex;flex:none;align-items:flex-end;flex-direction:column;gap:3px;font-variant-numeric:tabular-nums;white-space:nowrap}
.wallet-history-hours{font-size:17px;font-weight:550;line-height:1.5}
.wallet-history-days{font-size:11px;line-height:1.5;color:#6c776e}
.wallet-history-value.is-credit .wallet-history-hours{color:#397356}.wallet-history-value.is-debit .wallet-history-hours{color:#a35d4d}.wallet-history-value.is-zero .wallet-history-hours{color:#68756d}
.wallet-history-state{display:grid;place-items:center;min-height:100%;margin:0;padding:32px 12px;color:#6c776e;font-size:13px;line-height:1.8;text-align:center;overflow-wrap:anywhere}
.wallet-history-more{padding:16px 0 20px;text-align:center}.wallet-history-more .button{min-width:106px}.wallet-history-more-error{margin:0 0 10px;color:#a35d4d;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.wallet-exchange-history-entry{display:block;padding:18px 0}
.wallet-exchange-history-heading{display:flex;align-items:baseline;justify-content:space-between;gap:14px;min-width:0}
.wallet-exchange-history-heading>.wallet-history-remark{min-width:0;font-size:15px;font-weight:550;line-height:1.6}
.wallet-exchange-history-entry>.wallet-history-time{margin-top:10px}
.wallet-history-use-link{display:inline-flex;flex:none;align-items:center;min-height:32px;border-radius:4px;color:#456b50;font-size:12px;padding:3px 5px;text-decoration:none;white-space:nowrap}
.wallet-history-use-link:hover{background:#edf3e8;color:#2e6039}
.wallet-history-expiry,.wallet-history-exchange-remark{color:#6c776e;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.wallet-history-expiry{margin-top:4px}
.wallet-history-code-field{display:flex;align-items:baseline;gap:10px;margin-top:7px;min-width:0}
.wallet-history-code-label{flex:none;color:#6c776e;font-size:11px;line-height:1.7}
.wallet-history-code{display:flex;align-items:baseline;gap:15px;min-width:0;max-width:100%;border:1px solid #e2e7df;border-radius:5px;padding:6px 9px;background:#f2f5f0;color:#3e5e46;text-align:left;font:12px/1.6 "Cascadia Code",Consolas,monospace;white-space:normal;user-select:text}
.wallet-history-code-value{min-width:0;overflow-wrap:anywhere}
.wallet-history-code:hover{background:#edf3e8;border-color:#cbd9c4}
.wallet-history-instructions{margin-top:0;color:#6c776e;font-size:12px;line-height:1.8}
.wallet-history-instructions summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;min-height:30px;padding:3px 0}
.wallet-history-instructions summary::-webkit-details-marker{display:none}
.wallet-history-instructions summary>span{min-width:0}
.wallet-history-instructions summary svg{flex:none;width:18px;height:18px;fill:none;stroke:#7c887d;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.wallet-history-instructions[open] summary svg{transform:rotate(180deg)}
.wallet-history-instructions summary:hover svg{stroke:#405c39}
.wallet-history-instructions summary:focus-visible{outline:2px solid #bf973e;outline-offset:2px;border-radius:3px}
.wallet-history-instructions-body{margin-top:6px;padding-top:8px;border-top:1px solid #e9ede7}
.wallet-history-instructions p{margin:5px 0 3px;white-space:pre-wrap;overflow-wrap:anywhere}
.wallet-history-instruction-link{color:#356b79;text-decoration:underline;text-decoration-color:#a3babf;text-underline-offset:2px;overflow-wrap:anywhere;border-radius:2px}
.wallet-history-instruction-link:hover{color:#255363;text-decoration-color:currentColor}
.wallet-history-instruction-link:focus-visible{outline:2px solid #bf973e;outline-offset:2px}
@media(max-width:800px){.wallet-membership-link{min-height:36px;padding:5px 4px}.wallet-history-dialog{width:calc(100% - 16px);max-width:calc(100% - 16px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px)}.wallet-history-dialog .dialog-header{padding:15px 16px}.wallet-history-toolbar{padding:8px 16px;flex-wrap:wrap;gap:5px 12px}.wallet-history-body{padding:0 16px}.wallet-history-entry{gap:12px;padding:15px 0}.wallet-history-remark{font-size:13px}.wallet-history-time{font-size:11px}.wallet-history-hours{font-size:16px}.wallet-history-tools{gap:4px;margin-left:auto}.wallet-history-filter{min-height:40px;padding-inline:7px;gap:7px}.wallet-exchange-history-entry{padding:16px 0}.wallet-history-use-link{font-size:11px;min-height:32px;display:inline-flex;align-items:center}.wallet-history-code{min-height:36px}.wallet-history-instructions summary{min-height:36px}}
