:root { color-scheme: light; --surface: #ffffff; --surface-raised: #ffffff; --surface-muted: #f4f4f5; --border: #e4e4e7; --text: #0a0a0a; --text-muted: #71717a; --accent: #6366f1; --accent-fg: #ffffff; --success: #16a34a; --warn: #d97706; --user-bubble-bg: #0a0a0a; --user-bubble-fg: #ffffff; font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif; font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; color: var(--text); background: var(--surface-muted); } * { box-sizing: border-box; } html, body { margin: 0; padding: 0; height: 100%; } button, input, textarea { font: inherit; color: inherit; } a { color: var(--accent); } code { font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace; font-size: 0.9em; background: var(--surface-muted); padding: 0.1em 0.35em; border-radius: 4px; } /* Dividers between repeated list items — top border on all but the first so there's no dangling line at either end. */ .jr-list-item + .jr-list-item { border-top: 1px solid var(--border); } @keyframes jr-shimmer { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } } .jr-shimmer { animation: jr-shimmer 1.4s ease-in-out infinite; } kbd { display: inline-block; padding: 1px 5px; border: 1px solid var(--border); border-radius: 4px; background: var(--surface); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace; font-size: 11px; line-height: 1.3; } /* ========================================================================== App shell ========================================================================== */ .app { height: 100%; display: grid; grid-template-rows: auto 1fr auto; background: var(--surface-muted); } .topbar { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; background: var(--surface); border-bottom: 1px solid var(--border); } .topbar-brand { display: flex; align-items: center; gap: 10px; } .logo-dot { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, var(--accent), color-mix(in oklab, var(--accent) 60%, #000)); box-shadow: 0 0 0 2px color-mix(in oklab, var(--accent) 20%, transparent); } .topbar-text { display: flex; flex-direction: column; line-height: 1.2; } .topbar-title { font-weight: 600; font-size: 14px; } .topbar-sub { font-size: 12px; color: var(--text-muted); } .topbar-actions { display: flex; gap: 8px; align-items: center; } .btn-ghost { background: transparent; border: 1px solid transparent; padding: 6px 10px; border-radius: 8px; font-size: 13px; color: var(--text-muted); cursor: pointer; } .btn-ghost:hover { background: var(--surface-muted); color: var(--text); } .btn-link { text-decoration: none; font-size: 13px; color: var(--text-muted); padding: 6px 10px; border-radius: 8px; } .btn-link:hover { background: var(--surface-muted); color: var(--text); } .btn-primary { background: var(--accent); color: var(--accent-fg); border: none; border-radius: 8px; padding: 8px 16px; font-size: 13px; font-weight: 500; cursor: pointer; transition: opacity 0.15s; } .btn-primary:disabled { opacity: 0.5; cursor: not-allowed; } /* ========================================================================== Scrollable chat area ========================================================================== */ .scroll { overflow-y: auto; padding: 24px 20px 40px; } .thread { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; } .row { display: flex; width: 100%; } .row.user { justify-content: flex-end; } .row.assistant { justify-content: flex-start; } .bubble.user { max-width: 85%; padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: var(--user-bubble-bg); color: var(--user-bubble-fg); font-size: 13px; line-height: 1.5; white-space: pre-wrap; } .assistant-inner { width: 100%; display: flex; flex-direction: column; gap: 12px; } .assistant-text { font-size: 13px; line-height: 1.55; white-space: pre-wrap; color: var(--text); } .thinking { font-size: 13px; color: var(--text-muted); } /* Each rendered spec is wrapped in a structural container without any visual chrome of its own — the AI-generated Card (or whatever the root element is) carries the framing. `.thread` already provides the gap between messages, so no outer border is needed here. */ .spec-wrap { width: 100%; } .error { padding: 12px 14px; border-radius: 10px; border: 1px solid color-mix(in oklab, var(--warn) 40%, var(--border)); background: color-mix(in oklab, var(--warn) 10%, transparent); color: var(--warn); font-size: 13px; } /* ========================================================================== Empty state ========================================================================== */ .empty { min-height: 100%; display: flex; align-items: center; justify-content: center; padding: 40px 0; } .empty-inner { max-width: 720px; width: 100%; display: flex; flex-direction: column; gap: 20px; } .eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); } .empty h1 { margin: 0; font-size: 28px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; } .lead { margin: 0; font-size: 15px; color: var(--text-muted); line-height: 1.55; } .callout-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } @media (max-width: 620px) { .callout-row { grid-template-columns: 1fr; } } .callout { padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); font-size: 13px; line-height: 1.5; } .callout .cap { font-size: 11px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; } .sugg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; } @media (max-width: 620px) { .sugg-grid { grid-template-columns: 1fr; } } .sugg { text-align: left; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px; cursor: pointer; transition: border-color 0.15s, transform 0.05s; display: flex; flex-direction: column; gap: 4px; } .sugg:hover { border-color: color-mix(in oklab, var(--accent) 40%, var(--border)); } .sugg:active { transform: translateY(1px); } .sugg-label { font-size: 13px; font-weight: 600; } .sugg-prompt { font-size: 13px; color: var(--text-muted); line-height: 1.45; } .sugg-blurb { font-size: 11px; color: var(--accent); margin-top: 4px; } /* ========================================================================== Composer ========================================================================== */ .composer { background: var(--surface); border-top: 1px solid var(--border); padding: 12px 20px 14px; } .composer-inner { max-width: 760px; margin: 0 auto; display: flex; gap: 8px; align-items: flex-end; } .composer textarea { flex: 1; resize: none; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: 13px; line-height: 1.5; outline: none; min-height: 58px; } .composer textarea:focus { border-color: color-mix(in oklab, var(--accent) 50%, var(--border)); } .composer .btn-primary { padding: 10px 18px; align-self: stretch; } .composer-hint { max-width: 760px; margin: 6px auto 0; font-size: 11px; color: var(--text-muted); }