        /* 大集AICopilot supplier-center skin */
        body {
            background:
                linear-gradient(90deg, rgba(255, 49, 49, 0.95) 0 228px, #f7f8fa 228px) 0 0 / 100% 64px no-repeat,
                linear-gradient(90deg, #fff 0 228px, transparent 228px) 0 64px / 100% calc(100% - 64px) no-repeat,
                radial-gradient(circle at 40% 34%, rgba(255, 49, 49, 0.06), transparent 18%),
                linear-gradient(180deg, #f4f5f8 0%, #eef0f4 100%);
            color: #202124;
        }

        body::before {
            content: "供应商中心";
            position: fixed;
            left: 28px;
            top: 18px;
            z-index: 0;
            color: #fff;
            font-size: 22px;
            font-weight: 900;
            letter-spacing: -0.3px;
            pointer-events: none;
        }

        body::after {
            content: "";
            position: fixed;
            left: 260px;
            top: 92px;
            right: 590px;
            bottom: 52px;
            z-index: 0;
            border-radius: 14px;
            background:
                linear-gradient(#fff, #fff) 0 0 / 100% 56px no-repeat,
                linear-gradient(90deg, #fff 0 31%, transparent 31% 34%, #fff 34% 65%, transparent 65% 68%, #fff 68%) 24px 92px / calc(100% - 48px) 148px no-repeat,
                linear-gradient(90deg, #fff 0 48%, transparent 48% 52%, #fff 52%) 24px 276px / calc(100% - 48px) 300px no-repeat,
                linear-gradient(90deg, rgba(255, 49, 49, 0.12) 0 120px, transparent 120px),
                #f7f8fb;
            box-shadow: 0 18px 46px rgba(28, 35, 52, 0.08);
            pointer-events: none;
        }

        .app {
            position: fixed;
            top: 24px;
            bottom: 24px;
            right: 56px;
            z-index: 1;
            width: 480px;
            height: auto;
            min-height: 0;
            display: grid;
            grid-template-columns: 1fr;
            grid-template-rows: auto minmax(0, 1fr);
            overflow: hidden;
            border: 1px solid rgba(224, 226, 232, 0.92);
            border-radius: 18px;
            background:
                radial-gradient(circle at 92% 88%, rgba(255, 78, 178, 0.12), transparent 32%),
                radial-gradient(circle at 6% 100%, rgba(35, 108, 255, 0.08), transparent 28%),
                linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.98) 68%, rgba(255, 243, 251, 0.96) 100%);
            box-shadow: 0 22px 70px rgba(35, 45, 72, 0.18);
        }

        .sidebar {
            grid-row: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
            align-items: stretch;
            gap: 10px;
            padding: 14px 14px 12px 18px;
            border-right: 0;
            border-bottom: 1px solid #f0f1f4;
            background: rgba(255, 255, 255, 0.84);
            backdrop-filter: blur(16px);
        }

        .brand {
            flex: 0 0 auto;
            gap: 9px;
        }

        .brand-mark {
            width: 32px;
            height: 32px;
            border-radius: 10px;
            background: linear-gradient(135deg, #ff3131 0%, #ff6a7a 100%);
            color: #fff;
            font-size: 15px;
            font-weight: 900;
            box-shadow: 0 8px 18px rgba(255, 49, 49, 0.22);
        }

        .brand-title {
            color: #15171f;
            background: none;
            font-size: 16px;
            font-weight: 800;
            letter-spacing: -0.2px;
            -webkit-background-clip: initial;
            background-clip: initial;
        }

        .brand-subtitle,
        .sidebar-footer,
        .section-label,
        .agent-description {
            display: none;
        }

        .sidebar section {
            min-width: 0;
            flex: 0 0 auto;
        }

        .agent-list {
            display: flex;
            justify-content: flex-start;
            gap: 6px;
            overflow-x: auto;
            padding-bottom: 1px;
        }

        .agent-list::-webkit-scrollbar {
            display: none;
        }

        .agent-option {
            width: auto;
            min-width: auto;
            min-height: 32px;
            display: inline-flex;
            align-items: center;
            grid-template-columns: none;
            gap: 0;
            padding: 0 10px;
            border: 1px solid transparent;
            border-radius: 999px;
            background: #f6f7fa;
            color: #6d7280;
            white-space: nowrap;
        }

        .agent-option:hover {
            background: #eef4ff;
        }

        .agent-option.active {
            border-color: rgba(35, 108, 255, 0.2);
            background: #eef4ff;
            color: #236cff;
        }

        .agent-icon {
            display: none;
        }

        .agent-name {
            font-size: 12px;
            font-weight: 700;
            line-height: 1;
        }

        .main {
            grid-row: 2;
            min-height: 0;
            height: 100%;
            display: grid;
            grid-template-rows: auto minmax(0, 1fr) auto;
            background: transparent;
        }

        .topbar {
            min-height: 86px;
            align-items: flex-start;
            padding: 20px 20px 8px;
            background: transparent;
        }

        .conversation-title h1 {
            display: flex;
            align-items: center;
            gap: 10px;
            color: #236cff;
            font-size: 18px;
            font-weight: 800;
        }

        .conversation-title h1::before {
            content: "集";
            width: 36px;
            height: 36px;
            display: grid;
            place-items: center;
            border-radius: 50%;
            background: linear-gradient(135deg, #eaf2ff, #fff2f8);
            color: #236cff;
            box-shadow: inset 0 0 0 1px rgba(35, 108, 255, 0.12);
        }

        .conversation-meta {
            margin-left: 46px;
            margin-top: 4px;
            color: #8a8f99;
            font-size: 12px;
        }

        .topbar-actions {
            gap: 6px;
        }

        .status-pill {
            min-height: 30px;
            padding: 6px 10px;
            border-color: #edf0f5;
            background: #fff;
            color: #8a8f99;
            font-size: 12px;
        }

        .icon-button {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            color: #9aa0aa;
        }

        .icon-button svg {
            width: 18px;
            height: 18px;
        }

        .messages {
            min-height: 0;
            padding: 6px 20px 16px;
        }

        .empty-state {
            align-items: start;
            height: auto;
            min-height: 100%;
        }

        .empty-state-inner {
            width: 100%;
        }

        .empty-state h2 {
            margin: 0 0 8px;
            color: #236cff;
            font-size: 20px;
            font-weight: 800;
            line-height: 1.35;
        }

        .empty-state p {
            max-width: none;
            color: #6d7280;
            font-size: 13px;
            line-height: 1.7;
        }

        .empty-state-inner::after {
            content: "推荐工具";
            display: block;
            margin: 24px 0 10px;
            color: #202124;
            font-size: 15px;
            font-weight: 800;
        }

        .suggestions {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 10px;
            margin-top: 0;
        }

        .suggestions::before {
            content: "你可以这样问我";
            grid-column: 1 / -1;
            margin-top: 4px;
            color: #202124;
            font-size: 15px;
            font-weight: 800;
        }

        .suggestion {
            min-height: 48px;
            padding: 10px 12px;
            border: 1px solid #edf0f5;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.92);
            color: #30333a;
            font-size: 13px;
            line-height: 1.35;
            text-align: left;
            box-shadow: 0 8px 20px rgba(33, 43, 67, 0.04);
        }

        .suggestion:nth-child(n + 5) {
            grid-column: 1 / -1;
        }

        .suggestion:hover {
            border-color: rgba(35, 108, 255, 0.28);
            background: #f8fbff;
            transform: translateY(-1px);
        }

        .message {
            max-width: 100%;
            margin: 0 0 18px;
            gap: 10px;
        }

        .message.user {
            grid-template-columns: minmax(0, 1fr) 34px;
        }

        .message.assistant {
            grid-template-columns: 34px minmax(0, 1fr);
        }

        .avatar {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            border-color: #eef1f6;
            color: #236cff;
        }

        .avatar svg {
            width: 18px;
            height: 18px;
        }

        .message.user .avatar {
            background: linear-gradient(180deg, #ff6b79, #ff3131);
        }

        .message-header {
            font-size: 12px;
        }

        .message-author {
            font-size: 13px;
        }

        .message.user .bubble {
            max-width: 100%;
            padding: 12px 14px;
            border-radius: 14px 14px 4px 14px;
            background: #eef4ff;
            color: #202124;
            font-size: 14px;
            line-height: 1.65;
        }

        .reasoning-card,
        .risk-card {
            width: 100%;
            border-color: #edf0f5;
            border-radius: 14px;
            background: rgba(255, 255, 255, 0.94);
            box-shadow: 0 10px 24px rgba(31, 40, 64, 0.05);
        }

        .answer-body {
            font-size: 14px;
            line-height: 1.75;
        }

        .answer-token-usage {
            width: 100%;
            font-size: 11px;
        }

        .answer-head,
        .reasoning-head,
        .risk-card-head {
            padding: 12px 14px 8px;
        }

        .reasoning-body,
        .risk-card-body {
            padding: 8px 14px 14px;
        }

        .answer-head,
        .reasoning-title,
        .risk-card-title {
            font-size: 14px;
            font-weight: 800;
        }

        .reasoning-body {
            font-size: 13px;
        }

        .risk-metrics {
            grid-template-columns: 1fr;
        }

        .risk-metric,
        .risk-evidence,
        .risk-report {
            border-color: #edf0f5;
            border-radius: 12px;
            background: #fafbfc;
        }

        .response-tools {
            width: 100%;
            gap: 6px;
        }

        .tool-icon {
            width: 30px;
            height: 30px;
            border-radius: 50%;
        }

        .composer {
            padding: 0 20px 16px;
            background: transparent;
        }

        .composer-inner {
            width: 100%;
            min-height: 148px;
            grid-template-rows: auto minmax(66px, 1fr) auto auto;
            border: 1px solid #e9edf5;
            border-radius: 16px;
            background: #fff;
            box-shadow: 0 14px 30px rgba(31, 40, 64, 0.08);
        }

        textarea {
            min-height: 44px;
            max-height: 138px;
            font-size: 14px;
            line-height: 1.65;
        }

        .composer-left {
            gap: 8px;
        }

        .ai-selection-menu {
            width: min(320px, calc(100vw - 32px));
        }

        .btn {
            min-width: auto;
            height: 34px;
            gap: 5px;
            padding: 0 10px;
            border-color: #edf0f5;
            border-radius: 999px;
            color: #4b5260;
            font-size: 12px;
            font-weight: 700;
        }

        .btn svg {
            width: 16px;
            height: 16px;
        }

        .btn.primary {
            width: 34px;
            height: 34px;
            border-radius: 10px;
            background: #236cff;
            box-shadow: 0 12px 20px rgba(35, 108, 255, 0.26);
        }

        .btn.primary:hover {
            background: #155de8;
        }

        .btn.danger {
            color: #ff3131;
        }

        .disclaimer {
            width: 100%;
            margin-top: 10px;
            color: #a0a5af;
            font-size: 12px;
        }

        @media (max-width: 980px) {
            body::after {
                display: none;
            }

            .app {
                right: 16px;
                width: min(480px, calc(100vw - 32px));
                top: 16px;
                bottom: 16px;
                height: auto;
                min-height: 0;
            }
        }

        @media (max-width: 560px) {
            body {
                background: #f6f7fb;
            }

            body::before {
                display: none;
            }

            .app {
                inset: 0;
                width: 100vw;
                height: 100vh;
                border: 0;
                border-radius: 0;
                transform: none;
            }

            .sidebar {
                padding-left: 14px;
            }

            .brand-title {
                font-size: 14px;
            }

            .agent-list {
                justify-content: flex-start;
            }

            .suggestions {
                grid-template-columns: 1fr;
            }
        }

        .app,
        .sidebar,
        .main,
        .topbar,
        .messages,
        .composer,
        .composer-inner,
        .empty-state-inner,
        .suggestion,
        .market-shell {
            transition:
                width 420ms cubic-bezier(0.22, 1, 0.36, 1),
                height 420ms cubic-bezier(0.22, 1, 0.36, 1),
                inset 420ms cubic-bezier(0.22, 1, 0.36, 1),
                top 420ms cubic-bezier(0.22, 1, 0.36, 1),
                right 420ms cubic-bezier(0.22, 1, 0.36, 1),
                bottom 420ms cubic-bezier(0.22, 1, 0.36, 1),
                left 420ms cubic-bezier(0.22, 1, 0.36, 1),
                transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
                border-radius 420ms cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1),
                background 420ms ease,
                opacity 220ms ease;
        }

        body.wide-mode {
            background: #f5f6fa;
            overflow: hidden;
        }

        body.wide-mode .market-shell {
            opacity: 0;
            transform: scale(1.02);
        }

        body.wide-mode .app {
            inset: 0;
            width: 100vw;
            height: 100vh;
            display: grid;
            grid-template-columns: minmax(240px, 20%) minmax(0, 80%);
            grid-template-rows: minmax(0, 1fr);
            border: 0;
            border-radius: 0;
            background:
                radial-gradient(circle at 96% 14%, rgba(255, 75, 178, 0.08), transparent 24%),
                linear-gradient(90deg, #ffffff 0 20%, #fff 20%, #fffafb 100%);
            box-shadow: none;
            transform: none;
        }

        body.wide-mode .sidebar {
            grid-column: 1;
            grid-row: 1;
            min-height: 0;
            gap: 28px;
            padding: 42px 28px 24px;
            border-right: 1px solid #eef0f5;
            border-bottom: 0;
            background: rgba(255, 255, 255, 0.96);
            box-shadow: 18px 0 46px rgba(30, 38, 58, 0.04);
        }

        body.wide-mode .brand {
            justify-content: flex-start;
            gap: 12px;
        }

        body.wide-mode .brand-mark {
            width: 42px;
            height: 42px;
            border-radius: 14px;
        }

        body.wide-mode .brand-title {
            color: #15171f;
            font-size: 18px;
            font-weight: 800;
        }

        body.wide-mode .brand-subtitle,
        body.wide-mode .section-label,
        body.wide-mode .agent-description,
        body.wide-mode .sidebar-footer {
            display: block;
        }

        body.wide-mode .brand-subtitle {
            margin-top: 4px;
            color: #9aa0aa;
            font-size: 12px;
        }

        body.wide-mode .section-label {
            margin: 0 0 12px;
            color: #a0a5af;
            font-size: 12px;
            font-weight: 700;
        }

        body.wide-mode .sidebar section {
            flex: 1 1 auto;
            min-height: 0;
        }

        body.wide-mode .agent-list {
            display: grid;
            gap: 10px;
            overflow: visible;
            padding-bottom: 0;
        }

        body.wide-mode .agent-option {
            width: 100%;
            min-height: 74px;
            display: grid;
            grid-template-columns: 38px minmax(0, 1fr);
            gap: 12px;
            padding: 13px 14px;
            border: 1px solid transparent;
            border-radius: 16px;
            background: transparent;
            color: #4b5260;
            white-space: normal;
        }

        body.wide-mode .agent-option.active {
            border-color: rgba(35, 108, 255, 0.16);
            background: #f3f7ff;
            color: #236cff;
            box-shadow: 0 12px 26px rgba(35, 108, 255, 0.08);
        }

        body.wide-mode .agent-icon {
            width: 38px;
            height: 38px;
            display: grid;
            place-items: center;
            border-radius: 12px;
            background: #eef4ff;
        }

        body.wide-mode .agent-name {
            display: block;
            font-size: 14px;
            font-weight: 800;
            line-height: 1.25;
        }

        body.wide-mode .agent-description {
            margin-top: 5px;
            color: #858c99;
            font-size: 12px;
            line-height: 1.45;
        }

        body.wide-mode .sidebar-footer {
            margin-top: auto;
        }

        body.wide-mode .endpoint {
            color: #818896;
            font-size: 12px;
            line-height: 1.45;
        }

        body.wide-mode .main {
            grid-column: 2;
            grid-row: 1;
            min-height: 0;
            height: 100%;
            background:
                radial-gradient(circle at 96% 8%, rgba(255, 95, 185, 0.12), transparent 25%),
                linear-gradient(180deg, #fff 0%, #fff 68%, #fff9fd 100%);
        }

        body.wide-mode .topbar {
            min-height: 76px;
            align-items: center;
            justify-content: flex-end;
            padding: 22px 40px 10px;
        }

        body.wide-mode .conversation-title,
        body.wide-mode .conversation-meta {
            display: none;
        }

        body.wide-mode .topbar-actions {
            gap: 10px;
        }

        body.wide-mode .status-pill {
            display: none;
        }

        body.wide-mode .wide-toggle {
            background: #f4f6fb;
            color: #2d3444;
        }

        body.wide-mode .messages {
            padding: 24px 56px 24px;
        }

        body.wide-mode .message {
            --wide-message-avatar-offset: 44px;
            width: min(960px, 100%);
            max-width: none;
            margin: 0 auto 18px;
            position: relative;
            gap: 0;
        }

        body.wide-mode .message.user,
        body.wide-mode .message.assistant {
            grid-template-columns: minmax(0, 1fr);
        }

        body.wide-mode .message .avatar {
            position: absolute;
            top: 0;
        }

        body.wide-mode .message.assistant .avatar {
            left: calc(var(--wide-message-avatar-offset) * -1);
        }

        body.wide-mode .message.user .avatar {
            right: calc(var(--wide-message-avatar-offset) * -1);
        }

        body.wide-mode .message.assistant .bubble {
            width: 100%;
        }

        body.wide-mode .message.user .bubble {
            max-width: min(620px, 100%);
        }

        body.wide-mode .empty-state {
            align-items: start;
            justify-items: center;
            min-height: 100%;
        }

        body.wide-mode .empty-state-inner {
            width: min(960px, 100%);
            margin: 0 auto;
            padding-top: 18px;
        }

        body.wide-mode .empty-state h2 {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            margin-bottom: 78px;
            color: #236cff;
            font-size: 20px;
        }

        body.wide-mode .empty-state h2::before {
            content: "集";
            width: 46px;
            height: 46px;
            display: grid;
            place-items: center;
            flex: 0 0 auto;
            border-radius: 50%;
            background: linear-gradient(135deg, #ffe7ed 0%, #e9f2ff 100%);
            color: #236cff;
            box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px rgba(35, 108, 255, 0.16);
        }

        body.wide-mode .empty-state p {
            display: none;
        }

        body.wide-mode .empty-state-inner::after {
            margin: 0 0 20px;
            font-size: 16px;
            font-weight: 700;
        }

        body.wide-mode .suggestions {
            display: grid;
            grid-template-columns: repeat(4, minmax(138px, 1fr));
            gap: 14px 16px;
        }

        body.wide-mode .suggestions::before {
            grid-column: 1 / -1;
            margin: 34px 0 14px;
            font-size: 16px;
            font-weight: 700;
        }

        body.wide-mode .suggestion {
            min-height: 48px;
            padding: 0 16px;
            border-color: #e8ebf2;
            border-radius: 12px;
            background: #fff;
            color: #333;
            box-shadow: none;
        }

        body.wide-mode .suggestion::after {
            content: " ->";
            color: #b8bec9;
        }

        body.wide-mode .suggestion:nth-child(n + 5) {
            grid-column: auto;
        }

        body.wide-mode .composer {
            padding: 0 56px 22px;
        }

        body.wide-mode .composer-inner {
            width: min(960px, 100%);
            min-height: 146px;
            grid-template-rows: auto minmax(58px, 1fr) auto auto;
            border: 1px solid #dce0e8;
            border-radius: 16px;
            background: #fff;
            box-shadow: 0 16px 34px rgba(31, 40, 64, 0.12);
        }

        body.wide-mode textarea {
            min-height: 44px;
            font-size: 15px;
        }

        body.wide-mode .composer-left {
            gap: 8px;
        }

        body.wide-mode .btn {
            height: 34px;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 500;
        }

        body.wide-mode .btn.primary {
            width: 34px;
            height: 34px;
            background: linear-gradient(135deg, #a6b7ff 0%, #ee7adf 100%);
            box-shadow: none;
        }

        body.wide-mode .disclaimer {
            margin-top: 12px;
            font-size: 13px;
        }

        @media (max-width: 980px) {
            body.wide-mode .app {
                inset: 16px;
                width: auto;
                height: auto;
                grid-template-columns: 1fr;
                grid-template-rows: auto minmax(0, 1fr);
                border-radius: 18px;
            }

            body.wide-mode .sidebar {
                grid-column: 1;
                grid-row: 1;
                padding: 16px;
                border-right: 0;
                border-bottom: 1px solid #eef0f5;
            }

            body.wide-mode .agent-list {
                display: flex;
                overflow-x: auto;
            }

            body.wide-mode .agent-option {
                min-width: 160px;
            }

            body.wide-mode .main {
                grid-column: 1;
                grid-row: 2;
            }

            body.wide-mode .suggestions {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }
