/* Persona flow accent (blue) — gh-pages persona */ .theme-persona { --accent: #2563eb; --accent-dark: #1d4ed8; --accent-light: #dbeafe; --sidebar-bg: linear-gradient(180deg, #0f172a 0%, #1e3a5f 100%); } /* Advisor flow accent (purple) — gh-pages advisor canvas */ .theme-advisor { --accent: #7c3aed; --accent-dark: #5b21b6; --accent-light: #ede9fe; --sidebar-bg: linear-gradient(180deg, #1e1b4b 0%, #312e81 100%); } /* Landing / global — aligned with phd-advisor light theme */ :root { --bg-primary: #ffffff; --bg-secondary: #f9fafb; --bg-gradient: linear-gradient(135deg, #eff6ff 0%, #ffffff 50%, #f3e8ff 100%); --text-primary: #111827; --text-secondary: #6b7280; --border-primary: #e5e7eb; --accent-primary: #6366f1; --accent-secondary: #8b5cf6; --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08); --radius: 10px; font-family: 'Inter', system-ui, -apple-system, sans-serif; } *, *::before, *::after { box-sizing: border-box; } body { margin: 0; background: var(--bg-gradient); color: var(--text-primary); line-height: 1.6; min-height: 100vh; } a { color: var(--accent); } .theme-persona { --accent-primary: var(--accent); } .theme-advisor { --accent-primary: var(--accent); } .btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.65rem 1.25rem; border-radius: 8px; font-size: 0.9rem; font-weight: 600; cursor: pointer; border: none; font-family: inherit; transition: background 0.15s, transform 0.1s; text-decoration: none; } .btn:active { transform: scale(0.98); } .btn-primary { background: var(--accent-primary, #6366f1); color: #fff; } .btn-primary:hover { filter: brightness(1.05); } .btn-secondary { background: #fff; color: var(--text-primary); border: 1.5px solid var(--border-primary); } .btn-secondary:hover { background: var(--bg-secondary); } .btn-ghost { background: transparent; color: var(--text-primary); border: 1px solid transparent; } /* Auth page — Register actions (light blue) */ .btn-auth-register { background: #bae6fd; color: #0c4a6e; border: 1px solid #7dd3fc; } .btn-auth-register:hover { background: #7dd3fc; filter: none; } .field { margin-bottom: 1rem; } .field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.35rem; } .field-hint { margin: 0 0 0.45rem; font-size: 0.8rem; font-weight: 400; color: var(--text-secondary); line-height: 1.45; } .persona-creativity-field { margin-bottom: 1.35rem; } .persona-creativity-value { margin-bottom: 0.35rem; font-size: 1.1rem; color: var(--text-primary); } .persona-creativity-value .persona-creativity-out-of { font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); margin-left: 0.15rem; } .persona-creativity-slider { display: block; width: 100%; height: 8px; margin: 0.5rem 0 0.35rem; border-radius: 4px; accent-color: var(--accent-primary); cursor: pointer; } .persona-creativity-ticks { display: flex; justify-content: space-between; gap: 0.75rem; font-size: 0.72rem; color: var(--text-secondary); line-height: 1.35; margin-bottom: 0.75rem; } .persona-creativity-info { margin: 0; padding: 0.75rem 0.85rem; font-size: 0.82rem; line-height: 1.5; color: var(--text-secondary); background: var(--bg-secondary); border: 1px solid var(--border-primary); border-radius: 8px; border-left: 3px solid var(--accent-primary); } .field input, .field textarea, .field select { padding: 0.6rem 0.85rem; border: 1.5px solid var(--border-primary); border-radius: 8px; font-size: 0.9rem; font-family: inherit; box-sizing: border-box; } .field select { width: 100%; } /* Text fields: full width by default; intrinsic sizing when supported (grow with content, cap at container). */ .field input:not([type='range']):not([type='checkbox']):not([type='radio']):not([type='hidden']):not([type='button']):not([type='submit']):not([type='reset']):not([type='file']):not([type='color']), .field textarea { width: 100%; min-width: 0; overflow-wrap: anywhere; word-break: break-word; } .field textarea { min-height: 88px; resize: vertical; } @supports (field-sizing: content) { .field input:not([type='range']):not([type='checkbox']):not([type='radio']):not([type='hidden']):not([type='button']):not([type='submit']):not([type='reset']):not([type='file']):not([type='color']), .field textarea { field-sizing: content; width: auto; min-width: 100%; max-width: 100%; } .field textarea { min-height: unset; min-block-size: 88px; resize: none; } } .field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent-primary); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12); } /* Same as chat: html.aj-hide-pointer from useHideCaretWhileTyping */ html.aj-hide-pointer .field input:not([type='range']):not([type='checkbox']):not([type='radio']):not([type='hidden']):not([type='button']):not([type='submit']):not([type='reset']):not([type='file']):not([type='color']), html.aj-hide-pointer .field textarea { caret-color: transparent; } .card { background: var(--bg-primary); border: 1px solid var(--border-primary); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow-md); } .layout-main { display: flex; flex-direction: column; min-height: 100vh; padding-bottom: 5rem; } .layout-main:has(.wizard-layout), .layout-main:has(.experiment-aj) { height: 100dvh; overflow: hidden; padding-bottom: 0; } .save-warning { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000; background: #fef3c7; border-top: 1px solid #fde68a; color: #92400e; padding: 0.75rem 1rem; text-align: center; font-size: 0.9rem; } .save-warning a { font-weight: 600; } /* Guest save bar is position:fixed; z-index:1000 — reserve space so bottom UI (experiment chat composer, etc.) stays above it, not hidden underneath. */ .layout-main--save-banner:has(.experiment-aj) .experiment-aj.aj-app { padding-bottom: calc(3.75rem + env(safe-area-inset-bottom, 0px)); } .header-bar { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1.25rem; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border-primary); position: sticky; top: 0; z-index: 50; flex-shrink: 0; flex-wrap: wrap; } .header-bar-left { display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; min-width: 0; flex-shrink: 0; } @media (min-width: 641px) { .header-bar-left { flex-direction: row; align-items: center; gap: 0.65rem; } } .header-bar-center { display: flex; align-items: center; justify-content: center; flex: 1 1 auto; gap: 0.25rem; min-width: 0; background: #f1f5f9; border-radius: 10px; padding: 0.3rem 0.35rem; } .header-bar-right { display: flex; align-items: center; justify-content: flex-end; min-width: 0; flex-shrink: 1; margin-left: auto; } @media (max-width: 640px) { .header-bar { gap: 0.5rem; padding: 0.6rem 0.75rem; } .header-bar-center { order: 3; flex-basis: 100%; justify-content: center; } } .header-brand { font-weight: 700; text-decoration: none; color: var(--text-primary); } .header-brand-accent { font-size: clamp(0.78rem, 1.6vw, 0.9rem); font-weight: 600; letter-spacing: 0.02em; line-height: 1.25; color: var(--accent-primary); max-width: min(20rem, 46vw); text-align: right; white-space: normal; } .header-brand-accent:hover { color: var(--accent-secondary); } .header-neon-link { display: inline-flex; align-items: center; gap: 0.35rem; flex-shrink: 0; color: #000; text-decoration: none; font-size: 0.88rem; font-weight: 600; transition: opacity 0.2s ease; } .header-neon-link:hover { opacity: 0.85; } /* Same em box as “Neon.ai” (parent .header-neon-link sets font-size). Square asset scales by height. */ .header-neon-logo { height: 1em; width: auto; flex-shrink: 0; display: block; object-fit: contain; } .header-neon-text { white-space: nowrap; } .header-bar-center .header-nav-link { display: inline-block; padding: 0.35rem 0.85rem; border-radius: 6px; color: var(--text-secondary); text-decoration: none; font-size: 0.86rem; font-weight: 500; letter-spacing: 0.01em; white-space: nowrap; transition: background 0.15s, color 0.15s; } .header-bar-center .header-nav-link:hover { background: var(--bg-secondary); color: var(--text-primary); } .header-bar-center .header-nav-link:active { background: rgba(0, 0, 0, 0.06); } .header-bar-center .header-nav-link--current { background: rgba(99, 102, 241, 0.08); color: var(--accent-primary); font-weight: 600; } .user-menu-wrap { position: relative; flex-shrink: 0; } .user-menu-trigger { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.4rem 0.65rem 0.4rem 0.75rem; border-radius: 8px; border: 1px solid var(--border-primary); background: #fff; cursor: pointer; font-size: 0.88rem; } .user-menu-name { max-width: 12rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .user-menu-kebab { display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; line-height: 1; font-weight: 700; letter-spacing: -0.12em; color: var(--text-secondary); padding: 0.1rem 0.15rem; margin-left: 0.1rem; } .user-dropdown { position: absolute; left: 0; right: auto; top: calc(100% + 4px); min-width: 260px; background: #fff; border: 1px solid var(--border-primary); border-radius: 8px; box-shadow: var(--shadow-md); padding: 0.35rem 0; z-index: 60; } .user-dropdown button { display: block; width: 100%; text-align: left; padding: 0.5rem 1rem; border: none; background: none; cursor: pointer; font-size: 0.88rem; } .user-dropdown button:hover { background: var(--bg-secondary); } .user-dropdown .danger { color: #b91c1c; } .user-dropdown button:disabled { cursor: not-allowed; } .user-dropdown-link:hover { background: var(--bg-secondary); } .user-dropdown-divider { height: 1px; margin: 0.35rem 0.75rem; background: var(--border-primary); } .user-dropdown-speech { padding: 0 0 0.25rem; } .user-dropdown-speech-trigger { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; font-weight: inherit; color: inherit; } .user-dropdown-speech-trigger svg { flex-shrink: 0; opacity: 0.65; transition: transform 0.2s ease; } .user-dropdown-speech-chevron--open { transform: rotate(180deg); } .user-dropdown-speech-body { padding: 0 0.75rem 0.65rem; max-height: min(70vh, 28rem); overflow: auto; } .user-dropdown-sample-actions { display: flex; flex-direction: column; gap: 0.2rem; padding-top: 0.25rem; } .user-dropdown-sample-action { width: 100%; text-align: left; padding: 0.45rem 0.5rem; font-size: 0.88rem; font-weight: inherit; font-family: inherit; color: inherit; background: transparent; border: none; border-radius: 0.35rem; cursor: pointer; } .user-dropdown-sample-action:hover { background: var(--bg-secondary); } .user-dropdown-sample-action--danger { color: var(--danger-fg, #b91c1c); } .user-dropdown-sample-action--danger:hover { background: var(--danger-bg-soft, rgba(185, 28, 28, 0.08)); } .speech-settings-panel { display: flex; flex-direction: column; gap: 0.75rem; padding-top: 0.35rem; } .speech-settings-unavailable { margin: 0; font-size: 0.82rem; color: var(--text-secondary); } .speech-settings-checkbox { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.86rem; cursor: pointer; line-height: 1.35; } .speech-settings-checkbox input { margin-top: 0.15rem; } .speech-settings-hint { margin: 0; font-size: 0.72rem; line-height: 1.4; color: var(--text-secondary); } .speech-settings-field { display: flex; flex-direction: column; gap: 0.35rem; } .speech-settings-label { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-secondary); } .speech-settings-select { width: 100%; padding: 0.4rem 0.5rem; font-size: 0.86rem; border: 1px solid var(--border-primary); border-radius: 6px; background: #fff; } .speech-settings-stepper { display: inline-flex; align-items: center; gap: 0.35rem; } .speech-settings-step-btn { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border: 1px solid var(--border-primary); border-radius: 6px; background: #fff; cursor: pointer; color: var(--text-secondary); } .speech-settings-step-btn:hover:not(:disabled) { background: var(--bg-secondary); } .speech-settings-step-btn:disabled { opacity: 0.4; cursor: not-allowed; } .speech-settings-step-value { min-width: 2.5rem; text-align: center; font-size: 0.86rem; font-weight: 600; font-variant-numeric: tabular-nums; } .speech-settings-speed { display: flex; flex-wrap: wrap; gap: 0.35rem; } .speech-settings-speed-btn { padding: 0.35rem 0.65rem; font-size: 0.82rem; font-weight: 600; border: 1px solid var(--border-primary); border-radius: 6px; background: #fff; cursor: pointer; color: var(--text-secondary); } .speech-settings-speed-btn:hover { background: var(--bg-secondary); } .speech-settings-speed-btn--active { border-color: #93c5fd; background: #eff6ff; color: #1d4ed8; } .modal-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.45); display: flex; align-items: center; justify-content: center; z-index: 2000; padding: 1rem; } .modal-box { background: #fff; border-radius: 12px; max-width: 440px; width: 100%; max-height: 90vh; overflow: auto; padding: 1.25rem; } .modal-box h2 { margin: 0 0 1rem; font-size: 1.15rem; } .modal-box--profile { max-width: 480px; } .profile-modal-lead { margin: 0 0 1rem; font-size: 0.88rem; color: var(--text-secondary); line-height: 1.45; } .profile-modal-details { margin: 0 0 1rem; display: grid; gap: 0.85rem; } .profile-modal-row { display: flex; flex-direction: column; gap: 0.2rem; } .profile-modal-dt { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-secondary); } .profile-modal-dd { margin: 0; font-size: 0.95rem; color: var(--text-primary); line-height: 1.4; word-break: break-word; } .profile-modal-dd--mono { font-family: ui-monospace, 'Cascadia Code', 'Segoe UI Mono', monospace; font-size: 0.82rem; } .profile-modal-hint { margin: 0 0 1rem; font-size: 0.82rem; color: var(--text-secondary); line-height: 1.45; } .landing-hero { max-width: 900px; margin: 0 auto; padding: 2.5rem 1.25rem 2rem; text-align: center; } .landing-hero h1 { font-size: clamp(1.75rem, 4vw, 2.35rem); margin-bottom: 0.75rem; line-height: 1.2; } .landing-subheading { margin: 0 0 0.65rem; font-size: clamp(1.1rem, 2.5vw, 1.35rem); font-weight: 700; letter-spacing: 0.02em; line-height: 1.3; } .landing-subheading a { color: #000; text-decoration: none; } .landing-subheading a:hover { text-decoration: underline; text-underline-offset: 3px; color: #7c3aed; } .landing-hero .lead { font-size: 1.05rem; color: var(--text-secondary); max-width: 720px; margin: 0 auto 1.25rem; } .landing-auth-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; align-items: stretch; width: min(100%, 22rem); margin-left: auto; margin-right: auto; margin-bottom: 0.5rem; } .landing-auth-cta .btn { flex: 1 1 9rem; justify-content: center; min-width: 0; } .benefit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; max-width: 960px; margin: 0 auto 3rem; padding: 0 1.25rem; } .landing-hero .benefit-grid--hero { margin-top: 0.5rem; margin-bottom: 1.5rem; } .benefit-card { background: var(--bg-primary); border: 1px solid var(--border-primary); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow-md); text-align: left; cursor: pointer; transition: transform 0.15s, border-color 0.15s; text-decoration: none; color: inherit; display: block; } .benefit-card:hover { transform: translateY(-2px); border-color: var(--accent-primary); } .benefit-card h3 { margin: 0 0 0.5rem; font-size: 1.05rem; color: var(--accent-primary); } .benefit-card p { margin: 0; font-size: 0.88rem; color: var(--text-secondary); } .section { max-width: 900px; margin: 0 auto; padding: 2rem 1.25rem; } .section h2 { font-size: 1.35rem; margin-bottom: 0.75rem; } .section p { color: var(--text-secondary); } .section.project-flow-details { scroll-margin-top: 5rem; } #stage-name.project-flow-details { margin-top: 0.75rem; padding-top: 2.25rem; border-top: 1px solid var(--border-primary); } .placeholder-shot { background: linear-gradient(135deg, #e5e7eb, #f3f4f6); border-radius: var(--radius); min-height: 180px; display: flex; align-items: center; justify-content: center; color: var(--text-secondary); font-size: 0.9rem; margin: 1rem 0; } .steps-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1rem 0; } .steps-row a { padding: 0.5rem 0.9rem; background: var(--bg-secondary); border-radius: 8px; text-decoration: none; font-size: 0.88rem; color: var(--text-primary); border: 1px solid var(--border-primary); } .steps-row a:hover { border-color: var(--accent-primary); } .cta-block { max-width: 720px; margin: 2rem auto; padding: 1.5rem; border-radius: var(--radius); border: 2px dashed var(--border-primary); text-align: center; scroll-margin-top: 5rem; } .cta-block h2 { margin-top: 0; } .cta-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; justify-content: center; margin-top: 1rem; } .cta-buttons-or { font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); user-select: none; } .footer-site { text-align: center; padding: 2rem 1rem; color: var(--text-secondary); font-size: 0.85rem; border-top: 1px solid var(--border-primary); background: rgba(255, 255, 255, 0.6); } .wizard-layout { display: flex; flex: 1 1 0; min-height: 0; } .wizard-sidebar { width: 240px; background: var(--sidebar-bg); color: #e2e8f0; padding: 1.25rem 0.75rem; flex-shrink: 0; } .wizard-sidebar h2 { font-size: 1rem; margin: 0 0 1rem; padding: 0 0.75rem; } .wizard-sidebar-actions { margin-top: 1.5rem; padding: 0 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; } .wizard-sidebar-new-btn { background: none; border: 1px dashed rgba(255, 255, 255, 0.35); border-radius: 6px; color: #93c5fd; font-size: 0.78rem; padding: 0.45rem 0.6rem; cursor: pointer; text-align: left; transition: background 0.15s, border-color 0.15s; } .wizard-sidebar-new-btn:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.55); } .theme-advisor .wizard-sidebar-new-btn { color: #c4b5fd; } .wizard-sidebar-link { font-size: 0.75rem; opacity: 0.6; color: #93c5fd; text-decoration: none; } .wizard-sidebar-link:hover { opacity: 1; } .theme-advisor .wizard-sidebar-link { color: #c4b5fd; } .wizard-nav-item { padding: 0.5rem 0.75rem; border-radius: 8px; font-size: 0.84rem; margin-bottom: 4px; cursor: pointer; color: rgba(255, 255, 255, 0.55); } .wizard-nav-item:hover { background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.85); } .wizard-nav-item.active { background: rgba(99, 102, 241, 0.35); color: #fff; font-weight: 600; } .wizard-main { flex: 1; min-height: 0; overflow-y: auto; padding: 1.5rem 1.5rem 4rem; max-width: 820px; } .wizard-subheading { font-size: 1.05rem; font-weight: 600; margin: 1.5rem 0 0.75rem; color: inherit; opacity: 0.95; } .chat-panel { display: flex; flex-direction: column; height: min(70vh, 560px); border: 1px solid var(--border-primary); border-radius: var(--radius); background: #fff; overflow: hidden; } /* Interactive Q&A — message shell aligned with Persona Prompt Testing (experiment bubbles) */ .iqa-chat { --iqa-muted: #6b7280; --iqa-bubble-assistant: #f4f2f9; --iqa-border: #e2e0ea; --iqa-shadow: 0 8px 30px rgba(15, 23, 42, 0.08); } .iqa-chat .iqa-messages { flex: 1; overflow-y: auto; min-height: 0; padding: 20px 10px; background: linear-gradient(180deg, #eef0f7 0%, #f8f7fb 100%); } .iqa-chat .iqa-msg-row { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 16px; max-width: 960px; margin-left: auto; margin-right: auto; box-sizing: border-box; } .iqa-chat .iqa-msg-row:not(.user) { padding-right: 35%; justify-content: flex-end; } .iqa-chat .iqa-msg-row.user { padding-left: 35%; justify-content: flex-start; } .iqa-chat .iqa-bubble-wrap { max-width: 100%; position: relative; z-index: 0; } .iqa-chat .iqa-bubble-name { font-size: 11px; color: var(--iqa-muted); margin-bottom: 4px; padding: 0 4px; } .iqa-chat .iqa-msg-row.user .iqa-bubble-name { text-align: right; } .iqa-chat .iqa-msg-row:not(.user) .iqa-bubble-name { text-align: left; } .iqa-chat .iqa-bubble { padding: 12px 16px; border-radius: 16px; line-height: 1.55; font-size: 14px; border: 1px solid var(--iqa-border); background: var(--iqa-bubble-assistant); box-shadow: var(--iqa-shadow); display: flex; flex-direction: column; align-items: stretch; gap: 0.5rem; } .iqa-chat .iqa-msg-row:not(.user) .iqa-bubble { text-align: left; border-bottom-left-radius: 4px; } .iqa-chat .iqa-msg-row.user .iqa-bubble { text-align: left; border-radius: 16px; border-bottom-right-radius: 4px; background: linear-gradient(135deg, var(--accent), #6366f1); color: #fff; border-color: transparent; } .iqa-chat .iqa-bubble-body { white-space: pre-wrap; word-break: break-word; } .iqa-chat .iqa-typing { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-primary, #6366f1); animation: iqa-pulse 1s ease-in-out infinite; } @keyframes iqa-pulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } } .chat-messages { flex: 1; overflow-y: auto; padding: 1rem; } .chat-bubble { max-width: 85%; margin-bottom: 0.75rem; padding: 0.65rem 0.9rem; border-radius: 12px; font-size: 0.9rem; line-height: 1.45; display: flex; flex-direction: column; align-items: stretch; gap: 0.5rem; } .chat-bubble-body { white-space: pre-wrap; word-break: break-word; } .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } .message-tts-bar { margin-top: 0.15rem; padding-top: 0.45rem; border-top: 1px solid rgba(0, 0, 0, 0.06); } .message-tts-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.5rem; } .message-tts-speed-btn { width: auto; min-width: 40px; padding: 0 6px; } .message-tts-speed-label { font-size: 11px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; } @keyframes message-tts-spin { to { transform: rotate(360deg); } } .message-tts-loading-spin { animation: message-tts-spin 0.8s linear infinite; } .message-tts-btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 1px solid var(--border-primary); border-radius: 6px; background: #fff; color: var(--text-secondary); cursor: pointer; transition: background 0.15s, box-shadow 0.15s, color 0.15s; } .message-tts-btn:hover { background: var(--bg-secondary); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06); } .message-tts-btn:disabled { opacity: 0.45; cursor: not-allowed; } .message-tts-btn-active { color: #b91c1c; border-color: #fecaca; background: #fef2f2; } .message-tts-btn-small { width: 28px; height: 28px; } .message-tts-stepper { display: inline-flex; align-items: center; gap: 0.2rem; padding: 0 0.15rem; } .message-tts-value { font-size: 0.72rem; font-weight: 600; color: var(--text-secondary); min-width: 2.1rem; text-align: center; font-variant-numeric: tabular-nums; } .message-tts-stepper--pitch { align-self: flex-start; } .tts-pitch-header { display: flex; flex-direction: column; gap: 0.2rem; margin-bottom: 0.35rem; } .wizard-sidebar-tts .tts-pitch-name { font-size: 0.68rem; font-weight: 700; color: rgba(255, 255, 255, 0.92); text-transform: uppercase; letter-spacing: 0.03em; } .wizard-sidebar-tts .tts-pitch-explainer { font-size: 0.62rem; font-weight: 400; color: rgba(255, 255, 255, 0.62); line-height: 1.35; max-width: 16rem; } .wizard-sidebar-tts-pitch { margin-top: 0.65rem; } .wizard-sidebar-tts { padding: 0.75rem 0.75rem 0; margin-top: 0.5rem; border-top: 1px solid rgba(255, 255, 255, 0.12); } .wizard-sidebar-tts-title { margin: 0 0 0.35rem; font-size: 0.85rem; font-weight: 700; color: rgba(255, 255, 255, 0.95); } .wizard-sidebar-tts-hint { margin: 0 0 0.5rem; font-size: 0.7rem; line-height: 1.35; color: rgba(255, 255, 255, 0.65); } .wizard-sidebar-tts-label { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.72rem; font-weight: 600; color: rgba(255, 255, 255, 0.85); } .wizard-sidebar-tts-select { width: 100%; font-size: 0.75rem; padding: 0.4rem 0.45rem; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(15, 23, 42, 0.45); color: #f8fafc; } .wizard-sidebar-tts-select option { color: #111827; background: #fff; } .tooltip-wrap { position: relative; } .chat-bubble.user { margin-left: auto; background: var(--accent-light, #eef2ff); border: 1px solid var(--border-primary); } .chat-bubble.agent { margin-right: auto; background: var(--bg-secondary); } .chat-input-row { display: flex; gap: 0.5rem; padding: 0.75rem; border-top: 1px solid var(--border-primary); align-items: flex-end; } .chat-input-row textarea { flex: 1; min-height: 44px; max-height: 120px; padding: 0.5rem 0.75rem; border-radius: 8px; border: 1px solid var(--border-primary); font-family: inherit; resize: vertical; } /* Same mechanism as Experiment page: html.aj-hide-pointer from useHideCaretWhileTyping */ html.aj-hide-pointer .chat-input-row textarea, .chat-input-row textarea.chat-textarea-hide-caret { caret-color: transparent; } .icon-btn { padding: 0.5rem 0.65rem; border-radius: 8px; border: 1px solid var(--border-primary); background: #fff; cursor: pointer; } .icon-btn:disabled { opacity: 0.5; } .workshop-page { max-width: 900px; margin: 0 auto; padding: 1.5rem 1.25rem 4rem; } .workshop-inner { width: 100%; } .workshop-title { font-size: clamp(1.5rem, 3.5vw, 2rem); margin: 0 0 1.25rem; text-align: center; } .workshop-lead { color: var(--text-secondary); margin: 0 0 1rem; } .workshop-cta { margin-top: 0; } .workshop-experiment { display: flex; justify-content: center; margin: 1.25rem 0 1.75rem; } .workshop-manage-cta { display: flex; justify-content: center; margin: 0 0 1.25rem; } /* Same accent as “Fill out the form” / primary CTAs (blue on persona, purple on advisor). */ .workshop-manage-cta .btn-secondary { border: 2px solid var(--accent-primary, #6366f1); } /* Bordered “Experiment with…” CTA — stands out from flat primary buttons */ .workshop-experiment-link.btn-primary { border: 2px solid rgba(255, 255, 255, 0.42); box-shadow: 0 2px 14px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.18); } .theme-persona .workshop-experiment-link.btn-primary { border-color: rgba(147, 197, 253, 0.65); box-shadow: 0 2px 16px rgba(37, 99, 235, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.2); } .theme-advisor .workshop-experiment-link.btn-primary { border-color: rgba(196, 181, 253, 0.7); box-shadow: 0 2px 16px rgba(124, 58, 237, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.18); } .workshop-experiment-link.btn-primary:hover { filter: brightness(1.06); } /* No creations yet — “View my …” preview state */ .creations-view-mine-disabled { opacity: 0.48; cursor: not-allowed; pointer-events: none; background: var(--bg-secondary) !important; color: var(--text-secondary) !important; border: 1.5px solid var(--border-primary) !important; } .creations-view-mine-disabled:hover { filter: none; } .manage-creations-page .manage-creations-lead { text-align: center; max-width: 40rem; margin-left: auto; margin-right: auto; } .manage-creations-back { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.35rem 0.75rem; margin: 0 0 1.5rem; font-size: 0.95rem; } .manage-creations-back a { color: var(--text-link, var(--accent-primary, #2563eb)); text-decoration: none; } .manage-creations-back a:hover { text-decoration: underline; } .manage-creations-back-sep { color: var(--text-secondary); user-select: none; } .manage-creations-block { margin-bottom: 1.25rem; padding: 1rem 1.15rem; } .manage-creations-heading { margin: 0 0 0.85rem; font-size: 1.1rem; } .manage-creations-empty { margin: 0; color: var(--text-secondary); font-size: 0.95rem; } .manage-creations-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.85rem; } .manage-creations-select-all { display: inline-flex; align-items: center; gap: 0.45rem; cursor: pointer; font-size: 0.92rem; user-select: none; } .manage-creations-actions { display: flex; flex-wrap: wrap; gap: 0.45rem; } .manage-creations-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.35rem; } .manage-creations-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; padding: 0.5rem 0.55rem; border-radius: 0.4rem; border: 1px solid var(--border-primary); background: var(--bg-secondary); } .manage-creations-row-label { display: flex; align-items: center; gap: 0.5rem; flex: 1; min-width: 0; cursor: pointer; font-weight: 500; } .manage-creations-row-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .manage-creations-badge { flex-shrink: 0; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; padding: 0.12rem 0.4rem; border-radius: 0.25rem; background: var(--bg-tertiary, rgba(0, 0, 0, 0.06)); color: var(--text-secondary); } .manage-creations-row-link { flex-shrink: 0; font-size: 0.88rem; color: var(--text-link, var(--accent-primary, #2563eb)); text-decoration: none; } .manage-creations-row-link:hover { text-decoration: underline; } .creations-section { margin-top: 0.5rem; } .creations-section-title { margin: 0 0 1rem; font-size: 1.15rem; text-align: center; } .creations-group { margin-bottom: 1.25rem; } .creations-group:last-child { margin-bottom: 0; } .creations-group-label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-secondary); margin: 0 0 0.5rem; } .creations-buttons { display: flex; flex-wrap: wrap; gap: 0.65rem; } .summary-page { max-width: 640px; } .summary-back { margin: 0 0 1rem; font-size: 0.9rem; } .summary-back a { color: var(--accent-primary); text-decoration: none; font-weight: 600; } .summary-back a:hover { text-decoration: underline; } .summary-switcher { margin-bottom: 1.25rem; } .summary-select { width: 100%; max-width: 420px; padding: 0.55rem 0.75rem; border-radius: 8px; border: 1.5px solid var(--border-primary); font-size: 0.95rem; font-family: inherit; background: #fff; } .summary-select:focus { outline: none; border-color: var(--accent-primary); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12); } .summary-card-title { margin: 0 0 1rem; font-size: 1.35rem; } .summary-fields { margin: 0; } .summary-field { display: grid; grid-template-columns: minmax(0, 140px) 1fr; gap: 0.5rem 1rem; padding: 0.65rem 0; border-bottom: 1px solid var(--border-primary); align-items: start; } .summary-field:last-of-type { border-bottom: none; } .summary-field dt { margin: 0; font-size: 0.8rem; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.03em; } .summary-field dd { margin: 0; font-size: 0.95rem; white-space: pre-wrap; word-break: break-word; } .summary-field--full { grid-template-columns: 1fr; } .summary-field--full dt { margin-bottom: 0.35rem; } .summary-advisor-list { margin: 0; padding-left: 1.15rem; } .summary-actions { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border-primary); } @media (max-width: 768px) { .wizard-layout { flex-direction: column; } .wizard-sidebar { width: 100%; display: flex; overflow-x: auto; gap: 0.5rem; padding: 0.75rem; } .wizard-nav-item { white-space: nowrap; } .summary-field { grid-template-columns: 1fr; gap: 0.25rem; } } /* Persona prompt build (global) */ .persona-prompt-build-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 10000; padding: 0.75rem 1rem; background: linear-gradient(90deg, #5b21b6, #7c3aed); color: #fff; text-align: center; font-size: 0.95rem; font-weight: 500; box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.18); } .persona-prompt-build-warn { margin-top: 0.75rem; padding: 0.65rem 0.75rem; border-radius: 8px; background: rgba(234, 179, 8, 0.12); border: 1px solid rgba(234, 179, 8, 0.35); color: var(--text-primary); font-size: 0.9rem; } .btn-persona-prompt-build { background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%); color: #fff !important; border: none; font-weight: 600; } .theme-persona .wizard-main .btn.btn-persona-prompt-build, .theme-persona .btn.btn-persona-prompt-build { background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%) !important; color: #fff !important; border: none !important; box-shadow: 0 4px 14px rgba(91, 33, 182, 0.45); } .theme-persona .wizard-main .btn.btn-persona-prompt-build:hover:not(:disabled), .theme-persona .btn.btn-persona-prompt-build:hover:not(:disabled) { filter: brightness(1.08); box-shadow: 0 6px 18px rgba(91, 33, 182, 0.5); } .btn-persona-prompt-build:hover:not(:disabled) { filter: brightness(1.06); } .btn-persona-prompt-build:disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; } /* ── Advisor Panel Build Button ─────────────────────────────────────── */ .btn-advisor-panel-build { background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%); color: #fff !important; border: none; font-weight: 600; } .theme-advisor .wizard-main .btn.btn-advisor-panel-build, .theme-advisor .btn.btn-advisor-panel-build { background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%) !important; color: #fff !important; border: none !important; box-shadow: 0 4px 14px rgba(91, 33, 182, 0.45); } .theme-advisor .wizard-main .btn.btn-advisor-panel-build:hover:not(:disabled), .theme-advisor .btn.btn-advisor-panel-build:hover:not(:disabled) { filter: brightness(1.08); box-shadow: 0 6px 18px rgba(91, 33, 182, 0.5); } .btn-advisor-panel-build:hover:not(:disabled) { filter: brightness(1.06); } .btn-advisor-panel-build:disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; } /* ── Advisor Panel Build Banner ─────────────────────────────────────── */ .advisor-panel-build-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; padding: 0.75rem 1rem; background: linear-gradient(90deg, #5b21b6, #7c3aed); color: #fff; text-align: center; font-size: 0.95rem; font-weight: 500; box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.18); } /* ── Experiment with Advisor Panels ─────────────────────────────────── */ .experiment-advisor-layout { display: flex; min-height: calc(100vh - 56px); } .experiment-advisor-main { flex: 1; padding: 2rem 2.5rem; overflow-y: auto; } .experiment-advisor-title-row { margin-bottom: 1.25rem; } .experiment-advisor-title-row .experiment-advisor-title { margin: 0; } .experiment-advisor-title { font-size: 1.65rem; font-weight: 700; margin-bottom: 1.25rem; } /* Wide: Save / Discard / Refresh to the right of the page title */ @media (min-width: 900px) { .experiment-advisor-title-row--toolbar { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 1rem; } .experiment-advisor-title-row--toolbar .experiment-advisor-title { flex: 1; min-width: 0; } .experiment-advisor-title-row--toolbar .experiment-advisor-toolbar { flex-shrink: 0; margin-bottom: 0; justify-content: flex-end; } } .experiment-advisor-empty { text-align: center; padding: 3rem 1rem; color: var(--text-secondary); } .experiment-advisor-empty p { margin-bottom: 1rem; } .experiment-advisor-toolbar { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; } /* Narrow viewports: toolbar lives in sidebar — stack full-width buttons */ .experiment-advisor-toolbar--sidebar { flex-direction: column; align-items: stretch; gap: 0.5rem; } .experiment-advisor-toolbar--sidebar .btn { width: 100%; justify-content: center; } .experiment-advisor-toolbar--sidebar .experiment-advisor-saved { text-align: center; padding-top: 0.15rem; } .experiment-advisor-saved { font-size: 0.85rem; color: #22c55e; font-weight: 600; } .experiment-advisor-config-editor { width: 100%; min-height: 400px; font-family: 'Fira Code', 'Cascadia Code', 'Consolas', monospace; font-size: 0.82rem; line-height: 1.5; padding: 1rem; border-radius: 10px; border: 1px solid var(--border-primary); background: var(--bg-secondary); color: var(--text-primary); resize: vertical; } .experiment-advisor-preview-wrap { display: flex; flex-direction: column; gap: 0.5rem; } /* ── Right sidebar ─────────────────────────────────────────────────── */ .experiment-advisor-sidebar { width: 240px; min-width: 200px; background: var(--bg-secondary); border-left: 1px solid var(--border-primary); padding: 1.5rem 1rem; display: flex; flex-direction: column; gap: 0.5rem; overflow-y: auto; } .experiment-advisor-sidebar-controls { padding-bottom: 0.75rem; margin-bottom: 0.5rem; border-bottom: 1px solid var(--border-primary); } .experiment-advisor-sidebar-controls-title { font-size: 0.88rem; font-weight: 600; margin: 0 0 0.5rem; color: var(--text-secondary); } .experiment-advisor-sidebar-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; } .experiment-advisor-sidebar-subtitle { font-size: 0.88rem; font-weight: 600; margin-top: 1rem; margin-bottom: 0.25rem; color: var(--text-secondary); } .experiment-advisor-sidebar-nav { display: flex; flex-direction: column; gap: 0.25rem; } .experiment-advisor-sidebar-link { display: block; padding: 0.35rem 0.5rem; border-radius: 6px; font-size: 0.88rem; color: var(--text-primary); text-decoration: none; transition: background 0.15s; } .experiment-advisor-sidebar-link:hover { background: var(--bg-hover, rgba(124, 58, 237, 0.08)); } .experiment-advisor-sidebar-empty { font-size: 0.82rem; color: var(--text-tertiary); padding: 0.25rem 0.5rem; } .experiment-advisor-panel-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.15rem; } .experiment-advisor-panel-item { display: block; width: 100%; text-align: left; background: none; border: none; padding: 0.4rem 0.5rem; border-radius: 6px; font-size: 0.85rem; color: var(--text-primary); cursor: pointer; transition: background 0.15s; } .experiment-advisor-panel-item:hover { background: var(--bg-hover, rgba(124, 58, 237, 0.08)); } .experiment-advisor-panel-item--active { background: rgba(124, 58, 237, 0.14); font-weight: 600; } .btn-danger { background: #dc2626; color: #fff; border: none; } .btn-danger:hover:not(:disabled) { background: #b91c1c; } /* ── Iframe preview ────────────────────────────────────────────────── */ .experiment-advisor-iframe-wrap { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--border-primary); background: #fff; } .experiment-advisor-iframe { display: block; width: 100%; height: 600px; border: none; } .experiment-advisor-iframe-loading { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 0.5rem; background: rgba(255, 255, 255, 0.85); color: var(--text-secondary); font-size: 0.9rem; } /* ── Collapsible config editor ─────────────────────────────────────── */ .experiment-advisor-editor-accordion { margin-top: 1rem; } .experiment-advisor-editor-summary { cursor: pointer; padding: 0.5rem 0; font-weight: 600; font-size: 0.9rem; color: var(--text-secondary); user-select: none; } .experiment-advisor-editor-summary:hover { color: var(--text-primary); } .experiment-advisor-editor-accordion[open] .experiment-advisor-config-editor { margin-top: 0.5rem; } /* ── Document upload section ──────────────────────────────────────── */ .doc-upload-section { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--border-primary); } .doc-upload-section h3 { margin: 0 0 0.25rem; font-size: 1.05rem; } .doc-upload-dropzone { border: 2px dashed var(--border-primary); border-radius: 10px; padding: 1.5rem 1rem; text-align: center; color: var(--text-secondary); transition: border-color 0.15s, background 0.15s; user-select: none; display: flex; flex-direction: column; align-items: center; gap: 0.25rem; } .doc-upload-dropzone:hover { border-color: var(--accent, #7c3aed); background: rgba(124, 58, 237, 0.04); } .doc-upload-dropzone--active { border-color: var(--accent, #7c3aed); background: rgba(124, 58, 237, 0.08); } .doc-upload-dropzone-icon { font-size: 2rem; line-height: 1; margin-bottom: 0.15rem; opacity: 0.6; } .doc-upload-dropzone-text { margin: 0; font-size: 0.92rem; font-weight: 500; color: var(--text-primary); } .doc-upload-dropzone-text code { font-size: 0.85em; } .doc-upload-dropzone-or { font-size: 0.78rem; color: var(--text-secondary); margin: 0.15rem 0; } .doc-upload-browse-btn { margin-top: 0.1rem; } .doc-upload-dropzone-limits { margin: 0.35rem 0 0; font-size: 0.76rem; color: var(--text-secondary); } .doc-upload-error { margin: 0.5rem 0 0; padding: 0.5rem 0.75rem; background: rgba(220, 38, 38, 0.08); border: 1px solid rgba(220, 38, 38, 0.25); border-radius: 6px; color: #dc2626; font-size: 0.85rem; } .doc-upload-usage { margin: 0.75rem 0 0.35rem; font-size: 0.82rem; color: var(--text-secondary); } .doc-upload-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.3rem; } .doc-upload-item { display: flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.5rem; background: var(--bg-secondary, rgba(0, 0, 0, 0.03)); border-radius: 6px; font-size: 0.85rem; } .doc-upload-item-icon { flex-shrink: 0; font-size: 1rem; line-height: 1; opacity: 0.55; } .doc-upload-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .doc-upload-size { flex-shrink: 0; color: var(--text-secondary); font-size: 0.78rem; } .doc-upload-delete { flex-shrink: 0; background: none; border: none; cursor: pointer; color: var(--text-secondary); font-size: 1.1rem; line-height: 1; padding: 0 0.25rem; border-radius: 4px; transition: color 0.15s, background 0.15s; } .doc-upload-delete:hover { color: #dc2626; background: rgba(220, 38, 38, 0.08); }