.trade-query{--tq-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%2364748b' stroke-width='1.6'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5'/%3E%3C/svg%3E");margin:0 0 20px;padding:16px;border:1px solid #cbd5e1;border-radius:8px;background:#f8fafc;color:#0f172a;font-size:14px}.trade-query h2{font-size:16px;font-weight:650;margin:0 0 12px}.tq-toggle{display:flex;align-items:center;flex-wrap:wrap;gap:12px;min-height:44px;width:100%;text-align:left}.tq-toggle span{color:#475569}.tq-toggle [data-tq-expand]{margin-left:auto;color:#1d4ed8}.tq-fields{display:grid;grid-template-columns:minmax(230px,1.8fr) minmax(210px,1.25fr) minmax(170px,1fr) minmax(205px,1fr);gap:12px;align-items:start}.tq-fields>*{min-width:0}.tq-fields label,.tq-fields legend{display:block;margin-bottom:5px;font-weight:600}.tq-fields textarea,.tq-fields select{width:100%;min-height:44px;border:1px solid #94a3b8;border-radius:5px;background:#fff;padding:10px;font:inherit;font-size:14px}.tq-fields select{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-right:32px;background:#fff var(--tq-chevron) right 12px center no-repeat;cursor:pointer}.tq-fields textarea{resize:vertical;height:44px}.tq-fields small,[data-tq-product-status]{font-size:12px;color:#475569}.tq-fields .cp-applied{font-size:12px}.trade-query a{color:#1d4ed8;text-decoration:underline;text-underline-offset:3px}.tq-submit{min-height:44px;padding:10px 16px;background:#2563eb;border-radius:5px;color:#fff;font-weight:600;justify-self:start}.tq-submit:hover{background:#1d4ed8}[data-tq-error]:not(:empty){margin:8px 0;color:#b91c1c}.tq-results{display:grid;gap:4px;max-height:300px;overflow:auto}.tq-results button{text-align:left;background:#fff;padding:10px;border:1px solid #cbd5e1;border-radius:4px;min-height:44px}.tq-results button[aria-selected=true]{outline:2px solid #2563eb;outline-offset:-2px}.trade-query :focus-visible{outline:2px solid #2563eb;outline-offset:3px}.trade-query [hidden]{display:none!important}@media(min-width:768px)and (max-width:1023px){.tq-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:767px){.tq-fields{grid-template-columns:minmax(0,1fr)}.tq-fields .tq-submit{width:100%}}.trade-query[data-browsing=true]{container-type:inline-size;border-color:#e2e8f0}.trade-query[data-browsing=true] h2{font-size:15px;font-weight:600;margin:0 0 10px}.trade-query[data-browsing=true] .tq-fields{position:relative;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;align-items:stretch;border:1px solid #cbd5e1;border-radius:8px;background:#fff}.trade-query[data-browsing=true] .tq-fields>*{position:relative;min-height:58px;margin:0;padding:0;border:0}.trade-query[data-browsing=true] .tq-fields>*+*{border-left:1px solid #e2e8f0}.trade-query[data-browsing=true] .tq-fields>:first-child{border-radius:7px 0 0 7px}.trade-query[data-browsing=true] .tq-fields>:last-child{border-radius:0 7px 7px 0}.trade-query[data-browsing=true] .tq-fields>:focus-within{box-shadow:inset 0 0 0 2px #2563eb}.trade-query[data-browsing=true] .tq-fields>*>:is(label,legend){position:absolute;z-index:1;top:9px;left:14px;right:14px;margin:0;padding:0;font-size:12px;font-weight:500;line-height:16px;color:#64748b;pointer-events:none}.trade-query[data-browsing=true] .tq-fields :is(.tq-product>textarea,[data-tq-flow],.cp-trigger){display:block;width:100%;height:58px;min-height:0;margin:0;padding:27px 14px 9px;border:0;border-radius:0;background-color:transparent;font:inherit;font-size:15px;font-weight:500;line-height:22px;color:#0f172a;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;resize:none}.trade-query[data-browsing=true] .tq-fields :is(textarea,select,.cp-trigger):focus-visible{outline:none}.trade-query[data-browsing=true] .tq-fields :is(select,.cp-trigger){padding-right:34px;background:var(--tq-chevron) right 14px top 32px no-repeat}.trade-query[data-browsing=true] .tq-fields .cp-trigger>span{overflow:hidden;text-overflow:ellipsis}.trade-query[data-browsing=true] .cp-applied{display:none}.trade-query[data-browsing=true] [data-tq-product-status]:empty{display:none}.trade-query[data-browsing=true] [data-tq-product-status]{margin:-4px 14px 9px}.trade-query[data-browsing=true] .tq-product{position:static}.trade-query[data-browsing=true] .tq-results:empty{display:none}.trade-query[data-browsing=true] .tq-results{position:absolute;z-index:20;top:calc(100% + 4px);left:-1px;right:-1px;padding:4px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;box-shadow:0 8px 24px #0f172a1f}.trade-query[data-browsing=true] .tq-results button{border-color:transparent}.trade-query[data-browsing=true] .tq-results button:hover{background:#f1f5f9}.tq-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:12px}.tq-actions .tq-submit,.trade-query .tq-advanced{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:6px;font-size:14px;font-weight:600;white-space:nowrap}.trade-query .tq-advanced{border:1px solid #cbd5e1;background:#fff;color:#0f172a;text-decoration:none}.trade-query .tq-advanced:hover{border-color:#94a3b8}@container (max-width:640px){.trade-query[data-browsing=true] .tq-fields{grid-template-columns:minmax(0,1fr)}.trade-query[data-browsing=true] .tq-fields>*+*{border-left:0;border-top:1px solid #e2e8f0}.trade-query[data-browsing=true] .tq-fields>:first-child{border-radius:7px 7px 0 0}.trade-query[data-browsing=true] .tq-fields>:last-child{border-radius:0 0 7px 7px}.trade-query[data-browsing=true] .tq-product{position:relative}.tq-actions .tq-submit{flex:1}}
