/* RECATOOLS — Rule of 72 Calculator */
.r72-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
@media (max-width: 640px) { .r72-inputs { grid-template-columns: 1fr; } }

.input-row { margin-bottom: 0; }
.input-row label { display: block; font-size: .75rem; font-weight: 600; color: #6b6760; margin-bottom: .25rem; }
.input-row .input-prefix-wrap { display: flex; align-items: stretch; border: 1px solid #ebebeb; border-radius: 6px; background: #fff; overflow: hidden; }
.input-row .ipx-label { padding: .5rem .65rem; background: #f0ede9; font-size: .8rem; font-weight: 600; color: #6b6760; border-right: 1px solid #ebebeb; }
.input-row .ipx-label.ipx-suffix { border-left: 1px solid #ebebeb; border-right: none; }
.input-row input[type="number"], .input-row select { flex: 1; border: none; padding: .5rem .65rem; font-size: .9rem; font-family: inherit; background: transparent; color: #1a1814; width: 100%; box-sizing: border-box; }
.input-row select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 1.75rem; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'><path d='M2 3.5l3 3 3-3' stroke='%236b6760' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>"); background-position: right .55rem center; background-repeat: no-repeat; }
.input-row input:focus, .input-row select:focus { outline: none; box-shadow: inset 0 0 0 2px #E8472F; }

.calc-btn { width: 100%; margin: 1rem 0; padding: .75rem 1.25rem; background: #E8472F; color: #fff; border: none; border-radius: 8px; font-size: .95rem; font-weight: 700; cursor: pointer; font-family: inherit; }
.calc-btn:hover { background: #c8391f; }

.res-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .75rem; margin-top: 1rem; }
@media (max-width: 700px) { .res-grid { grid-template-columns: 1fr; } }
.res-card { padding: 1.25rem; background: #fafaf9; border: 1px solid #ebebeb; border-radius: 12px; text-align: center; }
.res-card.res-card--approx { background: #fef9c3; border-color: #fde047; }
.res-card.res-card--exact { background: #f0fdf4; border-color: #bbf7d0; }
.res-card .res-label { font-size: .68rem; font-weight: 700; color: #6b6760; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .4rem; }
.res-card .res-value { font-size: 1.5rem; font-weight: 800; font-family: 'IBM Plex Serif', serif; color: #0d1b2a; }
.res-delta { margin-top: 1rem; text-align: center; font-size: .85rem; color: #475569; }

.ref-table-wrap { margin-top: 1rem; overflow-x: auto; border: 1px solid #ebebeb; border-radius: 10px; }
.ref-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.ref-table thead tr { background: #fafaf9; border-bottom: 1px solid #ebebeb; }
.ref-table th { text-align: left; padding: .55rem .75rem; font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: #6b6760; font-weight: 700; }
.ref-table th:nth-child(3), .ref-table th:nth-child(4) { text-align: right; }
.ref-table td { padding: .5rem .75rem; border-bottom: 1px solid #f3f1ec; }

/* cache-buster: 2026-05-24T05:06:05Z */
