/* My receipts (client/receipt.js): one linear page per receipt, made for a phone */
.rc-pick { cursor: pointer; margin: 14px 0; }
.rc-busy { margin: 12px 0; }
.rc-bar { height: 8px; margin: 10px 0 8px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.rc-bar i { display: block; height: 100%; background: var(--accent-strong); transition: width .3s; }
.rc-month { margin: 14px 0; }
.rc-big { font-size: 1.15rem; margin-top: 4px; }
.rc-big b { font-size: 1.35rem; }
.rc-past { margin-top: 6px; }
.rc-ico { display: grid; place-items: center; color: var(--accent-ink); }
.rc-row .item-title { white-space: normal; }
.rc-head h1 { font-size: 1.35rem; }
.rc-result { margin-top: 10px; }
.rc-saved { margin-top: 8px; padding: 8px 12px; border-radius: var(--radius); background: var(--accent-soft); color: var(--accent-soft-ink); font-weight: 600; }
.rc-shops { list-style: none; margin: 6px 0 8px; padding: 0; }
.rc-shop { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.rc-shop > span { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.rc-shop > b { white-space: nowrap; }
.rc-shop:last-child { border-bottom: 0; }
.rc-shop small { font-weight: 400; }
.rc-shop b small { display: inline; }
.rc-shop.rc-best span:first-child { font-weight: 700; }
.rc-lidl { color: var(--ink-2); }
.rc-diff { color: var(--g-a); font-weight: 700; }
:root[data-colors="safe"] .rc-diff { color: var(--accent-ink); }
.rc-shared { margin-top: 8px; color: var(--accent-soft-ink); font-weight: 600; }
.rc-linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--accent-ink); text-decoration: underline; cursor: pointer; }
.rc-lines { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rc-line { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.rc-line.rc-unsure { border-color: var(--g-d); box-shadow: inset 4px 0 0 var(--g-d); }
.rc-nonfood { margin-top: 10px; color: var(--muted); font-size: .88rem; }
.rc-nonfood summary { cursor: pointer; padding: 6px 0; }
.rc-nonfood ul { list-style: none; padding: 0; margin: 4px 0 0; opacity: .7; }
.rc-nonfood li { display: flex; justify-content: space-between; padding: 3px 0; }
.rc-text { min-width: 0; font-size: .9rem; }
.rc-text code { font-family: ui-monospace, "DejaVu Sans Mono", monospace; font-size: .85rem; }
.rc-text small { display: block; color: var(--muted); }
.rc-text .rc-warn { color: var(--promo); }
.rc-paid { text-align: right; font-weight: 700; }
.rc-disc { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
.rc-match { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; }
.rc-prod { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.rc-prod .thumb { width: 36px; height: 36px; flex: none; }
.rc-prod span { display: flex; flex-direction: column; min-width: 0; }
.rc-prod b { font-weight: 600; font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-none { color: var(--muted); font-size: .9rem; }
.rc-change { background: none; border: 0; color: var(--muted); padding: 8px; cursor: pointer; }
.rc-ask-btn { flex: none; border-color: var(--g-d); }
.rc-cheaper { grid-column: 1 / -1; font-size: .85rem; color: var(--accent-ink); text-decoration: none; }
.rc-line > .tiny { grid-column: 1 / -1; justify-self: start; }
.rc-picker { grid-column: 1 / -1; padding-top: 8px; border-top: 1px dashed var(--line); }
.rc-choices { display: flex; flex-direction: column; gap: 6px; margin: 8px 0; }
.rc-choice { display: flex; align-items: center; gap: 10px; padding: 8px 10px; min-height: 52px; text-align: left; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; }
.rc-choice .thumb { width: 40px; height: 40px; flex: none; }
.rc-choice span { display: flex; flex-direction: column; }
.rc-choice.on, .rc-choice:hover { border-color: var(--accent-strong); }
.rc-ask { width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; }
.rc-proof { margin-top: 12px; max-height: 46vh; overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.rc-proof img { display: block; width: 100%; }
.rc-setting .menu-switch { width: 100%; }
/* "Scan N products at home to share their prices" */
.rc-scan { margin-top: 12px; }
.rc-scan h2 { font-size: 1.05rem; }
.rc-scan > p.small { margin-top: 6px; }
.rc-scan-list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rc-scan-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.rc-scan-row:last-child { border-bottom: 0; }
.rc-scan-row .thumb { width: 40px; height: 40px; flex: none; }
.rc-scan-row > span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rc-scan-row b { font-weight: 600; font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-scan-row code { font-family: ui-monospace, "DejaVu Sans Mono", monospace; font-size: .8rem; }
.rc-scan-row .btn { flex: none; }
.rc-scan-progress { margin-top: 8px; color: var(--accent-soft-ink); font-weight: 600; }
.rc-scan-done .rc-scan-progress { margin-top: 0; }
.rc-scan-mini summary { cursor: pointer; display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; }
.rc-scan-pill { display: inline-flex; align-items: center; gap: 4px; }
.rc-off { margin-top: 4px; }
