/* Static demo only (see static/js/demo.js). Loaded when HELPLY_STATIC_DEMO is on. */

/* the strip above every signed-in page */
.demo-note { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 1.1rem; padding: .6rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--muted); font-size: .88rem; line-height: 1.4; }
.demo-note b { color: var(--text); font-weight: 600; }
.demo-note button { flex: none; min-height: 36px; padding: 0 .9rem; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--text); font: inherit; font-weight: 500; cursor: pointer; }
.demo-note button:hover { background: var(--hover); }

/* confirmation message at the bottom of the screen */
.demo-toast { position: fixed; left: 50%; bottom: 1.4rem; z-index: 90; max-width: min(92vw, 460px); padding: .75rem 1.1rem; border-radius: 12px; background: var(--text); color: var(--bg); font-size: .92rem; line-height: 1.4; box-shadow: 0 12px 40px rgba(0, 0, 0, .35); opacity: 0; transform: translate(-50%, 10px); pointer-events: none; transition: opacity .2s, transform .2s; }
.demo-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* the sign-in card on the home page (a dark picture behind it, so light text). Kept short enough to fit one screen. */
.lp-card.demo-card { padding: 1.5rem 1.5rem 1.25rem; }
.lp-card.demo-card h2 { font-size: 1.6rem; }
.lp-card.demo-card .lp-card-sub { margin: .3rem 0 1rem; font-size: .92rem; }
.demo-accounts { display: grid; gap: .5rem; margin: 0 0 .9rem; }
.demo-account { display: flex; align-items: center; justify-content: space-between; gap: .8rem; width: 100%; min-height: 56px; padding: .55rem .9rem; border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; background: rgba(255, 255, 255, .06); color: #f5f5f7; font: inherit; text-align: left; cursor: pointer; }
.demo-account:hover, .demo-account:focus-visible { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .34); }
.demo-account span { display: grid; gap: .1rem; min-width: 0; }
.demo-account b { font-weight: 600; font-size: .95rem; }
.demo-account i { font-style: normal; font-size: .78rem; color: rgba(245, 245, 247, .62); }
.demo-account em { flex: none; font-style: normal; color: rgba(245, 245, 247, .6); transition: transform .15s; }
.demo-account:hover em, .demo-account:focus-visible em { transform: translateX(3px); color: #fff; }
.demo-pass { margin: .15rem 0 0; font-size: .82rem; color: rgba(245, 245, 247, .66); }
.demo-pass code { margin-left: .2rem; padding: .15rem .45rem; border-radius: 8px; background: rgba(0, 0, 0, .3); color: #f5f5f7; font-size: .8rem; }
.demo-manual { padding-top: .8rem; border-top: 1px solid rgba(255, 255, 255, .16); }
.demo-manual summary { cursor: pointer; font-size: .86rem; color: rgba(245, 245, 247, .7); list-style: none; padding: .2rem 0; }
.demo-manual summary::-webkit-details-marker { display: none; }
.demo-manual summary::after { content: " ▾"; }
.demo-manual[open] summary::after { content: " ▴"; }
.demo-manual .lp-form { margin-top: .7rem; }
.demo-continue { display: block; margin: 0 0 .8rem; padding: .65rem .9rem; border-radius: 12px; background: rgba(255, 255, 255, .12); color: #fff; font-weight: 600; text-align: center; text-decoration: none; }
.demo-continue:hover { background: rgba(255, 255, 255, .2); }

@media (max-width: 560px) {
  .demo-note { flex-direction: column; align-items: flex-start; }
}
