/* RECATOOLS — Triangle Calculator */
.tc-wrap { padding: 1.25rem; }
.tc-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.tc-col h3 { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #7c3aed; text-align: center; margin: 0 0 .6rem; }
.tc-in { display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; }
.tc-in label { width: 1.4rem; font-weight: 700; color: #6366f1; text-align: center; }
.tc-in input { flex: 1; padding: .55rem .6rem; border: 1px solid #ebebeb; border-radius: 8px; font-size: 1rem; text-align: center; font-variant-numeric: tabular-nums; min-width: 0; }
.tc-in input:focus { outline: none; border-color: #4f46e5; box-shadow: 0 0 0 3px rgba(79,70,229,.15); }
.tc-hint { text-align: center; font-size: .75rem; color: #9b968d; margin: .9rem 0 0; }
.tc-error { margin: 1rem 0 0; padding: .8rem 1rem; background: #fef2f2; border-left: 4px solid #ef4444; border-radius: 10px; color: #991b1b; font-size: .9rem; }
.tc-result { margin-top: 1.5rem; }
.tc-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.tc-sg-h { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #9b968d; margin-bottom: .4rem; }
.tc-srow { display: flex; justify-content: space-between; padding: .45rem .8rem; background: #f5f3ff; border: 1px solid #ddd6fe; border-radius: 8px; margin-bottom: .35rem; }
.tc-srow span { color: #6366f1; font-weight: 700; } .tc-srow b { color: #4338ca; font-variant-numeric: tabular-nums; }
.tc-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: .5rem; margin-top: 1.25rem; }
.tc-sumcard { background: #eef2ff; border: 1px solid #c7d2fe; border-radius: 10px; padding: .6rem .7rem; text-align: center; }
.tc-sumcard span { display: block; font-size: .68rem; color: #6b6760; margin-bottom: .15rem; }
.tc-sumcard b { font-size: 1.05rem; color: #4338ca; text-transform: capitalize; }
@media (max-width: 480px) { .tc-inputs { grid-template-columns: 1fr; } }
