/* Printer's compact market desk. The asset research sheet keeps the paper palette. */
.topbar, main {
  --bg:#111216;
  --panel:#191a1f;
  --line:#303138;
  --soft:#24262c;
  --text:#f2f1ed;
  --ink:#f2f1ed;
  --muted:#a6a7ae;
  --blue:#9db8d1;
  --red:#df988b;
  --coral:#df988b;
  --positive:#9db8d1;
  --negative:#df988b;
  --brand:#7585ff;
  color:var(--text);
  color-scheme:dark;
}
body { background:#111216; }
.skip { color:#111216; background:#f2f1ed; }
.topbar { height:54px; padding:0 17px; gap:0; background:#15161a; border-bottom:1px solid var(--line); }
.brand { gap:9px; }
.brandmark { width:27px; height:27px; }
.brand strong { font-size:18px; letter-spacing:-.7px; }
.brand span { margin-left:6px; padding-left:11px; border-color:#484951; color:#d0d0d3; font-size:11px; }
.nav { margin-left:44px; gap:25px; }
.navitem { font-size:12px; font-weight:580; }
.navitem.active:after { background:var(--brand); }
.navitem span { background:#2c2d34; color:#d6d6da; }
.header-right { gap:15px; }
.local { color:#8e9099; }
.connection { border-color:#3b3d45; background:#202127; color:#dedee2; }
.connection.connected .status-dot { background:#a7bdd6; }
.connection.error .status-dot { background:#df988b; }
main { max-width:none; height:calc(100dvh - 54px); min-height:580px; padding:0 15px; }
.title-row { min-height:57px; margin:0; align-items:center; border-bottom:1px solid #292a30; }
.title-row>div:first-child { display:flex; align-items:baseline; gap:11px; min-width:0; }
.market-context { order:2; margin:0; color:#a3a4ad; font-size:11px; letter-spacing:.02em; font-weight:500; }
.market-context span { color:#5d6069; padding:0 2px; }
h1 { order:1; margin:0; font-size:20px; line-height:1.1; letter-spacing:-.65px; font-weight:650; white-space:nowrap; }
.intro { display:none; }
.title-actions .button { min-height:29px; padding:5px 9px; border-color:#3b3d45; font-size:11px; background:#202127; }
.title-actions .button:hover { background:#2b2c34; }
.toolbar { min-height:47px; margin:9px 0 0; padding:4px; border:1px solid var(--line); background:#191a1f; border-radius:6px; gap:4px; }
.search-wrap { padding:0 9px; }
.search-wrap svg { width:15px; color:#999ba5; }
.search-wrap input { height:31px; font-size:12px; }
.search-wrap kbd { color:#999ba5; border-color:#45464e; }
.select-wrap { padding:0 8px 0 11px; gap:8px; }
.select-wrap>span { font-size:11px; }
.select-wrap select { max-width:155px; font-size:12px; }
.filter-button { min-height:33px; padding:5px 10px; border-color:#44454e; background:#292a31; font-size:12px; }
.filter-button:hover,.filter-button.active { border-color:#7585ff; background:#31344f; }
.filter-button svg { width:15px; }
.filter-panel { padding:14px; gap:12px; background:#202127; border-color:#383a42; }
.filter-panel label { font-size:11px; }
.filter-panel input[type=number] { width:145px; background:#15161a; border-color:#42444d; }
.filter-panel p { color:#a6a7ae; }
.board-meta { margin:7px 1px; min-height:20px; font-size:11px; }
.board-meta .small-dot { width:5px; height:5px; background:#a6c0dc; }
.feed-message { margin:0 0 8px; padding:7px 10px; background:#322728; border:1px solid #724c48; color:#f4beb2; font-size:11px; }
.exact-lookup { margin:7px 0 0; padding:7px 10px; border-color:#48444a; background:#222228; }
.exact-lookup .button { background:#2c2d35; border-color:#484951; }
.board { flex:1; min-height:0; gap:9px; }
.column { display:flex; flex-direction:column; min-height:0; border:1px solid #303138; border-radius:6px; background:#191a1f; }
.new-column { --accent:#b8b3a6; }
.near-column { --accent:#7585ff; }
.migrated-column { --accent:#9db8d1; }
.column-head { display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-rows:auto auto; gap:7px 8px; min-height:76px; height:76px; padding:9px 11px 8px; border-color:#34353d; background:#202127; }
.column-head>div:first-child { display:flex; align-items:baseline; gap:8px; min-width:0; }
.column h2 { margin:0; font-size:13px; font-weight:640; white-space:nowrap; }
.column h2 span { color:#b7b8bf; background:#34353d; padding:1px 5px; margin-left:4px; border-radius:3px; font-size:11px; font-variant-numeric:tabular-nums; }
.column-head p { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:11px; color:#a4a6b0; }
.column-paused { align-self:center; color:#c6c6ca; font-size:11px; }
.lane-search-wrap { display:flex; align-items:center; grid-column:1 / 3; height:27px; padding:0 7px; gap:6px; background:#191a1f; border:1px solid #393a42; border-radius:4px; }
.lane-search-wrap:focus-within { border-color:#7585ff; }
.lane-search-wrap svg { width:13px; height:13px; color:#8d8f9a; }
.lane-search { width:100%; min-width:0; height:24px; padding:0; background:transparent; color:#f2f1ed; border:0; outline:0; font-size:11px; }
.lane-search::placeholder { color:#898b95; }
.token-list { flex:1; min-height:0; height:auto; max-height:none; padding:0; overflow-y:auto; scrollbar-color:#4a4c55 transparent; }
.token-card { display:grid; grid-template-columns:41px minmax(0,1fr) 87px; align-items:start; gap:8px; min-height:84px; padding:7px 10px; border-color:#303138; background:#191a1f; }
.token-card:hover,.token-card:focus-within { background:#22232a; }
.token-card.selected { background:#24263a; box-shadow:inset 2px 0 #7585ff; }
.token-art { width:41px; height:41px; flex-basis:41px; border-radius:5px; background:#33343c; color:#d5d4d0; }
.row-content { min-width:0; }
.row-identity { display:flex; align-items:center; min-width:0; height:20px; gap:7px; }
.row-identity strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; letter-spacing:-.15px; }
.row-identity .age { flex-shrink:0; color:#b7bad0; font-size:11px; font-variant-numeric:tabular-nums; }
.star { margin:0 0 0 auto; padding:0; min-height:24px; min-width:23px; width:23px; height:24px; font-size:19px; line-height:1; color:#858791; }
.star.saved { color:#e6d49c; }
.row-subtitle { display:flex; align-items:center; gap:5px; overflow:hidden; white-space:nowrap; height:18px; color:#b1b2bc; font-size:12px; }
.row-subtitle span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.row-subtitle span:first-child { max-width:50%; }
.row-subtitle span:last-child { color:#81838e; }
.row-subtitle i { width:2px; height:2px; background:#73757e; border-radius:50%; flex-shrink:0; }
.row-signals { display:flex; flex-wrap:wrap; align-content:start; gap:2px 6px; margin-top:6px; max-height:none; overflow:visible; font-variant-numeric:tabular-nums; }
.row-signal { color:#b4b5be; font-size:12px; line-height:15px; white-space:nowrap; }
.row-signal b { color:#d2d3d9; font-weight:620; }
.row-signal.risk,.row-signal.risk b { color:#e49b8e; }
.row-signal.curve b { color:#aeb8ff; }
.row-market { display:flex; flex-direction:column; align-items:stretch; gap:3px; font-variant-numeric:tabular-nums; text-align:right; }
.row-market-value { display:flex; justify-content:space-between; gap:3px; align-items:baseline; line-height:15px; }
.row-market-value span { color:#a0a2ac; font-size:11px; }
.row-market-value strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; font-weight:650; }
.row-market-value:first-child strong { color:#e9e8e6; }
.quick-review { position:relative; z-index:2; pointer-events:auto; display:flex; justify-content:center; align-items:center; gap:4px; width:100%; height:27px; margin-top:6px; border:1px solid #545661; border-radius:4px; background:#2d2e36; color:#f1f0f2; font-size:11px; font-weight:620; }
.quick-review:hover { background:#3b3d47; border-color:#777988; }
.quick-review:focus-visible { outline-color:#fff; }
.saved-age { grid-column:1 / -1; margin:0; color:#b9aa9d; font-size:11px; }
.workspace-footer { min-height:31px; padding:7px 1px 6px; border-top:1px solid #292a30; color:#a2a3ad; font-size:10px; }
.workspace-footer .separator { color:#5d5e66; }
.workspace-footer a:hover { color:#f2f1ed; }
.empty-state,.loading-state { padding:50px 17px; }
.empty-state strong { color:#f2f1ed; }
.empty-state .text-button { color:#aeb8ff; }

/* The selected asset uses the same graphite work surface as the feed. */
.detail-dialog {
  --bg:#111216;
  --panel:#191a1f;
  --line:#35363e;
  --soft:#25262c;
  --text:#f2f1ed;
  --ink:#f2f1ed;
  --muted:#a6a7ae;
  --blue:#9db8d1;
  --red:#df988b;
  --positive:#9db8d1;
  --negative:#df988b;
  --brand:#7585ff;
  color:var(--text);
  color-scheme:dark;
  background:var(--bg);
}
.detail-dialog::backdrop { background:#07080ac4; backdrop-filter:blur(2px); }
.asset-topbar,.detail-header { background:#15161a; border-color:var(--line); }
.asset-topbrand span { color:#757782; }
.detail-header { padding-top:13px; padding-bottom:15px; gap:5px 16px; }
.detail-header .context { color:#aeb8ff; }
.detail-header .close-dialog { color:#ecebf0; background:#292a31; }
.detail-actions .secondary,.copy { border-color:#44454e; color:#dedee4; background:#24252b; }
.asset-signal-strip { background:#191a1f; border-color:var(--line); }
.asset-signal-strip>div { border-color:var(--line); }
.asset-signal-strip small { color:#8d8f99; }
.asset-chart-panel,.asset-main .detail-section,.asset-aside .detail-section,.trade-review { background:#191a1f; border-color:var(--line); }
.chart-toolbar { border-color:var(--line); }
.chart-toolbar button.active { background:#6575e7; color:#fff; }
.chart-attribution { border-color:var(--line); }
.chart-empty strong { color:#f2f1ed; }
#chart:has(.chart-empty) { height:190px; }
#chart:has(.chart-empty) .chart-empty { padding:55px 20px; }
.detail-stats dd,.compare-grid strong,.holder-summary strong,.holder-row strong { color:#f2f1ed; }
.risk-row,.holder-row { border-color:#34353d; }
.risk-row { background:transparent; }
.detail-section textarea { background:#15161a; border-color:#45464e; color:#f2f1ed; }
.asset-aside .detail-links a { background:#24252b; border-color:#45464e; color:#e8e8eb; }
.asset-aside .detail-links a:hover { background:#303138; }
.holder-summary,.compare-grid { background:#222329; border-color:#41434c; }
.compare-grid>div { border-color:#41434c; }
.holder-row a { color:#f2f1ed; }
.holder-tags small { background:#42302d; color:#f1b7ad; }
.holder-mismatch,.pool-stale,.source-alert { background:#352a2b; color:#f2b6aa; }
.trade-review-head .quote-only { background:#292a31; border-color:#464750; color:#d4d5dc; }
.trade-side { background:#15161a; border-color:#474851; }
.trade-side button { color:#d7d8df; }
.trade-side button+button { border-color:#474851; }
.trade-side button[aria-pressed=true] { color:#f2f1ed; background:#31344f; }
.trade-inputs input,.trade-inputs select { background:#15161a; border-color:#474851; color:#f2f1ed; }
.trade-quote:disabled { background:#35363d; border-color:#35363d; color:#b9bac3; }
.trade-result,.trade-unavailable .trade-result { background:#24252b; border-color:#41434c; color:#d5d5db; }
.price-row .tiny { color:#a6a7ae; }

/* Keep the route controls visible while access is unconfigured. */
.trade-unavailable .trade-side,.trade-unavailable .trade-inputs,.trade-unavailable .trade-quote { display:initial; }
.trade-unavailable .trade-side { display:flex; }
.trade-unavailable .trade-inputs { display:grid; }
.trade-unavailable .trade-quote { display:inline-flex; }
.trade-unavailable .trade-review-head { margin-bottom:15px; }
.trade-unavailable .trade-result { padding:10px; border:1px solid var(--line); background:var(--soft); }

@media(max-width:1100px) {
  main { height:auto; min-height:calc(100dvh - 54px); padding:0 12px; display:block; }
  .mobile-tabs { display:grid; grid-template-columns:1fr 1.1fr 1fr; margin:8px 0 0; border-bottom:1px solid #34353d; }
  .mobile-tabs button { min-height:36px; padding:6px 2px; border-bottom:2px solid transparent; background:none; color:#9b9ca5; font-size:11px; }
  .mobile-tabs button[aria-selected=true] { border-bottom-color:#7585ff; color:#f2f1ed; }
  .mobile-tabs span { margin-left:4px; color:#b0b1ba; font-size:11px; }
  .board { display:block; }
  .column { display:none; }
  .column.mobile-active { display:flex; }
  .token-list { min-height:calc(100dvh - 270px); max-height:none; }
  .workspace-footer { margin-top:11px; }
}
@media(max-width:900px) {
  .topbar { height:51px; padding:0 12px; }
  .nav { margin-left:auto; gap:15px; }
  .connection { width:27px; margin-left:0; }
  .connection #connection-label { display:none; }
  main { min-height:calc(100dvh - 51px); }
  .title-row { min-height:48px; }
  h1 { font-size:18px; }
  .market-context { font-size:11px; }
  .title-actions .button { min-height:28px; }
  .toolbar { margin-top:7px; }
  .trade-review { order:-1; }
}
@media(max-width:560px) {
  .brand strong { font-size:17px; }
  .brand span { display:none; }
  .nav { gap:11px; }
  .navitem { font-size:10px; }
  .header-right { margin-left:8px; }
  .title-row>div:first-child { gap:6px; }
  .market-context { font-size:11px; }
  .title-actions .button { padding:4px 6px; font-size:11px; }
  .select-wrap { min-width:0; padding:0 5px; }
  .select-wrap select { max-width:none; width:100%; font-size:11px; }
  .filter-button { font-size:11px; padding:5px 7px; }
  .filter-panel label { width:calc(50% - 7px); }
  .filter-panel input[type=number] { width:100%; }
  .board-meta { margin:6px 1px; }
  .token-card { grid-template-columns:40px minmax(0,1fr) 82px; gap:7px; min-height:90px; padding:8px; }
  .row-signals { gap:2px 7px; }
  .row-signal { font-size:12px; }
  .row-signals { max-height:none; }
  .workspace-footer span:first-child { max-width:67%; }
}
@media(max-width:370px) {
  .market-context { display:none; }
  .token-card { grid-template-columns:38px minmax(0,1fr) 77px; gap:6px; padding:8px; }
  .token-art { width:38px; height:38px; }
  .row-subtitle span:last-child { display:none; }
  .row-subtitle i { display:none; }
  .row-signals { gap:2px 5px; }
  .row-signal { font-size:12px; }
  .quick-review { font-size:11px; }
}

/* Printer paper identity above a dense market work surface. */
.topbar { --text:#1d1d20; --ink:#1d1d20; --muted:#57565a; --line:#d7d3ca; --brand:#3049db; color:#1d1d20; color-scheme:light; background:#f1eee7; border-bottom:1px solid #d1cdc4; }
.topbar .brand strong { color:#1b1b1e; font-size:20px; letter-spacing:-.8px; }
.topbar .brand span { color:#66646a; border-color:#c8c4bb; }
.topbar .brandmark { width:51px; height:51px; margin:-10px -8px -10px -10px; }
.topbar .navitem { color:#626068; }
.topbar .navitem.active { color:#1c1c22; }
.topbar .navitem.active:after { background:#3049db; height:3px; }
.topbar .navitem span { background:#e3dfd5; color:#4a4850; }
.topbar .local { color:#6b6970; }
.topbar .connection { background:#f9f7f1; border-color:#c9c5bd; color:#35343a; }
.topbar .connection:hover { background:#fff; }
.topbar .connection.connected .status-dot { background:#3049db; }

.screening-strip { display:flex; align-items:center; justify-content:space-between; min-height:44px; gap:16px; border-bottom:1px solid #34353d; }
.screening-strip[hidden] { display:none; }
.screening-views { display:flex; align-items:stretch; gap:24px; height:43px; }
.screening-views button { position:relative; min-height:43px; padding:0 2px; color:#a5a5af; background:none; font-size:12px; font-weight:600; }
.screening-views button[aria-pressed=true] { color:#f3f0ea; }
.screening-views button[aria-pressed=true]:after { content:""; position:absolute; left:0; right:0; bottom:0; height:2px; background:#8390f5; }
.screening-views span { margin-left:4px; color:#b5b5be; font-size:11px; font-variant-numeric:tabular-nums; }
.screening-views button[aria-pressed=true] span { color:#d1d5ff; }
.screening-strip p { margin:0; color:#b0b1ba; font-size:11px; line-height:1.35; text-align:right; }
.token-card { min-height:112px; }
.token-card.candidate { box-shadow:inset 2px 0 #7886ef; }
.token-card.hidden { box-shadow:inset 2px 0 #c98578; }
.row-verdict { display:flex; align-items:center; flex-wrap:wrap; gap:1px 7px; min-height:17px; overflow:visible; white-space:normal; }
.row-verdict .verdict { flex:none; font-size:12px; font-weight:650; color:#cfd0d9; white-space:nowrap; }
.row-verdict .verdict.candidate { color:#aeb8ff; }
.row-verdict .verdict.hidden { color:#eea99c; }
.row-verdict .printer-origin { flex:none; color:#f0e7d5; font-size:11px; font-weight:650; }
.row-verdict .identity-unverified { flex:none; color:#e3b4a6; font-size:11px; }
.row-subtitle { height:18px; }
.row-signals { margin-top:5px; max-height:none; }
.quick-review { background:#2d2e36; border-color:#4b4c57; color:#eeedf2; }
.quick-review:hover { background:#3b3d47; border-color:#777988; }
.token-card.hidden .row-market-value:first-child strong { color:#e9afa5; }
.trade-withheld { border-left:3px solid #e0a093; }
.trade-withheld p { margin:10px 0 0; color:#bdbec8; font-size:11px; line-height:1.5; }
.detail-screening { padding:14px 16px; margin:0 0 10px; border:1px solid #4b4c58; border-left:3px solid #777eaa; border-radius:5px; background:#202127; }
.detail-screening.candidate { border-left-color:#8793ff; }
.detail-screening.hidden { border-left-color:#e0a093; }
.screening-head { display:flex; justify-content:space-between; align-items:baseline; gap:14px; }
.screening-head span { color:#a9aab5; font-size:11px; }
.screening-head h3 { margin:3px 0 0; font-size:15px; line-height:1.2; }
.screening-head>strong { color:#d2d3dc; font-size:11px; font-weight:600; white-space:nowrap; }
.screening-reasons,.screening-gaps ul { margin:9px 0; padding-left:19px; }
.screening-reasons li { margin:6px 0; font-size:11px; color:#d8d8df; }
.screening-reasons li strong { margin-right:7px; color:#f1f0f1; }
.screening-reasons li span { color:#b9bac4; }
.screening-gaps { color:#b9bac4; font-size:11px; }
.screening-gaps summary { cursor:pointer; }
.screening-gaps li { margin:4px 0; }
.origin-confirmed { margin:9px 0 0; color:#f0e6d3; font-size:11px; }
.origin-confirmed a { color:#c5ccff; text-decoration:underline; }
.origin-unverified { margin:9px 0 0; color:#d1b6ac; font-size:11px; }
.screening-foot { margin:10px 0 0; color:#999aa6; font-size:11px; }
@media(max-width:1100px) {
  .screening-strip { flex-wrap:wrap; gap:0; }
  .screening-strip p { flex:1; min-width:230px; }
  .token-list { min-height:calc(100dvh - 315px); }
}
@media(max-width:650px) {
  .screening-strip { display:block; }
  .screening-views { justify-content:space-between; gap:10px; }
  .screening-strip p { margin:5px 0 7px; text-align:left; font-size:11px; }
  .topbar .local { display:none; }
  .token-card { min-height:116px; }
  .row-signals { max-height:none; }
  .row-signal { font-size:12px; }
  .quick-review { font-size:11px; }
  .token-list { min-height:calc(100dvh - 370px); }
}
