.market-category{align-items:center;gap:.75rem;max-width:25rem;display:flex}.market-category select{flex:1;min-width:0}.market-native-categories a{align-items:center;min-height:44px;padding:.35rem .5rem;display:inline-flex}.market-item-tiles{grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:.35rem;margin-top:.6rem;display:grid}.market-item-tiles a{text-align:center;border:1px solid var(--border,#cbbf9b);color:inherit;border-radius:.45rem;flex-direction:column;justify-content:center;align-items:center;gap:.35rem;min-height:88px;padding:8px 4px;font-size:12px;line-height:1.1;text-decoration:none;display:flex}.market-item-tiles a[aria-current]{background:#dce7c9;border-color:#305e40;font-weight:700;box-shadow:inset 0 0 0 1px #305e40}.market-item-tiles img{object-fit:contain;flex-shrink:0;width:52px;height:52px}.market-summary>.market-identity{align-items:center;gap:.6rem;display:flex}.market-summary h2{margin:0}.market-balances{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:.65rem;margin:.75rem 0;display:grid}.market-balances dd{font-variant-numeric:tabular-nums;margin:0;font-weight:700}.market-balances dt{font-size:.875rem}.market-books{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.75rem;display:grid}.market-books>*{min-width:0}.workspace-book-scroll{scrollbar-gutter:stable;max-width:100%;overflow:auto}.market-book-table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;min-width:340px}.market-book-table :is(th,td){text-align:end;vertical-align:top;border-bottom:1px solid var(--border);padding:8px}.market-book-table th{text-wrap:balance}.market-book-table td:has(.workspace-task){text-align:start}.market-book-table .workspace-task{margin:0}.market-book-table .workspace-task-editor{min-width:240px}.market-rows{margin:0;padding:0;list-style:none}.market-rows>li{border-bottom:1px solid #d2c8aa;padding:.5rem 0}.market-rows p{margin:.2rem 0}.market-history h3{margin:.75rem 0 .25rem}.market-history p{margin:.35rem 0}.market-history-chart{width:100%;max-height:190px;display:block}.market-history-chart text{fill:currentColor;font-size:12px}@media (max-width:600px){.market-history-chart text{font-size:24px}}.market-chart-axis{stroke:#a7a48d;fill:none}.market-volume-bar{fill:#b89a4b}.market-price-line{stroke:#305e40;stroke-width:2px}.market-price-point{fill:#305e40}.market-history-table{max-height:18rem;overflow:auto}.market-history-table table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}.market-history-table th,.market-history-table td{text-align:left;padding:.35rem}.market-entry-help{margin-block:.35rem .6rem;font-size:.9rem}.market-entry-help summary{cursor:pointer;align-items:center;min-height:44px;font-weight:600;display:flex}.market-entry-controls.stack{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:.6rem .8rem;display:grid}.market-entry-controls label{gap:.3rem;min-width:0;display:grid}.market-entry-controls input,.market-entry-controls select{width:100%;min-width:0}.market-entry-controls .market-entry-bounds{grid-column:1/3;align-self:center;margin:0;font-size:.9rem}.market-entry-controls>button{justify-self:end;width:auto;max-width:100%}.market-prefix-controls>button{grid-column:1/-1;justify-self:start}@media (max-width:600px){.market-entry-controls.stack{grid-template-columns:minmax(0,1fr)}.market-entry-controls .market-entry-bounds{grid-column:auto}.market-entry-controls>button{justify-self:start}.market-books{grid-template-columns:minmax(0,1fr)}.market-item-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}.market-item-tiles a{text-align:center;flex-direction:column}}.fm-content .market-unified.market-workspace{background:var(--fm-surface,#fffdf5);border:1px solid var(--border,#d2c4a7);border-radius:6px;grid-template-columns:220px minmax(0,1fr);gap:0;padding:0;display:grid}.market-unified>*{min-width:0}.market-unified .market-products{border-right:1px solid var(--border,#d2c4a7);padding:12px}.market-unified .market-detail{min-width:0;padding:12px 16px}.market-unified .market-summary{border-bottom:1px solid var(--border,#d2c4a7);flex-wrap:wrap;align-items:center;gap:8px 20px;padding:0 0 12px;display:flex}.market-unified .market-identity{align-items:center;gap:8px;display:flex}.market-unified .market-identity h2{margin:0}.market-unified .market-balances{flex:1;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0}.market-unified .market-balances dt{font-size:12px}.market-unified .market-item-tiles{grid-template-columns:repeat(2,minmax(0,1fr));max-height:62vh;overflow:auto}.market-unified .market-item-tiles a{border-color:#0000;min-height:76px}.market-unified .market-item-tiles img{width:40px;height:40px}.market-unified .market-products label{gap:4px;display:grid}.market-unified .market-products input{width:100%;min-width:0}.market-unified .market-books{display:block}.market-unified .market-books h2{margin:12px 0 6px;font-size:18px}.market-unified .market-book-table{table-layout:fixed;min-width:0}.market-unified .market-book-table th,.market-unified .market-book-table td{overflow-wrap:break-word;vertical-align:middle;padding:8px 4px}.market-unified .market-book-table th:last-child{width:32%}.market-unified .market-book-table th:nth-child(3){width:23%}.market-unified .market-government-book th:nth-child(3){width:32%}.market-unified .market-government-book th:last-child{width:23%}.market-unified .market-government-book .market-source-badge{white-space:nowrap;overflow-wrap:normal;word-break:normal}.market-unified .market-government-book button{min-width:44px;min-height:44px}.market-unified .market-book-table button{white-space:normal;padding:6px 8px}.market-unified .market-editor{border-top:1px solid var(--border,#d2c4a7);padding:12px 0}.market-unified .market-editor h3{margin:0}.market-unified .market-entry-controls.stack{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}.market-unified .market-entry-controls .market-entry-bounds,.market-unified .market-entry-controls>button:last-child{grid-column:1/-1}.market-unified .market-order-rows>li{grid-template-columns:.7fr 1fr 1fr 1fr auto;align-items:center;gap:8px;display:grid}.market-unified .market-order-rows small{color:var(--muted,#506251);display:block}.market-unified .market-order-rows span,.market-unified .market-order-rows strong{font-variant-numeric:tabular-nums}.market-unified .market-order-rows .workspace-task{margin:0}.market-result{border-left:3px solid #23513c;margin-block:8px;padding:8px 12px}.fm-content .market-result p{margin:0;line-height:1.4}.market-quantity-editor>button{margin-top:4px}.market-unified .market-detail>.workspace-areas>.workspace-choices>legend{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (min-width:761px){.market-unified .workspace-book-scroll{max-height:340px;overflow:auto}}@media (max-width:760px){.fm-content .market-unified.market-workspace{grid-template-columns:minmax(0,1fr)}.market-unified .market-products{border-right:0;border-bottom:1px solid var(--border,#d2c4a7);padding:8px}.market-unified .market-detail{padding:10px}.market-unified .market-item-tiles{grid-template-columns:repeat(3,minmax(0,1fr));max-height:45vh}.market-unified .market-summary{display:block}.market-unified .market-balances{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:8px}.market-unified .market-order-rows>li{grid-template-columns:repeat(2,minmax(0,1fr))}.market-unified .market-entry-controls.stack{grid-template-columns:minmax(0,1fr)}.market-unified .market-book-table button{overflow-wrap:normal;word-break:normal;padding-inline:4px;font-size:12px}.fm-content .market-unified .market-detail>.workspace-areas>.workspace-choices{min-width:0;max-width:100%}.fm-content .market-unified .market-detail>.workspace-areas>.workspace-choices>div{flex-wrap:nowrap;max-width:100%;padding:4px;scroll-padding:4px;display:flex;overflow-x:auto}.fm-content .market-unified .market-detail>.workspace-areas>.workspace-choices .workspace-choice{white-space:nowrap;flex:none;min-height:44px}}
