.card-action-tray .completed-trades-button{grid-column:1/-1;grid-row:auto;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid hsl(var(--theme-hue,217) calc(20.0% * var(--theme-saturation,1)) 23.5%);border-radius:7px;padding:8px 10px;min-height:32px;background:hsl(var(--theme-hue,217) calc(27.8% * var(--theme-saturation,1)) 14.1%);color:hsl(var(--theme-hue,217) calc(41.5% * var(--theme-saturation,1)) 75.9%);font-size:11px;font-weight:500}.completed-trades-button .icon{width:16px;height:16px}.completed-trades-button:hover{background:hsl(var(--theme-hue,217) calc(32.7% * var(--theme-saturation,1)) 22.2%);border-color:hsl(var(--theme-hue,217) calc(33.3% * var(--theme-saturation,1)) 45.9%);color:hsl(var(--theme-hue,217) calc(100.0% * var(--theme-saturation,1)) 92.5%)}.completed-trades-button:focus-visible{outline:2px solid hsl(var(--theme-hue,217) calc(100.0% * var(--theme-saturation,1)) 72.0%);outline-offset:2px}
@container(max-width:215px){.card-action-tray:has(.bargain-button) .completed-trades-button{grid-row:3}}
.card-action-tray .completed-trades-button{justify-content:flex-start;gap:9px;min-height:40px;padding:6px 9px;background:hsl(var(--theme-hue,217) calc(19.4% * var(--theme-saturation,1)) 13.1%);border-color:hsl(var(--theme-hue,217) calc(19.0% * var(--theme-saturation,1)) 24.7%);border-radius:8px;color:hsl(var(--theme-hue,217) calc(34.1% * var(--theme-saturation,1)) 82.7%);transition:background 160ms,border-color 160ms,color 160ms}
.completed-trades-icon{display:grid;place-items:center;width:26px;height:26px;border:1px solid hsl(var(--theme-hue,217) calc(24.8% * var(--theme-saturation,1)) 30.8%);border-radius:6px;background:hsl(var(--theme-hue,217) calc(30.8% * var(--theme-saturation,1)) 21.0%);color:hsl(var(--theme-hue,217) calc(100.0% * var(--theme-saturation,1)) 78.4%);flex-shrink:0}
.completed-trades-button>.icon:last-child{margin-left:auto;width:13px;height:13px;color:hsl(var(--theme-hue,217) calc(22.5% * var(--theme-saturation,1)) 62.5%);transition:transform 160ms,color 160ms}
.card-action-tray .completed-trades-button:hover{background:hsl(var(--theme-hue,217) calc(26.9% * var(--theme-saturation,1)) 18.2%);border-color:hsl(var(--theme-hue,217) calc(26.8% * var(--theme-saturation,1)) 43.9%);color:hsl(var(--theme-hue,217) calc(100.0% * var(--theme-saturation,1)) 96.5%)}
.completed-trades-button:hover>.icon:last-child{transform:translateX(2px);color:hsl(var(--theme-hue,217) calc(100.0% * var(--theme-saturation,1)) 88.6%)}
.proof-sync-status{font-size:12px;color:hsl(var(--theme-hue,217) calc(39.0% * var(--theme-saturation,1)) 72.4%);line-height:1.6;margin:0 0 16px}.proof-sync-status:empty{display:none}.proof-sync-status button{color:hsl(var(--theme-hue,217) calc(100.0% * var(--theme-saturation,1)) 82.5%);margin-left:6px;text-decoration:underline}.proof-image-frame+.proof-image-frame{margin-top:12px}
dialog.trade-proof-dialog{width:980px;max-width:calc(100vw - 36px);max-height:calc(100dvh - 44px);padding:26px;background:hsl(var(--theme-hue,217) calc(17.1% * var(--theme-saturation,1)) 8.0%);border:1px solid hsl(var(--theme-hue,217) calc(19.7% * var(--theme-saturation,1)) 24.9%);border-radius:16px;color:hsl(var(--theme-hue,217) calc(35.0% * var(--theme-saturation,1)) 92.2%);overflow:auto}.trade-proof-dialog .dialog-header{margin-bottom:20px}.trade-proof-dialog .dialog-header h2{font-size:23px;letter-spacing:-.5px}.proof-item-heading{display:flex;gap:12px;align-items:center;padding-bottom:18px;border-bottom:1px solid hsl(var(--theme-hue,217) calc(17.2% * var(--theme-saturation,1)) 19.4%)}.proof-item-heading>img{object-fit:contain;background:hsl(var(--theme-hue,217) calc(23.3% * var(--theme-saturation,1)) 14.3%);border-radius:9px;border:1px solid hsl(var(--theme-hue,217) calc(20.4% * var(--theme-saturation,1)) 22.2%);padding:4px}.proof-item-heading span{font-size:9px;letter-spacing:.12em;color:hsl(var(--theme-hue,217) calc(19.2% * var(--theme-saturation,1)) 59.2%)}.proof-item-heading h3{font-size:15px;margin:6px 0 0}.proof-toolbar{display:flex;align-items:center;gap:12px;padding:18px 0}.proof-search{display:flex;align-items:center;gap:10px;flex:1;border:1px solid hsl(var(--theme-hue,217) calc(22.0% * var(--theme-saturation,1)) 24.1%);border-radius:8px;padding:10px 12px;background:hsl(var(--theme-hue,217) calc(21.9% * var(--theme-saturation,1)) 12.5%)}.proof-search .icon{width:16px;height:16px;color:hsl(var(--theme-hue,217) calc(23.1% * var(--theme-saturation,1)) 61.8%)}.proof-search input{width:100%;min-width:0;color:hsl(var(--theme-hue,217) calc(55.6% * var(--theme-saturation,1)) 91.2%);background:none;border:0;outline:none;font-size:12px}.proof-search:focus-within{border-color:hsl(var(--theme-hue,217) calc(57.8% * var(--theme-saturation,1)) 63.7%);box-shadow:0 0 0 2px hsl(var(--theme-hue,217) calc(100.0% * var(--theme-saturation,1)) 63.1% / 0.145)}.proof-toolbar select{background:hsl(var(--theme-hue,217) calc(28.0% * var(--theme-saturation,1)) 14.7%);color:hsl(var(--theme-hue,217) calc(32.7% * var(--theme-saturation,1)) 77.8%);border:1px solid hsl(var(--theme-hue,217) calc(25.0% * var(--theme-saturation,1)) 26.7%);border-radius:7px;padding:10px;font-size:12px}.proof-toolbar>[data-proof-count]{color:hsl(var(--theme-hue,217) calc(20.4% * var(--theme-saturation,1)) 63.5%);font-size:11px;white-space:nowrap}.proof-layout{display:grid;grid-template-columns:225px minmax(0,1fr);gap:20px;align-items:start}.proof-sidebar{min-width:0}.proof-list-entry{display:flex;align-items:center;gap:10px;text-align:left;width:100%;padding:14px 10px;border:1px solid transparent;border-radius:9px;background:transparent;color:hsl(var(--theme-hue,217) calc(33.9% * var(--theme-saturation,1)) 78.0%);margin-bottom:7px}.proof-list-entry:hover{background:hsl(var(--theme-hue,217) calc(31.6% * var(--theme-saturation,1)) 14.9%)}.proof-list-entry[aria-pressed=true]{background:hsl(var(--theme-hue,217) calc(38.5% * var(--theme-saturation,1)) 17.8%);border-color:hsl(var(--theme-hue,217) calc(37.4% * var(--theme-saturation,1)) 41.4%)}.proof-list-entry>span{display:grid;place-items:center;background:hsl(var(--theme-hue,217) calc(35.7% * var(--theme-saturation,1)) 22.5%);width:30px;height:30px;border-radius:7px;flex-shrink:0;color:hsl(var(--theme-hue,217) calc(73.2% * var(--theme-saturation,1)) 75.1%)}.proof-list-entry .icon{width:16px;height:16px}.proof-list-entry>div{flex:1;min-width:0}.proof-list-entry strong{display:block;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.proof-list-entry small{display:block;font-size:10px;color:hsl(var(--theme-hue,217) calc(42.7% * var(--theme-saturation,1)) 67.8%);margin:5px 0}.proof-list-entry time{font-size:10px;color:hsl(var(--theme-hue,217) calc(18.3% * var(--theme-saturation,1)) 59.2%)}.proof-list-entry>.icon{width:12px;flex-shrink:0}.proof-pagination{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid hsl(var(--theme-hue,217) calc(21.9% * var(--theme-saturation,1)) 20.6%);padding:12px 0;font-size:10px;color:hsl(var(--theme-hue,217) calc(20.0% * var(--theme-saturation,1)) 60.8%)}.proof-pagination button{display:grid;place-items:center;width:26px;height:26px;border-radius:5px;border:1px solid hsl(var(--theme-hue,217) calc(22.0% * var(--theme-saturation,1)) 24.1%)}.proof-pagination .icon{width:14px;height:14px}.proof-pagination [data-proof-previous] .icon{transform:rotate(180deg)}.proof-pagination button:disabled{opacity:.25;cursor:default}.proof-detail{min-width:0;padding:20px;background:hsl(var(--theme-hue,217) calc(20.6% * var(--theme-saturation,1)) 12.4%);border:1px solid hsl(var(--theme-hue,217) calc(19.3% * var(--theme-saturation,1)) 23.3%);border-radius:11px}.proof-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.proof-detail-heading h3{font-size:18px;margin:8px 0 0;letter-spacing:-.3px}.proof-status{font-size:10px;color:hsl(var(--theme-hue,217) calc(23.6% * var(--theme-saturation,1)) 71.8%)}.proof-detail-heading time{font-size:11px;color:hsl(var(--theme-hue,217) calc(17.7% * var(--theme-saturation,1)) 62.4%);white-space:nowrap}.proof-values{display:flex;align-items:center;flex-wrap:wrap;gap:22px;padding:18px 0 14px;border-bottom:1px solid hsl(var(--theme-hue,217) calc(20.4% * var(--theme-saturation,1)) 22.2%)}.proof-values>div{display:grid;gap:5px}.proof-values span{color:hsl(var(--theme-hue,217) calc(21.9% * var(--theme-saturation,1)) 63.3%);font-size:10px}.proof-values strong{font-size:22px;font-weight:600;letter-spacing:-.5px;color:hsl(var(--theme-hue,217) calc(100.0% * var(--theme-saturation,1)) 92.4%)}.proof-values>.icon{color:hsl(var(--theme-hue,217) calc(24.3% * var(--theme-saturation,1)) 54.9%);width:18px}.proof-values p{margin:0 0 0 auto;padding:6px 9px;border:1px solid #365443;border-radius:5px;background:#223b31;font-size:11px;color:#9ed6b5}.proof-participants{display:flex;gap:24px;flex-wrap:wrap;padding:14px 0;font-size:11px;color:hsl(var(--theme-hue,217) calc(24.4% * var(--theme-saturation,1)) 62.2%)}.proof-participants strong{margin-left:5px;color:hsl(var(--theme-hue,217) calc(52.1% * var(--theme-saturation,1)) 86.1%);font-weight:500}.proof-caption{border-left:2px solid hsl(var(--theme-hue,217) calc(37.8% * var(--theme-saturation,1)) 37.8%);padding:0 12px;margin:0 0 18px}.proof-caption>span{font-size:9px;color:hsl(var(--theme-hue,217) calc(21.8% * var(--theme-saturation,1)) 60.4%)}.proof-caption p{font-size:12px;line-height:1.65;color:hsl(var(--theme-hue,217) calc(41.1% * var(--theme-saturation,1)) 81.4%);margin:6px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;user-select:text}.proof-image-frame{display:flex;align-items:center;justify-content:center;padding:14px;background:hsl(var(--theme-hue,217) calc(17.6% * var(--theme-saturation,1)) 6.7%);border:1px solid hsl(var(--theme-hue,217) calc(19.6% * var(--theme-saturation,1)) 20.0%);border-radius:9px;min-height:120px}.proof-image-frame img{display:block;max-width:100%;width:auto;height:auto;max-height:320px;object-fit:contain}.proof-image-frame img[hidden]{display:none}.proof-expanded .proof-image-frame img{max-height:650px;width:100%;height:auto}.proof-image-error{font-size:12px;color:hsl(var(--theme-hue,217) calc(25.7% * var(--theme-saturation,1)) 71.0%);padding:20px}.proof-detail-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:16px}.proof-detail-actions button,.proof-detail-actions a{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:hsl(var(--theme-hue,217) calc(78.2% * var(--theme-saturation,1)) 78.4%)}.proof-detail-actions .icon{width:14px;height:14px}.proof-empty{padding:40px 18px;text-align:center}.proof-empty>.icon{width:34px;height:34px;color:hsl(var(--theme-hue,217) calc(24.1% * var(--theme-saturation,1)) 50.4%);margin-bottom:18px}.proof-empty h3{font-size:17px;margin:0 0 12px}.proof-empty p{font-size:12px;line-height:1.7;color:hsl(var(--theme-hue,217) calc(22.8% * var(--theme-saturation,1)) 63.9%);max-width:330px;margin:0 auto 16px}.proof-empty a{display:inline-flex;gap:7px;align-items:center;font-size:12px;color:hsl(var(--theme-hue,217) calc(71.9% * var(--theme-saturation,1)) 74.9%)}.proof-empty a .icon{width:14px;height:14px}.proof-footnote{display:flex;align-items:flex-start;gap:8px;border-top:1px solid hsl(var(--theme-hue,217) calc(18.8% * var(--theme-saturation,1)) 19.8%);margin-top:20px;padding-top:16px;color:hsl(var(--theme-hue,217) calc(20.2% * var(--theme-saturation,1)) 58.2%)}.proof-footnote>.icon{width:14px;height:14px;flex-shrink:0;margin-top:2px}.proof-footnote p{font-size:10px;line-height:1.7;margin:0}.proof-loading{font-size:13px;color:hsl(var(--theme-hue,217) calc(20.0% * var(--theme-saturation,1)) 67.6%);padding:40px;text-align:center}
@media(max-width:650px){dialog.trade-proof-dialog{max-width:calc(100vw - 20px);padding:18px;max-height:calc(100dvh - 24px)}.proof-layout{grid-template-columns:1fr;gap:12px}.proof-sidebar [data-proof-list]{display:flex;gap:7px;overflow:auto}.proof-list-entry{min-width:205px;width:205px;flex-shrink:0;margin-bottom:0}.proof-pagination{padding:5px 0}.proof-toolbar{flex-wrap:wrap;gap:8px}.proof-search{flex-basis:100%}.proof-toolbar>[data-proof-count]{margin-left:auto}.proof-detail{padding:15px}.proof-detail-heading{align-items:start}.proof-detail-heading h3{font-size:17px}.proof-detail-heading time{font-size:10px}.proof-values{gap:18px}.proof-values p{margin-left:0}.proof-values strong{font-size:20px}.proof-detail-actions{align-items:flex-start}.proof-detail-actions button,.proof-detail-actions a{font-size:10px}.proof-image-frame{padding:8px}}
/* Keep the viewer anchored while captions and screenshots change. */
dialog.trade-proof-dialog[open]{display:flex;flex-direction:column;height:min(850px,calc(100dvh - 44px));overflow:hidden}
.trade-proof-dialog .dialog-header,.proof-item-heading,.proof-toolbar,.proof-sync-status,.proof-footnote{flex-shrink:0}
.trade-proof-dialog .dialog-header{margin-bottom:16px}
.proof-viewer,[data-proof-workspace]{display:flex;flex-direction:column;flex:1;min-height:0}
.proof-layout{flex:1;min-height:0;align-items:stretch;overflow:hidden;transition:opacity 160ms}
.proof-sidebar{display:flex;flex-direction:column;min-height:0}
.proof-sidebar [data-proof-list]{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-gutter:stable}
.proof-pagination{flex-shrink:0;margin-top:8px;padding:12px 2px 0}
.proof-pagination button{width:32px;height:32px;border-radius:8px;background:hsl(var(--theme-hue,217) calc(28.2% * var(--theme-saturation,1)) 15.3%);transition:background 150ms,border-color 150ms,opacity 150ms}
.proof-pagination button:not(:disabled):hover{background:hsl(var(--theme-hue,217) calc(37.0% * var(--theme-saturation,1)) 24.9%);border-color:hsl(var(--theme-hue,217) calc(32.0% * var(--theme-saturation,1)) 50.4%)}
.proof-list-entry{transition:background 150ms,border-color 150ms,color 150ms;position:relative}
.proof-list-entry[aria-pressed=true]{background:hsl(var(--theme-hue,217) calc(36.2% * var(--theme-saturation,1)) 18.4%);border-color:hsl(var(--theme-hue,217) calc(34.9% * var(--theme-saturation,1)) 41.6%);color:hsl(var(--theme-hue,217) calc(100.0% * var(--theme-saturation,1)) 96.5%);box-shadow:inset 3px 0 hsl(var(--theme-hue,217) calc(88.0% * var(--theme-saturation,1)) 73.9%)}
.proof-list-entry:focus-visible{outline:2px solid hsl(var(--theme-hue,217) calc(88.0% * var(--theme-saturation,1)) 73.9%);outline-offset:-2px}
.proof-list-entry:disabled{cursor:wait}
.proof-detail{height:100%;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-gutter:stable;overflow-anchor:none}
.proof-sync-status,.proof-sync-status:empty{display:block;min-height:24px;margin:0 0 10px;font-size:11px}
.proof-sync-status:empty{visibility:hidden}
.proof-image-frame{height:348px;min-height:348px;overflow:hidden}
.proof-image-frame img{opacity:0;transition:opacity 160ms ease;max-height:320px}
.proof-image-frame img.proof-image-ready{opacity:1}
.proof-expanded .proof-image-frame{height:auto;min-height:348px}
.proof-footnote{margin-top:14px;padding-top:10px}
[data-proof-workspace][aria-busy=true] .proof-layout{opacity:.65}
@media(max-width:650px){
 dialog.trade-proof-dialog[open]{height:calc(100dvh - 24px);padding:16px}
 .trade-proof-dialog .dialog-header{margin-bottom:10px}
 .proof-item-heading{padding-bottom:10px}
 .proof-toolbar{padding:10px 0}
 .proof-layout{grid-template-rows:154px minmax(0,1fr);gap:8px}
 .proof-sidebar [data-proof-list]{overflow-x:auto;overflow-y:hidden;scrollbar-gutter:auto}
 .proof-list-entry{padding:8px;min-width:195px;width:195px}
 .proof-list-entry strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .proof-pagination{padding-top:5px;margin-top:4px}
 .proof-pagination button{width:28px;height:28px}
 .proof-image-frame{height:280px;min-height:280px}
 .proof-image-frame img{max-height:260px}
 .proof-footnote{margin-top:8px;padding-top:6px}
 .proof-footnote p{font-size:9px;line-height:1.4}
 .proof-sync-status,.proof-sync-status:empty{min-height:20px;margin-bottom:6px}
}
@media(prefers-reduced-motion:reduce){.proof-layout,.proof-list-entry,.proof-image-frame img,.proof-pagination button,.card-action-tray .completed-trades-button,.completed-trades-button>.icon:last-child{transition:none}.completed-trades-button:hover>.icon:last-child{transform:none}}
.proof-sidebar [data-proof-list],.proof-detail{scrollbar-color:hsl(var(--theme-hue,217) calc(21.1% * var(--theme-saturation,1)) 29.8%) hsl(var(--theme-hue,217) calc(21.6% * var(--theme-saturation,1)) 10.0%)}
.proof-list-entry{padding:11px 9px;margin-bottom:5px}
.proof-list-entry small{margin:3px 0}
@media(max-width:650px){.proof-list-entry{padding:8px;margin-bottom:0}}
.trade-proof-dialog .dialog-header{gap:14px}
.trade-proof-dialog .dialog-header h2{margin-right:auto}
.proof-back-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex-shrink:0;min-height:34px;padding:7px 10px;border:1px solid var(--theme-border);border-radius:8px;background:var(--theme-surface);color:var(--text);font:inherit;font-size:12px;cursor:pointer}
.proof-back-button .icon{width:15px;height:15px;transform:rotate(180deg)}
.proof-back-button:hover{border-color:var(--theme-accent);color:var(--theme-accent)}
.proof-back-button:focus-visible{outline:2px solid var(--theme-accent);outline-offset:3px}
@media(max-width:480px){.trade-proof-dialog .dialog-header{gap:10px}.trade-proof-dialog .dialog-header h2{font-size:18px}.proof-back-button{padding:7px}}
