/* Beat the Index — styles. Loaded globally by Dash from /assets, so every rule is scoped under .bti-app. The page kit of the main
   app (assets/app_pages/pages_style.css: .pk-scope, .pk-card, .pk-kpis, .pk-pills, .pk-chip) does most of the work.
   Tokens: panels rgba(0,0,0,0.6), chips rgba(255,255,255,0.06), radius 10px, text #e8e8e8, muted #9fb3c8, headings #cfefff,
   accent #f0a030, profit #3fbf7f, loss #e66767. */

.bti-app { color: #e8e8e8; font-size: 13px; padding-bottom: 28px; }
.bti-app * { box-sizing: border-box; }
.bti-no { color: #9fb3c8; padding: 40px; text-align: center; }

/* header (leave ~200px on the right for the app toolbar) */
.bti-top { display: flex; align-items: flex-end; gap: 18px; padding: 0 0 10px 0; }
/* the book beside the title: the app's toolbar (fixed, top right) covers the right end of the first line */
.bti-title { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 2px; }
.bti-brand h3 { margin: 0; font-size: 1.3rem; color: #cfefff; font-weight: 600; letter-spacing: .2px; }
.bti-brand h3 span { color: #9fb3c8; font-weight: 400; font-size: .95rem; }
.bti-brand > div { color: #9fb3c8; font-size: .78rem; max-width: 880px; line-height: 1.45; }
.bti-bookbox { width: 230px; flex: none; }

/* the tabs, grouped by what they are for */
.bti-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: flex-end; margin: 0 0 10px; }
.bti-navg { min-width: 0; }
.bti-navg:last-child { margin-left: auto; }
.bti-navk { color: #7f93a6; font-size: .6rem; text-transform: uppercase; letter-spacing: .6px; margin: 0 0 3px 3px; }
.bti-navr { display: flex; gap: 2px; background: rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.07); border-radius: 10px; padding: 3px; }
.bti-app button.bti-navb { background: transparent; border: 1px solid transparent; border-radius: 7px; color: #cfdcea; font-size: .78rem; padding: 3px 11px; cursor: pointer; white-space: nowrap; }
.bti-app button.bti-navb i { color: #7f93a6; font-size: .72rem; margin-right: 2px; }
.bti-app button.bti-navb:hover { background: rgba(255,255,255,0.07); }
.bti-app button.bti-navb.on { border-color: #f0a030; background: rgba(240,160,48,0.12); color: #f5d6a3; }
.bti-app button.bti-navb.on i { color: #f0a030; }

/* grids */
.bti-g21 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 10px; align-items: start; }
.bti-g31 { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 10px; align-items: start; }
.bti-g11 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; }
.bti-g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.bti-mac { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: stretch; margin-bottom: 10px; }
.bti-macc { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.bti-macc > .pk-card { flex: 1 1 auto; display: flex; flex-direction: column; margin-bottom: 0; }
.bti-macc .bti-tw { flex: 1 1 auto; overflow: hidden; }
.bti-macc .bti-t { height: 100%; }
.bti-row { align-items: stretch; }
.bti-row > .pk-card { display: flex; flex-direction: column; min-width: 0; }
.bti-end { margin-top: auto; padding-top: 9px; }
.bti-main { min-width: 0; }
.bti-side { position: sticky; top: 6px; }
@media (max-width: 1250px) { .bti-mac { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bti-macc:last-child { grid-column: 1 / -1; flex-direction: row; } .bti-macc:last-child > .pk-card { flex: 1 1 0; min-width: 0; } .bti-g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1000px) { .bti-g21, .bti-g31, .bti-g11, .bti-mac { grid-template-columns: minmax(0, 1fr); } .bti-top { padding-right: 0; flex-wrap: wrap; } }

/* the position summary, and the valuations of the Fundamentals tab */
.bti-g3 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr) minmax(0, 1fr); gap: 10px; align-items: stretch; }
.bti-g3 > .pk-card { display: flex; flex-direction: column; min-width: 0; margin-bottom: 0; }
@media (max-width: 1350px) { .bti-g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bti-g3 > .pk-card:last-child { grid-column: 1 / -1; } }
@media (max-width: 1000px) { .bti-g3 { grid-template-columns: minmax(0, 1fr); } }
.bti-ctl .bti-c-wide { width: 330px; flex: none; }
.bti-ctl .bti-c-exp { width: 170px; flex: none; }
.bti-ctl .bti-c-k { width: 250px; flex: none; }
.bti-c-msg { flex: 1 1 100%; text-align: right; min-height: 0; }
.bti-win { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 2px 0 6px; }
.bti-win .bti-chk label { margin: 0 0 0 6px; }
.bti-win .bti-k { margin: 0; }
.bti-q { margin-left: 5px; font-size: .7rem; color: #9fb3c8; cursor: help; }
.bti-c-text { flex: 1 1 260px; max-width: 560px; padding-top: 20px; }
.bti-case p { margin: 0 0 5px; }
.bti-case p:last-child { margin-bottom: 0; }
.bti-gap { margin-bottom: 7px; }
.bti-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.bti-mks { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0 14px; }
.bti-mk { align-items: center; }
.bti-mk .bti-pm { width: 62%; }
.bti-vt { color: #cfefff; font-size: .82rem; font-weight: 600; margin: 12px 0 6px 2px; }
.bti-vrow { margin-bottom: 6px; }
.bti-vtab td .pk-muted { font-size: .68rem; }
.bti-vtab .bti-pb { min-width: 40px; }
.bti-vctl { margin-bottom: 8px; }
.bti-g3 .bti-t td, .bti-g3 .bti-t th { padding-left: 4px; padding-right: 4px; }
.bti-g3 .bti-t td:first-child, .bti-g3 .bti-t th { white-space: normal; }
.bti-g3 .bti-t .bti-per { white-space: normal; min-width: 84px; }

/* tables */
.bti-tw { overflow-x: auto; }
.bti-t { width: 100%; border-collapse: collapse; font-size: .74rem; font-variant-numeric: tabular-nums; }
.bti-t th { color: #9fb3c8; font-weight: 500; font-size: .66rem; padding: 3px 7px; border-bottom: 1px solid rgba(255,255,255,0.12); white-space: nowrap; }
.bti-t td { padding: 3px 7px; border-bottom: 1px solid rgba(255,255,255,0.05); white-space: nowrap; }
.bti-t tr:hover td { background: rgba(255,255,255,0.03); }
.bti-l { text-align: left; } .bti-r { text-align: right; }
.bti-tk { color: #cfefff; cursor: pointer; font-weight: 600; }
.bti-tk:hover { color: #f0a030; }
.bti-mod { border-bottom: 1px dotted #f0a030; }
.bti-hc { display: inline-block; min-width: 54px; padding: 0 5px; border-radius: 5px; }
.bti-names .bti-tk { margin-right: 6px; font-weight: 500; font-size: .7rem; }

/* a value against its history, and the balance of the signals */
.bti-pm { display: flex; align-items: center; gap: 6px; }
.bti-pb { flex: 1 1 auto; min-width: 54px; height: 9px; background: rgba(255,255,255,0.08); border-radius: 4px; overflow: hidden; }
.bti-pb > div { height: 100%; border-radius: 4px; }
.bti-pn { flex: none; width: 31px; text-align: right; color: #cfdcea; font-size: .68rem; }
.bti-macc .bti-t td, .bti-macc .bti-t th { padding-left: 4px; padding-right: 4px; }
.bti-macc .bti-t td:first-child { white-space: normal; }
.bti-macc .bti-t th:nth-child(4), .bti-macc .bti-t td:nth-child(4) { width: 27%; min-width: 96px; }
.bti-macc .bti-pb { min-width: 34px; }
.bti-lv th { white-space: normal; vertical-align: bottom; }
.bti-lv .bti-pb { min-width: 34px; }
.bti-lv .bti-dot { margin: 0 4px 0 0; vertical-align: middle; }
.bti-bals { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: space-around; gap: 6px; }
.bti-br { display: grid; grid-template-columns: 138px minmax(0, 1fr); gap: 8px; align-items: center; }
.bti-bl { color: #cfdcea; font-size: .74rem; }
.bti-bl.all { color: #cfefff; font-weight: 600; }
.bti-bs { display: flex; gap: 2px; height: 17px; }
.bti-bs > div { flex-basis: 0; min-width: 5px; border-radius: 4px; color: #0b1016; font-size: .64rem; font-weight: 600; line-height: 17px; text-align: center; overflow: hidden; }
.bti-bks { display: flex; gap: 14px; margin-top: 7px; }
.bti-bk { color: #9fb3c8; font-size: .68rem; }
.bti-bk .bti-dot { margin: 0 2px 0 0; vertical-align: middle; }

/* notes */
.bti-note { color: #9fb3c8; font-size: .74rem; line-height: 1.4; margin: 2px 0 8px; }
.bti-note i { color: #6f8295; }
.bti-warn { color: #f5d6a3; font-size: .76rem; line-height: 1.4; margin: 2px 0 8px; }
.bti-warn i { color: #f0a030; }
.bti-ok { color: #bfe8c4; font-size: .74rem; margin-bottom: 6px; }
.bti-ok i { color: #3fbf7f; }
.bti-sd { color: #9fb3c8; font-size: .72rem; line-height: 1.4; }
.bti-verdict { background: rgba(240,160,48,0.07); border: 1px solid rgba(240,160,48,0.25); color: #f5e3c4; border-radius: 10px; padding: 8px 12px; margin-bottom: 10px; font-size: .82rem; line-height: 1.45; }
.bti-frozen { color: #cfefff; font-size: .74rem; margin: 2px 0 8px; }
.bti-foot { color: #6f8295; font-size: .68rem; margin-top: 10px; line-height: 1.4; }
.bti-foot i { margin-right: 5px; }
.bti-msg { font-size: .74rem; color: #9fb3c8; }
.bti-qline { font-size: .8rem; margin: 0 0 8px 2px; }
.bti-ch { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }

/* alerts */
.bti-al { font-size: .76rem; padding: 3px 0; line-height: 1.35; display: flex; gap: 7px; }
.bti-dot { font-size: .42rem; margin-top: 5px; }
.bti-al.warn .bti-dot { color: #f0a030; }
.bti-al.bad .bti-dot { color: #e66767; }

/* the welcome */
.bti-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
.bti-step { background: rgba(255,255,255,0.04); border-radius: 10px; padding: 12px; }
.bti-step i { color: #f0a030; font-size: 1.1rem; }
.bti-st { color: #cfefff; font-weight: 600; font-size: .84rem; margin: 6px 0 3px; }

/* controls */
.bti-bar-f { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; }
.bti-field { min-width: 0; }
.bti-k { color: #9fb3c8; font-size: .62rem; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 3px; }
.bti-k[title] { cursor: help; }
.bti-sl { width: 210px; }
.bti-bar-f .bti-field:first-child { width: 150px; }
.bti-ctl { display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: flex-start; }
.bti-ctl .bti-k { height: 16px; line-height: 16px; margin-bottom: 4px; white-space: nowrap; }
.bti-ctl .bti-c-name { width: 170px; flex: none; }
.bti-ctl .bti-sl { flex: 1 1 230px; width: auto; min-width: 210px; }
.bti-ctl .pk-pills > label { min-height: 30px; }
.bti-c-go { margin-left: auto; padding-top: 20px; }
.bti-slk { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.bti-app .bti-slv { color: #f5d6a3; font-size: .78rem; font-weight: 600; letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums; }
.bti-sl > div:last-child, .bti-rl > div:last-child { padding: 0 !important; }
.bti-sl .rc-slider, .bti-rl .rc-slider { padding: 6px 0; margin: 2px 7px 0; width: auto; }
.bti-rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 18px; }
.bti-rl .bti-k { display: flex; text-transform: none; letter-spacing: 0; font-size: .7rem; margin-bottom: 0; }
.bti-rtext { margin-top: 8px; border-top: 1px solid rgba(255,255,255,0.07); padding-top: 3px; }
.bti-rtext p { margin: 5px 0 0; }
.bti-pick { color: #cfefff; font-weight: 600; font-size: .86rem; margin-bottom: 6px; }
.bti-app .bti-in { width: 100%; height: 30px; background: rgba(255,255,255,0.06); color: #e8e8e8; border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; padding: 2px 8px; font-size: .8rem; color-scheme: dark; }
.bti-app .bti-in:focus { outline: none; border-color: rgba(240,160,48,0.7); }
.bti-bar-f input.bti-in { width: 84px; }
.bti-go { margin-left: auto; }
.bti-lead { max-width: 180px; margin-top: 8px; }
.bti-app .rc-slider-track { background-color: #f0a030; }
.bti-app .rc-slider-handle { border-color: #f0a030; background: #1d242b; }
.bti-app .rc-slider-rail { background-color: rgba(255,255,255,0.12); }
.bti-app .rc-slider-mark-text { color: #7f93a6; font-size: .62rem; }
.bti-app .Select-control { height: 30px; }
.bti-app .Select--single > .Select-control .Select-value, .bti-app .Select-placeholder { line-height: 28px !important; }
.bti-dd { font-size: .8rem; }
.bti-btns { display: flex; gap: 8px; align-items: center; margin-top: 9px; flex-wrap: wrap; }
.bti-why { max-width: 280px; }
.bti-kv { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; font-size: .76rem; border-bottom: 1px solid rgba(255,255,255,0.04); }
.bti-kv b { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }

/* the ticket */
.bti-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 9px 12px; margin-top: 10px; }
.bti-form3 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 12px; margin-bottom: 10px; }
.bti-wide { grid-column: span 2; }
.bti-only { display: none; }
.bti-form.k-option .o, .bti-form.k-stock .s, .bti-form.k-fx .x, .bti-form.k-cash .c, .bti-form.k-adjust .a, .bti-form.k-event .e { display: block; }
.bti-pvs { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 10px; padding: 7px 10px; background: rgba(255,255,255,0.04); border-radius: 8px; }
.bti-pv { font-size: .76rem; }
.bti-pv b { font-variant-numeric: tabular-nums; }

/* the journal */
.bti-jg { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 10px; align-items: start; }
@media (max-width: 1000px) { .bti-jg { grid-template-columns: minmax(0, 1fr); } }
.bti-jl, .bti-jv { min-width: 0; }
.bti-app textarea.bti-ta { width: 100%; min-height: 130px; background: rgba(255,255,255,0.06); color: #e8e8e8; border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; padding: 6px 8px; font-size: .8rem; resize: vertical; }
.bti-app textarea.bti-ta.short { min-height: 48px; }
.bti-jl .bti-field { margin-bottom: 8px; }
.bti-chk label { font-size: .74rem; margin-right: 12px; color: #cfdcea; }
.bti-chk input { margin-right: 4px; accent-color: #f0a030; }
.bti-up { border: 1px dashed rgba(255,255,255,0.2); border-radius: 8px; padding: 8px; text-align: center; color: #9fb3c8; font-size: .76rem; cursor: pointer; margin: 8px 0 4px; }
.bti-up:hover { border-color: #f0a030; }
.bti-app button.bti-je { display: block; width: 100%; text-align: left; background: rgba(255,255,255,0.04); border: 1px solid transparent; border-radius: 8px; color: #e8e8e8; padding: 6px 8px; margin-bottom: 5px; cursor: pointer; }
.bti-app button.bti-je:hover { background: rgba(255,255,255,0.08); }
.bti-app button.bti-je.on { border-color: #f0a030; }
.bti-jid { color: #f0a030; margin-right: 6px; font-variant-numeric: tabular-nums; }
.bti-jt { font-weight: 600; font-size: .78rem; }
/* what became of a position summary's contract */
.bti-tag { margin-left: 8px; padding: 0 6px; border-radius: 6px; font-size: .66rem; border: 1px solid rgba(255,255,255,0.18); color: #9fb3c8; white-space: nowrap; }
.bti-tag.open { color: #86b6ef; border-color: rgba(134,182,239,0.5); }
.bti-tag.worthless { color: #3fbf7f; border-color: rgba(63,191,127,0.5); }
.bti-tag.allocated, .bti-tag.early { color: #e66767; border-color: rgba(230,103,103,0.55); }
.bti-jl .pk-pills { margin-bottom: 8px; }
.bti-jh { color: #cfefff; font-weight: 600; font-size: 1rem; }
.bti-md { margin: 8px 0; font-size: .82rem; line-height: 1.5; }
.bti-md p:last-child { margin-bottom: 0; }
.bti-links { display: flex; flex-direction: column; gap: 2px; margin: 6px 0; }
.bti-link { color: #86b6ef; font-size: .74rem; word-break: break-all; }
.bti-files { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

/* the Documentation panel */
.bti-doc { color: #dfe6ee; font-size: .82rem; line-height: 1.55; max-width: 860px; padding: 4px 6px; }
.bti-doc h2 { color: #cfefff; font-size: .95rem; margin: 16px 0 5px; }

/* ---- the learning layer (bti_help.py / bti_help.js): only under .bti-help, the accounts of bti_help.HELP_USERS ---- */
.bti-help .bti-hh { text-decoration: underline dotted rgba(240,160,48,0.8); text-decoration-thickness: 1.5px; text-underline-offset: 3px; cursor: help; }
.bti-help .pk-card-title.bti-hh { text-decoration: none; }
.bti-help .pk-card-title.bti-hh::after { content: "?"; display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px;
    margin-left: 7px; border-radius: 50%; background: rgba(240,160,48,0.16); border: 1px solid rgba(240,160,48,0.7); color: #f5c06a;
    font-size: 10.5px; font-weight: 700; vertical-align: 2px; cursor: help; }
.bti-help .pk-kpi { cursor: help; }
.bti-help .bti-navb { cursor: help; }
/* the start group and its tab stand out */
.bti-help .bti-navg-start .bti-navr { border-color: rgba(240,160,48,0.55); background: rgba(240,160,48,0.08); }
.bti-help .bti-navg-start .bti-navk { color: #f0a030; }
.bti-app .bti-ftc { padding: 18px 26px 22px; max-width: 1040px; }
.bti-app .bti-ft h1 { color: #f5d6a3; font-size: 1.35rem; margin: 0 0 6px; }
.bti-app .bti-ft h2 { color: #cfefff; font-size: 1.02rem; margin: 22px 0 6px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.07); }
.bti-app .bti-ft p, .bti-app .bti-ft li { line-height: 1.6; font-size: .86rem; }
.bti-app .bti-ft strong { color: #f5d6a3; }
.bti-app .bti-ft em { color: #cfefff; font-style: normal; border-bottom: 1px dotted rgba(207,239,255,0.5); }

/* the drop-down itself (appended to <body>, so not under .bti-app) */
.bti-hp { position: fixed; z-index: 2147483000; display: none; max-width: 380px; min-width: 220px; padding: 11px 14px 12px 16px;
    background: rgba(12,20,28,0.97); border: 1px solid rgba(240,160,48,0.6); border-left: 4px solid #f0a030; border-radius: 10px;
    box-shadow: 0 14px 36px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,0,0,0.4); color: #e8e8e8; font: 13px/1.5 Inter, "Segoe UI", system-ui, sans-serif;
    opacity: 0; transform: translateY(-8px); transition: opacity .14s ease, transform .14s ease; pointer-events: auto; }
.bti-hp.up { transform: translateY(8px); }
.bti-hp.on { opacity: 1; transform: translateY(0); }
.bti-hp-ar { position: absolute; top: -7px; width: 12px; height: 12px; margin-left: -6px; background: rgba(12,20,28,0.97);
    border-left: 1px solid rgba(240,160,48,0.6); border-top: 1px solid rgba(240,160,48,0.6); transform: rotate(45deg); }
.bti-hp.up .bti-hp-ar { top: auto; bottom: -7px; transform: rotate(225deg); }
.bti-hp-h { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.bti-hp-q { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%;
    background: #f0a030; color: #10161d; font-weight: 800; font-size: 11.5px; }
.bti-hp-t { color: #f5d6a3; font-weight: 700; font-size: 13px; }
.bti-hp-x b { color: #f5d6a3; }
.bti-hp-x i { color: #cfefff; font-style: normal; }

/* the data jobs: what the last run did (or that one is running) and the button that starts it */
.bti-job { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin: 0 0 8px; min-height: 30px; }
.bti-job-st { font-size: .74rem; color: #9fb3c8; text-align: right; line-height: 1.35; min-width: 0; }
.bti-job-ok i { color: #3fbf7f; }
.bti-job-bad { color: #f3b0b0; }
.bti-job-bad i { color: #e66767; }
.bti-job-run { color: #f0c27a; }
.bti-job-run i { color: #f0a030; }
.bti-app .bti-job button:disabled { opacity: .45; cursor: not-allowed; }
.bti-job button { flex: none; white-space: nowrap; }
/* Settings: one line per source of data (what, when, last run + run now) */
.bti-up { display: grid; grid-template-columns: minmax(200px, 1.1fr) minmax(250px, .9fr) minmax(0, 1.6fr); gap: 0 18px; margin: 10px 0 12px; }
.bti-upc { padding: 9px 0; border-top: 1px solid rgba(255,255,255,0.08); min-width: 0; display: flex; flex-direction: column; justify-content: center; text-align: left; }
.bti-upc .bti-job { margin: 0; }
.bti-upc b { font-size: .8rem; font-weight: 600; }
.bti-sch { display: flex; align-items: center; gap: 8px; }
.bti-sch .bti-sw label { margin: 0; }
.bti-app input.bti-min { width: 64px; flex: none; }
@media (max-width: 1100px) { .bti-up { grid-template-columns: minmax(0, 1fr); } .bti-upc + .bti-upc { border-top: 0; padding-top: 0; }
  .bti-upc:nth-child(3n + 1) { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 9px; } .bti-job { justify-content: flex-start; } .bti-job-st { text-align: left; } }

/* the Desk: where the result comes from, one line per source (label, bar, amount) */
.bti-inc { display: grid; grid-template-columns: minmax(0, 1fr) 90px 92px; gap: 10px; align-items: center; padding: 4px 0; font-size: .78rem;
           border-top: 1px solid rgba(255,255,255,0.06); }
.bti-inc:first-child { border-top: 0; }
.bti-inc b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.bti-inc.part { border-top: 0; padding-top: 0; font-size: .72rem; color: #9fb3c8; }
.bti-inc.part .bti-inl { padding-left: 16px; }
.bti-inc.part b { font-weight: 400; color: #9fb3c8; }
.bti-inc.total { border-top: 1px solid rgba(255,255,255,0.25); margin-top: 3px; font-weight: 600; }
.bti-inb { display: block; height: 7px; background: rgba(255,255,255,0.07); border-radius: 4px; overflow: hidden; }
.bti-inb span { display: block; height: 100%; border-radius: 4px; opacity: .8; }
.bti-inc.part .bti-inb span { opacity: .4; }
.bti-inc.total .bti-inb { visibility: hidden; }
