/* Demo access inside the ERP panel: per-screen deep link and the module
   catalog. Counts and routes mirror the live demo catalog (59 screens). */
body[data-preview="true"] [data-live-only]{display:none!important}

.screen-meta{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-top:10px}.screen-meta .screen-caption{margin-top:0}.screen-demo-link{flex:none;display:inline-flex;align-items:center;gap:12px;min-height:44px;font-size:14px;color:var(--text)}.screen-demo-link:hover{text-decoration:underline;text-underline-offset:4px}

.demo-catalog{margin-top:96px;scroll-margin-top:calc(var(--header) + 24px)}.demo-catalog-head{display:grid;grid-template-columns:1fr 1fr;gap:8%;align-items:end;padding-bottom:40px}.demo-catalog-head h3{font-size:clamp(30px,3.4vw,44px);line-height:1.15;font-weight:550;letter-spacing:-.02em;margin-top:18px;max-width:15ch}.demo-catalog-head p{color:var(--muted);font-size:17px;line-height:1.7;max-width:46ch}
.demo-modules{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:4px;overflow:hidden}.demo-modules li{display:flex}.demo-modules a{flex:1;display:flex;flex-direction:column;gap:12px;padding:28px 24px 22px;background:var(--surface);transition:background-color .2s cubic-bezier(.2,.7,.2,1)}.demo-modules a:hover{background:#1c1b22}.demo-modules a:focus-visible{outline:2px solid #ff8256;outline-offset:-2px}
.module-top{display:flex;justify-content:space-between;align-items:baseline;gap:16px}.module-name{font-size:22px;font-weight:550}.module-count{font-size:12px;color:var(--muted);white-space:nowrap}.module-screens{flex:1;color:var(--muted);font-size:14px;line-height:1.6}.module-go{display:flex;align-items:center;gap:10px;min-height:24px;font-size:13px}.demo-modules a:hover .module-go{text-decoration:underline;text-underline-offset:4px}

@media(max-width:1000px){.demo-catalog-head{grid-template-columns:1fr;gap:20px}.demo-modules a{padding:24px 18px 20px}.module-name{font-size:19px}}
@media(max-width:760px){.screen-meta{flex-direction:column;align-items:flex-start;gap:4px}.demo-catalog{margin-top:64px}.demo-catalog-head{padding-bottom:28px}.demo-catalog-head h3{font-size:30px}.demo-catalog-head p{font-size:16px}.demo-modules{grid-template-columns:1fr}.demo-modules a{gap:8px;padding:20px 16px 18px}}
@media(prefers-reduced-motion:reduce){.demo-modules a{transition:none}}
.faq-list details p a,.contact-section noscript a{color:var(--text);text-decoration:underline;text-underline-offset:3px}.contact-channels a.contact-value:hover,.footer-contact>a:hover{text-decoration:underline;text-underline-offset:4px}.footer-contact>a{display:inline-flex;align-items:center;min-height:44px}
