/* Blackjack Coach and interactive strategy reference */
.bj-coach-controls{display:flex;gap:8px;align-items:center;justify-content:space-between;margin-bottom:12px;flex-wrap:wrap}
.bj-coach-pill{font-size:11px;font-weight:750;border:1px solid #b6cabb;border-radius:999px;background:#edf5eb;color:#235b49;padding:6px 10px}
.bj-coach-toggle{border:1px solid #98b7a1;background:transparent;color:inherit;border-radius:8px;padding:8px 11px;min-height:44px;cursor:pointer;font-size:12px;font-weight:800}
.bj-advice{background:#f4f8f0;border:1px solid #d5e6d3;border-radius:13px;padding:16px;color:#203e2d}
.bj-advice h3{font-size:19px;margin:4px 0 10px;color:#143f2c}
.bj-advice p{font-size:13px;line-height:1.7;margin:0 0 10px}
.bj-advice .bj-advice-note{font-size:11px;color:#597463;margin:10px 0 0}
.bj-advice-off{background:#edf1e9;border:1px solid #dae6d7;border-radius:12px;padding:15px;color:#264736;font-size:13px;line-height:1.7}
.bj-score-box{margin-top:15px;padding:15px;border:1px solid #d5e6d3;background:#f4f9f2;border-radius:12px}
.bj-score-box h4{margin:0 0 6px;font-size:15px}.bj-score-box .score-num{font-size:24px;font-weight:850;color:#246a4e}
.bj-score-box p{font-size:12px;line-height:1.6;margin:6px 0 0;color:#5d7362}
.bj-chart-note{border:1px solid #d7e5d8;border-radius:12px;background:#f3f7f0;padding:14px 16px;margin:13px 0 18px;font-size:12px;line-height:1.9;color:#385b46}
.bj-chart-panel{margin:25px 0;border:1px solid var(--line,#dce5d9);border-radius:15px;background:var(--surface,#fff);padding:16px}
.bj-chart-heading h2{font-size:18px;margin:0 0 8px}.bj-chart-heading p{font-size:12px;color:var(--muted,#69816c);margin:0 0 12px}
.bj-chart-scroll{overflow:auto;max-width:100%;border-radius:8px}
.bj-chart-table{border-collapse:separate;border-spacing:3px;width:100%;min-width:565px;text-align:center}
.bj-chart-table th{font-size:11px;font-weight:800;color:var(--muted,#6b826d);padding:6px 2px;white-space:nowrap}
.bj-chart-table tbody th{min-width:80px;text-align:left;font-size:12px;color:inherit}
.bj-chart-table td{padding:0}.bj-chart-cell{display:block;width:100%;min-height:36px;border:1px solid transparent;border-radius:5px;font-size:13px;font-weight:850;cursor:pointer}
.bj-chart-hit{background:#cbf0d3;color:#126832}.bj-chart-stand{background:#fff2b6;color:#76520f}.bj-chart-double{background:#cddfff;color:#234e8f}.bj-chart-split{background:#ead5ff;color:#61319d}
.bj-chart-cell.active{outline:3px solid #dca832;outline-offset:1px}.bj-chart-cell:focus-visible{outline:3px solid #0d735d;outline-offset:1px}
.bj-chart-detail,.bj-chart-highlight{background:#e9f3e8;border:1px solid #bfdac5;border-radius:13px;padding:15px 18px;margin:14px 0;color:#1e4932}
.bj-chart-detail strong,.bj-chart-highlight strong{font-size:15px}.bj-chart-detail p,.bj-chart-highlight p{font-size:13px;line-height:1.7;margin:6px 0 0}.bj-chart-highlight a{color:#235b49;font-weight:800;display:inline-block;margin-top:10px}
[data-theme="dark"] .bj-advice,[data-theme="dark"] .bj-advice-off,[data-theme="dark"] .bj-score-box,[data-theme="dark"] .bj-chart-note,[data-theme="dark"] .bj-chart-detail,[data-theme="dark"] .bj-chart-highlight{background:#234939;color:#e8f5e9;border-color:#507b57}
[data-theme="dark"] .bj-advice h3,[data-theme="dark"] .bj-score-box .score-num,[data-theme="dark"] .bj-chart-highlight a{color:#f0d58b}
[data-theme="dark"] .bj-advice .bj-advice-note,[data-theme="dark"] .bj-score-box p{color:#c1d2c3}
@media(max-width:760px){.bj-chart-panel{padding:10px}.bj-chart-table{min-width:500px}.bj-coach-toggle{flex-shrink:0}}