/* Additions for pages the prototype does not draw. app.css is the design system, copied
   unchanged from ui-prototype/css/app.css: swap it freely and keep this file beside it. */
.no-ribbon { --ribbon: 0px; }
.qr { display: block; width: 220px; height: 220px; margin: 10px auto; }
.foot { padding-block: 28px 8px; }
.sq img, .cover-ph img.contain, .detail-media img.contain { object-fit: contain; background: #fff; }
.pre { white-space: pre-line; }
code { overflow-wrap: anywhere; }
details > summary { min-height: 34px; cursor: pointer; }
.stack > * + * { margin-top: 12px; }
.line { flex-wrap: wrap; }
.inline { flex-wrap: wrap; }
figure { margin: 0; }
.photo-wide { display: block; width: 100%; max-height: 320px; object-fit: contain; background: #fff; }
.item-ctl form { margin: 0; }
.vitem { display: flex; flex-direction: column; gap: 4px; }
.kv > strong.price { flex: none; }
.tag { white-space: nowrap; }
.m10 { width: 10%; } .m35 { width: 35%; } .m65 { width: 65%; } .m85 { width: 85%; } .m100 { width: 100%; }

/* price finder */
.find-ph{width:64px;height:64px;flex:none;display:flex;align-items:center;justify-content:center;overflow:hidden}
.find-ph img{width:100%;height:100%;object-fit:contain}
details.deal>summary{list-style:none;cursor:pointer}
details.deal>summary::-webkit-details-marker{display:none}
details.deal[open]>summary{margin-bottom:12px}
.actions>.grow{flex:1}

/* order work, chat and invoices */
.workline{border-top:1px solid var(--line);padding:10px 0}
.workline .actions{margin-top:6px}
.invoice{max-width:720px;margin:0 auto}
.invoice.thermal{max-width:76mm;font-size:12px}
.invoice.thermal h1{font-size:16px}
.invoice.thermal .btn{font-size:12px}
table.lines{width:100%;border-collapse:collapse;margin:12px 0}
table.lines th,table.lines td{text-align:right;padding:6px 4px;border-bottom:1px solid var(--line);vertical-align:top}
table.lines th:first-child,table.lines td:first-child{text-align:left}
.invoice.thermal table.lines th,.invoice.thermal table.lines td{padding:3px 2px}
@media print{.noprint,.top,.tabbar,.foot,.ribbon{display:none!important}body{background:#fff}.invoice{max-width:none}.invoice.thermal{max-width:76mm;margin:0}}
details.notify>summary{list-style:none;display:inline-flex;margin-top:6px}
details.notify>summary::-webkit-details-marker{display:none}
.result .line{border-top:1px solid var(--line);padding:10px 0;display:flex;align-items:center;gap:10px}
.result .line .grow{flex:1}

/* shop-front photos of directory listings */
.thumb-photo { overflow: hidden; padding: 0; }
.thumb-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-credit { display: block; }
.entry-photo img { display: block; width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--r, 12px); background: var(--soft, #eee); }
.entry-photo figcaption { margin-top: 4px; }
.review-photo { display: block; width: 100%; max-height: 360px; object-fit: contain; background: #111; border-radius: 8px; }

/* sign-up steps */
.steps { display: flex; gap: 8px; padding: 0; margin: 0; list-style: none; counter-reset: st; }
.steps li { flex: 1; padding: 6px 8px; border-radius: 8px; background: var(--soft, #eef0ec); color: var(--ink-2, #555); counter-increment: st; }
.steps li::before { content: counter(st) ". "; }
.steps li[aria-current=step] { background: var(--brand, #1f6f4a); color: #fff; }

/* staff: training progress, pilot targets */
progress.prog { display: block; width: 100%; height: 6px; margin-top: 6px; border: 0; border-radius: 999px; background: var(--soft-2, #e6e9e4); overflow: hidden; appearance: none; }
progress.prog::-webkit-progress-bar { background: var(--soft-2, #e6e9e4); border-radius: 999px; }
progress.prog::-webkit-progress-value { background: var(--brand, #1f6f4a); border-radius: 999px; }
progress.prog::-moz-progress-bar { background: var(--brand, #1f6f4a); border-radius: 999px; }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.dash-grid .card { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; }
.dash-grid strong { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.dash-grid span { color: var(--muted); font-size: .75rem; }
.dash-grid .hot { box-shadow: inset 0 0 0 2px var(--sun, #e0a800); }
