/* Item 17: Store profit bolt-on styles. */
.pf-launcher { position: fixed; left: 16px; bottom: 784px; z-index: 9000; background: #14532d; color: #fff; border: 0; border-radius: 999px; padding: 10px 16px; font: 600 14px/1.2 system-ui, sans-serif; box-shadow: 0 4px 14px rgba(0,0,0,.25); cursor: pointer; }
.pf-launcher:hover { background: #166534; }
.pf-overlay { position: fixed; inset: 0; z-index: 9500; background: rgba(10, 18, 30, .55); display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 28px 12px; }
.pf-panel { background: #fff; color: #16222e; width: min(680px, 100%); border-radius: 16px; padding: 20px; font: 14px/1.5 system-ui, sans-serif; box-shadow: 0 18px 50px rgba(0,0,0,.35); }
.pf-head { display: flex; align-items: center; justify-content: space-between; }
.pf-head h3 { margin: 0; font-size: 20px; }
.pf-x { background: none; border: 0; font-size: 18px; cursor: pointer; color: #5b6b7c; }
.pf-sub { color: #5b6b7c; margin: 4px 0 10px; font-size: 13px; }
.pf-msg { min-height: 20px; color: #166534; font-weight: 600; }
.pf-msg.err { color: #b91c1c; }
.pf-totals { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; margin: 10px 0; }
.pf-totals div { background: #f6f8fa; border: 1px solid #e3e8ee; border-radius: 10px; padding: 8px 10px; }
.pf-totals span { display: block; font-size: 11px; color: #5b6b7c; text-transform: uppercase; letter-spacing: .04em; }
.pf-totals strong { font-size: 17px; }
.pf-note { background: #fff7e6; border: 1px solid #f0d48a; color: #6b5310; border-radius: 10px; padding: 8px 10px; font-size: 13px; }
.pf-h { margin: 16px 0 2px; font-size: 15px; }
.pf-list { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.pf-row { display: flex; align-items: center; gap: 10px; border: 1px solid #e3e8ee; border-radius: 12px; padding: 10px 12px; }
.pf-row.pf-sub-row { padding-left: 24px; background: #fbfcfd; }
.pf-grow { flex: 1; display: flex; flex-direction: column; }
.pf-grow span { color: #40536a; font-size: 13px; }
.pf-grow em { color: #a33; font-style: normal; font-weight: 600; }
.pf-cost { width: 90px; padding: 7px 9px; border: 1px solid #c9d4e0; border-radius: 8px; font: inherit; }
.pf-btn { background: #14532d; color: #fff; border: 0; border-radius: 8px; padding: 8px 12px; font: 600 13px system-ui, sans-serif; cursor: pointer; }
.pf-btn:hover { background: #166534; }
.pf-empty { color: #5b6b7c; }
