:root { --ink:#182238; --muted:#7a8497; --line:#e9edf3; --canvas:#f6f8fc; --green:#2463eb; --green-dark:#194bcc; --green-pale:#edf3ff; --shadow:0 4px 24px #1e335908; font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif; }
#workspace-sidebar,#workspace-header { display:none; }
.ui-loading .app-shell { visibility:hidden; }
.ui-loading::before { content:'正在打开工作空间…';position:fixed;inset:45% 0 auto;text-align:center;color:#8998b0;font-size:14px; }
.workspace-mode .sidebar { display:none; }
.workspace-mode .app-shell { grid-template-columns:224px minmax(0,1fr); }
.workspace-mode #workspace-sidebar { display:flex;flex-direction:column;position:sticky;top:0;height:100vh;background:white;border-right:1px solid var(--line);padding:0 16px; }
.workspace-mode #workspace-header { display:block; }
.workspace-mode .view { min-height:0; }
.workspace-mode .replies-header { display:none; }
.workspace-brand { display:flex;gap:12px;align-items:center;padding:32px 10px 38px; }
.workspace-logo { display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;background:#2463eb;color:white;font-size:23px;box-shadow:0 5px 12px #2463eb24; }
.workspace-brand strong { font-size:23px;letter-spacing:2px;display:block;line-height:1.2; }
.workspace-brand small { display:block;color:#8993a5;font-size:11px;margin-top:6px;letter-spacing:1px; }
.workspace-nav-label { color:#a1a9b7;font-size:11px;padding:0 12px 12px;letter-spacing:1px; }
#workspace-sidebar .ant-menu { border:0;background:transparent; }
#workspace-sidebar .ant-menu-item { margin:4px 0;width:100%;font-size:14px; }
#workspace-sidebar .ant-menu-item .anticon { font-size:18px; }
.workspace-sidebar-tip { margin:auto 8px 26px;padding:18px 14px;border:1px solid #e9eef8;background:linear-gradient(140deg,#f6f9ff,#fff);border-radius:12px; }
.tip-symbol { color:#668bed;font-size:24px;margin-bottom:12px; }
.workspace-sidebar-tip strong { font-size:12px;font-weight:600; }
.workspace-sidebar-tip p { color:#8993a5;font-size:11px;line-height:1.9;margin:8px 0 0; }
.workspace-sidebar-bottom { border-top:1px solid var(--line);padding:20px 10px; }
.workspace-sidebar-bottom .ant-badge-status-text { color:#627086;font-size:12px; }
.workspace-sidebar-bottom small { display:block;margin-top:8px;font-size:10px;color:#a1a9b7; }
.workspace-topbar { height:68px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 36px;font-size:12px;color:#939cad; }
.workspace-topbar strong { color:#526078;font-weight:500; }
.breadcrumb-slash { padding:0 14px;color:#cad0da; }
.workspace-save-note { font-size:12px;color:#9aa4b3; }
.workspace-page-heading { display:flex;align-items:center;justify-content:space-between;padding:32px 36px 26px;max-width:1600px;margin:auto; }
.workspace-kicker { font-size:10px;letter-spacing:2px;color:#97a3b8; }
.workspace-page-heading h1 { font-size:28px;letter-spacing:-.5px;line-height:1.35;margin:8px 0; }
.workspace-page-heading p { font-size:13px;color:#8892a3;margin:0; }
.workspace-mode .reply-search-workspace { grid-template-columns:minmax(300px,.8fr) minmax(360px,1.2fr);gap:24px;padding:0 36px 36px;max-width:1600px; }
.workspace-mode .question-panel { background:#fff;border:1px solid var(--line);border-radius:14px;padding:24px;box-shadow:var(--shadow);position:sticky;top:24px; }
.workspace-mode .recommend-panel { background:transparent;min-width:0; }
.workspace-mode .panel-heading { margin-bottom:22px;gap:10px; }
.workspace-mode .panel-heading h2 { font-size:15px;font-weight:600; }
.workspace-mode .step-number { background:#edf3ff;color:#416dcc;border:0;border-radius:7px;font-size:11px;width:27px;height:27px; }
.workspace-mode .image-drop-zone { background:#f8faff;border:1px dashed #ccd8ee;border-radius:10px;min-height:200px;padding:26px 18px;text-align:center; }
.workspace-mode .image-drop-icon { color:#7898dc;background:#eaf0fc;border-radius:12px;font-size:30px; }
.workspace-mode #query-image-empty .image-drop-icon { display:grid;place-items:center;width:48px;height:48px;margin:0 auto 16px; }
.workspace-mode #query-image-empty strong { font-size:13px;color:#3e506f;font-weight:500; }
.workspace-mode #query-image-empty>span:last-child { color:#99a3b6;font-size:11px; }
.workspace-mode #customer-question { min-height:128px;background:#fff;margin-top:18px;border-radius:9px;font-size:13px; }
.workspace-mode input:focus,.workspace-mode textarea:focus,.workspace-mode select:focus { border-color:#729bf2;box-shadow:0 0 0 3px #2463eb0c; }
.workspace-mode .question-actions { margin-top:14px; }
.workspace-mode .question-actions>span { font-size:10px;color:#a0a9b8; }
.workspace-mode .local-note { color:#8794a8;font-size:11px;border-top:1px solid var(--line);padding-top:18px;margin-top:22px; }
.workspace-mode .small-dot { background:#5791e7; }
.workspace-mode .image-search-note { color:#9ba4b2;font-size:11px;line-height:1.8;background:none;border:0;padding:0;margin-bottom:0; }
.workspace-mode .reply-empty { border:1px dashed #dfe5ef;background:#fff;border-radius:14px; }
.workspace-mode .reply-empty.compact { padding:76px 24px;background:#ffffffb0; }
.workspace-mode .empty-glyph { background:#edf3ff;color:#7295dd;border-radius:14px;width:52px;height:52px; }
.workspace-mode .reply-empty h3 { font-size:15px;color:#56657c;font-weight:500; }
.workspace-mode .reply-empty p { color:#9aa5b6; }
.workspace-mode .reply-card,.workspace-mode .product-result-card { border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 3px 12px #1e335904;padding:22px;margin-bottom:16px; }
.workspace-mode .reply-card.result-card:first-child { border-color:#d8e3f9;box-shadow:none; }
.workspace-mode .reply-text { color:#46536a;font-size:14px;line-height:1.85; }
.workspace-mode .result-card .reply-text { border-color:#d4e1ff; }
.workspace-mode .reply-chips span { background:#f2f5fa;color:#718097;font-size:11px; }
.workspace-mode .reply-chips .relevance-chip { background:#edf3ff;color:#4c78ca; }
.workspace-mode .reply-chips .reference-chip { background:#fff6e8;color:#a48247; }
.workspace-mode .copy-reply { background:#2463eb;color:#fff;border-radius:8px;font-weight:500; }
.workspace-mode .primary { font-weight:500;border-radius:8px; }
.workspace-mode .secondary { border-color:#dfe5ef;color:#5e6e86;border-radius:8px; }
.workspace-mode .product-context { background:#edf3ff;border-color:#dbe6fd;border-radius:9px; }
.workspace-mode .library-page-body { padding:0 36px 36px;max-width:1600px;margin:auto; }
.workspace-mode .library-page-card { border:1px solid var(--line);border-radius:14px;padding:26px;background:#fff;box-shadow:var(--shadow); }
.workspace-mode .library-heading h2 { font-size:15px; }
.workspace-mode .library-heading h2 span { background:#edf3ff;color:#537ccc; }
.workspace-mode .library-heading p { font-size:12px;color:#9ba4b2; }
.workspace-mode .library-search input { background:#fafbfe;border-color:#e5eaf3;padding:12px 14px; }
.workspace-mode .product-library-card { border-color:var(--line);border-radius:10px;padding:16px;box-shadow:none; }
.workspace-mode .product-cover { border-radius:9px;background:#f3f6fb; }
.workspace-mode .product-library-copy h3 { font-size:14px;color:#33405a; }
.workspace-mode .product-library-copy p { color:#98a2b3;font-size:11px; }
.workspace-mode .product-result-media { gap:10px; }
.workspace-mode .product-media-tile { border-radius:9px;border-color:#e9edf3;background:#f8fafc; }
.workspace-mode .bundle-tabs button { border-radius:7px;color:#728198;background:#f4f6fa; }
.workspace-mode .bundle-tabs button.active { color:#2463eb;background:#edf3ff;border-color:#cbdcff; }
.workspace-mode .storage-note { color:#a4adba;font-size:11px; }
.workspace-mode .reply-dialog { border:1px solid #e5eaf3;border-radius:16px;box-shadow:0 24px 80px #15264830; }
dialog::backdrop { background:#16254155;backdrop-filter:blur(3px); }
.workspace-mode .editor-image-field,.workspace-mode .product-editor-section { background:#fafbfe;border-color:#e8edf5; }
.workspace-mode .eyebrow { color:#8c9fbd; }
.workspace-mode .reply-content-draft { border-color:#e5eaf3; }
.workspace-login-heading { text-align:center;padding:16px 0 20px; }
.workspace-login-heading h2 { font-size:23px;margin:18px 0 8px; }
.workspace-login-heading p,.login-footnote { font-size:12px;color:#96a0b0; }
.login-footnote { text-align:center;margin:18px 0 0; }
.ant-input { box-shadow:none; }
.ant-checkbox-input { width:100%;padding:0; }
.ant-btn { letter-spacing:normal; }
.workspace-mode .library-card .reply-text { max-height:120px; }
@media(min-width:1600px){.workspace-mode .app-shell{grid-template-columns:240px minmax(0,1fr)}}
@media(max-width:1150px){.workspace-mode .app-shell{grid-template-columns:190px minmax(0,1fr)}.workspace-topbar{padding:0 24px}.workspace-page-heading{padding:26px 24px}.workspace-mode .reply-search-workspace{padding:0 24px 30px;gap:18px;grid-template-columns:minmax(270px,.85fr) minmax(300px,1.15fr)}.workspace-mode .question-panel{padding:18px}.workspace-mode .library-page-body{padding:0 24px 30px}.workspace-save-note{display:none}}
@media(max-width:900px){.workspace-mode .app-shell{grid-template-columns:1fr}.workspace-mode #workspace-sidebar{height:auto;position:static;padding:0 16px;border-right:0;border-bottom:1px solid var(--line)}.workspace-brand{padding:16px 8px}.workspace-brand small,.workspace-nav-label,.workspace-sidebar-tip,.workspace-sidebar-bottom{display:none}#workspace-sidebar .ant-menu{display:flex}#workspace-sidebar .ant-menu-item{width:auto;flex:1;text-align:center;padding-inline:8px!important}.workspace-topbar{height:52px}.workspace-mode .reply-search-workspace{grid-template-columns:1fr}.workspace-mode .question-panel{position:static}.workspace-page-heading h1{font-size:24px}.workspace-mode .reply-empty.compact{padding:40px 20px}}
@media(max-width:520px){.workspace-mode .reply-search-workspace,.workspace-mode .library-page-body{padding:0 16px 24px}.workspace-page-heading{padding:22px 16px;gap:12px}.workspace-page-heading p{font-size:11px;max-width:200px}.workspace-topbar{padding:0 16px}.workspace-mode .library-page-card{padding:16px}.workspace-mode .product-result-card{padding:16px}.workspace-kicker{font-size:9px}.account-trigger>span:not(.ant-avatar){display:none}.workspace-mode .reply-search-workspace{gap:22px}}
@media(max-width:380px){.workspace-page-heading{flex-wrap:wrap}.workspace-mode .question-actions{flex-wrap:wrap;gap:10px}#workspace-sidebar .ant-menu-item{font-size:12px}.workspace-mode .reply-search-workspace{grid-template-columns:minmax(0,1fr)}}

/* Indigo workspace: navigation, content and selected state have separate contrast levels. */
:root { --canvas:#f3f5f9;--line:#dce3ed;--muted:#606f85;--green:#356ae6; }
.workspace-mode #workspace-sidebar { background:#17233d;border-color:#17233d;color:#fff; }
.workspace-brand small,.workspace-nav-label { color:#a9b7d0; }
#workspace-sidebar .ant-menu-item { color:#c2cee2; }
#workspace-sidebar .ant-menu-item:hover { background:#243453;color:#fff; }
#workspace-sidebar .ant-menu-item-selected { background:#356ae6;color:#fff;font-weight:600;box-shadow:inset 3px 0 #a8c3ff; }
.workspace-sidebar-tip { background:#1e2d49;border-color:#34415a; }
.workspace-sidebar-tip p,.workspace-sidebar-bottom small { color:#adbad0; }
.workspace-sidebar-bottom { border-color:#34415a; }
.workspace-sidebar-bottom .ant-badge-status-text { color:#d0daea; }
.workspace-topbar,.workspace-page-heading p,.workspace-mode .library-heading p,.workspace-mode .product-library-copy p,.workspace-mode .storage-note,.workspace-mode .image-search-note,.workspace-mode .local-note { color:#65748a; }
.workspace-mode .question-panel,.workspace-mode .library-page-card { border-color:#dce3ed; }
.workspace-mode .reply-text,.workspace-mode .product-bundle-text { color:#26344a; }
.workspace-mode .reply-empty p,.workspace-mode #query-image-empty>span:last-child { color:#68778e; }
.workspace-mode .bundle-tabs button.active { border:1px solid #356ae6;background:#e8efff;color:#204caf;font-weight:600; }
.workspace-mode .product-context { background:#e8efff;border:1px solid #7e9fe9;border-left:4px solid #356ae6; }
.product-candidates { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:18px; }
.product-candidate { display:flex;align-items:center;gap:10px;text-align:left;background:#fff;border:1px solid #d6dfeb;border-radius:10px;padding:12px;min-width:0;color:#26344a; }
.product-candidate img,.candidate-placeholder { width:56px;height:64px;object-fit:cover;border-radius:6px;background:#eef1f7;flex-shrink:0; }
.product-candidate>span { min-width:0;flex:1; }
.product-candidate strong,.product-candidate small { display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.product-candidate strong { font-size:13px; }
.product-candidate small { margin-top:7px;font-size:11px;color:#65748a; }
.product-candidate b { font-size:11px;font-weight:500;color:#617087; }
.product-candidate.selected { border:2px solid #356ae6;padding:11px;background:#edf3ff; }
.product-candidate.selected b { color:#2458c8;font-weight:700; }
.select-product-hint { text-align:center;padding:30px 18px;background:#fff;border:1px dashed #c7d3e7;border-radius:10px;color:#66768e;font-size:13px;margin-bottom:20px; }
.media-quick-card { min-width:0;border:1px solid #dce3ed;border-radius:9px;overflow:hidden;background:#fff; }
.workspace-mode .media-quick-card .product-media-tile { width:100%;border:0;border-radius:0; }
.media-quick-actions { display:flex;border-top:1px solid #e3e8f1; }
.media-quick-actions button { flex:1;padding:9px 2px;background:#fff;color:#2858ba;font-size:11px;border-radius:0; }
.media-quick-actions button:hover { background:#edf3ff; }
.paste-image-button { margin:8px 0 8px 8px; }
.maintenance-bar { display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;padding:10px 24px;background:#eef2fa;color:#52627a;font-size:12px; }
.maintenance-bar>span { margin-right:auto; }
.maintenance-bar button { padding:5px 8px;background:white;color:#2458ba;border:1px solid #d4ddec;font-size:12px; }
.maintenance-row { display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 0;border-bottom:1px solid #e0e7f0; }
.media-select { display:flex;align-items:center;gap:6px;padding:8px;font-size:11px; }
.media-select input { width:auto; }
.feedback-actions { display:flex;flex-wrap:wrap;gap:6px;border-top:1px solid #e2e8f1;margin-top:12px;padding-top:10px;font-size:12px; }
.form-error { white-space:pre-wrap; }
.result-more { border-top:1px solid #e2e8f1;margin-top:18px;padding-top:12px; }
.result-more summary { cursor:pointer;color:#65748a;font-size:12px;padding:6px 0; }
.result-more .feedback-actions { border:0;margin-top:6px;padding-top:0; }
.result-more .card-actions { margin-top:10px;justify-content:flex-start;flex-wrap:wrap; }
.result-match-note { display:block;margin-top:6px;color:#65748a;font-size:12px; }
.result-materials { margin-top:18px; }
.result-copy-section { padding:14px 0;border-bottom:1px solid #e2e8f1; }
.result-copy-section h4 { margin:0 0 8px;font-size:13px;color:#65748a; }
.copy-draft-options { margin-top:8px; }
.ktt-actions { display:inline-flex;align-items:center;gap:10px;margin:8px 12px 8px 0; }
.ktt-open { display:inline-flex;align-items:center;padding:6px 12px;border:1px solid #b6dec9;border-radius:6px;background:#eef9f2;color:#16804a;text-decoration:none;font-size:12px;font-weight:600;white-space:nowrap; }
.ktt-open:hover { background:#ddf2e5;border-color:#75b993;text-decoration:none; }
.ktt-open:focus-visible { outline:2px solid #16804a;outline-offset:2px; }
.ktt-editor-open { display:inline-block;margin:8px 0 16px;color:#16804a;font-size:13px;text-decoration:underline; }
.ktt-editor-open[hidden] { display:none; }
.ktt-actions button { font-size:12px; }
.copy-draft-options summary { cursor:pointer;color:#738198;font-size:12px;padding:4px 0; }
.copy-draft-options .form-row { margin-top:12px; }
#product-media-drafts { display:block;overflow-x:auto;border:1px solid #e2e8f0;border-radius:8px; }
.media-editor-table { width:100%;min-width:760px;border-collapse:collapse;font-size:12px;text-align:left;background:white; }
.media-editor-table th { color:#64748b;background:#f5f7fb;font-weight:500;white-space:nowrap; }
.media-editor-table th,.media-editor-table td { padding:10px 12px;border-bottom:1px solid #e8edf4;vertical-align:middle; }
.media-editor-table tbody tr:last-child td { border-bottom:0; }
.media-editor-table tbody tr:hover { background:#f8faff; }
.media-editor-table input[type=checkbox] { width:auto; }
.media-editor-table td:nth-child(3) { min-width:140px;max-width:240px; }
.media-editor-table strong { display:block;font-size:12px;overflow-wrap:anywhere; }
.media-editor-table small { display:block;margin-top:4px;color:#8190a4; }
.media-editor-table select { min-width:115px; }
.media-editor-table input[data-media-field=caption] { min-width:150px; }
.media-editor-table td:last-child { white-space:nowrap; }
.media-editor-table td:last-child button { padding:5px;font-size:12px; }
.draft-preview-button { display:grid;place-items:center;padding:0;width:48px;height:56px;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:5px;overflow:hidden;cursor:zoom-in; }
.draft-preview-button img { width:100%;height:100%;object-fit:contain; }
.media-preview-stage { max-height:65vh;overflow:auto;margin-top:10px; }
#product-media-viewer.original-size #product-media-viewer-image { max-width:none;max-height:none; }
#product-media-viewer-image[hidden],#product-media-viewer-video[hidden],#product-media-zoom[hidden] { display:none; }
.library-page-card #product-library-list { display:block;max-width:100%;overflow-x:auto;border:1px solid #e2e8f0;border-radius:8px; }
.product-admin-table { width:100%;min-width:1080px;border-collapse:separate;border-spacing:0;font-size:13px;text-align:left;color:#334155; }
.product-admin-table caption { position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%); }
.product-admin-table th { background:#f7f9fc;color:#64748b;font-weight:600;white-space:nowrap; }
.product-admin-table th,.product-admin-table td { padding:12px 16px;border-bottom:1px solid #e8edf4;vertical-align:middle; }
.product-admin-table td { background:white; }
.product-admin-table tbody tr:last-child td { border-bottom:0; }
.product-admin-table tbody tr:hover td { background:#f5f8ff; }
.product-admin-table tbody tr.current td { background:#eef4ff; }
.table-product { display:flex;align-items:center;gap:12px;min-width:230px; }
.table-product-cover { width:44px;height:48px;flex-shrink:0;border-radius:5px;overflow:hidden;background:#f1f5f9;display:grid;place-items:center; }
.table-product-cover img { width:100%;height:100%;object-fit:cover; }
.table-product-name { padding:0;background:none;color:#26344a;text-align:left;font-weight:600;max-width:260px;overflow-wrap:anywhere; }
.table-product-name:hover { color:#2458ba; }
.product-admin-table .table-actions,.product-admin-table th:last-child { position:sticky;right:0;white-space:nowrap;box-shadow:-1px 0 #e8edf4; }
.table-actions button { color:#2858ba;background:none;padding:4px 0;font-size:12px; }
.table-actions button+button { margin-left:16px; }
.table-status { display:inline-flex;align-items:center;gap:6px;white-space:nowrap;color:#64748b; }
.table-status::before { content:'';width:6px;height:6px;border-radius:50%;background:#94a3b8; }
.table-status.enabled::before { background:#16a34a; }
.table-missing { color:#a16207; }
.product-table-toolbar,.product-table-pagination { display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:14px 0; }
.product-table-toolbar>button:last-child { margin-left:auto; }
.product-table-toolbar select,.product-table-pagination select { width:auto;min-width:110px; }
.product-table-pagination { justify-content:flex-end;font-size:13px;color:#64748b; }
.product-table-pagination [data-total] { margin-right:auto; }
.product-table-pagination button { padding:7px 12px;background:white;color:#334155;border:1px solid #dce3ed; }
.result-candidate-picker { margin-bottom:14px; }
.result-candidate-picker>summary { padding:10px 0;color:#526783;cursor:pointer;font-size:13px; }
.result-candidate-picker .product-candidates { margin-top:8px; }
.result-materials-heading { display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;font-size:12px;color:#65748a; }
.result-materials-heading button { font-size:12px; }
.result-materials:not(.selecting) .media-select,.result-materials:not(.selecting) .batch-download { display:none; }
.simple-reply-card>.card-actions { justify-content:flex-end;margin-top:12px; }
.media-quick-actions button+button { border-left:1px solid #e3e8f1; }
@media(max-width:600px){.product-candidates{grid-template-columns:1fr}.product-candidate img{width:48px;height:54px}}
