/* Tenant demo only; shared operational screens keep their existing design. */
.demo-warning,.demo-internal-warning{background:#fff0cc;color:#653b08;border-bottom:1px solid #edcd8b;padding:12px 18px;text-align:center;font-size:12px;font-weight:800;letter-spacing:.07em}.demo-internal-warning{border:1px solid #edcd8b;border-radius:10px;margin:8px 0 16px}.demo-public{margin:0;background:#fcf9f4;color:#241b16;font:15px/1.5 system-ui,sans-serif}.demo-public *{box-sizing:border-box}.demo-public button,.demo-public input,.demo-public select{font:inherit;border:1px solid #d7cbbd;border-radius:10px;padding:11px 14px}.demo-public button{cursor:pointer;background:#3b241b;color:#fff;font-weight:700;min-height:44px}.demo-public button:disabled{opacity:.5;cursor:wait}.demo-hero{display:grid;grid-template-columns:1fr 1fr;max-width:1240px;margin:auto;align-items:center;padding:42px 28px;gap:36px}.demo-hero h1{font-family:Georgia,serif;font-size:clamp(40px,5vw,68px);line-height:1.05;margin:16px 0}.demo-hero p{font-size:19px;color:#765a45}.demo-wordmark{font-size:28px;font-weight:900;letter-spacing:.12em}.demo-wordmark b{font-size:13px;background:#ed9b3c;border-radius:5px;padding:5px}.demo-hero img{width:100%;aspect-ratio:1.3;object-fit:cover;border-radius:26px}.demo-chip{display:inline-block;background:#f2e6d2;padding:8px 14px;border-radius:999px;font-size:12px}.demo-public main{max-width:1240px;margin:auto;padding:0 28px 100px}.demo-service{background:white;padding:18px;border-radius:16px;display:flex;gap:12px;align-items:end;flex-wrap:wrap;border:1px solid #eee1d1}.demo-service label,.demo-public dialog label{display:grid;gap:6px}.demo-browse{position:sticky;top:0;background:#fcf9f4;padding:16px 0;z-index:2}.demo-browse input{width:100%;background:white}.demo-browse nav{display:flex;gap:8px;overflow:auto;margin-top:12px}.demo-browse nav button{white-space:nowrap;background:#fff;color:#4f3524}.demo-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.demo-products article{background:white;border:1px solid #e8dfd1;border-radius:18px;overflow:hidden;display:flex;flex-direction:column}.demo-products article>img{width:100%;aspect-ratio:1.6;object-fit:cover}.demo-products article>div{padding:18px;display:flex;flex-direction:column;flex:1}.demo-products h2{font-size:20px;margin:8px 0}.demo-products p{color:#7a685a;flex:1}.demo-products small{font-size:11px;color:#7a685a}.demo-product-end{display:flex;justify-content:space-between;align-items:center;gap:8px}.demo-product-end strong{font-size:20px}.demo-cart-toggle{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);min-width:260px;box-shadow:0 8px 28px #251b1930;z-index:3}.demo-public dialog{border:0;border-radius:20px;max-width:520px;width:calc(100% - 30px);padding:24px;max-height:90vh}.demo-public dialog::backdrop{background:#17110cb0}.demo-public dialog form{display:grid;gap:15px}.demo-public dialog fieldset{border:1px solid #e8dfd1;border-radius:10px}.demo-public dialog fieldset label{display:flex;align-items:center;margin:10px 0}.demo-close{float:right;background:#fff!important;color:#3b241b!important}.demo-public footer{text-align:center;padding:30px 20px 100px;color:#7a685a}.demo-guide li{margin:12px 0}.demo-guide li.done{text-decoration:line-through;color:#187147}.demo-central-qr svg{width:180px;height:180px}.demo-central-qr{background:white;padding:12px;display:inline-block}
@media(max-width:900px){.demo-products{grid-template-columns:repeat(2,minmax(0,1fr))}.demo-hero{gap:20px;padding:26px 18px}.demo-hero p{font-size:15px}}
@media(max-width:600px){.demo-hero{grid-template-columns:1fr}.demo-hero img{aspect-ratio:1.8}.demo-products{grid-template-columns:1fr}.demo-public main{padding:0 16px 100px}.demo-service label{flex:1 1 130px}.demo-warning{font-size:10px}.demo-service button{flex:1}}

.demo-public [hidden]{display:none!important}

.demo-setup-progress{display:grid;gap:12px;padding:20px;margin:16px 0;border:1px solid #e4d6c6;border-radius:16px;background:#fff9ef}.demo-setup-progress progress{width:100%;height:16px;accent-color:#b65d14}.demo-setup-progress p{margin:0}

/* Keep the company confirmation inside the viewport, independent of module CSS. */
.modal:not(.hidden):has(#companyDeleteForm){position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:16px;overflow:hidden}
.modal:has(#companyDeleteForm) .modal-panel{position:relative;width:min(620px,100%);max-height:calc(100dvh - 32px);min-height:0;display:flex;flex-direction:column;overflow:hidden;margin:0}
.modal:has(#companyDeleteForm) .modal-body{min-height:0;overflow:auto;overscroll-behavior:contain}
#companyDeleteForm .company-confirm{display:flex;align-items:flex-start;gap:10px;line-height:1.5}
#companyDeleteForm .company-confirm input{width:22px;height:22px;min-height:22px;flex:0 0 22px;margin:1px 0 0;padding:0;accent-color:#a32b2b}
.platform-tenant-card.is-demo .platform-tenant-stats strong{font-size:clamp(.85rem,3.3vw,1.15rem);white-space:nowrap}
