/**
 * /characterforge/css/value_breakdowns.css
 * Compact stat buttons and gold-accented calculation tables for both sheets
 * and the advanced editor, including visible keyboard focus and print behavior.
 */
.cf-value-button { font:inherit; color:inherit; background:transparent; border:0; border-bottom:0; padding:2px 3px; cursor:pointer; line-height:inherit; min-height:24px; }
.cf-value-button:focus-visible { outline:2px solid var(--gold, #c6a45d); outline-offset:3px; }
.cf-breakdown { text-align:left; color:#ddd; font-family:'Crimson Pro',serif; }
.cf-breakdown-total { font-size:1.2rem; color:var(--gold-bright,#e9c779); }
.cf-breakdown summary { cursor:pointer; padding:8px 0; font-family:'Cinzel',serif; }
/* Tables need explicit foreground/background colors: sheet themes and browser
   table defaults must not replace the dark modal's readable text colors. */
#forge-modal-overlay .cf-breakdown table { width:100%; border-collapse:collapse; font-size:0.95rem; color:#eee; background:#1a1a1a; }
#forge-modal-overlay .cf-breakdown th,
#forge-modal-overlay .cf-breakdown td { padding:8px 5px; border-bottom:1px solid #555; text-align:left; overflow-wrap:anywhere; color:#eee; background:#1a1a1a; }
/* Keep column labels intact while descriptive body cells remain wrappable. */
#forge-modal-overlay .cf-breakdown th { color:#e9c779; background:#25221c; white-space:nowrap; overflow-wrap:normal; word-break:normal; }
#forge-modal-overlay .cf-breakdown th:last-child,
#forge-modal-overlay .cf-breakdown td:last-child { text-align:right; color:#e9c779; }
@media print { .cf-value-button { border:0; padding:0; } }
