/* RECATOOLS — Factoring Calculator */
.ft-wrap { padding: 1.25rem; }
.ft-input { width: 100%; padding: .75rem 1rem; border: 1px solid #ebebeb; border-radius: 10px; font-size: 1.15rem; text-align: center; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.ft-input:focus { outline: none; border-color: #4f46e5; box-shadow: 0 0 0 3px rgba(79,70,229,.15); }
.ft-hint { font-size: .75rem; color: #9b968d; text-align: center; margin: .5rem 0 0; }
.ft-error { margin: 1rem 0 0; padding: .8rem 1rem; background: #fef2f2; border-left: 4px solid #ef4444; border-radius: 10px; color: #991b1b; font-size: .9rem; }
.ft-result { margin-top: 1.5rem; }
.ft-poly { text-align: center; font-size: 1.05rem; color: #6b6760; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; margin-bottom: 1rem; }
.ft-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #7c3aed; margin-bottom: .5rem; text-align: center; }
.ft-root-list { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.ft-root { background: #f5f3ff; border: 1px solid #ddd6fe; border-radius: 999px; padding: .45rem 1rem; font-size: 1rem; color: #4338ca; font-variant-numeric: tabular-nums; }
.ft-factored { margin-top: 1.5rem; }
.ft-factored-val { text-align: center; font-size: 1.6rem; color: #4338ca; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.ft-note { margin-top: 1.25rem; padding: .85rem 1rem; background: #fffbeb; border: 1px solid #fde68a; border-radius: 12px; font-size: .85rem; color: #92400e; line-height: 1.55; text-align: center; }
