/* Scoped geometry prevents global dialog and input rules enlarging the picker. */
.stp-sheet.dj-review-sheet{width:min(740px,calc(100vw - 32px));height:min(680px,calc(100dvh - 80px));padding:25px 22px 0;display:flex;flex-direction:column;overflow:hidden;border:0;border-radius:24px 24px 0 0;background:var(--bg);color:var(--text)}
.stp-sheet>header{flex-shrink:0;margin:0 0 15px;padding-right:35px}.stp-sheet>header small{font-size:9px;letter-spacing:1.3px}.stp-sheet>header h2{font-size:21px;margin:6px 0}.stp-sheet>header p{font-size:11px;line-height:1.5;color:var(--muted);margin:6px 0 0}
.stp-sheet #stp-close{position:absolute;right:0;top:0;display:grid;place-items:center;width:28px;height:28px;min-height:0;padding:0;border:0;border-radius:50%;box-shadow:none;font-size:19px;background:var(--panel);color:var(--text)}
.stp-sheet #note-trade-form{display:flex;flex-direction:column;min-height:0;flex:1;margin:0}.stp-tools{display:flex;align-items:center;gap:12px;margin-bottom:12px;flex-shrink:0}.stp-sheet #stp-search{flex:1;min-width:0;width:auto;height:35px;min-height:0;padding:8px 11px;font-size:11px;border:0;outline:0;border-radius:10px;background:var(--panel);color:var(--text)}.stp-tools>span{font-size:10px;color:var(--muted);white-space:nowrap}
.stp-list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:6px;padding:2px 4px 8px 2px;scrollbar-width:thin}
.stp-sheet .stp-row{position:relative;display:flex;align-items:center;gap:11px;flex:0 0 auto;min-height:60px;padding:11px 12px;border:0;border-radius:12px;background:var(--panel);cursor:pointer;transition:background .18s,box-shadow .2s,transform .2s;color:var(--text)}
.stp-sheet .stp-row>input[type=checkbox]{position:absolute!important;left:12px!important;top:calc(50% - 8px)!important;width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;max-width:16px!important;max-height:16px!important;padding:0!important;margin:0!important;opacity:0!important;appearance:none!important;box-shadow:none!important;outline:0!important;border:0!important;transform:none!important}
.stp-check{display:grid;place-items:center;width:16px;height:16px;flex:0 0 16px;border:1px solid color-mix(in srgb,var(--text) 35%,transparent);border-radius:5px;pointer-events:none}.stp-row input:checked+.stp-check{background:var(--text);border-color:var(--text)}.stp-row input:checked+.stp-check:after{content:'';width:6px;height:3px;border-left:1.5px solid var(--bg);border-bottom:1.5px solid var(--bg);transform:translateY(-1px) rotate(-45deg)}.stp-row input:focus-visible+.stp-check{outline:2px solid var(--muted);outline-offset:3px}.stp-info{flex:1;min-width:0}.stp-info strong{font-size:12px;font-weight:650;display:block}.stp-info small{display:block;margin-top:3px;color:var(--muted);font-size:10px;line-height:1.5;overflow-wrap:anywhere}.stp-row>b{font-size:12px;white-space:nowrap;font-weight:650}.stp-row:has(input:checked){background:color-mix(in srgb,var(--text) 7%,var(--panel))}
.stp-bottom{flex-shrink:0;padding:10px 0 17px;background:var(--bg)}.stp-bottom>div{display:flex;justify-content:flex-end;gap:8px}.stp-sheet .stp-bottom button{min-height:32px;padding:8px 14px;font-size:11px;line-height:1.3;border:0;border-radius:9px;background:var(--panel);color:var(--text)}.stp-sheet .stp-bottom button.primary{background:var(--text);color:var(--bg);box-shadow:0 3px 12px #0002}.stp-sheet #note-trade-error{font-size:11px;color:var(--muted);line-height:1.5;margin:0 0 7px}.stp-empty{padding:30px 10px;text-align:center;font-size:11px;color:var(--muted)}.stp-sheet button:disabled{opacity:.5;cursor:wait}
@media(hover:hover){.stp-row:hover{background:color-mix(in srgb,var(--text) 5%,var(--panel));box-shadow:0 4px 12px #0002;transform:translateY(-1px)}}
@media(max-width:520px){.stp-sheet.dj-review-sheet{width:100%;height:calc(100dvh - 50px);padding:24px 15px 0;border-radius:22px 22px 0 0}.stp-tools{gap:8px}.stp-row>b{font-size:11px}}
@media(prefers-reduced-motion:reduce){.stp-row{transition:none!important;transform:none!important}}
:root.settings-reduce-motion .stp-row,:root[data-motion=reduced] .stp-row{transition:none!important;transform:none!important}
