        /* 按 AI选品设计稿重构的海外获客两阶段对话 */
        .lead-reasoning.agent-workflow {
            gap: 8px;
            padding: 0 0 6px;
        }

        .lead-reasoning .agent-thinking-status {
            color: #4b4f59;
            font-size: 16px;
        }

        .lead-reasoning .agent-thinking-status.done .agent-thinking-spinner {
            border-color: #28a96b;
            background: #28a96b;
        }

        .lead-reasoning .agent-thought-stream {
            gap: 8px;
            padding: 0;
            color: #666d78;
            white-space: normal;
        }

        .lead-thought-intro {
            margin: 0;
            color: #515761;
            font-size: 13px;
            line-height: 1.6;
        }

        .lead-thought-steps.task-steps {
            grid-template-columns: minmax(0, 1fr);
            gap: 0;
            padding-left: 28px;
        }

        .lead-thought-steps .task-step {
            min-height: 44px;
            align-items: flex-start;
            padding: 1px 0 5px;
        }

        .lead-thought-steps .task-step:not(:last-child)::after {
            content: "";
            position: absolute;
            top: 22px;
            bottom: -4px;
            left: -19px;
            width: 1px;
            background: #e8ebf1;
        }

        .lead-thought-steps .task-step strong,
        .lead-thought-steps .task-step small {
            display: block;
        }

        .lead-thought-steps .task-step strong {
            color: #555b66;
            font-size: 13px;
            font-weight: 700;
        }

        .lead-thought-steps .task-step small {
            margin-top: 3px;
            color: #a0a5ae;
            font-size: 11px;
            line-height: 1.45;
        }

        .lead-dialog-result-card {
            width: min(760px, 100%);
            overflow: hidden;
            border: 1px solid #eceef5;
            border-radius: 18px;
            background: linear-gradient(145deg, #f7f8ff, #fbfaff);
            white-space: normal;
        }

        .lead-dialog-result-head {
            padding: 12px 16px 8px;
        }

        .lead-dialog-result-head h3 {
            margin: 0;
            color: #292d35;
            font-size: 16px;
        }

        .lead-dialog-result-head p {
            margin: 4px 0 0;
            color: #737985;
            font-size: 12px;
            line-height: 1.5;
        }

        .lead-hs-result-table-wrap {
            margin: 0 16px;
            overflow: hidden;
            border: 1px solid #e8eaf0;
            border-radius: 8px;
            background: #fff;
        }

        .lead-hs-result-table {
            width: 100%;
            border-collapse: collapse;
            table-layout: fixed;
            color: #3f4652;
            font-size: 13px;
        }

        .lead-hs-result-table th {
            height: 38px;
            padding: 0 12px;
            border-right: 1px solid #e8eaf0;
            border-bottom: 1px solid #e8eaf0;
            background: #f7f8fb;
            color: #454b56;
            text-align: left;
            font-weight: 700;
        }

        .lead-hs-result-table th:last-child,
        .lead-hs-result-table td:last-child {
            border-right: 0;
        }

        .lead-hs-result-table td {
            height: 46px;
            padding: 0;
            border-right: 1px solid #eef0f4;
            border-bottom: 1px solid #eef0f4;
            background: #fff;
            transition: background 0.16s ease;
        }

        .lead-hs-result-table tbody tr:last-child td {
            border-bottom: 0;
        }

        .lead-hs-result-table tbody tr:hover td {
            background: #fafaff;
        }

        .lead-hs-code-control,
        .lead-hs-name-control {
            display: flex;
            align-items: center;
            width: 100%;
            min-height: 46px;
            margin: 0;
            padding: 0 12px;
            cursor: pointer;
        }

        .lead-hs-code-control {
            gap: 10px;
        }

        .lead-hs-code-control input {
            width: 16px;
            height: 16px;
            margin: 0;
            accent-color: #6973ff;
            flex: 0 0 auto;
        }

        .lead-hs-code-control strong {
            color: #4c566b;
            font-size: 13px;
        }

        .lead-hs-name-control {
            overflow: hidden;
            color: #434954;
            font-size: 13px;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .lead-hs-result-table tr:has(input:checked) td {
            background: rgba(105, 115, 255, 0.09);
        }

        .lead-dialog-result-footer {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 10px;
            padding: 10px 16px 12px;
            border-top: 1px solid #e9ebf2;
        }

        .lead-dialog-primary,
        .lead-dialog-more {
            height: 34px;
            padding: 0 18px;
            border: 0;
            border-radius: 8px;
            color: #fff;
            font-size: 12px;
            font-weight: 700;
            cursor: pointer;
        }

        .lead-dialog-primary {
            min-width: 88px;
            background: linear-gradient(135deg, #6578ff, #f2386c);
            box-shadow: 0 8px 18px rgba(110, 96, 255, 0.17);
        }

        .lead-dialog-primary:disabled {
            background: #d9dce5;
            box-shadow: none;
            cursor: not-allowed;
        }

        .lead-buyer-preview-wrap {
            margin-top: 1px;
        }

        .lead-buyer-preview-table {
            font-size: 11px;
        }

        .lead-buyer-preview-table th {
            height: 36px;
            padding: 0 8px;
            font-size: 11px;
        }

        .lead-buyer-preview-table td {
            height: 76px;
            vertical-align: middle;
        }

        .lead-buyer-control {
            display: grid;
            grid-template-columns: 15px minmax(0, 1fr);
            align-items: start;
            gap: 7px;
            min-height: 76px;
            padding: 9px 8px;
            cursor: pointer;
        }

        .lead-buyer-control input {
            width: 15px;
            height: 15px;
            margin: 2px 0 0;
            accent-color: #6973ff;
        }

        .lead-buyer-summary,
        .lead-buyer-trade {
            min-width: 0;
        }

        .lead-buyer-summary strong,
        .lead-buyer-summary span,
        .lead-buyer-summary small,
        .lead-buyer-trade strong,
        .lead-buyer-trade span {
            display: block;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .lead-buyer-summary strong {
            color: #343944;
            font-size: 11px;
            line-height: 1.35;
        }

        .lead-buyer-summary span,
        .lead-buyer-summary small {
            margin-top: 3px;
            color: #858c99;
            font-size: 10px;
            font-weight: 500;
            line-height: 1.25;
        }

        .lead-buyer-summary small {
            color: #a0a5ae;
        }

        .lead-buyer-trade {
            padding: 9px 7px;
        }

        .lead-buyer-trade strong {
            color: #555d6c;
            font-size: 11px;
        }

        .lead-buyer-trade span {
            margin-top: 4px;
            color: #9298a4;
            font-size: 10px;
        }

        .lead-preview-actions {
            display: grid;
            gap: 5px;
            padding: 8px 6px;
        }

        .lead-preview-action {
            width: 100%;
            height: 25px;
            padding: 0 4px;
            border: 1px solid #dfe3eb;
            border-radius: 6px;
            background: #fff;
            color: #596274;
            font-size: 10px;
            white-space: nowrap;
            cursor: pointer;
        }

        .lead-preview-action:hover {
            border-color: #8a83ff;
            color: #6d63dd;
        }

        .lead-preview-action.primary {
            border: 0;
            background: linear-gradient(135deg, #6578ff, #f2386c);
            color: #fff;
        }

        .lead-preview-action:disabled {
            cursor: wait;
            opacity: 0.52;
        }

        .lead-dialog-more {
            background: transparent;
            color: #6470a5;
            box-shadow: none;
        }

        body.lead-results-mode .app {
            grid-template-columns: 480px minmax(0, 1fr);
        }

        body.lead-results-mode .lead-results-panel {
            grid-template-rows: auto minmax(0, 1fr) auto;
            padding: 26px 24px 20px;
            background: #f7f8ff;
        }

        body.lead-results-mode .main,
        body.lead-results-mode .messages,
        body.lead-results-mode .composer {
            background: #fff;
        }

        .lead-field-label {
            position: relative;
            display: inline-flex;
            align-items: center;
            border-bottom: 1px dashed #aab0bc;
            cursor: help;
        }

        .lead-field-label::after {
            content: attr(data-tooltip);
            position: absolute;
            top: calc(100% + 8px);
            left: 50%;
            z-index: 30;
            width: max-content;
            max-width: 220px;
            padding: 7px 9px;
            border-radius: 7px;
            background: rgba(38, 43, 55, 0.96);
            color: #fff;
            font-size: 11px;
            font-weight: 400;
            line-height: 1.45;
            opacity: 0;
            pointer-events: none;
            text-align: left;
            transform: translate(-50%, -2px);
            transition: opacity 140ms ease, transform 140ms ease;
            white-space: normal;
        }

        .lead-field-label:hover::after,
        .lead-field-label:focus-visible::after {
            opacity: 1;
            transform: translate(-50%, 0);
        }

        .lead-market-report {
            gap: 10px;
        }

        .lead-market-report .lead-ai-result-head {
            align-items: center;
        }

        .lead-market-period {
            flex: 0 0 auto;
            padding: 3px 7px;
            border-radius: 999px;
            background: #eef0ff;
            color: #635ec8 !important;
        }

        .lead-market-source {
            color: #7b8290 !important;
            font-size: 11px !important;
        }

        .lead-market-kpis {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 6px;
        }

        .lead-market-kpi {
            min-width: 0;
            padding: 8px;
            border: 1px solid #e8eaf2;
            border-radius: 8px;
            background: #f8f9ff;
        }

        .lead-market-kpi span,
        .lead-market-kpi strong {
            display: block;
        }

        .lead-market-kpi span {
            color: #8b919d;
            font-size: 10px;
        }

        .lead-market-kpi strong {
            margin-top: 3px;
            color: #323744;
            font-size: 14px;
        }

        .lead-market-kpi strong.positive {
            color: #15945f;
        }

        .lead-market-section {
            display: grid;
            gap: 6px;
        }

        .lead-market-section h4 {
            margin: 0;
            color: #353a45;
            font-size: 12px;
        }

        .lead-market-trend {
            width: 100%;
            border-collapse: collapse;
            overflow: hidden;
            border: 1px solid #e7eaf1;
            border-radius: 8px;
            background: #fff;
            font-size: 11px;
        }

        .lead-market-trend th,
        .lead-market-trend td {
            padding: 6px 7px;
            border-bottom: 1px solid #eef0f4;
            color: #5c6370;
            text-align: right;
        }

        .lead-market-trend th:first-child,
        .lead-market-trend td:first-child {
            text-align: left;
        }

        .lead-market-trend th {
            background: #f7f8fb;
            color: #777e8b;
            font-weight: 600;
        }

        .lead-market-trend tr:last-child td {
            border-bottom: 0;
        }

        .lead-market-trend .positive {
            color: #15945f;
            font-weight: 700;
        }

        .lead-market-policy-list {
            display: grid;
            gap: 5px;
            margin: 0;
            padding: 0;
            list-style: none;
        }

        .lead-market-policy-list li {
            display: grid;
            gap: 3px;
            padding: 7px 8px;
            border: 1px solid #e9ebf1;
            border-radius: 8px;
            background: #fff;
        }

        .lead-market-policy-title {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
            color: #474d58;
            font-size: 11px;
            font-weight: 700;
        }

        .lead-market-policy-title span {
            color: #8a90a0;
            font-size: 10px;
            font-weight: 500;
        }

        .lead-market-policy-list p {
            margin: 0;
            color: #777e8a;
            font-size: 10px;
            line-height: 1.45;
        }

        .lead-transaction-table {
            min-width: 1710px;
        }

        .lead-transaction-table th:last-child,
        .lead-transaction-table td:last-child {
            position: sticky;
            right: 0;
            z-index: 2;
            min-width: 180px;
            background: #fff;
            box-shadow: -8px 0 16px rgba(44, 53, 74, 0.04);
        }

        .lead-transaction-table th:last-child {
            z-index: 3;
            background: #f8f9fb;
        }

        .lead-transaction-table tr.selected td:last-child,
        .lead-transaction-table tr.selected td {
            background: #f2f3f8;
        }

        .lead-table-actions {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .lead-table-action {
            height: 28px;
            padding: 0 8px;
            border: 1px solid #dfe3eb;
            border-radius: 6px;
            background: #fff;
            color: #596274;
            font-size: 11px;
            white-space: nowrap;
            cursor: pointer;
        }

        .lead-table-action:hover {
            border-color: #8a83ff;
            color: #6d63dd;
        }

        .lead-table-action.primary {
            border: 0;
            background: linear-gradient(135deg, #6578ff, #f2386c);
            color: #fff;
        }

        .lead-table-action:disabled,
        .selection-results-actions button:disabled {
            cursor: wait;
            opacity: 0.52;
        }

        .lead-wide-footer-copy {
            color: #8a909c;
            font-size: 12px;
        }

        body.lead-results-mode .lead-ai-result-card {
            border-radius: 14px;
            background: #f8f9ff;
        }

        @media (max-width: 1180px) {
            body.lead-results-mode .app {
                grid-template-columns: 440px minmax(0, 1fr);
            }
        }

        @media (max-width: 900px) {
            body.lead-results-mode .app {
                grid-template-columns: minmax(360px, 44%) minmax(0, 1fr);
            }
        }
