/* RECATOOLS — Restaurant Bill Splitter */
.rbs-section { background: #fafaf9; border: 1px solid #ebebeb; border-radius: 10px; padding: 1rem; margin-bottom: 1rem; }
.rbs-section h3 { margin: 0 0 .75rem; font-size: .9rem; font-weight: 700; color: #1a1814; display: flex; justify-content: space-between; align-items: center; }
.person-row { display: grid; grid-template-columns: 1fr 28px; gap: .5rem; margin-bottom: .4rem; align-items: center; }
.person-row input { padding: .4rem .65rem; border: 1px solid #ebebeb; border-radius: 6px; font-size: .85rem; font-family: inherit; background: #fff; }
.item-row { display: grid; grid-template-columns: 1.5fr 1fr 2fr 28px; gap: .5rem; margin-bottom: .5rem; align-items: center; padding: .5rem; background: #fff; border: 1px solid #ebebeb; border-radius: 6px; }
@media (max-width: 700px) { .item-row { grid-template-columns: 1fr; } }
.item-row .item-name, .item-row .item-price { padding: .4rem .55rem; border: 1px solid #ebebeb; border-radius: 6px; font-size: .85rem; font-family: inherit; background: #fff; }
.item-row .input-prefix-wrap { display: flex; align-items: stretch; border: 1px solid #ebebeb; border-radius: 6px; background: #fff; overflow: hidden; }
.item-row .input-prefix-wrap .ipx-label { padding: .4rem .55rem; background: #f0ede9; font-size: .75rem; font-weight: 600; color: #6b6760; border-right: 1px solid #ebebeb; }
.item-row .input-prefix-wrap input { border: none; padding: .4rem .55rem; font-size: .85rem; font-family: inherit; background: transparent; flex: 1; width: 100%; }
.item-row .taggers { display: flex; flex-wrap: wrap; gap: .25rem .75rem; align-items: center; }
.item-row .taggers label { font-size: .78rem; color: #475569; display: inline-flex; align-items: center; gap: .25rem; cursor: pointer; }
.item-row .taggers input[type="checkbox"] { margin: 0; }
.remove-btn { background: #fff; border: 1px solid #ebebeb; color: #ef4444; border-radius: 6px; width: 28px; height: 28px; font-size: 1rem; cursor: pointer; font-weight: 700; line-height: 1; }
.remove-btn:hover { background: #fef2f2; }
.add-btn { padding: .4rem 1rem; background: #fff; border: 1px dashed #d6d3ce; border-radius: 6px; font-size: .85rem; font-weight: 600; cursor: pointer; color: #6b6760; font-family: inherit; }
.add-btn:hover { background: #fafaf9; border-color: #6b6760; }
.tax-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0; }
@media (max-width: 640px) { .tax-inputs { grid-template-columns: 1fr; } }
.tax-inputs .input-row label { display: block; font-size: .75rem; font-weight: 600; color: #6b6760; margin-bottom: .25rem; }
.tax-inputs .input-prefix-wrap { display: flex; align-items: stretch; border: 1px solid #ebebeb; border-radius: 6px; background: #fff; overflow: hidden; }
.tax-inputs .ipx-label { padding: .5rem .65rem; background: #f0ede9; font-size: .8rem; font-weight: 600; color: #6b6760; border-right: 1px solid #ebebeb; }
.tax-inputs .ipx-label.ipx-suffix { border-left: 1px solid #ebebeb; border-right: none; }
.tax-inputs input[type="number"] { flex: 1; border: none; padding: .5rem .65rem; font-size: .9rem; font-family: inherit; background: transparent; color: #1a1814; width: 100%; box-sizing: border-box; }
.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; }
.summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-top: 1rem; }
@media (max-width: 700px) { .summary-grid { grid-template-columns: 1fr 1fr; } }
.sum-tile { padding: .75rem; background: #fafaf9; border: 1px solid #ebebeb; border-radius: 8px; text-align: center; }
.sum-tile.sum-tile--total { background: #f0fdf4; border-color: #bbf7d0; }
.sum-tile .sum-tile-label { font-size: .65rem; font-weight: 700; color: #6b6760; text-transform: uppercase; letter-spacing: .05em; }
.sum-tile .sum-tile-value { font-size: 1.05rem; font-weight: 800; font-family: 'IBM Plex Serif', serif; color: #0d1b2a; margin-top: .25rem; }
.person-table-wrap { margin-top: 1rem; overflow-x: auto; border: 1px solid #ebebeb; border-radius: 10px; }
.person-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.person-table thead tr { background: #fafaf9; border-bottom: 1px solid #ebebeb; }
.person-table th { padding: .55rem .75rem; font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: #6b6760; font-weight: 700; text-align: right; }
.person-table th:first-child { text-align: left; }
.person-table td { padding: .5rem .75rem; border-bottom: 1px solid #f3f1ec; }

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