#market-dialog{width:min(680px,calc(100% - 32px));max-height:85vh;padding:24px;border:1px solid #c5bbb0;border-radius:10px;background:#fffdfa;color:#171715;overflow:auto}#market-dialog::backdrop{background:rgba(23,23,21,.4)}.market-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.market-dialog-head h2{font-size:1.3rem}.market-dialog-head button,.market-open{font:inherit;min-height:44px;padding:8px 14px;border:1px solid #c5bbb0;border-radius:5px;background:#fffdfa;color:#292620;cursor:pointer}.market-dialog-actions{display:flex;justify-content:flex-end;margin-top:20px}.market-open{margin-top:8px}.market-picker{border:0;padding:0;min-width:0}.market-picker legend{font-size:1rem;font-weight:650}.selected-markets{display:flex;flex-wrap:wrap;gap:8px}.market-tag{font:inherit;font-size:.9rem;background:#ebe6df;color:#292620;border:1px solid #c5bbb0;border-radius:5px;padding:9px 12px;min-height:44px;cursor:pointer}.market-tag:hover{background:#e0d7ca}.market-picker details{border:1px solid #c5bbb0;border-radius:5px;padding:0 14px}.market-picker summary{padding:14px 0;cursor:pointer;font-size:.95rem}.market-group{border:0;padding:0;margin:14px 0 0;min-width:0}.market-group legend{font-size:.875rem;font-weight:600;color:#62605a}.market-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 12px;padding:4px 0;margin-top:4px}@media(max-width:800px){.market-list{grid-template-columns:repeat(2,minmax(0,1fr))}}.market-list label{display:flex;align-items:center;gap:9px;min-height:44px;font-weight:400;margin:0;font-size:.92rem}.market-list input[type=checkbox]{width:18px;height:18px;min-height:0;margin:0;flex-shrink:0;accent-color:#a83500}.market-list [hidden]{display:none}.market-tag:focus-visible,.market-picker summary:focus-visible{outline:3px solid #a83500;outline-offset:3px}@media(max-width:420px){.market-list{grid-template-columns:1fr}}
