/* RECATOOLS — Linear Equations Solver */
.le-wrap { padding: 1.25rem; }
.le-sizes { display: flex; gap: .4rem; justify-content: center; margin-bottom: 1.25rem; }
.le-sizes button { padding: .45rem 1rem; font-size: .85rem; font-weight: 600; border: 1px solid #ebebeb; background: #fff; border-radius: 999px; cursor: pointer; color: #6b6760; }
.le-sizes button[aria-pressed="true"] { background: #4f46e5; color: #fff; border-color: #4f46e5; }
.le-eq { display: flex; align-items: center; gap: .3rem; justify-content: center; margin-bottom: .5rem; flex-wrap: wrap; }
.le-cell { width: 52px; padding: .5rem .3rem; border: 1px solid #ebebeb; border-radius: 8px; font-size: 1rem; text-align: center; font-variant-numeric: tabular-nums; }
.le-cell:focus { outline: none; border-color: #4f46e5; box-shadow: 0 0 0 3px rgba(79,70,229,.15); }
.le-var { font-weight: 700; color: #6366f1; font-size: 1.05rem; padding: 0 .1rem; }
.le-eqsym { color: #6b6760; padding: 0 .2rem; }
.le-result { margin-top: 1.5rem; }
.le-solbox { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.le-sol { background: #f5f3ff; border: 1px solid #ddd6fe; border-radius: 14px; padding: 1rem 1.4rem; text-align: center; }
.le-sol span { display: block; font-size: 1rem; font-weight: 700; color: #6366f1; } .le-sol b { font-size: 1.8rem; color: #4338ca; font-variant-numeric: tabular-nums; }
.le-verdict { text-align: center; font-size: 1.05rem; padding: 1rem; border-radius: 14px; background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.le-detlabel, .le-cramer { font-size: .85rem; color: #6b6760; text-align: center; margin-top: .6rem; line-height: 1.5; }
.le-cramer b { color: #4338ca; }
.le-work { margin-top: 1.5rem; }
.le-work-head { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #7c3aed; margin: 1rem 0 .5rem; }
.le-matrix { margin: 0 auto; border-collapse: collapse; }
.le-matrix td { padding: .4rem .7rem; text-align: center; font-variant-numeric: tabular-nums; border: 1px solid #e5e7eb; }
.le-matrix td.le-aug { border-left: 2px solid #4338ca; background: #f5f3ff; }
