/* Guest entry uses the existing library and reader, not a separate demo UI. */
.tutorial-card .card-meta { min-height: 40px; }
.tutorial-card .card-meta > span:first-child { color: var(--green); }
.tutorial-card .card-text strong, .tutorial-card .card-preview { white-space: normal; }
.tutorial-card[aria-busy="true"] { opacity: .65; }
.library { padding-bottom: 76px; }
.library-contact { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); z-index: 5; font-size: 12px; color: var(--muted); }
.library-contact a { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; min-height: 32px; padding: 8px 10px; background: var(--bg); text-underline-offset: 4px; }
.library-contact a:hover { text-decoration: underline; }
#app-view[data-workspace="local"] #account-button > svg { display: none; }
.reader[data-sample="true"] .reader-title > span { color: var(--green); }
.reader[data-sample="true"] .note-editor:empty::before { content: attr(data-sample-placeholder); color: var(--muted); pointer-events: none; font-size: 13px; }
.entry-auth-dialog { width: min(440px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 16px 24px 28px; border: 1px solid var(--line); border-radius: 12px; }
.entry-auth-dialog::backdrop { background: #17171650; }
.entry-auth-controls { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.entry-auth-dialog .auth-panel { border: 0; border-radius: 0; padding: 8px 0 0; }
.entry-auth-dialog .auth-card { max-width: none; }
.entry-auth-dialog .auth-card h2 { font-size: 24px; }
.entry-auth-dialog .auth-card form { margin-top: 24px; }
body:has(.entry-auth-dialog[open]) { overflow: hidden; }

@media (max-width: 540px) {
  .entry-auth-dialog { padding: 12px 18px 24px; }
  .tutorial-card .card-text strong { font-size: 14px; padding-right: 0; }
}
