/* Preview-card frame. Loads after ../styles.css.
   Components (.btn, .badge, .input, .eyebrow…) come from styles.css —
   never redefine them here, or cards drift from the real system. */
html, body { width: 700px; height: 100%; background: var(--bg); font-family: var(--font-ui); color: var(--text); overflow: hidden; }
body { position: relative; isolation: isolate; }
body::before { content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(var(--bg-glow-1)), radial-gradient(var(--bg-glow-2)); }
body::after { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; mix-blend-mode: overlay; opacity: var(--grain-opacity); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.card-pad { padding: 24px 28px; }
.glass { background: var(--surface-1); backdrop-filter: var(--surface-blur); -webkit-backdrop-filter: var(--surface-blur); border: 1px solid var(--border); box-shadow: var(--card-shadow), var(--shadow-inset); border-radius: var(--radius); }
.idx { font-family: var(--font-mono); color: var(--accent-text); font-size: var(--text-xs); letter-spacing: .04em; }
.muted { color: var(--text-muted); }
.subtle { color: var(--text-subtle); }
.row { display: flex; align-items: center; gap: 14px; }
.col { display: flex; flex-direction: column; gap: 14px; }
.dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; display: inline-block; }
.swatch { width: 56px; height: 56px; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-inset); }
