:root{--demo-bar-h: 34px}html.demo-rerendering body{visibility:hidden}#demo-bar[hidden],#demo-touch[hidden]{display:none!important}.demo-bar{position:fixed;top:0;left:0;right:0;z-index:61;height:var(--demo-bar-h);display:flex;align-items:center;justify-content:center;gap:.6rem;padding:0 16px;background:var(--bg-secondary);border-bottom:1px solid var(--border-color);color:var(--text-secondary);font-size:var(--fs-sm);line-height:var(--lh-flush);white-space:nowrap;overflow:hidden}html.demo-page body{padding-top:var(--demo-bar-h)}.demo-bar-founder[hidden]{display:none}.demo-bar-founder{display:inline-flex;align-items:center;gap:.6rem}.demo-bar-sep{color:var(--text-muted)}.demo-bar-founder a{color:var(--text-primary);font-weight:var(--font-weight-semibold);text-decoration:none}.demo-bar-founder a:hover,.demo-bar-founder a:focus-visible{text-decoration:underline}.demo-bar-founder-left{color:var(--text-muted);font-weight:var(--font-weight-normal)}html.demo-page .top-nav{top:var(--demo-bar-h)}.demo-theme-tour{position:fixed;right:16px;bottom:var(--above-status-line);z-index:95;box-sizing:border-box;width:300px;max-width:calc(100vw - 32px);padding:12px 14px;display:flex;flex-direction:column;gap:8px;background:var(--bg-elevated, var(--bg-primary));color:var(--text-secondary);border:1px solid var(--border-color);border-radius:var(--radius-lg);box-shadow:0 6px 24px var(--shadow-medium);font-size:var(--fs-sm);line-height:1.35}.demo-theme-head,.demo-theme-main{display:flex;align-items:center;gap:8px}.demo-theme-label{flex:1;min-width:0;color:var(--text-secondary);white-space:nowrap}.demo-theme-count{color:var(--text-muted);font-family:var(--font-mono);font-size:var(--fs-micro);font-variant-numeric:tabular-nums}.demo-theme-name{flex:1;min-width:0;color:var(--text-primary);font-size:var(--fs-lg);font-weight:var(--font-weight-semibold)}.demo-theme-steps{display:flex;gap:4px}.demo-theme-step{position:relative;flex:1;height:4px;border-radius:2px;background:var(--border-color);background:color-mix(in srgb,var(--text-muted) 35%,transparent);overflow:hidden}.demo-theme-step-fill{position:absolute;inset:0;background:var(--accent-primary);transform:scaleX(0);transform-origin:left center}.demo-theme-tour.is-paused .demo-theme-step-fill{opacity:.45}.demo-theme-next,.demo-theme-note{margin:0;font-size:var(--fs-micro)}.demo-theme-next{color:var(--text-secondary);font-variant-numeric:tabular-nums}.demo-theme-note{color:var(--text-muted)}.demo-theme-keep{flex:none;width:auto;min-height:0;margin:0;padding:5px 10px;border:1px solid var(--accent-primary);border-radius:var(--radius-md);background:none;color:var(--accent-primary);font:inherit;font-weight:var(--font-weight-semibold);cursor:pointer}.demo-theme-keep:hover,.demo-theme-keep:focus-visible{background:var(--accent-primary);color:var(--bg-primary)}.demo-theme-keep:focus-visible{outline:1px solid var(--accent-primary);outline-offset:2px}@media(max-width:1080px){.demo-bar-founder{display:none!important}}@media(max-width:760px){.demo-bar-note{display:none}}@media(max-width:460px){.demo-theme-tour{display:none!important}}.demo-ghost{position:fixed;left:50%;bottom:var(--above-status-line);z-index:96;transform:translate(-50%);box-sizing:border-box;min-width:320px;max-width:calc(100vw - 32px);padding:14px 20px 12px;display:flex;flex-direction:column;align-items:center;gap:8px;background:var(--bg-elevated, var(--bg-primary));color:var(--text-primary);border:1px solid var(--border-color);border-radius:var(--radius-lg);box-shadow:0 8px 28px var(--shadow-medium);pointer-events:none;transition:opacity .2s ease}.demo-ghost.is-leaving{opacity:0}.demo-ghost-keys{display:flex;gap:8px;min-height:44px;align-items:center}.demo-ghost-keys:empty{display:none}.demo-ghost-keys kbd{min-width:44px;box-sizing:border-box;padding:6px 12px;font-family:var(--font-mono);font-size:var(--fs-xl);font-weight:var(--font-weight-semibold);line-height:1.2;text-align:center;color:var(--text-primary);background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:var(--radius-md);box-shadow:0 2px 0 var(--border-color)}.demo-ghost-keys kbd:last-child{border-color:var(--accent-primary)}.demo-ghost-say{margin:0;font-size:var(--fs-base);font-weight:var(--font-weight-semibold);text-align:center}.demo-ghost-hint{margin:0;font-size:var(--fs-micro);color:var(--text-muted)}@media(max-width:460px){.demo-ghost{display:none!important}}.demo-bar-tag{font-family:var(--font-mono);font-size:var(--fs-micro);font-weight:var(--font-weight-bold);text-transform:uppercase;letter-spacing:.06em;padding:3px 6px;border-radius:4px;color:var(--chip-accent);background:rgba(var(--chip-accent-rgb),.12)}.demo-bar-cta{color:var(--accent-primary);font-weight:var(--font-weight-semibold);text-decoration:none}.demo-bar-cta:hover,.demo-bar-cta:focus-visible{text-decoration:underline}.demo-bar-note{color:var(--text-muted);font-weight:var(--font-weight-normal)}.demo-touch{position:fixed;inset:0;z-index:2000;display:flex;align-items:center;justify-content:center;padding:calc(var(--demo-bar-h) + 16px) 16px 16px;background:var(--bg-primary);color:var(--text-primary);overflow-y:auto}html.demo-touch-on body{overflow:hidden}.demo-touch-card{width:100%;max-width:420px;display:flex;flex-direction:column;gap:14px;text-align:center}.demo-touch-video{width:100%;aspect-ratio:16 / 10;object-fit:cover;border-radius:10px;border:1px solid var(--border-color);background:var(--bg-secondary)}.demo-touch-title{margin:4px 0 0;font-family:var(--font-display);font-size:var(--fs-lg);line-height:var(--lh-tight)}.demo-touch-text{margin:0;color:var(--text-secondary)}.demo-touch-form{display:flex;flex-direction:column;gap:6px;text-align:left}.demo-touch-label{font-size:var(--fs-sm);color:var(--text-secondary)}.demo-touch-row{display:flex;gap:8px}.demo-touch-row input{flex:1 1 auto;min-width:0;min-height:44px;padding:0 12px;font:inherit;font-size:16px;color:var(--text-primary);background:var(--bg-elevated);border:1px solid var(--border-color);border-radius:8px}.demo-touch-row button{width:auto;flex:0 0 auto;min-height:44px;padding:0 18px;font:inherit;font-weight:var(--font-weight-semibold);color:var(--on-accent);background:var(--accent-primary);border:0;border-radius:8px}.demo-touch-anyway{align-self:center;padding:10px;color:var(--accent-primary);font-weight:var(--font-weight-semibold);text-decoration:none}@media(max-width:640px){.demo-bar{justify-content:space-between}.demo-bar-text,.demo-bar-note,.demo-bar-founder{display:none!important}}#status-hints.demo-status-msg{color:var(--accent-primary);font-weight:var(--font-weight-semibold)}html.demo-page #profile-view .user-info-card,html.demo-page #profile-view .tab-button:not([data-tab=preferences]),html.demo-page #profile-view .tab-content:not(#preferences-tab),html.demo-page #preferences-tab .tab-section:has(#reminder-email-toggle){display:none!important}html.demo-page #preferences-tab{display:block!important}.demo-settings-note{margin:0 0 1rem;padding:.75rem 1rem;border:1px solid var(--border-color);border-radius:var(--radius-sm, 6px);background:var(--bg-secondary);color:var(--text-secondary);font-size:var(--fs-sm)}.demo-settings-note a{color:var(--accent-primary);font-weight:var(--font-weight-semibold)}
