/* The same white, read-only receipt surface is used in Sell and the secure pop-out. */
body.receipt-standalone{margin:0;min-width:260px;background:#fff}
.isbn-receipt-paper{font-family:"Segoe UI",Arial,sans-serif;font-size:13px;box-sizing:border-box;
 color:#1d2429;background:#fff;display:flex;flex-direction:column;min-height:100%;padding:18px 20px 16px;gap:0}
body.receipt-standalone .isbn-receipt-paper{min-height:100vh}
.isbn-receipt-paper *{box-sizing:border-box}
.isbn-receipt-paper .brand{display:flex;align-items:center;gap:12px;min-height:54px;padding-bottom:10px}
.isbn-receipt-paper .brand img{width:58px;height:58px;max-width:58px;object-fit:contain;flex:none}
.isbn-receipt-paper .brand strong{font-size:17px;line-height:1.3;font-weight:700;overflow-wrap:anywhere}
.isbn-receipt-paper .receipt-caption{padding-top:15px;border-top:1px solid #cbd2d4;color:#68757c;
 letter-spacing:.13em;font-size:10px;font-weight:650}
.isbn-receipt-paper .receipt-status{margin:5px 0 18px;font-size:12px;color:#525f65}
.isbn-receipt-paper .receipt-items{flex:1;display:flex;flex-direction:column;min-height:100px}
.isbn-receipt-paper .receipt-empty{margin:24px 0;color:#8b9397;text-align:center;font-size:12px}
.isbn-receipt-paper .receipt-line{display:grid;grid-template-columns:minmax(0,1fr) minmax(80px,auto);gap:10px;
 border-bottom:1px solid #ebeff0;padding:7px 0;align-items:start}
.isbn-receipt-paper .receipt-item-title{font-size:13px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}
.isbn-receipt-paper .receipt-item-meta{color:#748188;font-size:11px;margin-top:2px;overflow-wrap:anywhere}
.isbn-receipt-paper .receipt-item-breakdown{display:grid;gap:3px;margin-top:6px;font-size:10px;color:#56656d}
.isbn-receipt-paper .receipt-item-detail,.isbn-receipt-paper .receipt-tax-component{display:flex;justify-content:space-between;gap:8px;align-items:baseline}
.isbn-receipt-paper .receipt-item-detail span:first-child{min-width:0;overflow-wrap:break-word}
.isbn-receipt-paper .receipt-item-detail span:last-child,.isbn-receipt-paper .receipt-tax-component span:last-child{white-space:nowrap;font-variant-numeric:tabular-nums}
.isbn-receipt-paper .receipt-component{padding-left:6px}
.isbn-receipt-paper .receipt-tax-components{display:grid;gap:4px;font-size:10px;color:#66747b}
.isbn-receipt-paper .receipt-line-amount{font-size:12px;white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}
.isbn-receipt-paper .receipt-footer{margin-top:auto;padding-top:15px}
.isbn-receipt-paper .receipt-sums{border-top:1px solid #cbd2d4;padding-top:10px;display:grid;gap:9px}
.isbn-receipt-paper .receipt-tax,.isbn-receipt-paper .receipt-total{display:flex;align-items:center;justify-content:space-between;gap:10px}
.isbn-receipt-paper .receipt-tax{font-size:12px;color:#66747b}
.isbn-receipt-paper .receipt-tax[hidden]{display:none}
.isbn-receipt-paper .receipt-total{font-size:19px;letter-spacing:-.01em;font-variant-numeric:tabular-nums}
.isbn-receipt-paper .receipt-footer small{display:block;margin-top:16px;color:#7c888e;font-size:10px;line-height:1.4}
.isbn-receipt-paper[data-phase="completed"] .receipt-status{color:#165c43;font-weight:600}
.isbn-receipt-paper[data-phase="unavailable"] .receipt-status{color:#a13535}
@media print{.isbn-receipt-paper{min-height:100%;padding:0}}
