/* RECATOOLS — Long Division Calculator */
.ld-wrap { padding: 1.25rem; }
.ld-inputs { display: flex; align-items: center; justify-content: center; gap: .75rem; flex-wrap: wrap; }
.ld-inputs input { width: 130px; padding: .65rem .8rem; border: 1px solid #ebebeb; border-radius: 10px; font-size: 1.2rem; text-align: center; font-variant-numeric: tabular-nums; }
.ld-inputs input:focus { outline: none; border-color: #4f46e5; box-shadow: 0 0 0 3px rgba(79,70,229,.15); }
.ld-divsym { font-size: 1.5rem; color: #6366f1; font-weight: 700; }
.ld-error { margin: 1rem 0 0; padding: .8rem 1rem; background: #fef2f2; border-left: 4px solid #ef4444; border-radius: 10px; color: #991b1b; font-size: .9rem; }
.ld-result { margin-top: 1.5rem; }
.ld-answer { text-align: center; font-size: 1.3rem; color: #1a1814; }
.ld-decimal { font-size: .95rem; color: #6b6760; margin-top: .3rem; }
.ld-work { margin-top: 1.5rem; }
.ld-work-head { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #7c3aed; margin-bottom: .5rem; }
.ld-pre { background: #f5f3ff; border: 1px solid #ddd6fe; border-radius: 12px; padding: 1.1rem 1.3rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.05rem; line-height: 1.5; overflow-x: auto; color: #1e1b4b; }
.ld-steps { margin: 1.25rem 0 0; padding-left: 1.3rem; display: grid; gap: .4rem; }
.ld-steps li { font-size: .9rem; color: #4b4b4b; line-height: 1.5; }
.ld-steps b { color: #4338ca; }
