/* QR-Us V1 real-demo polish */
.menu-photo{width:100%;height:100%;display:block;object-fit:cover;border-radius:inherit}
.thumb:has(.menu-photo){padding:0;overflow:hidden;background:#fff;border:1px solid var(--line)}
.demo-photo-note{margin:0 0 16px}
.demo-menu-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.demo-menu-card{background:var(--card);border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:var(--shadow)}
.demo-menu-card.is-off{opacity:.72}
.demo-menu-photo-wrap{position:relative;aspect-ratio:4/3;background:#f2f2f2;overflow:hidden}
.demo-menu-photo-wrap .menu-photo{border-radius:0}
.demo-photo-button{position:absolute;right:10px;bottom:10px;background:rgba(255,255,255,.95);color:var(--text);border:1px solid var(--line);border-radius:999px;padding:8px 11px;font-weight:800;font-size:12px;box-shadow:0 4px 14px rgba(0,0,0,.12);cursor:pointer}
.demo-photo-button input{display:none}
.demo-menu-body{padding:14px}
.demo-menu-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.demo-menu-head b{font-size:17px}
.demo-menu-body p{min-height:44px;color:var(--muted);font-size:14px;line-height:1.45}
.demo-control{background:linear-gradient(135deg,#0c3554 0%,#0d6a61 100%);color:#fff;border-radius:22px;padding:22px;margin:0 0 18px;box-shadow:0 16px 38px rgba(15,61,79,.18)}
.demo-control .badge{background:#e9fff3;color:#117944}
.demo-control-head{display:flex;justify-content:space-between;gap:18px;align-items:center}
.demo-control h2{color:#fff;margin:8px 0 4px}
.demo-control p{color:#d9edf1;margin:0}
.demo-score{width:92px;height:92px;display:grid;place-items:center;align-content:center;border-radius:50%;background:rgba(255,255,255,.12);border:2px solid rgba(255,255,255,.25);flex:0 0 auto}
.demo-score strong{font-size:28px;line-height:1}.demo-score span{font-size:11px;font-weight:900;letter-spacing:.08em;margin-top:4px}
.demo-control-actions{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}
.demo-control .btn.secondary{background:#fff;color:#16455b;border-color:#fff}
.demo-check-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.demo-check-row{display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:8px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.13);border-radius:12px;padding:9px 10px;font-size:13px}
.demo-check-row b{font-size:10px;color:#bcf6d7}.demo-check{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-weight:900}.demo-check.ok{background:#2dc071}.demo-check.bad{background:#de8c42}
.demo-rules{margin-bottom:18px}.demo-rule-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.demo-rule-grid>div{border:1px solid var(--line);border-radius:14px;padding:13px;background:color-mix(in srgb,var(--card) 94%,var(--green2) 6%);display:flex;flex-direction:column;gap:4px}.demo-rule-grid b{font-size:14px}.demo-rule-grid span{font-size:18px;font-weight:900}.demo-rule-grid small{color:var(--muted);line-height:1.35}
.demo-home-ribbon{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#effaf5;border:1px solid #cceadb;color:#235340;border-radius:14px;padding:10px 14px;margin-bottom:14px}.demo-home-ribbon span{color:#5c786d;flex:1}
.menu-item .thumb{overflow:hidden;padding:0}.menu-item .thumb .menu-photo{border-radius:12px}
@media(max-width:900px){.demo-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.demo-check-grid,.demo-rule-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.demo-menu-grid{grid-template-columns:1fr}.demo-control{padding:16px;border-radius:18px}.demo-control-head{align-items:flex-start}.demo-score{width:72px;height:72px}.demo-score strong{font-size:22px}.demo-check-grid,.demo-rule-grid{grid-template-columns:1fr}.demo-control-actions .btn{flex:1 1 45%}.demo-menu-body p{min-height:0}.menu-item{align-items:stretch}.menu-item .thumb{width:112px!important;height:112px!important;flex:0 0 112px}}
