        /* ============ 主题 token：白天（杂志风） ============ */
        :root {
            --ink-dark: #1a2a2e;
            --ink-green: #2d4a3e;
            --ink-accent: #3d7a5f;
            --ink-cream: #faf9f6;
            --ink-gray: #6b7c7e;
            --ink-light: #e8e6e1;
            /* 扩展 token */
            --surface: #ffffff;
            --surface-2: #faf9f6;
            --surface-elev: #ffffff;
            --border-soft: rgba(0,0,0,0.06);
            --shadow-sm: 0 2px 6px rgba(26, 42, 46, 0.04);
            --shadow-md: 0 8px 24px rgba(26, 42, 46, 0.06);
            --shadow-lg: 0 18px 38px rgba(26, 42, 46, 0.10);
            --noise-opacity: 0.03;
            --gold-soft: rgba(200, 152, 96, 0.08);
            --green-soft: rgba(61, 122, 95, 0.08);
        }

        /* ============ 主题 token：夜间（深米色 + 墨绿，杂志感） ============ */
        [data-theme="dark"] {
            --ink-dark: #ede9df;       /* 主文 → 暖象牙 */
            --ink-green: #7fb697;       /* 墨绿提亮 */
            --ink-accent: #9bc7ad;      /* 强调绿提亮 */
            --ink-cream: #131512;       /* 背景 → 深墨绿黑 */
            --ink-gray: #968e80;        /* 次要文字 → 暖灰 */
            --ink-light: rgba(237, 233, 223, 0.10);
            --surface: #1a1d1a;
            --surface-2: #15171514;
            --surface-elev: #1f2220;
            --border-soft: rgba(237, 233, 223, 0.06);
            --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
            --shadow-md: 0 10px 28px rgba(0, 0, 0, 0.4);
            --shadow-lg: 0 22px 48px rgba(0, 0, 0, 0.5);
            --noise-opacity: 0.04;
            --gold-soft: rgba(200, 152, 96, 0.14);
            --green-soft: rgba(127, 182, 151, 0.12);
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--ink-cream);
            color: var(--ink-dark);
            line-height: 1.7;
            transition: background-color 0.4s ease, color 0.4s ease;
            /* 极淡微噪点纹理（SVG inline，零网络请求） */
            background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.4 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
            background-size: 220px 220px;
            background-blend-mode: multiply;
        }
        [data-theme="dark"] body, [data-theme="dark"] {
            background-blend-mode: overlay;
        }
        .serif { font-family: 'Noto Serif SC', serif; }

        /* tabular nums for any number-heavy ui */
        .num-mono {
            font-variant-numeric: tabular-nums;
            font-feature-settings: "tnum";
        }

        .fade-in {
            animation: fadeIn 0.8s cubic-bezier(0.19, 1, 0.22, 1) forwards;
            opacity: 0;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(16px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .stagger-1 { animation-delay: 0.1s; }
        .stagger-2 { animation-delay: 0.25s; }
        .stagger-3 { animation-delay: 0.4s; }
        .stagger-4 { animation-delay: 0.55s; }

        .hidden { display: none !important; }

        /* 磁条线 + 呼吸动画 */
        .magazine-line {
            height: 1px;
            background: var(--ink-dark);
            width: 60px;
            position: relative;
            overflow: hidden;
        }
        .magazine-line::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, transparent, var(--ink-accent), transparent);
            transform: translateX(-100%);
            animation: lineSlide 4.5s ease-in-out infinite;
        }
        @keyframes lineSlide {
            0%, 35% { transform: translateX(-100%); }
            65%, 100% { transform: translateX(100%); }
        }

        /* ============ 暗色主题：针对硬编码 white 的全局覆盖 ============ */
        [data-theme="dark"] [style*="background: white"],
        [data-theme="dark"] [style*="background:white"],
        [data-theme="dark"] [style*="background-color: white"] {
            background: var(--surface) !important;
        }
        [data-theme="dark"] .bg-white {
            background-color: var(--surface) !important;
        }
        /* 避免 input/select 在暗色下白底刺眼 */
        [data-theme="dark"] input,
        [data-theme="dark"] textarea,
        [data-theme="dark"] select {
            background-color: var(--surface-elev) !important;
            color: var(--ink-dark) !important;
            border-color: var(--ink-light) !important;
        }
        [data-theme="dark"] input::placeholder,
        [data-theme="dark"] textarea::placeholder {
            color: var(--ink-gray);
            opacity: 0.5;
        }
        /* tailwind 灰阶覆盖（只覆盖最常见的 hover:bg-gray-50 等） */
        [data-theme="dark"] .hover\\:bg-gray-50:hover {
            background-color: rgba(237, 233, 223, 0.04) !important;
        }
        [data-theme="dark"] .hover\\:bg-white:hover {
            background-color: var(--surface-elev) !important;
        }
        [data-theme="dark"] .hover\\:bg-red-50:hover {
            background-color: rgba(192, 57, 43, 0.12) !important;
        }
        [data-theme="dark"] [style*="background: rgba(0,0,0"] {
            background: rgba(237, 233, 223, 0.025) !important;
        }
        [data-theme="dark"] [style*="background: rgba(0, 0, 0"] {
            background: rgba(237, 233, 223, 0.025) !important;
        }
        /* msg-user 暗色下的反色 */
        [data-theme="dark"] .msg-user {
            background: var(--ink-accent);
            color: var(--ink-cream);
        }
        /* AI 消息气泡：暗色下用 surface */
        [data-theme="dark"] .msg-ai {
            background: var(--surface);
            border-color: var(--border-soft);
        }
        /* prose 加粗 + 标题在暗色下提亮 */
        [data-theme="dark"] .msg-ai .prose strong {
            color: var(--ink-accent);
        }
        [data-theme="dark"] .msg-ai .prose h1,
        [data-theme="dark"] .msg-ai .prose h2,
        [data-theme="dark"] .msg-ai .prose h3,
        [data-theme="dark"] .msg-ai .prose h4 {
            color: var(--ink-dark);
        }
        /* AI 思考块在暗色下 */
        [data-theme="dark"] .thinking-block {
            background: rgba(237, 233, 223, 0.03);
            border-color: var(--border-soft);
        }
        /* 编辑模态等 modal 内容在暗色下 */
        [data-theme="dark"] .bg-white.rounded-2xl {
            background: var(--surface-elev) !important;
        }
        /* mini-card 在暗色下：覆盖 inline 渐变 + 头像反色 */
        [data-theme="dark"] .mini-card {
            background: var(--surface) !important;
            background-image: none !important;
        }
        [data-theme="dark"] .mini-avatar {
            background-color: rgba(237, 233, 223, 0.10) !important;
            color: var(--ink-dark) !important;
            box-shadow: inset 0 0 0 1px var(--border-soft);
        }
        [data-theme="dark"] .mini-card:hover {
            border-color: var(--ink-accent);
        }
        /* 用户条 inline white 按钮在暗色下 */
        [data-theme="dark"] #home-user-bar [style*="background: white"] {
            background: var(--surface-elev) !important;
            color: var(--ink-dark) !important;
        }
        /* 产品信息条在暗色下的渐变（如有）*/
        [data-theme="dark"] #home-product-info [style*="background"] {
            background: var(--surface) !important;
        }

        /* ============ 主题切换按钮 ============ */
        .theme-toggle {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 28px;
            height: 28px;
            border-radius: 999px;
            border: 1px solid var(--ink-light);
            background: var(--surface-elev);
            color: var(--ink-dark);
            cursor: pointer;
            transition: all 0.25s ease;
            flex-shrink: 0;
        }
        .theme-toggle:hover {
            border-color: var(--ink-accent);
            transform: scale(1.05);
        }
        .theme-toggle svg {
            width: 14px;
            height: 14px;
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .theme-toggle .icon-moon { display: none; }
        [data-theme="dark"] .theme-toggle .icon-sun { display: none; }
        [data-theme="dark"] .theme-toggle .icon-moon { display: inline-block; }

        /* Chat styles */
        #chat-container {
            display: flex;
            flex-direction: column;
            height: 100dvh;
        }

        #messages {
            flex: 1;
            overflow-y: auto;
            scroll-behavior: smooth;
        }
        #messages::-webkit-scrollbar { width: 4px; }
        #messages::-webkit-scrollbar-track { background: transparent; }
        #messages::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 2px; }

        .msg-ai {
            background: white;
            border: 1px solid var(--ink-light);
        }
        .msg-user {
            background: var(--ink-dark);
            color: white;
        }

        /* Markdown rendering in AI messages - 视觉层次升级 */

        /* 段落 */
        .msg-ai .prose p {
            margin: 0.7em 0;
            line-height: 1.75;
        }
        .msg-ai .prose p:first-child { margin-top: 0; }
        .msg-ai .prose p:last-child { margin-bottom: 0; }

        /* 加粗 - 用品牌深绿色突出关键词 */
        .msg-ai .prose strong {
            color: var(--ink-accent);
            font-weight: 600;
        }

        /* 标题 - H1/H2/H3 前置色条 + 层级区分 */
        .msg-ai .prose h1,
        .msg-ai .prose h2,
        .msg-ai .prose h3,
        .msg-ai .prose h4 {
            color: var(--ink-dark);
            font-weight: 700;
            margin: 1.2em 0 0.5em;
            padding: 0.15em 0 0.15em 0.7em;
            border-left: 3px solid var(--ink-accent);
            font-family: 'Noto Serif SC', serif;
            line-height: 1.4;
        }
        .msg-ai .prose h1 { font-size: 1.15em; }
        .msg-ai .prose h2 { font-size: 1.1em; }
        .msg-ai .prose h3 { font-size: 1.02em; border-left-color: rgba(61, 122, 95, 0.5); }
        .msg-ai .prose h4 { font-size: 0.98em; border-left-color: rgba(61, 122, 95, 0.3); border-left-width: 2px; }
        .msg-ai .prose h1:first-child,
        .msg-ai .prose h2:first-child,
        .msg-ai .prose h3:first-child,
        .msg-ai .prose h4:first-child { margin-top: 0; }

        /* 列表 - 自定义 bullet */
        .msg-ai .prose ul,
        .msg-ai .prose ol {
            margin: 0.7em 0;
            padding-left: 0.2em;
            list-style: none;
        }
        .msg-ai .prose ul li,
        .msg-ai .prose ol li {
            margin: 0.35em 0;
            padding-left: 1.4em;
            position: relative;
            line-height: 1.7;
        }
        .msg-ai .prose ul li::before {
            content: '';
            position: absolute;
            left: 0.5em;
            top: 0.7em;
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--ink-accent);
        }
        .msg-ai .prose ol {
            counter-reset: ai-li-counter;
        }
        .msg-ai .prose ol li {
            counter-increment: ai-li-counter;
        }
        .msg-ai .prose ol li::before {
            content: counter(ai-li-counter);
            position: absolute;
            left: 0;
            top: 0.05em;
            font-size: 11px;
            font-weight: 700;
            color: var(--ink-accent);
            background: rgba(61, 122, 95, 0.1);
            min-width: 18px;
            height: 18px;
            border-radius: 4px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0 4px;
        }

        /* 嵌套列表 */
        .msg-ai .prose li > ul,
        .msg-ai .prose li > ol {
            margin: 0.3em 0 0.2em;
        }

        /* 引用块 - 米色背景 + 绿色左边框 */
        .msg-ai .prose blockquote {
            border-left: 3px solid var(--ink-accent);
            background: rgba(61, 122, 95, 0.06);
            padding: 0.7em 0.95em;
            margin: 0.9em 0;
            color: var(--ink-dark);
            border-radius: 0 6px 6px 0;
            font-style: normal;
        }
        .msg-ai .prose blockquote p { margin: 0.3em 0; }
        .msg-ai .prose blockquote p:first-child { margin-top: 0; }
        .msg-ai .prose blockquote p:last-child { margin-bottom: 0; }

        /* 行内代码 */
        .msg-ai .prose code {
            background: rgba(61, 122, 95, 0.08);
            color: var(--ink-accent);
            padding: 0.12em 0.4em;
            border-radius: 4px;
            font-size: 0.88em;
            font-family: 'JetBrains Mono', 'Menlo', Consolas, monospace;
        }

        /* 代码块 - 带底色的区块 */
        .msg-ai .prose pre {
            background: rgba(0, 0, 0, 0.035);
            border: 1px solid var(--ink-light);
            padding: 0.9em 1em;
            border-radius: 8px;
            margin: 0.9em 0;
            overflow-x: auto;
            font-size: 0.88em;
            line-height: 1.6;
        }
        .msg-ai .prose pre code {
            background: transparent;
            color: var(--ink-dark);
            padding: 0;
            font-size: inherit;
        }

        /* 分割线 */
        .msg-ai .prose hr {
            border: none;
            border-top: 1px dashed var(--ink-light);
            margin: 1.2em 0;
        }

        /* 链接 */
        .msg-ai .prose a {
            color: var(--ink-accent);
            text-decoration: underline;
            text-underline-offset: 2px;
            text-decoration-thickness: 1px;
        }
        .msg-ai .prose a:hover { opacity: 0.75; }

        /* 表格 */
        .msg-ai .prose table {
            border-collapse: collapse;
            width: 100%;
            margin: 0.9em 0;
            font-size: 0.9em;
            overflow: hidden;
            border-radius: 6px;
            border: 1px solid var(--ink-light);
        }
        .msg-ai .prose thead {
            background: rgba(0,0,0,0.03);
        }
        .msg-ai .prose th,
        .msg-ai .prose td {
            padding: 0.55em 0.8em;
            text-align: left;
            border-bottom: 1px solid var(--ink-light);
        }
        .msg-ai .prose tr:last-child td { border-bottom: none; }
        .msg-ai .prose th {
            font-weight: 600;
            color: var(--ink-dark);
            font-size: 0.85em;
            letter-spacing: 0.02em;
        }

        /* AI Thinking block (DeepSeek reasoning_content) */
        .thinking-block {
            border: 1px solid var(--ink-light);
            border-radius: 8px;
            margin-bottom: 8px;
            background: rgba(0,0,0,0.018);
            overflow: hidden;
            transition: all 0.25s ease;
        }
        .thinking-block.hidden { display: none; }
        .thinking-header {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 6px 10px;
            cursor: pointer;
            user-select: none;
            font-size: 11.5px;
            color: var(--ink-gray);
        }
        .thinking-header:hover {
            background: rgba(0,0,0,0.025);
        }
        .thinking-icon {
            font-size: 12px;
            opacity: 0.85;
        }
        .thinking-label {
            font-weight: 500;
            flex: 1;
        }
        .thinking-toggle {
            font-size: 10px;
            color: var(--ink-gray);
            opacity: 0.6;
        }
        .thinking-toggle::before {
            content: '展开 ▾';
        }
        .thinking-block.expanded .thinking-toggle::before {
            content: '收起 ▴';
        }
        .thinking-body {
            display: none;
            padding: 8px 12px 10px;
            border-top: 1px dashed var(--ink-light);
            font-size: 11.5px;
            line-height: 1.65;
            color: var(--ink-gray);
            white-space: pre-wrap;
            word-break: break-word;
            max-height: 280px;
            overflow-y: auto;
            font-family: 'JetBrains Mono', 'Menlo', Consolas, monospace;
        }
        .thinking-block.expanded .thinking-body { display: block; }
        /* 思考阶段：脉动指示器 */
        .thinking-block:not([data-finalized]) .thinking-icon {
            animation: thinkPulse 1.6s ease-in-out infinite;
        }
        @keyframes thinkPulse {
            0%, 100% { opacity: 0.45; transform: scale(1); }
            50% { opacity: 1; transform: scale(1.18); }
        }

        /* Typing indicator */
        .typing-dot {
            width: 6px; height: 6px;
            background: var(--ink-accent);
            border-radius: 50%;
            animation: typing 1.4s infinite;
        }
        .typing-dot:nth-child(2) { animation-delay: 0.2s; }
        .typing-dot:nth-child(3) { animation-delay: 0.4s; }
        @keyframes typing {
            0%, 60%, 100% { opacity: 0.3; transform: scale(0.8); }
            30% { opacity: 1; transform: scale(1); }
        }

        /* Input area */
        #input-area textarea {
            resize: none;
            field-sizing: content;
            max-height: 120px;
            line-height: 1.5;
            font-size: 14px;
        }
        /* iOS 防止聚焦时页面自动放大：输入框字体 >= 16px */
        @media (max-width: 767px) {
            #input-area textarea,
            #auth-input {
                font-size: 16px !important;
            }
        }

        /* 要素库 筛选 chip */
        .filter-chip {
            font-size: 11px;
            padding: 4px 10px;
            border-radius: 999px;
            border: 1px solid var(--ink-light);
            background: white;
            color: var(--ink-gray);
            transition: all 0.2s;
            cursor: pointer;
            white-space: nowrap;
        }
        .filter-chip:hover {
            border-color: var(--ink-gray);
            color: var(--ink-dark);
        }
        .filter-chip.active {
            background: var(--ink-dark);
            color: white;
            border-color: var(--ink-dark);
        }

        /* 要素表格行 */
        .element-row {
            display: grid;
            grid-template-columns: 80px 1fr 90px 110px;
            gap: 12px;
            align-items: center;
            padding: 10px 14px;
            border-bottom: 1px solid var(--ink-light);
            background: white;
            cursor: pointer;
            transition: background 0.15s;
        }
        .element-row:hover {
            background: rgba(0,0,0,0.02);
        }
        .element-row-header {
            display: grid;
            grid-template-columns: 80px 1fr 90px 110px;
            gap: 12px;
            padding: 8px 14px;
            background: rgba(0,0,0,0.025);
            border-bottom: 1px solid var(--ink-light);
            font-size: 11px;
            font-weight: 600;
            color: var(--ink-gray);
            letter-spacing: 0.04em;
            position: sticky;
            top: 0;
            z-index: 5;
        }
        .element-row .type-col,
        .element-row .status-col,
        .element-row .stats-col {
            font-size: 12px;
            white-space: nowrap;
        }
        .element-row .content-col {
            min-width: 0;
        }
        .element-row .content-col .title {
            font-size: 13px;
            font-weight: 600;
            color: var(--ink-dark);
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .element-row .content-col .desc {
            font-size: 11px;
            color: var(--ink-gray);
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            margin-top: 2px;
        }
        .element-row .stats-col {
            text-align: right;
            font-size: 11px;
            color: var(--ink-gray);
        }
        .element-row .stats-col .roi {
            color: var(--ink-dark);
            font-weight: 600;
        }

        /* Mobile: 两行紧凑卡片 */
        @media (max-width: 767px) {
            .element-row,
            .element-row-header {
                grid-template-columns: 1fr auto;
                gap: 6px;
                padding: 10px 12px;
            }
            .element-row-header { display: none; }
            .element-row {
                align-items: flex-start;
            }
            .element-row .type-col {
                grid-column: 1;
                display: flex;
                gap: 6px;
                align-items: center;
            }
            .element-row .status-col {
                grid-column: 2;
                justify-self: end;
            }
            .element-row .content-col {
                grid-column: 1 / -1;
            }
            .element-row .stats-col {
                grid-column: 1 / -1;
                text-align: left;
                font-size: 11px;
            }
        }

        /* 分页按钮 */
        /* NPS 分数按钮 */
        .nps-score-btn {
            height: 36px;
            border: 1px solid var(--ink-light);
            border-radius: 6px;
            background: white;
            color: var(--ink-dark);
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.15s;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .nps-score-btn:hover {
            border-color: var(--ink-accent);
            background: rgba(61, 122, 95, 0.05);
        }
        .nps-score-btn.active {
            background: var(--ink-accent);
            color: white;
            border-color: var(--ink-accent);
        }

        .page-btn {
            min-width: 26px;
            height: 26px;
            padding: 0 6px;
            border: 1px solid var(--ink-light);
            border-radius: 5px;
            background: white;
            color: var(--ink-dark);
            font-size: 11px;
            cursor: pointer;
            transition: all 0.15s;
        }
        .page-btn:hover:not(:disabled) {
            border-color: var(--ink-dark);
        }
        .page-btn.active {
            background: var(--ink-dark);
            color: white;
            border-color: var(--ink-dark);
        }
        .page-btn:disabled {
            opacity: 0.35;
            cursor: not-allowed;
        }

        /* 买点工坊：资产卡片 */
        .bp-card {
            background: white;
            border: 1px solid var(--ink-light);
            border-radius: 10px;
            padding: 14px 16px;
            margin-bottom: 10px;
            transition: all 0.2s;
            position: relative;
        }
        .bp-card:hover {
            border-color: rgba(200, 152, 96, 0.5);
            box-shadow: 0 2px 10px rgba(0,0,0,0.04);
        }
        .bp-card .bp-num {
            position: absolute;
            top: 12px;
            right: 14px;
            font-family: 'Noto Serif SC', serif;
            font-size: 14px;
            font-weight: 700;
            color: var(--ink-gray);
            opacity: 0.4;
        }
        .bp-card .bp-buypoint {
            font-size: 14px;
            font-weight: 600;
            color: var(--ink-dark);
            margin-bottom: 8px;
            line-height: 1.55;
            padding-right: 60px;
        }
        .bp-card .bp-scenario {
            font-size: 12px;
            color: var(--ink-gray);
            margin-bottom: 10px;
            line-height: 1.5;
            display: flex;
            gap: 6px;
            align-items: flex-start;
        }
        .bp-card .bp-scenario::before {
            content: '场景';
            flex-shrink: 0;
            font-size: 10px;
            font-weight: 600;
            background: rgba(0,0,0,0.04);
            padding: 1px 6px;
            border-radius: 3px;
            margin-top: 2px;
        }
        .bp-elements {
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
            margin-bottom: 8px;
        }
        .bp-element-chip {
            display: inline-flex;
            align-items: center;
            padding: 2px 8px;
            border-radius: 999px;
            background: rgba(200, 152, 96, 0.1);
            color: #8a5a2b;
            font-size: 10.5px;
            font-weight: 500;
            border: 1px solid transparent;
            transition: all 0.15s ease;
        }
        .bp-element-chip.imported {
            background: rgba(61, 122, 95, 0.1);
            color: var(--ink-accent);
            border-color: rgba(61, 122, 95, 0.25);
        }
        .bp-element-chip.selectable {
            cursor: pointer;
            user-select: none;
        }
        .bp-element-chip.selectable:hover:not(.imported) {
            background: rgba(200, 152, 96, 0.18);
        }
        .bp-element-chip.selected {
            background: var(--ink-accent) !important;
            color: white !important;
            border-color: var(--ink-accent) !important;
        }
        .bp-element-chip.selected span { color: rgba(255,255,255,0.7) !important; }

        /* 状态徽章 */
        .bp-status-badge {
            display: inline-flex;
            align-items: center;
            padding: 2px 8px;
            border-radius: 999px;
            font-size: 10px;
            font-weight: 600;
            letter-spacing: 0.02em;
        }

        /* 候选区里买点 / 场景大字（可点选） */
        .bp-cand-pick-row {
            display: flex;
            align-items: flex-start;
            gap: 8px;
            padding: 6px 8px;
            border-radius: 6px;
            cursor: pointer;
            user-select: none;
            transition: background 0.15s ease;
        }
        .bp-cand-pick-row:hover:not(.imported) {
            background: rgba(0,0,0,0.025);
        }
        .bp-cand-pick-row.selected {
            background: rgba(61, 122, 95, 0.08);
        }
        .bp-cand-pick-row.imported {
            cursor: default;
            opacity: 0.7;
        }
        .bp-cand-pick-mark {
            width: 14px;
            height: 14px;
            border-radius: 4px;
            border: 1.5px solid var(--ink-light);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            margin-top: 3px;
            background: white;
            transition: all 0.15s ease;
        }
        .bp-cand-pick-row.selected .bp-cand-pick-mark {
            background: var(--ink-accent);
            border-color: var(--ink-accent);
            color: white;
        }
        .bp-cand-pick-row.imported .bp-cand-pick-mark {
            background: var(--ink-accent);
            border-color: var(--ink-accent);
            color: white;
        }
        .bp-card .bp-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-top: 8px;
            border-top: 1px dashed var(--ink-light);
            font-size: 10.5px;
            color: var(--ink-gray);
        }
        .bp-card .bp-meta-left {
            display: flex;
            gap: 8px;
            align-items: center;
        }
        .bp-card .bp-actions {
            display: flex;
            gap: 4px;
        }
        .bp-card .bp-actions button {
            background: transparent;
            border: none;
            padding: 4px;
            cursor: pointer;
            border-radius: 4px;
            color: var(--ink-gray);
            transition: all 0.15s;
            line-height: 0;
        }
        .bp-card .bp-actions button:hover {
            background: rgba(0,0,0,0.05);
            color: var(--ink-dark);
        }
        .bp-card .bp-note {
            font-size: 11px;
            color: var(--ink-gray);
            font-style: italic;
            margin-top: 6px;
            padding: 5px 8px;
            background: rgba(0,0,0,0.02);
            border-radius: 4px;
        }

        /* 买点候选卡片 */
        .bp-candidate {
            background: white;
            border: 1px solid var(--ink-light);
            border-radius: 10px;
            padding: 14px 16px;
            margin-bottom: 12px;
            transition: all 0.2s;
        }
        .bp-candidate.added {
            background: rgba(61, 122, 95, 0.05);
            border-color: var(--ink-accent);
        }
        .bp-candidate.skipped {
            opacity: 0.4;
        }
        .bp-candidate .bp-cand-header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 10px;
            margin-bottom: 8px;
        }
        .bp-candidate .bp-cand-buypoint {
            font-size: 14px;
            font-weight: 600;
            color: var(--ink-dark);
            line-height: 1.55;
            flex: 1;
        }
        .bp-candidate .bp-cand-actions {
            display: flex;
            gap: 6px;
            flex-shrink: 0;
        }
        .bp-candidate .bp-cand-btn {
            font-size: 11px;
            padding: 5px 10px;
            border-radius: 6px;
            cursor: pointer;
            border: 1px solid var(--ink-light);
            background: white;
            color: var(--ink-dark);
            transition: all 0.15s;
            white-space: nowrap;
        }
        .bp-candidate .bp-cand-btn.primary {
            background: var(--ink-accent);
            color: white;
            border-color: var(--ink-accent);
        }
        .bp-candidate .bp-cand-btn:hover {
            opacity: 0.85;
        }
        .bp-candidate .bp-cand-btn.added {
            background: var(--ink-accent);
            color: white;
            border-color: var(--ink-accent);
            cursor: default;
        }
        .bp-candidate .bp-cand-btn.skip-active {
            opacity: 0.5;
        }
        .status-badge {
            display: inline-flex;
            align-items: center;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 10px;
            font-weight: 600;
            letter-spacing: 0.02em;
        }
        .status-s { background: rgba(178, 118, 58, 0.12); color: #8a5a2b; }
        .status-a { background: rgba(61, 122, 95, 0.12); color: var(--ink-accent); }
        .status-b { background: rgba(37, 99, 235, 0.1); color: #2563eb; }
        .status-pending { background: rgba(107, 124, 126, 0.12); color: var(--ink-gray); }
        .status-fail { background: rgba(192, 57, 43, 0.08); color: #c0392b; }
        .status-retired { background: rgba(0,0,0,0.05); color: #888; text-decoration: line-through; }

        .type-tag {
            display: inline-flex;
            align-items: center;
            padding: 1px 7px;
            border-radius: 4px;
            font-size: 10px;
            font-weight: 500;
            background: rgba(0,0,0,0.04);
            color: var(--ink-dark);
        }

        /* AI 组合卡片 */
        .combine-card {
            border: 1px solid var(--ink-light);
            border-radius: 12px;
            background: white;
            margin-bottom: 14px;
            overflow: hidden;
            animation: combineIn 0.5s cubic-bezier(0.19, 1, 0.22, 1) both;
        }
        .combine-card:nth-child(1) { animation-delay: 0.05s; }
        .combine-card:nth-child(2) { animation-delay: 0.15s; }
        .combine-card:nth-child(3) { animation-delay: 0.25s; }
        @keyframes combineIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .combine-card .combine-header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 12px;
            padding: 14px 16px;
            border-bottom: 1px solid var(--ink-light);
            background: linear-gradient(90deg, rgba(61, 122, 95, 0.06), transparent);
        }
        .combine-card .combine-num {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 24px;
            height: 24px;
            border-radius: 6px;
            background: var(--ink-dark);
            color: white;
            font-size: 11px;
            font-weight: 700;
            flex-shrink: 0;
            font-family: 'Inter', sans-serif;
        }
        .combine-card .combine-title {
            font-size: 14px;
            font-weight: 600;
            color: var(--ink-dark);
            line-height: 1.5;
        }
        .combine-card .copy-btn {
            font-size: 11px;
            padding: 4px 10px;
            border: 1px solid var(--ink-light);
            border-radius: 6px;
            background: white;
            color: var(--ink-gray);
            cursor: pointer;
            transition: all 0.15s;
            flex-shrink: 0;
            white-space: nowrap;
        }
        .combine-card .copy-btn:hover {
            border-color: var(--ink-dark);
            color: var(--ink-dark);
        }
        .combine-card .combine-body { padding: 14px 16px; }
        .combine-card .combine-section {
            margin-bottom: 12px;
        }
        .combine-card .combine-section:last-child { margin-bottom: 0; }
        .combine-card .section-label {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 11px;
            font-weight: 600;
            color: var(--ink-gray);
            margin-bottom: 6px;
            letter-spacing: 0.02em;
        }
        .combine-card .section-label svg { flex-shrink: 0; }
        .combine-card .section-text {
            font-size: 13px;
            line-height: 1.65;
            color: var(--ink-dark);
        }
        .combine-card .elements-chips {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }
        .combine-card .element-chip {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 3px 10px;
            border-radius: 999px;
            background: rgba(0,0,0,0.04);
            font-size: 11px;
            color: var(--ink-dark);
        }
        .combine-card .element-chip .role {
            color: var(--ink-gray);
            font-size: 10px;
        }
        .combine-card .logic-block {
            padding: 10px 12px;
            background: rgba(255, 221, 149, 0.15);
            border-left: 3px solid #d4a84b;
            border-radius: 0 6px 6px 0;
        }
        .combine-card .test-block {
            padding: 10px 12px;
            background: rgba(61, 122, 95, 0.06);
            border-left: 3px solid var(--ink-accent);
            border-radius: 0 6px 6px 0;
        }

        /* 产品信息展示 */
        .product-info-chip {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 12px;
            border-radius: 999px;
            background: white;
            border: 1px solid var(--ink-light);
            font-size: 11px;
            color: var(--ink-dark);
            max-width: 100%;
        }
        .product-info-chip .product-text {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        /* AI 生成中 shimmer */
        .ai-loading-skeleton {
            background: linear-gradient(90deg, rgba(0,0,0,0.04) 25%, rgba(0,0,0,0.08) 50%, rgba(0,0,0,0.04) 75%);
            background-size: 200% 100%;
            animation: shimmer 1.4s infinite;
            border-radius: 8px;
        }
        @keyframes shimmer {
            from { background-position: 200% 0; }
            to { background-position: -200% 0; }
        }

        /* Mobile icon button（对话页顶栏用） */
        .icon-btn {
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            border: 1px solid var(--ink-light);
        }
        @media (min-width: 768px) {
            .icon-btn {
                width: auto;
                height: auto;
                border-radius: 6px;
            }
        }

        /* Send button */
        .send-btn {
            transition: all 0.2s;
        }
        .send-btn:hover:not(:disabled) {
            background: var(--ink-accent);
            color: white;
        }
        .send-btn:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }

        /* Message appear animation */
        .msg-appear {
            animation: msgIn 0.35s cubic-bezier(0.19, 1, 0.22, 1) forwards;
        }
        @keyframes msgIn {
            from { opacity: 0; transform: translateY(8px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Welcome hints */
        .hint-card {
            border: 1px solid var(--ink-light);
            transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
            cursor: pointer;
        }
        .hint-card:hover {
            border-color: var(--ink-accent);
            background: rgba(61, 122, 95, 0.04);
            transform: translateY(-2px);
        }

        /* History drawer */
        @keyframes slideIn {
            from { transform: translateX(100%); }
            to { transform: translateX(0); }
        }
        @keyframes toastIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes toastOut {
            to { opacity: 0; transform: translateY(20px); }
        }
        @keyframes modalIn {
            from { opacity: 0; transform: translateY(12px) scale(0.98); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }
        .brand-option:hover {
            border-color: var(--ink-dark) !important;
            background: rgba(0,0,0,0.02);
            transform: translateY(-1px);
        }
        .brand-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 2px 8px;
            border-radius: 999px;
            font-size: 10px;
            font-weight: 600;
            letter-spacing: 0.05em;
            background: rgba(178, 118, 58, 0.1);
            color: #8a5a2b;
        }
        .brand-badge.brand-other {
            background: rgba(107, 124, 126, 0.1);
            color: var(--ink-gray);
        }
        .history-item {
            padding: 12px 14px;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s;
            border: 1px solid transparent;
            position: relative;
        }
        .history-item:hover {
            background: rgba(0,0,0,0.03);
            border-color: var(--ink-light);
        }
        .history-item.active {
            background: rgba(61, 122, 95, 0.06);
            border-color: var(--ink-accent);
        }
        .history-item-delete {
            opacity: 0;
            transition: opacity 0.2s;
        }
        .history-item:hover .history-item-delete {
            opacity: 0.5;
        }
        .history-item-delete:hover {
            opacity: 1 !important;
        }

        /* ============ Landing Page（杂志封面式入口） ============ */
        .landing-screen {
            min-height: 100dvh;
            display: flex;
            flex-direction: column;
            padding: 28px 36px 22px;
            position: relative;
            overflow: hidden;
        }
        /* 装饰：右下角的微弱色块 */
        .landing-screen::before {
            content: '';
            position: absolute;
            right: -10%;
            bottom: -15%;
            width: 55%;
            height: 70%;
            background: radial-gradient(ellipse at center, var(--green-soft), transparent 65%);
            pointer-events: none;
            z-index: 0;
        }
        .landing-screen::after {
            content: '';
            position: absolute;
            left: -8%;
            top: -5%;
            width: 35%;
            height: 45%;
            background: radial-gradient(ellipse at center, var(--gold-soft), transparent 70%);
            pointer-events: none;
            z-index: 0;
        }
        .landing-topbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-bottom: 14px;
            border-bottom: 1px solid var(--ink-light);
            position: relative;
            z-index: 2;
            width: 100%;
            max-width: 1240px;
            margin: 0 auto;
        }
        .landing-edition {
            font-family: 'Inter', sans-serif;
            font-size: 10px;
            letter-spacing: 0.32em;
            color: var(--ink-gray);
            text-transform: uppercase;
            font-weight: 500;
        }
        .landing-main {
            flex: 1;
            display: grid;
            grid-template-columns: 1.2fr 1fr;
            gap: 80px;
            align-items: center;
            padding: 30px 0;
            position: relative;
            z-index: 2;
            min-height: 0;
            width: 100%;
            max-width: 1240px;
            margin: 0 auto;
        }
        .landing-left { padding-right: 20px; }
        .landing-kicker {
            font-family: 'Inter', sans-serif;
            font-size: 11px;
            letter-spacing: 0.4em;
            color: var(--ink-accent);
            font-weight: 600;
            text-transform: uppercase;
            margin-bottom: 18px;
        }
        .landing-title {
            font-size: clamp(48px, 7vw, 92px);
            font-weight: 700;
            line-height: 1.05;
            letter-spacing: -0.025em;
            color: var(--ink-dark);
            margin-bottom: 22px;
        }
        .landing-title-accent {
            color: var(--ink-accent);
            font-style: italic;
            font-weight: 400;
        }
        .landing-line {
            width: 60px;
            margin: 0 0 20px;
        }
        .landing-lead {
            font-family: 'Noto Serif SC', serif;
            font-size: 15px;
            line-height: 1.85;
            color: var(--ink-dark);
            max-width: 540px;
            margin-bottom: 28px;
            opacity: 0.85;
        }
        .landing-lead strong {
            font-weight: 700;
            color: var(--ink-accent);
        }
        .landing-stats {
            display: flex;
            align-items: center;
            gap: 18px;
            padding-top: 18px;
            border-top: 1px dashed var(--ink-light);
            max-width: 480px;
        }
        .landing-stat {
            flex: 1;
        }
        .landing-stat-num {
            font-size: 32px;
            font-weight: 700;
            line-height: 1;
            color: var(--ink-dark);
            margin-bottom: 4px;
            letter-spacing: -0.02em;
        }
        .landing-stat-label {
            font-size: 11px;
            letter-spacing: 0.18em;
            color: var(--ink-gray);
            text-transform: none;
        }
        .landing-stat-sep {
            width: 1px;
            height: 28px;
            background: var(--ink-light);
        }

        /* 右：CTA 卡片 */
        .landing-cta-wrap {
            position: relative;
        }
        .landing-cta-decor {
            position: absolute;
            top: -24px;
            right: -24px;
            width: 80px;
            height: 80px;
            border: 1px solid var(--ink-accent);
            border-radius: 12px;
            opacity: 0.25;
            transform: rotate(8deg);
            z-index: 0;
            pointer-events: none;
        }
        .landing-cta-card {
            position: relative;
            z-index: 1;
            background: var(--surface);
            border: 1px solid var(--ink-light);
            border-radius: 14px;
            padding: 32px 30px;
            box-shadow: var(--shadow-md);
        }
        .landing-cta-meta {
            font-family: 'Inter', sans-serif;
            font-size: 10px;
            letter-spacing: 0.3em;
            color: var(--ink-gray);
            font-weight: 600;
            margin-bottom: 6px;
        }
        .landing-cta-title {
            font-size: 22px;
            font-weight: 700;
            color: var(--ink-dark);
            margin-bottom: 18px;
            letter-spacing: -0.01em;
        }
        .landing-cta-hint {
            font-size: 12px;
            line-height: 1.7;
            color: var(--ink-gray);
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .landing-check {
            color: var(--ink-accent);
            font-size: 9px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: rgba(61, 122, 95, 0.12);
        }
        .landing-input-wrap {
            margin-bottom: 14px;
        }
        .landing-input {
            width: 100%;
            padding: 12px 14px;
            font-size: 14px;
            border: 1px solid var(--ink-light);
            border-radius: 8px;
            outline: none;
            background: var(--surface);
            color: var(--ink-dark);
            transition: border-color 0.2s ease;
            letter-spacing: 0.05em;
        }
        .landing-input:focus {
            border-color: var(--ink-dark);
        }
        .landing-error {
            font-size: 11px;
            color: #c0392b;
            margin-top: 6px;
        }
        .landing-btn {
            width: 100%;
            padding: 13px 18px;
            font-size: 13px;
            border-radius: 8px;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: all 0.25s cubic-bezier(0.19, 1, 0.22, 1);
            font-family: 'Inter', sans-serif;
            font-weight: 600;
            letter-spacing: 0.04em;
        }
        .landing-btn-primary {
            background: var(--ink-dark);
            color: var(--ink-cream);
        }
        .landing-btn-primary:hover {
            transform: translateY(-1px);
            box-shadow: 0 8px 20px rgba(26, 42, 46, 0.18);
        }
        .landing-btn-primary:active {
            transform: translateY(0);
        }
        .landing-btn-primary svg {
            transition: transform 0.25s ease;
        }
        .landing-btn-primary:hover svg {
            transform: translateX(4px);
        }
        .landing-btn-ghost {
            background: transparent;
            color: var(--ink-gray);
            margin-top: 8px;
            padding: 8px 14px;
            font-size: 11px;
            font-weight: 500;
            letter-spacing: 0.06em;
        }
        .landing-btn-ghost:hover {
            color: var(--ink-dark);
            background: rgba(0, 0, 0, 0.03);
        }
        .landing-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 14px;
            border-top: 1px solid var(--ink-light);
            position: relative;
            z-index: 2;
            width: 100%;
            max-width: 1240px;
            margin: 0 auto;
        }
        .landing-footer-mid { text-align: center; }
        .landing-footer-right { text-align: right; }

        /* Mobile */
        @media (max-width: 900px) {
            .landing-screen { padding: 18px 20px 14px; }
            .landing-main {
                grid-template-columns: 1fr;
                gap: 30px;
                padding: 20px 0;
                align-items: start;
            }
            .landing-title { font-size: 44px; }
            .landing-lead { font-size: 14px; }
            .landing-stats { gap: 12px; max-width: 100%; }
            .landing-stat-num { font-size: 26px; }
            .landing-cta-card { padding: 24px 22px; }
            .landing-footer-mid { display: none; }
        }
        @media (max-width: 480px) {
            .landing-title { font-size: 36px; }
            .landing-stat-num { font-size: 22px; }
            .landing-stat-label { font-size: 10px; letter-spacing: 0.12em; }
        }

        /* Mini Card（精修版） */
        .mini-card {
            background: var(--surface);
            border: 1px solid var(--border-soft);
            border-radius: 12px;
            padding: 16px;
            cursor: pointer;
            transition: transform 0.35s cubic-bezier(0.19, 1, 0.22, 1),
                        box-shadow 0.35s cubic-bezier(0.19, 1, 0.22, 1),
                        border-color 0.25s ease;
            display: flex;
            flex-direction: column;
            gap: 10px;
            min-height: 124px;
            position: relative;
            overflow: hidden;
            isolation: isolate;
        }
        /* 卡片左上角微妙的光晕，hover 时浮现 */
        .mini-card::before {
            content: '';
            position: absolute;
            top: -40%;
            left: -10%;
            width: 60%;
            height: 80%;
            background: radial-gradient(ellipse at center, var(--green-soft), transparent 65%);
            opacity: 0;
            transition: opacity 0.5s ease;
            pointer-events: none;
            z-index: -1;
        }
        .mini-card.mini-factory::before {
            background: radial-gradient(ellipse at center, var(--gold-soft), transparent 65%);
        }
        .mini-card:hover {
            transform: translateY(-3px);
            border-color: var(--ink-dark);
            box-shadow: var(--shadow-md);
        }
        .mini-card:hover::before { opacity: 1; }
        .mini-card:hover .mini-avatar {
            transform: scale(1.06) rotate(-2deg);
        }
        .mini-card-head {
            display: flex;
            gap: 12px;
            align-items: flex-start;
        }
        .mini-avatar {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-family: 'Noto Serif SC', serif;
            font-size: 14px;
            font-weight: 700;
            flex-shrink: 0;
            box-shadow: 0 4px 10px rgba(0,0,0,0.10);
            transition: transform 0.35s cubic-bezier(0.19, 1, 0.22, 1);
        }
        [data-theme="dark"] .mini-avatar {
            box-shadow: 0 4px 14px rgba(0,0,0,0.45);
        }
        .mini-title-wrap { min-width: 0; flex: 1; }
        .mini-title {
            font-family: 'Noto Serif SC', serif;
            font-size: 15px;
            font-weight: 700;
            color: var(--ink-dark);
            line-height: 1.3;
            margin-bottom: 4px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            letter-spacing: -0.01em;
        }
        .mini-tag {
            display: inline-block;
            font-size: 9.5px;
            padding: 1.5px 7px;
            border-radius: 999px;
            background: rgba(0, 0, 0, 0.045);
            color: var(--ink-gray);
            letter-spacing: 0.06em;
            font-family: 'Inter', sans-serif;
        }
        [data-theme="dark"] .mini-tag {
            background: rgba(237, 233, 223, 0.06);
        }
        .mini-card.mini-factory .mini-tag {
            background: rgba(200, 152, 96, 0.14);
            color: #b27a33;
        }
        [data-theme="dark"] .mini-card.mini-factory .mini-tag {
            color: #e0b176;
        }
        .mini-desc {
            font-size: 11.5px;
            line-height: 1.6;
            color: var(--ink-gray);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        /* 分组标题升级 */
        .group-title-line {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 10px;
        }
        .group-title-line .group-name {
            font-family: 'Noto Serif SC', serif;
            font-size: 16px;
            font-weight: 700;
            letter-spacing: -0.005em;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .group-title-line .group-name::before {
            content: '';
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--ink-accent);
            box-shadow: 0 0 0 3px var(--green-soft);
        }
        .group-title-line .group-divider {
            flex: 1;
            height: 1px;
            background: linear-gradient(90deg, var(--ink-light), transparent 90%);
        }
        .group-title-line .group-meta {
            font-family: 'Inter', sans-serif;
            font-size: 9.5px;
            letter-spacing: 0.25em;
            color: var(--ink-gray);
            opacity: 0.75;
        }

        @media (max-width: 767px) {
            .mini-card { padding: 13px; min-height: 110px; gap: 8px; }
            .mini-title { font-size: 14px; }
            .mini-desc { font-size: 11px; }
            .mini-avatar { width: 30px; height: 30px; font-size: 12.5px; }
            .group-title-line .group-name { font-size: 14px; }
        }

        /* Agent selection card */
        .agent-card {
            background: white;
            transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
            position: relative;
            overflow: hidden;
        }
        .agent-card::before {
            content: '';
            position: absolute;
            inset: 0;
            background: var(--ink-dark);
            transform: translateY(100%);
            transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
            z-index: 0;
        }
        .agent-card > * {
            position: relative;
            z-index: 1;
            transition: color 0.4s cubic-bezier(0.19, 1, 0.22, 1);
        }
        .agent-card:hover {
            transform: translateY(-4px);
        }
        .agent-card:hover::before {
            transform: translateY(0);
        }
        .agent-card:hover h2,
        .agent-card:hover p,
        .agent-card:hover div {
            color: white !important;
        }
