/* Shell for the pages served outside the app layout: /demo, /s, /n and
   /devices. The tokens repeat app/globals.css; the viewer's private-sharing
   views read them. Dark follows the system unless <html> pins a theme. */
:root { color-scheme: light; --paper: #f6f8ff; --panel: #fff; --ink: #0a1033; --ink-faint: #4c557a; --line: #d5dcf5; --signal: #1f44ff; --error: #c2362b;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif; --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
  background: var(--paper); color: var(--ink); font-family: system-ui, sans-serif; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { color-scheme: dark; --paper: #0b1030; --panel: #121a45; --ink: #e6eaff; --ink-faint: #8f99c9; --line: #283266; --signal: #7d9bff; --error: #e87c68; }
}
:root[data-theme="dark"] { color-scheme: dark; --paper: #0b1030; --panel: #121a45; --ink: #e6eaff; --ink-faint: #8f99c9; --line: #283266; --signal: #7d9bff; --error: #e87c68; }
body { margin: 0; }
main { max-width: 1160px; margin: 0 auto; padding: 24px; }
a { color: var(--signal); }
.brand { display: inline-block; font-family: var(--serif); font-size: 24px; text-decoration: none; margin-bottom: 24px; }
/* The row above a share: the wordmark, and a line for whoever was sent the
   link. The markup is lib/share-header.mjs. */
.share-header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 20px; margin-bottom: 24px; }
.share-header .brand { margin-bottom: 0; }
.share-note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink-faint); }
.share-note code { font: 12px var(--mono); }
.slink-brand-mark { background: var(--signal); -webkit-mask: url(/branding/mark.svg) center / contain no-repeat; mask: url(/branding/mark.svg) center / contain no-repeat; }
.encrypted-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 24px; font-size: 12px; }
.encrypted-actions span { margin-right: auto; }
.encrypted-actions button, .encrypted-status button { border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; background: var(--panel); color: var(--ink); cursor: pointer; }
.encrypted-status { max-width: 560px; line-height: 1.6; }
.encrypted-status h1 { font: 500 28px var(--serif); }
@media (max-width: 560px) { main { padding: 16px; } }
