/* BProud Trader Toolkit: extends terminal.css + calculator.css tokens */
.bptk-crumbs { display: flex; gap: 8px; align-items: center; padding-top: 22px; font-size: 12.5px; color: var(--bpt-muted); flex-wrap: wrap; }
.bptk-crumbs a { color: var(--bpt-muted); text-decoration: none; }
.bptk-crumbs a:hover { color: var(--bpt-main-l); }
.bptk-crumbs b { color: var(--bpt-strong); font-weight: 600; }
.bptk-crumbs + .bpt-head { padding-top: 10px; }

/* hub */
.bptk-group { margin: 22px 0 10px; }
.bptk-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-bottom: 8px; }
.bptk-card { display: flex; flex-direction: column; gap: 8px; margin: 0; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.bptk-card:hover { border-color: var(--bpt-main-l); transform: translateY(-2px); }
.bptk-card-t { font-size: 16px; font-weight: 700; color: var(--bpt-strong); display: flex; justify-content: space-between; gap: 8px; }
.bptk-card-t i { font-style: normal; color: var(--bpt-main-l); transition: transform .15s; }
.bptk-card:hover .bptk-card-t i { transform: translateX(3px); }
.bptk-card-d { font-size: 13.5px; line-height: 1.5; color: var(--bpt-muted); }
.bptk-hub-foot { margin-top: 18px; }

/* shared form bits */
.bptk [hidden] { display: none !important; }
.bptk-range { accent-color: var(--bpt-main); width: 100%; margin: 6px 0 0; }
.bptk-levq button { padding: 3px 9px; }
.bptk-seg button { padding: 9px 14px; font-size: 13px; }
.bptk-inline { font-size: 15px; font-weight: 700; color: var(--bpt-strong); padding: 10px 0; font-variant-numeric: tabular-nums; }
.bpc-kv b.up, .bpc-big.up { color: var(--bpt-up); }
.bpc-kv b.dn, .bpc-big.dn { color: var(--bpt-down); }

/* risk / reward take profits */
.bptk-tps { display: flex; flex-direction: column; gap: 10px; }
.bptk-tps .bpc-lab em { font-style: normal; font-weight: 400; }
.bptk-tp { grid-template-columns: 1.6fr 1fr; }

/* DCA buys */
.bptk-buys { display: flex; flex-direction: column; gap: 8px; }
.bptk-buys-h, .bptk-buy { display: grid; grid-template-columns: 34px 1fr 1fr 34px; gap: 8px; align-items: center; }
.bptk-buy > span { font-size: 12px; color: var(--bpt-muted); text-align: center; }
.bptk-buy button { background: transparent; border: 1px solid var(--bpt-line); color: var(--bpt-muted); border-radius: 8px; height: 34px; font-size: 16px; line-height: 1; padding: 0; }
.bptk-buy button:hover { color: var(--bpt-down); border-color: var(--bpt-down); }
.bptk-add { align-self: flex-start; padding: 8px 14px; font-size: 13px; }

/* converter */
.bptk-conv { display: flex; flex-direction: column; gap: 10px; }
.bptk-convrow { display: grid; grid-template-columns: 1fr 190px; gap: 8px; }
.bptk-convrow .bpc-input input { font-size: 20px; }
.bptk-convrow .bpc-asset select { width: 100%; }
.bptk-swap { align-self: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--bpt-line); background: var(--bpt-card-2); color: var(--bpt-main-l); font-size: 18px; line-height: 1; padding: 0; }
.bptk-swap:hover { border-color: var(--bpt-main-l); }

/* drawdown table + compound chart */
.bptk-table-wrap { overflow-x: auto; }
.bptk-dd th, .bptk-dd td { text-align: right; }
.bptk-dd th:first-child, .bptk-dd td:first-child { text-align: left; width: auto; color: var(--bpt-strong); }
.bptk-dd tr.on td { background: rgba(137, 0, 242, .12); }
.bptk-chart { display: flex; align-items: flex-end; gap: 2px; height: 140px; padding-top: 6px; }
.bptk-chart span { flex: 1; min-width: 2px; border-radius: 3px 3px 0 0; background: var(--bpt-main); position: relative; }
.bptk-chart span i { position: absolute; left: 0; right: 0; bottom: 0; background: var(--bpt-card-2); border-radius: 3px 3px 0 0; }
.bptk-legend { display: flex; gap: 14px; font-size: 12px; color: var(--bpt-muted); }
.bptk-legend b { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; background: var(--bpt-main); }
.bptk-legend b.dep { background: var(--bpt-card-2); border: 1px solid var(--bpt-line); }

/* explainer side */
.bptk-faq details { border-top: 1px solid var(--bpt-line); padding: 10px 0; }
.bptk-faq summary { cursor: pointer; color: var(--bpt-strong); font-weight: 600; font-size: 14.5px; }
.bptk-faq p { margin: 8px 0 2px; }
.bptk-side .bpt-h3:first-child { margin-top: 0; }
.bptk-more { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.bptk-more a { display: block; padding: 8px 0; border-bottom: 1px solid var(--bpt-line); color: var(--bpt-text); text-decoration: none; font-size: 14px; }
.bptk-more a:hover { color: var(--bpt-main-l); }
.bptk-link { font-size: 13px; color: var(--bpt-main-l); text-decoration: none; }

@media (max-width: 640px) {
  .bptk-convrow { grid-template-columns: 1fr; }
  .bptk-tp { grid-template-columns: 1fr 1fr; }
}
