    /* ===== 文案编辑弹窗 ===== */
    .cl-edit-modal { width:min(820px,calc(100vw - 48px)); height:auto; max-height:calc(100vh - 48px); border-radius:16px; box-shadow:0 24px 70px rgba(27,22,46,.24); }
    .cl-edit-modal .modal-head { padding:14px 22px; background:linear-gradient(135deg,#fcfbff 0%,#f6f3ff 100%); }
    .cl-edit-modal .modal-head-title { display:flex; align-items:center; gap:12px; }
    .cl-edit-modal .modal-head-title i { display:grid; place-items:center; width:38px; height:38px; border-radius:12px; color:#6549d6; background:#eee9ff; font-style:normal; font-weight:750; }
    .cl-edit-modal .modal-head-title small { display:block; margin-top:3px; color:#92939d; font-size:11px; }
    .cl-edit-modal .modal-body { flex:0 1 auto; padding:16px 22px 18px; }
    .cl-edit-modal .modal-foot { padding:12px 22px; background:#fbfbfd; }
    .cl-edit-modal .modal-foot .primary-btn { min-width:108px; }
    .cl-edit-foot-info { font-size:12px; color:#92939d; }
    .cl-edit-meta { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; margin-bottom:16px; border:1px solid #eceaf2; border-radius:10px; background:#faf9fd; }
    .cl-edit-meta-item { display:grid; gap:3px; padding:10px 12px; font-size:12px; color:#5a5a64; }
    .cl-edit-meta-item + .cl-edit-meta-item { border-left:1px solid #eceaf2; }
    .cl-edit-meta-item label { color:#92939d; font-size:11px; }
    .cl-edit-meta-item b { overflow:hidden; color:#343442; font-weight:600; text-overflow:ellipsis; white-space:nowrap; }
    .cl-edit-section { margin-bottom:16px; }
    .cl-edit-section-head { margin-bottom:8px; }
    .cl-edit-section-head h4 { margin:0; font-size:13px; color:#1f2329; }
    .cl-edit-section-head p { margin:2px 0 0; font-size:11px; color:#92939d; }
    .cl-edit-form { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
    .cl-edit-field { display:flex; flex-direction:column; gap:6px; position:relative; }
    .cl-edit-field span { font-size:12px; color:#454650; }
    .cl-edit-field-title { display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:18px; }
    .cl-edit-persona-field { gap:12px; }
    .cl-edit-persona-source { width:max-content; display:inline-grid; grid-template-columns:repeat(2,auto); gap:3px; padding:3px; border:1px solid #e2e2e9; border-radius:10px; background:#f6f6f9; }
    .cl-edit-persona-source button { min-width:104px; height:32px; padding:0 12px; border:0; border-radius:7px; color:#747682; background:transparent; font:inherit; font-size:12px; cursor:pointer; }
    .cl-edit-persona-source button.active { color:#5d46ce; background:#fff; box-shadow:0 1px 4px rgba(35,31,55,.1); font-weight:600; }
    .cl-edit-template-select > button { width:100%; min-height:38px; display:flex; align-items:center; justify-content:space-between; gap:8px; padding:8px 10px; border:1px solid #d9d9e0; border-radius:6px; color:#454650; background:#fff; font:inherit; font-size:13px; text-align:left; cursor:pointer; }
    .cl-edit-template-select > button:hover { border-color:#8065ef; box-shadow:0 0 0 3px rgba(128,101,239,.08); }
    .cl-edit-template-select > button span { overflow:hidden; color:inherit; font-size:13px; text-overflow:ellipsis; white-space:nowrap; }
    .cl-edit-template-select > button i { color:#8f90a0; font-style:normal; }
    .cl-edit-audience-block { display:grid; gap:10px; padding:13px 14px; border:1px solid #e6e5eb; border-radius:10px; background:#fff; }
    .cl-edit-audience-label { color:#3f414d; font-size:12px; font-weight:600; }
    .cl-edit-audience-row { display:grid; grid-template-columns:86px minmax(0,1fr); gap:12px; align-items:start; }
    .cl-edit-audience-row > span { padding-top:7px; color:#858793; font-size:12px; }
    .cl-edit-choice-row { display:flex; flex-wrap:wrap; gap:7px; }
    .cl-edit-choice-row > button { min-height:32px; padding:5px 11px; border:1px solid #dedee7; border-radius:8px; color:#666977; background:#fff; font:inherit; font-size:12px; cursor:pointer; }
    .cl-edit-choice-row > button:hover { border-color:#aaa2df; }
    .cl-edit-choice-row > button.active { border-color:#8067ef; color:#6245df; background:#f5f2ff; }
    .cl-edit-custom-age { display:flex; align-items:center; gap:6px; min-height:32px; }
    .cl-edit-custom-age input { width:62px; height:32px; padding:0 8px; border:1px solid #dedee7; border-radius:8px; font:inherit; font-size:12px; outline:0; }
    .cl-edit-custom-age input:focus { border-color:#8067ef; box-shadow:0 0 0 3px rgba(128,103,239,.1); }
    .cl-edit-custom-age i { color:#858793; font-style:normal; }
    .cl-edit-ai-action { padding:0; border:0; color:#795eed; background:transparent; font:inherit; font-size:11px; cursor:pointer; }
    .cl-edit-ai-action:hover { color:#553ac8; text-decoration:underline; }
    .cl-edit-field input, .cl-edit-field textarea { width:100%; padding:8px 10px; border:1px solid #d9d9e0; border-radius:6px; background:#fff; font-size:13px; color:#1f2329; font-family:inherit; outline:none; box-sizing:border-box; transition:border-color .12s, box-shadow .12s; }
    .cl-edit-field input:focus, .cl-edit-field textarea:focus { border-color:#8065ef; box-shadow:0 0 0 3px rgba(128,101,239,.15); }
    .cl-edit-field.invalid input, .cl-edit-field.invalid textarea { border-color:#e14b53; box-shadow:0 0 0 3px rgba(225,75,83,.12); }
    .cl-edit-field textarea { resize:vertical; min-height:150px; line-height:1.65; }
    .cl-edit-field.full { grid-column:1 / -1; }
    .cl-edit-counter { position:absolute; right:10px; bottom:8px; font-size:11px; color:#92939d; pointer-events:none; background:rgba(255,255,255,.85); padding:1px 4px; border-radius:3px; }
    .cl-edit-counter.over { color:#e14b53; }
    .cl-edit-error { margin-top:8px; padding:8px 12px; background:#fef2f2; border:1px solid #f5c6c6; border-radius:6px; color:#d14545; font-size:12px; }
    @media (max-width:640px) { .cl-edit-modal { width:calc(100vw - 24px); max-height:calc(100vh - 24px); }.cl-edit-meta { grid-template-columns:1fr; }.cl-edit-meta-item + .cl-edit-meta-item { border-top:1px solid #eceaf2; border-left:0; }.cl-edit-persona-source { width:100%; grid-template-columns:repeat(2,minmax(0,1fr)); }.cl-edit-persona-source button { min-width:0; }.cl-edit-audience-row { grid-template-columns:1fr; gap:6px; }.cl-edit-audience-row > span { padding-top:0; }.cl-edit-foot-info { display:none; } }
    .cl-create-video-picker-trigger { width:100%; min-height:52px; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 14px; border:1px solid #dddde7; border-radius:10px; color:#4a4b55; background:#fff; font:inherit; font-size:13px; cursor:pointer; }
    .cl-create-video-picker-trigger:hover { border-color:#9a82f4; color:#654ae5; }
    .cl-create-video-picker-trigger b { color:#8e87a1; font-size:20px; font-weight:400; }
    .cl-create-selected-video { margin-top:9px; padding:10px 12px; border:1px solid #ddd7ee; border-radius:9px; background:#faf9ff; color:#51449c; font-size:12px; line-height:1.5; }
    .cl-create-selected-video strong, .cl-create-selected-video span { display:block; }
    .cl-create-selected-video span { margin-top:2px; color:#85838f; }
    .cl-upload-video { width:100%; display:grid; place-items:center; min-height:126px; padding:18px; border:1px dashed #cfcbdc; border-radius:12px; color:#777985; background:#fafafd; text-align:center; cursor:pointer; font:inherit; }
    .cl-upload-video:hover { border-color:#8c76eb; color:#6148ce; background:#faf8ff; }
    .cl-upload-video strong, .cl-upload-video span { display:block; }
    .cl-upload-video span { margin-top:5px; color:#9b9ca6; font-size:11px; }
    .cl-parse-status { display:flex; align-items:center; gap:8px; margin-top:10px; padding:9px 11px; border-radius:9px; color:#4f846a; background:#f1faf5; font-size:11px; }
    .cl-parse-status.is-parsing { color:#765bc8; background:#f6f2ff; }
    .cl-parse-status.is-parsing b { width:13px; height:13px; border:2px solid #cfc2ff; border-top-color:#7657dc; border-radius:50%; animation:cl-parse-spin .72s linear infinite; }
    @keyframes cl-parse-spin { to { transform:rotate(360deg); } }
    .cl-parse-status[hidden] { display:none; }
    @media (max-width:820px) {
      .copy-structure-detail-summary { grid-template-columns:1fr 1fr; }
      .copy-stage-body { padding-left:15px; }
      .copy-stage-execution { grid-template-columns:1fr; }
      .copy-related-item { grid-template-columns:1fr; }
      .copy-related-video { width:112px; }
      .cl-create-form, .cl-audience-text-grid, .copy-level-options, .copy-structure-editor-grid { grid-template-columns:1fr; }
      .cl-create-persona-source { width:100%; grid-template-columns:repeat(2,minmax(0,1fr)); }.cl-create-persona-source button { min-width:0; }
    }
    .rewrite-style-control { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:9px; }
    .rewrite-style-editor { display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:8px; margin-top:9px; }
    .rewrite-style-editor[hidden] { display:none; }
    .rewrite-style-editor input { min-width:0; }

    .task-chat-pane { display: flex; flex-direction: column; position: relative; overflow: hidden; }
    .task-chat-head { display:flex; align-items:center; justify-content:space-between; gap:14px; min-height:56px; padding:10px 16px; border-bottom:1px solid #eeeeF2; }
    .task-chat-head > div { min-width:0; }
    .task-chat-head strong { display:block; overflow:hidden; color:#353640; font-size:13px; white-space:nowrap; text-overflow:ellipsis; }
    .task-chat-head small { display: block; margin-top: 2px; color: #9899a3; font-size: 11px; }
    .task-chat-head .asset-toggle {
      position:static !important;
      flex:0 0 auto;
      height:34px;
      box-shadow:none;
      background:#fff;
    }
    .task-chat-log { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; }
    #page-creation .agent-task-shell .chat-output,
    #page-creation .agent-task-shell .chat-output.show {
      display: block;
      width: 100%;
      height: 100%;
      margin: 0;
      padding: 18px 22px 18px 38px;
      overflow-y: auto;
    }
    #page-creation .agent-task-shell .chat-output .message { max-width: 84%; margin-bottom: 14px; }
    #page-creation .agent-task-shell .chat-output .message.assistant { width: auto; margin-left: 0; padding: 12px 13px; border-radius: 6px 14px 14px 14px; background: #f7f7f9; }
    #page-creation .agent-task-shell .chat-output .message.user { width: fit-content; margin-left: auto; margin-right: 0; padding: 11px 12px; border-radius: 14px 6px 14px 14px; background: #f1eeff; }
    #page-creation .agent-task-shell .chat-output .message.assistant::before,
    #page-creation .agent-task-shell .chat-output .message.user::after { content: none; display: none; }
    #page-creation .agent-task-shell .conversation-locator { display: block; position: absolute; z-index: 5; top: 18px; bottom: 16px; left: 13px; }
    #page-creation .agent-task-shell .locator-preview { left: 18px; width: 220px; }
    .task-chat-lock { display: none; }
    #page-creation .agent-task-shell .composer-wrap { width: 100%; margin: 0; padding: 10px; border-top: 1px solid #ededf1; }
    #page-creation .agent-task-shell .composer { border-radius: 13px; }
    #page-creation .agent-task-shell .composer-selectors { display: none; }
    #page-creation .agent-task-shell .task-chat-target { display: flex; align-items: center; gap: 4px; padding: 0 7px 7px; color: #8a8d99; font-size: 11px; }
    #page-creation .agent-task-shell .task-chat-target[hidden] { display: none; }
    #page-creation .agent-task-shell .task-chat-target strong { color: #666a76; font-weight: 600; }
    #page-creation .agent-task-shell .task-chat-target button { margin-left: 6px; padding: 0; border: 0; background: transparent; color: #6854df; font-size: 11px; cursor: pointer; }
    #page-creation .agent-task-shell .composer textarea { min-height: 74px; }
    #page-creation .agent-task-shell .composer textarea:disabled { cursor: not-allowed; color: #a39dab; background: #fbfaff; }
    #page-creation .agent-task-shell .composer textarea:disabled::placeholder { color: #9b91aa; opacity: 1; }
    .agent-task-shell:not(.is-complete) .composer { opacity: .55; pointer-events: none; }
    #page-creation .agent-task-shell.mix-chat-can-edit .composer { opacity:1; pointer-events:auto; }
    .agent-task-shell.is-complete .task-chat-lock { display: none; }
    .agent-task-shell.is-complete .task-work-pane { border-color: #ded4ff; }
    @media (max-width: 980px) {
      #page-creation .agent-task-shell { grid-template-columns: 1fr; overflow-y: auto; }
      .task-work-pane { min-height: 520px; }
      .task-chat-pane { min-height: 440px; }
    }
    /* 产品库：商品浏览与资产关系 */
    .product-market-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(238px,1fr)); gap:16px; }
    #page-products .product-list-card { padding:0; border:0; background:transparent; box-shadow:none; }
    .product-market-card { overflow:hidden; border:1px solid #ececf2; border-radius:14px; background:#fff; text-align:left; cursor:pointer; transition:.18s ease; box-shadow:0 3px 14px rgba(44,42,57,.04); }
    .product-market-card:hover { transform:translateY(-3px); border-color:#d8cbff; box-shadow:0 14px 28px rgba(79,55,155,.12); }
    .product-market-image { aspect-ratio:1 / 1; padding:14px; display:flex; align-items:flex-end; justify-content:space-between; background:linear-gradient(145deg,#f3f0eb,#e4e8f4); color:#34313d; }
    .product-market-image.air { background:linear-gradient(145deg,#fff1dc,#f5d6a5); }
    .product-market-image.wash { background:linear-gradient(145deg,#e7f5f2,#cbe5df); }
    .product-market-image.blend { background:linear-gradient(145deg,#f7e4e7,#e6d3df); }
    .product-market-image .product-visual { width:62%; aspect-ratio:1 / 1.18; margin:auto; border-radius:22px 22px 16px 16px; background:linear-gradient(145deg,#fff,#d9d9e3); box-shadow:12px 13px 22px rgba(59,48,75,.17); position:relative; }
    .product-market-image .product-visual::after { content:""; position:absolute; inset:15px 25px auto; height:42px; border:3px solid #6f687f; border-radius:50%; opacity:.45; }
    .product-market-image .image-label { align-self:flex-start; border-radius:99px; padding:4px 8px; color:#fff; background:rgba(27,24,34,.56); font-size:11px; }
    .product-market-body { padding:13px 14px 14px; }
    .product-market-title { display:flex; gap:8px; justify-content:space-between; align-items:flex-start; }
    .product-market-title strong { overflow:hidden; color:#252431; font-size:15px; white-space:nowrap; text-overflow:ellipsis; }
    .product-market-brand { margin-top:4px; color:#9795a1; font-size:12px; }
    .product-market-price { margin:10px 0 8px; color:#f04438; font-size:20px; font-weight:800; letter-spacing:-.5px; }
    .product-market-price small { margin-right:2px; font-size:12px; }
    .product-market-price-row { display:flex; align-items:baseline; justify-content:space-between; gap:8px; }
    .product-market-price-row .product-market-price { margin:10px 0 8px; }
    .product-market-price-row .asset-card-audit { margin:0; padding:0; text-align:right; flex-shrink:0; }
    .product-market-tags { display:flex; gap:5px; min-height:23px; overflow:hidden; white-space:nowrap; }
    .product-market-tags span { max-width:100%; overflow:hidden; border-radius:4px; padding:3px 6px; color:#9a4c24; background:#fff1e8; font-size:11px; text-overflow:ellipsis; }
    .product-market-assets { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:5px; margin-top:12px; padding-top:10px; border-top:1px solid #f0eff3; color:#8c91a1; font-size:11px; }
    .product-market-assets span { overflow:hidden; text-align:center; white-space:nowrap; }
    .product-market-assets span b { font-weight:600; color:#5b6072; }
    .product-card-delete { position:absolute; z-index:3; top:10px; right:10px; width:28px; height:28px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.76); border-radius:8px; color:#716c79; background:rgba(255,255,255,.88); box-shadow:0 4px 12px rgba(47,40,62,.08); opacity:0; transition:.16s ease; }
    .product-market-card { position:relative; }
    .product-market-card:hover .product-card-delete, .product-card-delete:focus { opacity:1; }
    .product-card-delete:hover { color:#cf3f4c; border-color:#f3c5ca; background:#fff5f6; }
    .product-page-actions { display:flex; align-items:center; gap:9px; }
    .product-page-actions .search { width:270px; }
    .product-market-card.is-parsing { cursor:wait; border-color:#d7cafe; box-shadow:0 0 0 3px rgba(131,100,232,.07); }
    .product-market-card.is-parsing .product-market-image { animation: parsingPulse 1.25s ease-in-out infinite; }
    .product-parsing { display:flex; align-items:center; gap:6px; margin-top:10px; color:#7152cb; font-size:12px; }
    .product-parsing::before { content:""; width:7px; height:7px; border-radius:50%; background:#8464e8; box-shadow:0 0 0 5px rgba(132,100,232,.12); animation: parsingDot 1.1s ease-in-out infinite; }
    @keyframes parsingPulse { 50% { filter:brightness(1.06); opacity:.72; } }
    @keyframes parsingDot { 50% { transform:scale(.6); opacity:.4; } }
    .product-modal { width:min(980px,calc(100vw - 40px)); max-height:min(820px,calc(100vh - 44px)); }
    .product-create-tabs { display:flex; gap:6px; margin-bottom:18px; padding:5px; border-radius:12px; background:#f5f4f7; }
    .product-create-tabs button { flex:1; border:0; border-radius:8px; padding:9px; color:#787581; background:transparent; cursor:pointer; }
    .product-create-tabs button.active { color:#5239c9; background:#fff; box-shadow:0 2px 7px rgba(65,56,90,.1); font-weight:700; }
    .product-form-panel { display:none; }
    .product-form-panel.active { display:block; }
    .product-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
    .product-form-grid .full { grid-column:1/-1; }
    .product-image-upload { min-height:124px; display:flex; align-items:center; justify-content:center; border:1px dashed #bcb5cf; border-radius:10px; color:#746d83; background:#fbfaff; cursor:pointer; }
    .product-image-upload:hover { background:#f5f2ff; border-color:#8469dd; }
    .input-with-select { display:flex; gap:8px; }
    .input-with-select input { min-width:0; flex:1; }
    .price-field input { flex:7; }
    .price-field select { flex:3; }
    .product-modal .modal-foot { justify-content:flex-end; }
    .required-mark { margin-left:2px; color:#f04438; font-style:normal; }
    .category-field { display:flex; align-items:center; gap:8px; }
    .category-field select { min-width:0; flex:1; }
    .category-field button { flex:0 0 auto; padding:7px 10px; border:1px dashed #b7a9df; border-radius:8px; color:#684bc8; background:#faf8ff; cursor:pointer; }
    .add-category-input { display:none; align-items:center; gap:7px; margin-top:8px; padding:8px; border:1px solid #e8e3f4; border-radius:9px; background:#faf9fd; }
    .add-category-input.show { display:flex; }
    .add-category-input input { min-width:0; flex:1; }
    .add-category-input button { flex:0 0 auto; }
    .product-link-field { padding:14px; border:1px solid #ebe8f2; border-radius:12px; background:#fbfaff; }
    .product-link-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px; }
    .product-link-head label { margin:0; }
    .product-link-head-actions { display:flex; gap:8px; }
    .product-link-rows { display:grid; gap:9px; }
    .product-link-row { display:grid; grid-template-columns:150px minmax(0,1fr) 36px; gap:8px; align-items:center; }
    .product-link-row select,.product-link-row input { width:100%; }
    .product-link-remove { width:36px; height:36px; border:1px solid #e6e1eb; border-radius:9px; color:#aaa3b1; background:#fff; cursor:pointer; }
    .product-link-remove:hover { color:#d54c58; border-color:#f0c3c8; background:#fff5f6; }
    .platform-create-line { display:none; grid-template-columns:minmax(0,1fr) auto auto; gap:8px; margin-top:10px; padding-top:10px; border-top:1px dashed #ddd6e8; }
    .platform-create-line.show { display:grid; }
    .product-description-create { min-height:112px; }
    .product-link-surface { grid-column:1/-1; position:relative; padding:11px 0 4px; border-top:1px solid #f0edf3; }
    .product-link-surface > label { display:block; margin-bottom:9px; color:#918b99; font-size:12px; }
    .product-detail-link-list { display:flex; flex-wrap:wrap; gap:8px; padding-right:54px; }
    .product-detail-link-item { display:inline-flex; min-width:0; max-width:100%; align-items:center; gap:8px; padding:7px 10px; border:1px solid #e8e3f0; border-radius:9px; background:#faf9fd; }
    .product-detail-link-item b { flex:0 0 auto; padding:2px 6px; border-radius:5px; color:#6749c8; background:#eee9ff; font-size:11px; }
    .product-detail-link-item a { overflow:hidden; color:#5f5868; font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
    .product-detail-link-editor { display:none; }
    .product-link-surface.is-editing .product-detail-link-list { display:none; }
    .product-link-surface.is-editing .product-detail-link-editor { display:block; }
    .product-link-surface .surface-actions { position:absolute; top:8px; right:0; }
    .product-link-empty { color:#aaa4af; font-size:12px; }
    .batch-link-area { min-height:320px; }
    .parsed-products { display:none; margin-top:14px; }
    .parsed-products.show { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
    .parsed-product { display:flex; gap:10px; align-items:center; padding:10px; border:1px solid #ebe8f2; border-radius:10px; background:#fff; }
    .parsed-product i { width:38px; height:38px; flex:0 0 auto; border-radius:9px; background:#ece5f9; }
    .product-detail-hero { display:grid; grid-template-columns:160px minmax(0,1fr); gap:22px; padding:18px; border-radius:14px; background:linear-gradient(135deg,#faf8ff,#f5f7fb); }
    .detail-product-image { display:flex; min-height:158px; align-items:center; justify-content:center; border-radius:12px; background:linear-gradient(145deg,#ede9e6,#d7dbe6); }
    .detail-product-image .product-visual { width:80px; height:108px; border-radius:20px; background:linear-gradient(145deg,#fff,#d7d5dd); box-shadow:10px 10px 17px rgba(57,46,75,.14); }
    .detail-product-image .product-visual::after { content:""; display:block; width:32px; height:32px; margin:16px auto; border:3px solid #716b80; border-radius:50%; opacity:.45; }
    .detail-hero-main h2 { margin:0; color:#292635; }
    .detail-meta { display:flex; flex-wrap:wrap; gap:8px; margin-top:9px; color:#85818e; font-size:12px; }
    .detail-price { margin-top:14px; color:#f04438; font-size:23px; font-weight:800; }
    .detail-link { margin-top:6px; overflow:hidden; color:#7d63cf; font-size:12px; white-space:nowrap; text-overflow:ellipsis; }
    .detail-section { margin-top:20px; }
    .detail-section h3 { margin:0 0 10px; font-size:15px; color:#36333f; }
    .detail-info-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
    .detail-box { padding:13px; border:1px solid #ebeaf0; border-radius:11px; background:#fff; }
    .detail-box label { display:block; margin-bottom:7px; color:#9a97a3; font-size:12px; }
    .detail-box p { margin:0; color:#45414d; line-height:1.7; font-size:13px; white-space:pre-line; }
    .group-tags { display:flex; flex-wrap:wrap; gap:7px; }
    .group-tags span { border-radius:6px; padding:5px 8px; color:#5d4c94; background:#f1edff; font-size:12px; }
    .relation-tabs { display:flex; gap:7px; overflow:auto; padding-bottom:3px; }
    .relation-tabs button { flex:0 0 auto; padding:7px 11px; border:1px solid #e5e1ee; border-radius:7px; color:#777282; background:#fff; cursor:pointer; }
    .relation-tabs button.active { border-color:#b9a7ff; color:#6244cf; background:#f5f1ff; }
    .relation-panel { display:none; margin-top:12px; }
    .relation-panel.active { display:grid; gap:8px; }
    .relation-row { display:flex; gap:12px; align-items:center; padding:11px 12px; border:1px solid #efedf3; border-radius:9px; }
    .relation-row i { width:34px; height:34px; flex:0 0 auto; border-radius:8px; background:#f1eff7; }
    .relation-row div { min-width:0; flex:1; }
    .relation-row strong { display:block; overflow:hidden; color:#403b49; font-size:13px; white-space:nowrap; text-overflow:ellipsis; }
    .relation-row small { color:#94909d; }
    .relation-row button { border:0; border-radius:6px; padding:6px 9px; color:#6244cf; background:#f1edff; cursor:pointer; }
    .product-detail-page { width:100%; max-width:none; margin:0; padding:24px 28px 44px; }
    .product-detail-back { margin-bottom:16px; }
    .product-detail-banner { display:grid; grid-template-columns:148px minmax(0,1fr) auto; align-items:center; gap:22px; padding:22px; border:1px solid #ebe8f2; border-radius:18px; background:linear-gradient(115deg,#fff,#f6f3ff 62%,#f4f8ff); box-shadow:0 10px 28px rgba(49,37,86,.05); }
    .product-detail-banner .detail-product-image { min-height:132px; }
    .product-detail-summary h1 { margin:0; color:#292535; font-size:24px; }
    .product-detail-summary .product-summary-line { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-top:10px; color:#908c99; font-size:13px; }
    .product-detail-summary .product-summary-line .summary-price { color:#f04438; font-size:17px; font-weight:800; }
    .product-detail-summary .product-summary-line .summary-link { overflow:hidden; max-width:360px; color:#7359c8; text-overflow:ellipsis; white-space:nowrap; }
    .product-detail-summary .detail-price { margin-top:9px; }
    .product-detail-summary .product-summary-line .summary-audit { color:#96929e; font-size:12px; }
    .product-detail-summary .product-summary-line .summary-audit .audit-sep { color:#cfcad8; padding:0 6px; font-style:normal; }
    .product-detail-actions { display:flex; flex-direction:column; gap:10px; align-items:flex-end; min-width:200px; }
    .product-detail-actions-primary .product-creation-picker { position:relative; }
    .product-detail-actions-primary .primary-btn { height:36px; padding:0 18px; border-radius:10px; font-size:13px; box-shadow:0 6px 16px rgba(108,92,240,.22); }
    .product-detail-actions-primary .product-creation-options { width:200px; }
    .product-detail-actions-secondary { display:flex; align-items:center; gap:10px; padding-right:4px; }
    .product-detail-actions-secondary .link-btn { padding:0; border:0; background:transparent; color:#6856cf; font-size:12px; cursor:pointer; }
    .product-detail-actions-secondary .link-btn:hover { color:#4b39b3; text-decoration:underline; }
    .product-detail-actions-secondary .link-btn.danger-link { color:#b9505b; }
    .product-detail-actions-secondary .link-btn.danger-link:hover { color:#9a3e48; }
    .product-detail-actions-secondary .action-divider { width:1px; height:12px; background:#dfd9e8; }
    .product-detail-layout { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(340px,.8fr); gap:18px; margin-top:18px; }
    .product-detail-card { padding:18px; border:1px solid #eceaf2; border-radius:15px; background:#fff; }
    .product-detail-card + .product-detail-card { margin-top:18px; }
    .product-detail-card-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:13px; }
    .product-detail-card-head h3 { margin:0; color:#36313f; font-size:15px; }
    .product-edit-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
    .product-edit-grid .full { grid-column:1/-1; }
    .product-edit-grid .field textarea { min-height:86px; }
    #page-product-detail [data-save-product-detail] { display:none; }
    #page-product-detail .field, #page-product-detail .scenario-row { position:relative; }
    #page-product-detail .field > input, #page-product-detail .field > textarea, #page-product-detail .field > .input-with-select, #page-product-detail .scenario-row > input, #page-product-detail .scenario-row > textarea { transition:.16s ease; }
    #page-product-detail .detail-editable input, #page-product-detail .detail-editable textarea, #page-product-detail .detail-editable select { border-color:transparent; background:transparent; pointer-events:none; resize:none; }
    #page-product-detail .detail-editable:hover input, #page-product-detail .detail-editable:hover textarea, #page-product-detail .detail-editable:hover select { background:#fbfaff; }
    .detail-edit-action { position:absolute; top:7px; right:7px; z-index:2; padding:3px 6px; border:0; border-radius:5px; color:#96929e; background:transparent; font-size:11px; cursor:pointer; opacity:0; transition:.15s ease; }
    .detail-editable:hover .detail-edit-action, .detail-editable.is-editing .detail-edit-action { opacity:1; }
    #page-product-detail .detail-editable.is-editing input, #page-product-detail .detail-editable.is-editing textarea, #page-product-detail .detail-editable.is-editing select { border-color:#bba9fa; background:#fff; box-shadow:0 0 0 3px rgba(121,92,224,.08); pointer-events:auto; }
    .detail-editable.is-editing .detail-edit-action { color:#6548cd; background:#f1edff; }
    .scenario-editor { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
    .scenario-group { position:relative; min-height:104px; padding:16px; border:1px solid #e9e5f0; border-radius:13px; background:linear-gradient(145deg,#fff 0%,#faf9ff 100%); transition:.18s ease; }
    .scenario-group:hover { border-color:#cfc2f9; box-shadow:0 8px 22px rgba(72,48,138,.07); }
    .scenario-audience { display:flex; align-items:center; gap:8px; min-height:28px; font-size:15px; font-weight:700; color:#28233a; }
    .scenario-audience::before { content:""; width:7px; height:7px; border-radius:50%; background:#8464ed; box-shadow:0 0 0 4px #f0edff; }
    .scenario-tag-list { display:flex; flex-wrap:wrap; gap:7px; margin-top:13px; padding-right:36px; }
    .scenario-tag { display:inline-flex; align-items:center; height:26px; padding:0 9px; border-radius:7px; color:#665880; background:#f1eef8; font-size:12px; }
    .scenario-edit-action { position:absolute; top:12px; right:12px; padding:4px 7px; border:0; border-radius:6px; color:#8a819d; background:transparent; font-size:12px; cursor:pointer; opacity:0; transition:.16s ease; }
    .scenario-group:hover .scenario-edit-action, .scenario-group.is-editing .scenario-edit-action { opacity:1; }
    .scenario-edit-action:hover { color:#684ad2; background:#f0ecff; }
    .scenario-edit-form { display:none; }
    .scenario-group.is-editing { min-height:168px; border-color:#bba9fa; background:#fff; box-shadow:0 0 0 3px rgba(121,92,224,.08); }
    .scenario-group.is-editing .scenario-display { display:none; }
    .scenario-group.is-editing .scenario-edit-form { display:grid; gap:8px; padding-top:1px; }
    .scenario-edit-form label { color:#5b536b; font-size:12px; font-weight:600; }
    .scenario-edit-form input, .scenario-edit-form textarea { width:100%; border:1px solid #ded8ee; border-radius:7px; outline:0; color:#312a41; background:#fff; }
    .scenario-edit-form input { height:32px; padding:0 9px; }
    .scenario-edit-form textarea { min-height:76px; padding:8px 9px; line-height:1.65; resize:vertical; }
    .scenario-edit-form input:focus, .scenario-edit-form textarea:focus { border-color:#967cf0; box-shadow:0 0 0 3px rgba(121,92,224,.10); }
    .asset-relation-grid { display:grid; gap:9px; }
    .asset-relation-item { display:flex; align-items:center; gap:10px; padding:11px; border:1px solid #eeeaf4; border-radius:10px; background:#fff; }
    .asset-relation-item i { width:32px; height:32px; flex:0 0 auto; border-radius:9px; background:#efecf9; }
    .asset-relation-item div { min-width:0; flex:1; }
    .asset-relation-item strong,.asset-relation-item small { display:block; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
    .asset-relation-item strong { color:#403b49; font-size:13px; }.asset-relation-item small { margin-top:3px; color:#9893a0; font-size:11px; }
    .asset-relation-item button { border:0; border-radius:6px; padding:6px 8px; color:#6849cd; background:#f0ebff; cursor:pointer; }
    .product-asset-tabs { display:flex; gap:7px; overflow:auto; padding-bottom:4px; }
    .product-asset-tabs button { flex:0 0 auto; padding:6px 9px; border:1px solid #e6e1ef; border-radius:7px; color:#746f7d; background:#fff; font-size:12px; cursor:pointer; }
    .product-asset-tabs button.active { border-color:#b9a7ff; color:#6446cd; background:#f4f0ff; font-weight:700; }
    .product-asset-panel { display:none; margin-top:12px; }
    .product-asset-panel.active { display:block; }
    .product-creation-picker { position:relative; }
    .product-creation-picker > button { white-space:nowrap; }
    .product-creation-options { display:none; position:absolute; z-index:15; top:calc(100% + 7px); right:0; width:190px; padding:6px; border:1px solid #e7e2f0; border-radius:10px; background:#fff; box-shadow:0 16px 30px rgba(37,29,58,.16); }
    .product-creation-picker.open .product-creation-options { display:grid; gap:3px; }
    .product-creation-options button { padding:8px 9px; border:0; border-radius:7px; color:#4a4455; background:transparent; text-align:left; cursor:pointer; }
    .product-creation-options button:hover { color:#6245cb; background:#f4f1ff; }
    /* 产品详情：紧凑信息与原地资产管理 */
    .product-detail-page { padding:18px 22px 38px; }
    .product-detail-back { margin-bottom:10px; }
    .product-detail-banner { grid-template-columns:96px minmax(0,1fr) auto; gap:16px; padding:14px 16px; border-radius:14px; }
    .product-detail-banner .detail-product-image { min-height:86px; border-radius:10px; }
    .product-detail-banner .detail-product-image .product-visual { width:52px; height:68px; border-radius:13px; }
    .product-detail-banner .detail-product-image .product-visual::after { width:20px; height:20px; margin:10px auto; border-width:2px; }
    .product-detail-summary h1 { font-size:20px; }
    .product-detail-summary .product-summary-line { margin-top:7px; }
    .product-detail-summary .summary-chip { padding:3px 8px; border-radius:5px; color:#6e667d; background:#f1eef7; font-size:11px; }
    .product-detail-layout { display:block; margin-top:12px; }
    .product-profile-grid { display:grid; grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr); gap:12px; }
    .product-profile-grid .product-detail-card { margin:0; padding:15px 16px; border-radius:12px; }
    .product-profile-grid .span-all { grid-column:1/-1; }
    .compact-kv-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:24px; }
    .compact-kv { position:relative; display:grid; grid-template-columns:88px minmax(0,1fr) auto; align-items:center; min-height:39px; border-bottom:1px solid #f0eef3; }
    .compact-kv:nth-last-child(-n+2) { border-bottom:0; }
    .compact-kv.full-line { grid-column:1/-1; border-bottom:0; }
    .compact-kv > label { color:#8e8997; font-size:12px; }
    .compact-kv .compact-value { overflow:hidden; color:#37323f; font-size:13px; text-overflow:ellipsis; white-space:nowrap; }
    .compact-kv .surface-actions { opacity:0; }
    .compact-kv:hover .surface-actions, .compact-kv.is-editing .surface-actions { opacity:1; }
    .surface-actions { display:flex; align-items:center; gap:7px; transition:.15s ease; }
    .surface-actions button { padding:3px 5px; border:0; color:#96919f; background:transparent; font-size:11px; cursor:pointer; }
    .surface-actions button:hover { color:#6547ce; }
    .surface-actions .surface-cancel { display:none; }
    .editable-surface.is-editing .surface-cancel { display:inline-block; }
    .editable-editor { display:none; }
    .editable-surface.is-editing .editable-view { display:none; }
    .editable-surface.is-editing .editable-editor { display:block; }
    .compact-kv .editable-editor input { width:100%; height:30px; padding:0 8px; border:1px solid #bba9fa; border-radius:6px; outline:0; box-shadow:0 0 0 3px rgba(121,92,224,.08); }
    .compact-kv .editable-editor .price-field { gap:6px; }
    .compact-kv .editable-editor .price-field input { flex:7; min-width:0; }
    .compact-kv .editable-editor .price-field select { flex:3; min-width:118px; height:30px; padding:0 7px; border:1px solid #bba9fa; border-radius:6px; outline:0; background:#fff; box-shadow:0 0 0 3px rgba(121,92,224,.08); }
    .multi-info-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); border:1px solid #eeebf2; border-radius:10px; overflow:hidden; }
    .multi-info-block { position:relative; min-height:150px; padding:14px 16px; border-right:1px solid #f0edf3; border-bottom:1px solid #f0edf3; }
    .multi-info-block:nth-child(2n) { border-right:0; }
    .multi-info-block:nth-last-child(-n+2) { border-bottom:0; }
    .multi-info-block.span-two { grid-column:1/-1; min-height:118px; border-right:0; border-bottom:0; }
    .multi-info-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:9px; }
    .multi-info-head strong { color:#302b37; font-size:13px; }
    .multi-info-head small { margin-left:5px; color:#aaa5b1; font-weight:400; }
    .bullet-list { display:grid; gap:8px; margin:0; padding:0; list-style:none; }
    .bullet-list li { position:relative; padding-left:15px; color:#504a58; font-size:12px; line-height:1.55; }
    .bullet-list li::before { content:""; position:absolute; top:7px; left:0; width:5px; height:5px; border-radius:50%; background:#ff5a52; }
    .multi-info-block .editable-editor textarea, .product-description .editable-editor textarea, .asset-inline-editor textarea { width:100%; min-height:112px; padding:10px; border:1px solid #bba9fa; border-radius:8px; outline:0; line-height:1.65; resize:vertical; box-shadow:0 0 0 3px rgba(121,92,224,.08); }
    .trust-attachment-section,.trust-attachment-create { margin-top:14px; padding-top:12px; border-top:1px solid #efedf3; }
    .trust-attachment-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
    .trust-attachment-head > div:first-child { display:flex; min-width:0; flex-direction:column; gap:3px; }
    .trust-attachment-head strong { color:#48424f; font-size:12px; }
    .trust-attachment-head strong small { margin-left:4px; color:#8a77c9; font-size:11px; font-weight:600; }
    .trust-attachment-head span { color:#9993a0; font-size:11px; line-height:1.35; }
    .trust-attachment-list { display:grid; gap:7px; margin-top:10px; }
    .trust-attachment-row { display:grid; grid-template-columns:28px minmax(0,1fr) auto; align-items:center; gap:8px; padding:8px; border:1px solid #ece8f2; border-radius:8px; background:#fcfbfe; }
    .trust-attachment-icon { display:flex; width:28px; height:28px; align-items:center; justify-content:center; border-radius:7px; color:#7058c9; background:#eee9ff; font-size:10px; font-weight:700; }
    .trust-attachment-file { min-width:0; }
    .trust-attachment-file strong { display:block; overflow:hidden; color:#514b59; font-size:12px; font-weight:600; text-overflow:ellipsis; white-space:nowrap; }
    .trust-attachment-file span { display:block; margin-top:2px; color:#9993a0; font-size:10px; }
    .trust-attachment-actions { display:flex; align-items:center; gap:3px; }
    .trust-attachment-actions button { border:0; border-radius:5px; padding:4px 6px; color:#6550bd; background:transparent; font-size:11px; cursor:pointer; }
    .trust-attachment-actions button:hover { color:#4d38ae; background:#f0edff; }
    .trust-attachment-actions .trust-attachment-remove { color:#bc5d63; }
    .trust-attachment-actions .trust-attachment-remove:hover { color:#a5454c; background:#fff0f1; }
    .trust-attachment-empty { padding:9px 0 1px; color:#aaa5af; font-size:11px; }
    .trust-attachment-row.is-uploading { opacity:.68; }
    .trust-attachment-row.is-uploading .trust-attachment-file span::after { content:" · 上传中"; color:#7761cb; }
    .product-description { position:relative; }
    .product-description .product-detail-card-head { align-items:flex-start; }
    .product-description-title small { display:block; margin-top:4px; color:#96919d; font-size:11px; font-weight:400; }
    .product-description .surface-actions { flex:0 0 auto; opacity:1; }
    .product-description-source { width:100%; height:152px; padding:12px 13px; overflow-y:auto; border:1px solid #ece9f0; border-radius:9px; outline:0; color:#4e4857; background:#faf9fc; font-size:12px; line-height:1.72; resize:vertical; scrollbar-width:thin; scrollbar-color:#d8d3e1 transparent; }
    .product-description-source::-webkit-scrollbar { width:6px; }
    .product-description-source::-webkit-scrollbar-thumb { border-radius:99px; background:#d8d3e1; }
    .product-description:not(.is-editing) .product-description-source { resize:none; cursor:default; }
    .product-description.is-editing .product-description-source { min-height:180px; border-color:#bba9fa; background:#fff; box-shadow:0 0 0 3px rgba(121,92,224,.08); }
    .description-edit-tools { display:none; margin-top:10px; padding-top:10px; border-top:1px solid #efecf3; }
    .product-description.is-editing .description-edit-tools { display:block; }
    .product-description.is-editing .surface-cancel { display:inline-block; }
    .description-tool-head { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:8px; }
    .description-tool-head span { color:#7e7886; font-size:12px; }
    .description-param-list { display:grid; gap:7px; }
    .description-param-row { display:grid; grid-template-columns:minmax(120px,.35fr) minmax(0,.65fr) 28px; gap:7px; }
    .description-param-row input { min-width:0; height:32px; padding:0 8px; border:1px solid #ddd8e8; border-radius:7px; outline:0; }
    .description-param-row input:focus { border-color:#9b82ee; box-shadow:0 0 0 3px rgba(121,92,224,.08); }
    .description-param-row button { border:0; border-radius:6px; color:#aaa4b0; background:#f4f2f6; cursor:pointer; }
    .description-param-row button:hover { color:#e4545a; background:#fff0f1; }
    .description-add-row { margin-top:8px; border:0; color:#6549c7; background:transparent; font-size:12px; cursor:pointer; }
    .asset-hub { margin-top:12px; padding:16px; border-radius:12px; }
    .asset-hub-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
    .asset-hub-head h3 { margin:0; font-size:15px; }
    .product-asset-tabs { gap:4px; padding:4px; border-radius:10px; background:#f5f3f8; }
    .product-asset-tabs button { padding:7px 13px; border:0; border-radius:7px; background:transparent; }
    .product-asset-tabs button.active { color:#4f37bd; background:#fff; box-shadow:0 2px 8px rgba(57,43,96,.10); }
    .product-asset-panel { display:none; margin-top:14px; }
    .product-asset-panel.active { display:block; }
    .asset-empty { display:flex; min-height:230px; flex-direction:column; align-items:center; justify-content:center; border:1px dashed #dedbe5; border-radius:12px; color:#9a96a0; background:#fdfdfd; }
    .asset-empty i { display:grid; width:48px; height:48px; place-items:center; border-radius:50%; color:#817c88; background:#f5f4f6; font-style:normal; font-size:21px; }
    .asset-empty strong { margin-top:13px; color:#403b46; font-size:14px; }
    .asset-empty p { margin:6px 0 0; font-size:12px; }
    .asset-preview-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,280px)); gap:12px; justify-content:start; }
    .asset-preview-grid .asset-content-card { width:100%; max-width:280px; }
    .asset-content-card { overflow:hidden; border:1px solid #e9e6ee; border-radius:11px; background:#fff; }
    .asset-content-head { display:flex; align-items:center; justify-content:space-between; padding:11px 13px; border-bottom:1px solid #f0edf3; }
    .asset-content-head strong { font-size:13px; }
    .asset-content-head small { color:#99939f; }
    .asset-content-head button { border:0; color:#6c51cb; background:transparent; font-size:12px; cursor:pointer; }
    .asset-image-preview { position:relative; width:100%; min-height:0; aspect-ratio:1/1; overflow:hidden; background:linear-gradient(145deg,#e9edf3,#dcd5eb); cursor:zoom-in; }
    .asset-image-preview.detail { background:linear-gradient(145deg,#f8eadc,#ead3bd); }
    .asset-image-preview .preview-product { position:absolute; right:14%; bottom:12%; width:96px; height:130px; border-radius:26px 26px 18px 18px; background:linear-gradient(145deg,#fff,#d5d4dd); box-shadow:15px 17px 28px rgba(55,45,70,.20); }
    .asset-image-preview .preview-copy { position:absolute; top:20px; left:20px; max-width:52%; color:#262230; font-size:18px; font-weight:850; line-height:1.25; }
    .asset-image-preview .preview-copy small { display:block; margin-top:9px; color:#7e7487; font-size:12px; font-weight:500; }
    .asset-image-preview.detail .preview-copy { max-width:62%; color:#593f32; font-size:17px; }
    .asset-card-meta { display:flex; justify-content:space-between; padding:10px 13px; color:#8d8794; font-size:11px; }
    .video-stage { position:relative; width:100%; min-height:0; aspect-ratio:9/16; overflow:hidden; background:linear-gradient(150deg,#342f3d,#17151d); }
    .video-stage::before { content:""; position:absolute; left:13%; bottom:0; width:44%; height:80%; border-radius:50% 50% 0 0; background:linear-gradient(145deg,#ddd6ca,#9b8d86); opacity:.55; }
    .video-stage::after { content:"▶"; position:absolute; top:50%; left:50%; display:grid; width:54px; height:54px; place-items:center; border-radius:50%; color:#fff; background:rgba(255,255,255,.18); backdrop-filter:blur(8px); transform:translate(-50%,-50%); font-size:18px; }
    .video-stage .video-caption { position:absolute; z-index:2; right:18px; bottom:18px; left:18px; color:#fff; text-align:center; font-size:14px; text-shadow:0 2px 8px #000; }
    .video-more-wrap { position:absolute; z-index:5; top:10px; right:10px; }
    .video-more-button { width:30px; height:30px; border:0; border-radius:8px; color:#fff; background:rgba(18,17,22,.45); backdrop-filter:blur(7px); cursor:pointer; font-size:17px; }
    .video-more-menu { display:none; position:absolute; top:36px; right:0; width:116px; padding:5px; border:1px solid rgba(255,255,255,.16); border-radius:8px; background:#fff; box-shadow:0 12px 26px rgba(0,0,0,.20); }
    .video-more-wrap.open .video-more-menu { display:block; }
    .video-more-menu button { width:100%; padding:8px 9px; border:0; border-radius:6px; color:#4e4955; background:transparent; text-align:left; cursor:pointer; }
    .video-more-menu button:hover { color:#6244cf; background:#f3efff; }
    .material-strip { display:grid; grid-template-columns:repeat(auto-fill,minmax(160px,184px)); gap:12px; justify-content:start; }
    .material-strip .material-card { width:100%; max-width:184px; }
    .material-card .video-stage { min-height:0; }
    .material-card .video-stage::after { width:38px; height:38px; font-size:13px; }
    .script-sheet { overflow:hidden; border:1px solid #e8e5ed; border-radius:10px; }
    .script-row { display:grid; grid-template-columns:70px 1.1fr 1fr 90px; border-bottom:1px solid #eeeaf1; }
    .script-row:last-child { border-bottom:0; }
    .script-row > div { padding:10px 12px; border-right:1px solid #f0edf3; color:#534d59; font-size:12px; line-height:1.55; }
    .script-row > div:last-child { border-right:0; }
    .script-row.header { background:#f8f7fa; font-weight:700; }
    .script-row.header > div { color:#77717e; }
    .generated-video-link { display:flex; align-items:center; gap:12px; margin-top:12px; padding:11px; border:1px solid #e9e5f0; border-radius:9px; background:#faf9fc; }
    .generated-video-thumb { flex:0 0 auto; width:40px; aspect-ratio:9/16; border-radius:7px; background:linear-gradient(145deg,#433d4d,#17151c); }
    .generated-video-link div { flex:1; }
    .generated-video-link strong,.generated-video-link small { display:block; }
    .generated-video-link small { margin-top:4px; color:#918b98; }
    .script-side-panel { display:grid; grid-template-columns:1.2fr .8fr; gap:12px; }
    .video-script-copy { padding:14px; border:1px solid #e9e6ee; border-radius:10px; background:#faf9fc; }
    .video-script-copy h4 { margin:0 0 9px; font-size:13px; }
    .video-script-copy p { margin:0; color:#554e5d; font-size:12px; line-height:1.75; }
    .template-tabs { display:flex; gap:6px; overflow:auto; margin-bottom:12px; border-bottom:1px solid #ebe7ef; }
    .template-tabs button { flex:0 0 auto; padding:8px 10px; border:0; border-bottom:2px solid transparent; color:#827c89; background:transparent; cursor:pointer; }
    .template-tabs button.active { border-bottom-color:#7455dd; color:#5c40c2; font-weight:700; }
    .template-panel { display:none; }
    .template-panel.active { display:block; }
    .template-card { position:relative; padding:15px; border:1px solid #e9e5ef; border-radius:10px; background:#fbfafe; }
    .template-card h4 { margin:0 0 6px; font-size:13px; }
    .template-card p { margin:0; color:#625b69; font-size:12px; line-height:1.75; white-space:pre-line; }
    .template-card + .template-card { margin-top:9px; }
    .template-card .surface-actions { position:absolute; top:10px; right:10px; opacity:0; }
    .template-card:hover .surface-actions, .template-card.is-editing .surface-actions { opacity:1; }
    .asset-inline-editor { display:none; padding:12px 13px; border-top:1px solid #eeeaf2; background:#fbfafe; }
    .asset-content-card.is-editing .asset-inline-editor { display:block; }
    .sync-hint { color:#8e8797; font-size:11px; }
    .prompt-agent-list { display:flex; gap:7px; overflow:auto; margin-bottom:12px; }
    .prompt-agent-list button { flex:0 0 auto; padding:7px 10px; border:1px solid #e5e1ec; border-radius:7px; color:#77717e; background:#fff; cursor:pointer; }
    .prompt-agent-list button.active { border-color:#b7a4fc; color:#6041c9; background:#f4f0ff; }
    .prompt-agent-panel { display:none; }
    .prompt-agent-panel.active { display:block; }
    .product-asset-panel[data-product-asset-panel="video"] > .asset-content-card { width:min(100%,184px); }
    .image-zoom-modal .modal { width:min(760px,calc(100vw - 42px)); }
    .image-zoom-modal .modal-body { padding:16px; }
    .image-zoom-host { overflow:hidden; width:min(620px,100%); margin:auto; border-radius:12px; }
    .image-zoom-host .asset-image-preview { cursor:default; }
    .session-delete-modal .modal { width:min(400px,calc(100vw - 40px)); height:auto; max-height:min(320px,calc(100vh - 40px)); border-radius:16px; }
    .session-delete-modal .modal-head { align-items:flex-start; padding:20px 20px 8px; border-bottom:0; }
    .session-delete-modal .modal-head > div { position:relative; padding-left:42px; }
    .session-delete-modal .modal-head > div::before { content:"!"; position:absolute; top:0; left:0; width:30px; height:30px; display:grid; place-items:center; border-radius:50%; color:#d94b51; background:#fff0f1; font-weight:800; }
    .session-delete-modal .modal-head h3 { font-size:16px; }
    .session-delete-modal .modal-head p { margin:5px 0 0; color:#92909a; font-size:12px; }
    .session-delete-modal .modal-x { flex:0 0 auto; margin-top:-4px; }
    .session-delete-modal .modal-body { flex:0 0 auto; padding:8px 20px 18px; overflow:visible; }
    .session-delete-modal .modal-foot { justify-content:flex-end; padding:0 20px 20px; border-top:0; }
    .session-delete-copy { padding:12px 14px; border-radius:10px; color:#625f69; background:#f7f7f9; font-size:12px; line-height:1.65; }
    /* 品牌库：与产品库同级的品牌事实与策略管理 */
    .brand-market-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:16px; }
    .brand-market-card { position:relative; display:flex; flex-direction:column; min-height:214px; padding:18px; border:1px solid #eceaf2; border-radius:15px; color:#312d39; background:#fff; cursor:pointer; transition:.18s ease; box-shadow:0 3px 14px rgba(44,42,57,.04); }
    .brand-market-card:hover { transform:translateY(-3px); border-color:#d8cbff; box-shadow:0 14px 28px rgba(79,55,155,.12); }
    .brand-card-top { display:flex; align-items:center; gap:12px; }
    .brand-card-logo { width:54px; height:54px; flex:0 0 auto; display:grid; place-items:center; overflow:hidden; border-radius:15px; color:#fff; background:linear-gradient(145deg,#7161e8,#4a38b9); font-size:21px; font-weight:800; box-shadow:0 9px 20px rgba(84,65,183,.20); }
    .brand-card-logo.green { background:linear-gradient(145deg,#5ba792,#287561); }
    .brand-card-logo.orange { background:linear-gradient(145deg,#efa15f,#c86a2c); }
    .brand-card-logo img { width:100%; height:100%; object-fit:cover; }
    .brand-card-top h3 { margin:0; font-size:17px; }
    .brand-card-top small { display:block; margin-top:3px; color:#96929d; }
    .brand-card-desc { min-height:42px; margin:15px 0 12px; color:#68636f; font-size:13px; line-height:1.7; }
    .brand-card-foot { display:flex; justify-content:space-between; margin-top:auto; padding-top:11px; border-top:1px solid #f0eff3; color:#97939e; font-size:11px; }
    .brand-card-delete { position:absolute; top:12px; right:12px; width:28px; height:28px; display:grid; place-items:center; border:1px solid #ebe7ef; border-radius:8px; color:#8a858f; background:#fff; opacity:0; cursor:pointer; }
    .brand-market-card:hover .brand-card-delete, .brand-card-delete:focus { opacity:1; }
    .brand-card-delete:hover { color:#cf3f4c; border-color:#f1c5ca; background:#fff4f5; }
    .card-menu-wrap { position:absolute; z-index:5; top:10px; right:10px; }
    .card-menu-trigger { width:30px; height:28px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.8); border-radius:8px; color:#68636f; background:rgba(255,255,255,.94); box-shadow:0 4px 12px rgba(47,40,62,.08); opacity:0; cursor:pointer; font-size:15px; line-height:1; transition:.16s ease; }
    .product-market-card:hover .card-menu-trigger, .brand-market-card:hover .card-menu-trigger, .card-menu-wrap.open .card-menu-trigger, .card-menu-trigger:focus { opacity:1; }
    .card-action-menu { display:none; position:absolute; z-index:8; top:34px; right:0; width:112px; padding:6px; border:1px solid #e8e4ed; border-radius:10px; background:#fff; box-shadow:0 14px 28px rgba(42,34,58,.16); }
    .card-menu-wrap.open .card-action-menu { display:block; }
    .card-action-menu button, .card-action-menu [role="menuitem"] { width:100%; display:block; padding:8px 10px; border:0; border-radius:7px; color:#c8424e; background:transparent; text-align:left; cursor:pointer; }
    .card-action-menu button:hover, .card-action-menu [role="menuitem"]:hover { background:#fff1f2; }
    .brand-detail-page { width:100%; max-width:none; margin:0; padding:18px 22px 40px; }
    .brand-detail-banner { display:grid; grid-template-columns:90px minmax(0,1fr) auto; align-items:center; gap:16px; padding:15px 17px; border:1px solid #ebe8f2; border-radius:14px; background:linear-gradient(115deg,#fff,#f6f3ff 62%,#f4f8ff); box-shadow:0 10px 28px rgba(49,37,86,.05); }
    .brand-detail-logo { width:76px; height:76px; display:grid; place-items:center; overflow:hidden; border-radius:20px; color:#fff; background:linear-gradient(145deg,#7161e8,#4a38b9); font-size:28px; font-weight:800; }
    .brand-detail-logo img { width:100%; height:100%; object-fit:cover; }
    .brand-detail-summary h1 { margin:0 0 5px; font-size:22px; }
    .brand-detail-summary p { margin:0; color:#77727e; }
    .brand-detail-actions { display:flex; gap:8px; }
    .brand-detail-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:14px; margin-top:14px; }
    .brand-info-card { padding:17px 18px; border:1px solid #eceaf2; border-radius:13px; background:#fff; }
    .brand-info-card-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:13px; }
    .brand-info-card-head h3 { margin:0; font-size:15px; }
    .brand-field { position:relative; display:grid; grid-template-columns:92px minmax(0,1fr); gap:12px; padding:11px 0; border-bottom:1px solid #f0eff3; }
    .brand-field:last-child { border-bottom:0; }
    .brand-field label { color:#8c8792; font-size:12px; }
    .brand-field .brand-value { white-space:pre-line; color:#49444f; line-height:1.7; }
    .brand-field input, .brand-field textarea { display:none; width:100%; padding:9px 10px; border:1px solid #bba9fa; border-radius:8px; outline:0; resize:vertical; }
    .brand-field textarea { min-height:82px; }
    .brand-field.is-editing .brand-value { display:none; }
    .brand-field.is-editing input, .brand-field.is-editing textarea { display:block; }
    .brand-field-edit { position:absolute; top:9px; right:0; border:0; color:#9b96a1; background:transparent; font-size:11px; opacity:0; cursor:pointer; }
    .brand-field:hover .brand-field-edit, .brand-field.is-editing .brand-field-edit { opacity:1; }
    .brand-field.is-editing .brand-field-edit { color:#5f44c8; font-weight:700; }
    .brand-logo-upload { min-height:116px; display:flex; align-items:center; justify-content:center; border:1px dashed #bcb5cf; border-radius:11px; color:#746d83; background:#fbfaff; cursor:pointer; }
    .brand-logo-upload.has-image { color:#3f785e; border-color:#a8d5bf; background:#f0fbf5; }
    .brand-field .brand-logo-upload { display:none; min-height:76px; }
    .brand-field.is-editing .brand-logo-upload { display:flex; }
    .brand-logo-current { display:flex; align-items:center; gap:10px; color:#5f5967; }
    .brand-logo-thumb { width:46px; height:46px; flex:0 0 auto; display:grid; place-items:center; overflow:hidden; border-radius:13px; color:#fff; background:linear-gradient(145deg,#7161e8,#4a38b9); font-size:18px; font-weight:800; }
    .brand-logo-thumb img { width:100%; height:100%; object-fit:cover; }
    .brand-delete-modal .modal { width:min(410px,calc(100vw - 40px)); height:auto; }
    .brand-delete-modal .modal-body { padding:8px 20px 18px; }
    .brand-delete-modal .modal-foot { justify-content:flex-end; }
    @media (max-width:980px) { .product-detail-layout { grid-template-columns:1fr; }.product-detail-banner { grid-template-columns:120px 1fr; }.product-detail-actions { grid-column:1/-1; flex-direction:row; }.product-page-actions .search { width:180px; } }
    @media (max-width:980px) { .product-profile-grid,.script-side-panel { grid-template-columns:1fr; }.product-detail-banner { grid-template-columns:88px 1fr; }.product-detail-actions { grid-column:1/-1; }.material-strip { grid-template-columns:repeat(2,minmax(0,1fr)); } }
    @media (max-width:720px) { .product-form-grid,.detail-info-grid,.product-edit-grid,.scenario-editor,.compact-kv-grid,.multi-info-grid,.asset-preview-grid,.material-strip,.brand-detail-grid { grid-template-columns:1fr; } .product-detail-hero { grid-template-columns:1fr; } .detail-product-image { min-height:110px; } .product-page-actions { flex-wrap:wrap; }.product-page-actions .search { width:100%; }.product-detail-banner,.brand-detail-banner { grid-template-columns:72px 1fr; }.product-detail-page,.brand-detail-page { padding:14px; }.product-detail-actions,.brand-detail-actions { grid-column:1/-1; }.multi-info-block { border-right:0; }.product-description .description-lines { grid-template-columns:1fr; }.script-row { grid-template-columns:54px 1fr; }.script-row > div:nth-child(3),.script-row > div:nth-child(4) { display:none; }.product-link-row { grid-template-columns:110px minmax(0,1fr) 36px; }.platform-create-line { grid-template-columns:1fr; } }
    /* 智能文案 Agent：最终三步工作流 */
    #agentTaskShell[data-agent-type="original"] .task-form-scroll {
      background:#fbfbfd;
      padding:0;
      overflow-x:hidden;
    }
    #agentTaskShell[data-agent-type="original"] .dynamic-form {
      display:block !important;
      grid-template-columns:none !important;
      width:100%;
      min-width:0;
      padding:0;
    }
    #agentTaskShell[data-agent-type="original"] .task-form-host,
    #agentTaskShell[data-agent-type="original"] .original-step-panel {
      display:block;
      width:100%;
      min-width:0;
      box-sizing:border-box;
    }
    #agentTaskShell[data-agent-type="original"] .original-flow-form {
      display:block;
      grid-column:1/-1;
      width:100%;
      max-width:none;
      min-width:0;
      margin:0;
      padding:24px 30px 32px;
      box-sizing:border-box;
    }
    #agentTaskShell[data-agent-type="original"] .original-step-panel[hidden] { display:none !important; }
    #agentTaskShell[data-agent-type="original"] .original-step-title {
      display:flex;
      align-items:flex-start;
      justify-content:space-between;
      gap:20px;
      padding-bottom:18px;
      border-bottom:1px solid #ececf2;
      margin-bottom:4px;
    }
    #agentTaskShell[data-agent-type="original"] .original-header-controls {
      display:flex;
      align-items:center;
      justify-content:flex-end;
      flex-wrap:wrap;
      gap:9px;
      min-width:0;
    }
    #agentTaskShell[data-agent-type="original"] .header-product-picker select {
      width:190px;
      height:34px;
      padding:0 30px 0 10px;
      border:1px solid #dddde7;
      border-radius:9px;
      background:#fff;
      color:#34353d;
      outline:none;
    }
    #agentTaskShell[data-agent-type="original"] .original-step-title h2 {
      margin:0 0 5px;
      font-size:20px;
      color:#18181b;
    }
    #agentTaskShell[data-agent-type="original"] .original-step-title p {
      margin:0;
      color:#8a8b96;
      font-size:13px;
    }
    #agentTaskShell[data-agent-type="original"] .advanced-toggle {
      border:1px solid #dddde7;
      background:#fff;
      color:#565865;
      height:34px;
      padding:0 13px;
      border-radius:9px;
      cursor:pointer;
      white-space:nowrap;
    }
    #agentTaskShell[data-agent-type="original"] .advanced-toggle.active {
      border-color:#8b73f6;
      color:#684ee8;
      background:#f7f4ff;
    }
    #agentTaskShell[data-agent-type="original"] .original-group {
      display:block;
      padding:22px 0;
      border-bottom:1px solid #ececf2;
    }
    #agentTaskShell[data-agent-type="original"] .original-group:last-child { border-bottom:0; }
    #agentTaskShell[data-agent-type="original"] .original-group-title strong {
      display:inline-block;
      font-size:15px;
      color:#24242b;
      margin:0 9px 16px 0;
    }
    #agentTaskShell[data-agent-type="original"] .original-group-title span {
      display:inline-block;
      color:#a0a1aa;
      font-size:12px;
      line-height:1.55;
    }
    #agentTaskShell[data-agent-type="original"] .copy-basic-title {
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:16px;
      margin-bottom:16px;
    }
    #agentTaskShell[data-agent-type="original"] .copy-basic-title strong { margin-bottom:0; }
    #agentTaskShell[data-agent-type="original"] .copy-basic-controls {
      display:flex;
      align-items:center;
      justify-content:flex-end;
      gap:9px;
      min-width:0;
    }
    #agentTaskShell[data-agent-type="original"] .copy-basic-controls .header-product-picker select { width:190px; }
    #agentTaskShell[data-agent-type="original"] .product-source-inline.full { grid-column:1/-1; }
    #agentTaskShell[data-agent-type="original"] .product-source-inline.full:empty,
    #agentTaskShell[data-agent-type="original"] .product-source-inline.full[hidden] { display:none; }
    #agentTaskShell[data-agent-type="original"] .reference-library-trigger {
      width:100%; height:40px; padding:0 12px; border:1px solid #dddde7; border-radius:9px;
      background:#fff; color:#4a4b55; display:flex; align-items:center; justify-content:space-between; cursor:pointer;
    }
    #agentTaskShell[data-agent-type="original"] .reference-library-trigger:hover { border-color:#9a82f4; color:#654ae5; }
    #agentTaskShell[data-agent-type="original"] .selected-reference-video {
      margin-top:8px; padding:9px 11px; border-radius:9px; background:#f7f5ff; color:#5d46c8; font-size:12px; line-height:1.5;
    }
    #agentTaskShell[data-agent-type="original"] .selected-reference-video strong,
    #agentTaskShell[data-agent-type="original"] .selected-reference-video span { display:block; }
    #agentTaskShell[data-agent-type="original"] .selected-reference-video span { margin-top:2px; color:#85838f; }
    #agentTaskShell[data-agent-type="original"] .reference-video-picker {
      grid-column:1/-1; border:1px solid #e2e2e9; border-radius:12px; background:#fff; padding:14px;
      box-shadow:0 12px 30px rgba(30,27,55,.08);
    }
    #agentTaskShell[data-agent-type="original"] .reference-picker-head,
    #agentTaskShell[data-agent-type="original"] .reference-picker-tools { display:flex; align-items:center; justify-content:space-between; gap:14px; }
    #agentTaskShell[data-agent-type="original"] .reference-picker-head span { display:block; margin-top:3px; color:#999aa5; font-size:11px; }
    #agentTaskShell[data-agent-type="original"] .reference-picker-head button { border:0; background:transparent; color:#8c8d98; font-size:20px; cursor:pointer; }
    #agentTaskShell[data-agent-type="original"] .reference-picker-tools { margin:12px 0 10px; }
    #agentTaskShell[data-agent-type="original"] .reference-picker-tools > input { flex:1; min-width:180px; height:36px; padding:0 11px; border:1px solid #dddde7; border-radius:9px; outline:none; }
    #agentTaskShell[data-agent-type="original"] .reference-video-list { display:grid; gap:8px; }
    #agentTaskShell[data-agent-type="original"] .reference-video-option {
      width:100%; border:1px solid #ececf1; border-radius:10px; background:#fff; padding:10px;
      display:grid; grid-template-columns:64px minmax(0,1fr) auto; align-items:center; gap:11px; text-align:left; cursor:pointer;
    }
    #agentTaskShell[data-agent-type="original"] .reference-video-option:hover { border-color:#a994f5; background:#fbfaff; }
    #agentTaskShell[data-agent-type="original"] .reference-video-option.selected { border-color:#7658e8; background:#f7f4ff; box-shadow:0 0 0 2px rgba(118,88,232,.08); }
    #agentTaskShell[data-agent-type="original"] .reference-video-option.selected em::before { content:"✓ "; }
    #agentTaskShell[data-agent-type="original"] .reference-transcript-editor { grid-column:1/-1; }
    #agentTaskShell[data-agent-type="original"] .reference-transcript-head {
      display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:8px;
    }
    #agentTaskShell[data-agent-type="original"] .reference-transcript-head label { margin:0; }
    #agentTaskShell[data-agent-type="original"] .reference-transcript-head button {
      border:0; background:transparent; color:#6d55d9; font-size:12px; cursor:pointer; padding:3px 0;
    }
    #agentTaskShell[data-agent-type="original"] .reference-transcript-editor textarea { min-height:132px; }
    #agentTaskShell[data-agent-type="original"] .reference-video-option[hidden] { display:none; }
    #agentTaskShell[data-agent-type="original"] .reference-video-option i { width:42px; height:28px; display:grid; place-items:center; border-radius:7px; background:#eeeafc; color:#654ae5; font-style:normal; }
    #agentTaskShell[data-agent-type="original"] .reference-video-option strong,
    #agentTaskShell[data-agent-type="original"] .reference-video-option small { display:block; }
    #agentTaskShell[data-agent-type="original"] .reference-video-option small { margin-top:3px; color:#9899a3; font-size:11px; }
    #agentTaskShell[data-agent-type="original"] .reference-video-option em { color:#654ae5; font-size:12px; font-style:normal; }
    #agentTaskShell[data-agent-type="original"] [data-original-step="2"] .original-group-title { display:none; }
    #agentTaskShell[data-agent-type="original"] [data-original-step="2"] .original-group { padding-top:22px; }
    #agentTaskShell[data-agent-type="original"] .original-group-fields {
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:18px 16px;
      min-width:0;
    }
    #agentTaskShell[data-agent-type="original"] .original-field {
      min-width:0;
    }
    #agentTaskShell[data-agent-type="original"] .original-field.full { grid-column:1/-1; }
    #agentTaskShell[data-agent-type="original"] .original-field > label,
    #agentTaskShell[data-agent-type="original"] .original-field-head label {
      display:block;
      margin:0 0 8px;
      color:#30313a;
      font-size:13px;
      font-weight:650;
    }
    #agentTaskShell[data-agent-type="original"] .required-star { color:#f24b61; margin-left:3px; }
    #agentTaskShell[data-agent-type="original"] .original-field-head {
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      margin-bottom:8px;
    }
    #agentTaskShell[data-agent-type="original"] .original-field-head label { margin:0; }
    #agentTaskShell[data-agent-type="original"] .ai-refresh {
      border:0;
      background:transparent;
      color:#765bea;
      font-size:12px;
      cursor:pointer;
      padding:3px 0;
    }
    #agentTaskShell[data-agent-type="original"] .original-field input,
    #agentTaskShell[data-agent-type="original"] .original-field select,
    #agentTaskShell[data-agent-type="original"] .original-field textarea {
      width:100%;
      border:1px solid #dedee7;
      border-radius:10px;
      background:#fff;
      color:#292a33;
      font:inherit;
      outline:none;
      transition:.18s ease;
    }
    #agentTaskShell[data-agent-type="original"] .original-field input,
    #agentTaskShell[data-agent-type="original"] .original-field select { height:42px; padding:0 12px; }
    #agentTaskShell[data-agent-type="original"] .original-field textarea { min-height:80px; padding:10px 12px; resize:vertical; line-height:1.6; }
    #agentTaskShell[data-agent-type="original"] .original-field input:focus,
    #agentTaskShell[data-agent-type="original"] .original-field select:focus,
    #agentTaskShell[data-agent-type="original"] .original-field textarea:focus {
      border-color:#8067ef;
      box-shadow:0 0 0 3px rgba(120,91,235,.09);
    }
    #agentTaskShell[data-agent-type="original"] .original-field.invalid input,
    #agentTaskShell[data-agent-type="original"] .original-field.invalid textarea,
    #agentTaskShell[data-agent-type="original"] .original-field.invalid select { border-color:#ee6474; }
    /* 产品库锁定态:产品名称/品牌/类目三件套不可改 */
    #agentTaskShell[data-agent-type="original"] .original-field input.is-locked,
    #agentTaskShell[data-agent-type="original"] .original-field select.is-locked,
    #agentTaskShell[data-agent-type="original"] .original-field textarea.is-locked {
      background:#f5f5f8;
      color:#7a7c8a;
      cursor:not-allowed;
      border-color:#e3e4ec;
    }
    #agentTaskShell[data-agent-type="original"] .original-field input.is-locked:hover,
    #agentTaskShell[data-agent-type="original"] .original-field select.is-locked:hover,
    #agentTaskShell[data-agent-type="original"] .original-field textarea.is-locked:hover {
      border-color:#e3e4ec;
      box-shadow:none;
    }
    #agentTaskShell[data-agent-type="original"] .source-switch {
      display:inline-flex;
      width:auto;
      max-width:100%;
      flex-wrap:nowrap;
      gap:4px;
      padding:4px;
      border:1px solid #e5e5ec;
      border-radius:10px;
      background:#f5f5f8;
      margin-bottom:0;
    }
    #agentTaskShell[data-agent-type="original"] .source-switch button {
      flex:0 0 auto;
      height:30px;
      padding:0 13px;
      border:0;
      border-radius:7px;
      background:transparent;
      color:#777985;
      cursor:pointer;
      white-space:nowrap;
    }
    #agentTaskShell[data-agent-type="original"] .source-switch button.active {
      background:#fff;
      color:#292a32;
      box-shadow:0 1px 5px rgba(25,25,34,.08);
    }
    #agentTaskShell[data-agent-type="original"] .product-source-inline {
      grid-column:1/-1;
      margin:0 0 18px;
      padding-bottom:18px;
      border-bottom:1px solid #ececf2;
    }
    #agentTaskShell[data-agent-type="original"] .link-recognizer {
      display:grid;
      grid-template-columns:minmax(0,1fr) auto;
      gap:10px;
    }
    #agentTaskShell[data-agent-type="original"] .link-recognizer button {
      border:0;
      border-radius:10px;
      padding:0 17px;
      background:#202025;
      color:#fff;
      cursor:pointer;
    }
    #agentTaskShell[data-agent-type="original"] .point-editor {
      border:1px solid #dedee7;
      border-radius:11px;
      padding:7px;
      background:#fff;
    }
    #agentTaskShell[data-agent-type="original"] .point-row {
      display:grid;
      grid-template-columns:20px minmax(0,1fr) auto;
      align-items:center;
      gap:7px;
      min-height:40px;
      padding:2px 4px;
    }
    #agentTaskShell[data-agent-type="original"] .point-row + .point-row { border-top:1px solid #f0f0f4; }
    #agentTaskShell[data-agent-type="original"] .point-index { color:#fb625c; font-size:12px; text-align:center; }
    #agentTaskShell[data-agent-type="original"] .point-row input { border:0; box-shadow:none; height:36px; padding:0 4px; }
    #agentTaskShell[data-agent-type="original"] .point-row input:focus { border:0; box-shadow:none; }
    #agentTaskShell[data-agent-type="original"] .point-actions { display:flex; gap:2px; }
    #agentTaskShell[data-agent-type="original"] .point-actions button,
    #agentTaskShell[data-agent-type="original"] .point-add {
      border:0;
      background:transparent;
      color:#999aa4;
      cursor:pointer;
      border-radius:6px;
    }
    #agentTaskShell[data-agent-type="original"] .point-actions button { width:27px; height:27px; }
    #agentTaskShell[data-agent-type="original"] .point-actions button:hover { background:#f2f0fc; color:#6d52e7; }
    #agentTaskShell[data-agent-type="original"] .point-add { padding:7px 8px; color:#6d52e7; }
    #agentTaskShell[data-agent-type="original"] .choice-row.original-choices {
      display:flex;
      flex-wrap:wrap;
      gap:8px;
    }
    #agentTaskShell[data-agent-type="original"] .original-choices .choice-chip,
    #agentTaskShell[data-agent-type="original"] .original-audience-chip {
      display:inline-flex;
      align-items:center;
      min-height:34px;
      padding:6px 12px;
      border:1px solid #dedee7;
      border-radius:9px;
      background:#fff;
      color:#5f606b;
      cursor:pointer;
      font-size:12px;
    }
    #agentTaskShell[data-agent-type="original"] .original-choices .choice-chip.active,
    #agentTaskShell[data-agent-type="original"] .original-audience-chip.active {
      border-color:#8067ef;
      background:#f5f2ff;
      color:#6245df;
    }
    #agentTaskShell[data-agent-type="original"] .audience-selector {
      display:grid;
      gap:14px;
      padding:14px;
      border:1px solid #e7e7ed;
      border-radius:11px;
      background:#fff;
    }
    #agentTaskShell[data-agent-type="original"] .audience-selector-row {
      display:grid;
      grid-template-columns:82px minmax(0,1fr);
      gap:12px;
      align-items:start;
    }
    #agentTaskShell[data-agent-type="original"] .audience-selector-row > span { color:#777984; font-size:12px; padding-top:8px; }
    #agentTaskShell[data-agent-type="original"] .age-custom {
      display:inline-flex;
      align-items:center;
      gap:6px;
    }
    #agentTaskShell[data-agent-type="original"] .age-custom input { width:70px; height:34px; }
    #agentTaskShell[data-agent-type="original"] .number-control {
      display:grid;
      grid-template-columns:minmax(0,1fr) 42px;
      gap:8px;
    }
    #agentTaskShell[data-agent-type="original"] .number-control span {
      height:42px;
      display:grid;
      place-items:center;
      border:1px solid #dedee7;
      border-radius:10px;
      background:#f7f7f9;
      color:#777985;
    }
    #agentTaskShell[data-agent-type="original"] .duration-estimate { color:#888995; font-size:12px; margin-top:7px; }
    #agentTaskShell[data-agent-type="original"] .original-model-picker { position:relative; }
    #agentTaskShell[data-agent-type="original"] .original-model-card { padding:0; border:0; border-radius:0; background:transparent; }
    #agentTaskShell[data-agent-type="original"] .original-model-trigger {
      width:100%;
      height:44px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      padding:0 13px;
      border:1px solid #dedee7;
      border-radius:10px;
      background:#fff;
      color:#292a33;
      cursor:pointer;
    }
    #agentTaskShell[data-agent-type="original"] .original-model-popover {
      position:absolute;
      z-index:30;
      left:0;
      right:0;
      bottom:50px;
      max-height:330px;
      overflow:auto;
      padding:8px;
      border:1px solid #e1e1e8;
      border-radius:13px;
      background:#fff;
      box-shadow:0 18px 48px rgba(28,25,46,.16);
      display:none;
    }
    #agentTaskShell[data-agent-type="original"] .original-model-picker.open .original-model-popover { display:block; }
    #agentTaskShell[data-agent-type="original"] .original-model-option {
      width:100%;
      display:grid;
      grid-template-columns:minmax(0,1fr) auto;
      gap:12px;
      text-align:left;
      padding:10px 11px;
      border:0;
      border-radius:9px;
      background:#fff;
      cursor:pointer;
    }
    #agentTaskShell[data-agent-type="original"] .original-model-option:hover { background:#f6f5fa; }
    #agentTaskShell[data-agent-type="original"] .original-model-option.selected { background:#f2efff; color:#5f43df; }
    #agentTaskShell[data-agent-type="original"] .original-model-option span { display:grid; gap:3px; }
    #agentTaskShell[data-agent-type="original"] .original-model-option small { color:#9697a1; }
    #agentTaskShell[data-agent-type="original"] .task-confirm-card {
      width:min(100%, 860px);
      margin:34px auto;
      padding:26px;
      border:1px solid #e3e1ee;
      border-radius:16px;
      background:#fff;
      box-shadow:0 10px 34px rgba(32,25,60,.06);
    }
    #agentTaskShell[data-agent-type="original"] .task-confirm-card strong { font-size:18px; }
    #agentTaskShell[data-agent-type="original"] .generation-summary {
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:10px;
      margin-top:18px;
    }
    #agentTaskShell[data-agent-type="original"] .generation-summary div {
      padding:12px;
      border-radius:10px;
      background:#f7f7fa;
    }
    #agentTaskShell[data-agent-type="original"] .generation-summary small { display:block; color:#92939d; margin-bottom:5px; }
    #agentTaskShell[data-agent-type="original"] .generation-summary b { font-size:13px; color:#33343d; }
    #agentTaskShell[data-agent-type="original"] .task-stepper {
      gap:0;
      padding:12px 28px 10px;
      border-bottom:1px solid #ececf2;
      background:#fff;
    }
    #agentTaskShell[data-agent-type="original"] .task-step {
      position:relative;
      flex:1;
      min-height:44px;
      flex-direction:column;
      justify-content:flex-start;
      gap:5px;
      border:0;
      background:transparent;
      padding:0;
      color:#9b9ca5;
      text-align:center;
    }
    #agentTaskShell[data-agent-type="original"] .task-step:not(:last-child)::after {
      content:"";
      position:absolute;
      z-index:0;
      left:calc(50% + 18px);
      right:calc(-50% + 18px);
      top:13px;
      height:1px;
      background:#e4e4ea;
    }
    #agentTaskShell[data-agent-type="original"] .task-step b {
      position:relative;
      z-index:1;
      width:26px;
      height:26px;
      display:grid;
      place-items:center;
      border:1px solid #dedee7;
      border-radius:50%;
      background:#fff;
      color:#8d8e97;
      font-size:11px;
      box-shadow:0 0 0 4px #fff;
    }
    #agentTaskShell[data-agent-type="original"] .task-step span {
      position:relative;
      z-index:1;
      max-width:100%;
      overflow:hidden;
      color:inherit;
      font-size:12px;
      white-space:nowrap;
      text-overflow:ellipsis;
    }
    #agentTaskShell[data-agent-type="original"] .task-step.active { color:#292a33; font-weight:650; }
    #agentTaskShell[data-agent-type="original"] .task-step.active b,
    #agentTaskShell[data-agent-type="original"] .task-step.done b { border-color:#765bea; background:#765bea; color:#fff; }
    #agentTaskShell[data-agent-type="original"] .task-step.done:not(:last-child)::after { background:#b8acf5; }
    #agentTaskShell[data-agent-type="original"] .task-action-buttons { width:100%; }
    #agentTaskShell[data-agent-type="original"] .task-back-button { margin-right:auto; }
    #agentTaskShell[data-agent-type="original"] .task-action-note:empty { display:none; }
    #agentTaskShell[data-agent-type="original"] #formFeedback { display:none !important; }
    #agentTaskShell[data-agent-type="original"] .advanced-field[hidden] { display:none !important; }
    #page-creation .conversation-panel { overflow-x:hidden; }
    #page-creation .chat-list,
    #page-creation .chat-row { width:100%; max-width:100%; min-width:0; box-sizing:border-box; }
    @media (max-width:980px) {
      #agentTaskShell[data-agent-type="original"] .original-group { grid-template-columns:1fr; gap:13px; }
      #agentTaskShell[data-agent-type="original"] .original-group-fields { grid-template-columns:1fr; }
      #agentTaskShell[data-agent-type="original"] .generation-summary { grid-template-columns:1fr; }
    }
    /* merged: 文案库与模板库专属样式 */
    /* 模板库 - 筛选行 */
    .lib-filter-row { display:flex; gap:10px; margin-bottom:14px; flex-wrap:wrap; }
    .lib-search { flex:1; min-width:220px; padding:8px 12px; border:1px solid #d9dbe3; border-radius:8px; font-size:13px; background:#fff; }
    .lib-search:focus { outline:none; border-color:#534AB7; box-shadow:0 0 0 3px rgba(83,74,183,.08); }
    .lib-filter-select { padding:8px 28px 8px 12px; border:1px solid #d9dbe3; border-radius:8px; font-size:13px; background:#fff; cursor:pointer; appearance:none; background-image:url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 10px center; }

    /* 模板库 - 表格 */
    .lib-table-wrap { overflow-x:auto; border:1px solid #e9eaf0; border-radius:10px; background:#fff; }
    .lib-table { width:100%; border-collapse:collapse; table-layout:fixed; font-size:13px; min-width:860px; }
    .lib-table th { background:#f8f9fb; padding:11px 14px; font-weight:600; font-size:11px; text-align:left; color:#8b8fa3; border-bottom:1px solid #e9eaf0; letter-spacing:0.3px; }
    .lib-table td { padding:12px 14px; vertical-align:middle; border-top:1px solid #e9eaf0; color:#5f5e5a; font-size:13px; }
    .lib-table tbody tr { transition:background .12s; }
    .lib-table tbody tr:hover { background:rgba(83,74,183,.025); }
    .lib-table tbody tr:first-child td { border-top:none; }
    .lib-table .lib-cell-text { color:#444441; line-height:1.55; }

    /* 模板库 - Agent tag */
    .lib-tag { display:inline-block; padding:3px 10px; border-radius:6px; font-size:11px; font-weight:500; line-height:1.4; }
    .lib-tag-image { background:#EEEDFE; color:#534AB7; }
    .lib-tag-detail { background:#EAF3DE; color:#3B6D11; }

    /* 模板库 - 链接式操作 */
    .lib-link { color:#534AB7; text-decoration:none; font-size:12px; cursor:pointer; font-weight:500; }
    .lib-link:hover { text-decoration:underline; }
    .lib-link.danger { color:#A32D2D; }

    /* 人群画像模板 */
    .persona-library-table td { line-height:1.5; }
    .persona-library-table .persona-name-cell strong,
    .persona-library-table .persona-name-cell small { display:block; }
    .persona-library-table .persona-name-cell small { margin-top:3px; color:#9799a5; font-size:10px; }
    .persona-attribute-summary { color:#4f5260; }
    .persona-scope-tag { display:inline-flex; align-items:center; gap:4px; padding:3px 8px; border-radius:7px; color:#5d4bc2; background:#f2efff; font-size:10px; }.persona-scope-tag.universal { color:#727988; background:#f2f3f6; }.persona-scope-tag em { color:#7969df; font-style:normal; }
    .persona-row-actions { display:flex; flex-wrap:wrap; gap:6px 9px; }
    .persona-row-actions button { padding:0; border:0; background:transparent; font:inherit; }
    .persona-library-empty { padding:42px 20px; color:#9698a4; text-align:center; }
    .persona-template-modal { width:min(760px,100%); height:auto; max-height:calc(100vh - 40px); }
    .persona-history-modal { width:min(780px,100%); height:auto; max-height:min(620px,calc(100vh - 40px)); }
    .persona-delete-modal { width:min(460px,100%); height:auto; }
    .persona-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
    .persona-form-grid .full { grid-column:1/-1; }
    .persona-product-trigger { width:100%; min-height:42px; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:0 13px; border:1px solid #dcddeb; border-radius:9px; color:#343542; background:#fff; font:inherit; text-align:left; cursor:pointer; }
    .persona-product-trigger:hover { border-color:#9c8af1; }
    .persona-product-trigger span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    .persona-product-trigger b { color:#8a8c9a; font-size:13px; }
    .persona-product-control { display:flex; align-items:stretch; gap:8px; }
    .persona-product-control .persona-product-trigger { flex:1; }
    .persona-product-universal { flex:0 0 auto; min-width:82px; border:1px solid #ddd9ef; border-radius:9px; color:#6b5bd0; background:#fff; font:inherit; font-size:12px; cursor:pointer; }
    .persona-product-universal:hover,
    .persona-product-universal.active { border-color:#a69af1; background:#f3f0ff; color:#5845c9; }
    .persona-choice-row { display:flex; flex-wrap:wrap; gap:8px; }
    .persona-choice-row > button { min-height:34px; padding:6px 12px; border:1px solid #dedee7; border-radius:9px; color:#626472; background:#fff; cursor:pointer; font-size:12px; }
    .persona-choice-row > button:hover { border-color:#aaa2df; }
    .persona-choice-row > button.active { border-color:#8067ef; color:#6245df; background:#f5f2ff; }
    .persona-field-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:7px; }
    .persona-field-head label { margin:0; }
    .persona-ai-refresh { padding:4px 8px; border:0; border-radius:7px; color:#7357d7; background:#f5f1ff; font:inherit; font-size:11px; cursor:pointer; }
    .persona-ai-refresh:hover { color:#5a3fc0; background:#eee8ff; }
    .persona-ai-refresh:disabled { color:#a59bbf; background:#f5f4f8; cursor:wait; }
    .persona-custom-age { display:inline-flex; align-items:center; gap:7px; }
    .persona-custom-age[hidden] { display:none; }
    .persona-custom-age input { width:76px !important; height:34px; }
    .persona-custom-age i { color:#81838f; font-style:normal; }
    .persona-form-note { color:#8c8f9d; font-size:11px; }
    .persona-history-list { display:grid; gap:10px; }
    .persona-history-item { padding:12px 14px; border:1px solid #e9e9f0; border-radius:10px; background:#fff; }
    .persona-history-meta { display:flex; justify-content:space-between; gap:12px; margin-bottom:8px; color:#90929e; font-size:11px; }
    .persona-history-change { display:grid; grid-template-columns:100px 1fr 20px 1fr; gap:9px; align-items:start; font-size:12px; }
    .persona-history-change strong { color:#4b4d59; }
    .persona-history-change span { min-width:0; color:#777984; overflow-wrap:anywhere; }
    .persona-delete-copy { margin:0; color:#666976; line-height:1.7; }
    .danger-confirm { background:#d94b51 !important; border-color:#d94b51 !important; }

    /* 三个文案 Agent 共用的人群画像搜索下拉 */
    #agentTaskShell .persona-picker { position:relative; }
    #agentTaskShell .persona-source-switch { width:max-content; display:inline-grid; grid-template-columns:repeat(2,auto); gap:3px; padding:3px; border:1px solid #e2e2e9; border-radius:10px; background:#f6f6f9; }
    #agentTaskShell .persona-source-switch button { min-width:108px; height:34px; padding:0 14px; border:0; border-radius:7px; color:#747682; background:transparent; cursor:pointer; font-size:12px; }
    #agentTaskShell .persona-source-switch button:hover { color:#555862; }
    #agentTaskShell .persona-source-switch button.active { color:#5d46ce; background:#fff; box-shadow:0 1px 4px rgba(35,31,55,.1); font-weight:600; }
    #agentTaskShell .persona-template-select { position:relative; margin-top:10px; }
    #agentTaskShell .persona-template-select[hidden] { display:none; }
    #agentTaskShell .persona-picker-trigger { width:100%; min-height:42px; display:flex; align-items:center; justify-content:space-between; gap:10px; padding:8px 11px; border:1px solid #dedee7; border-radius:10px; color:#565863; background:#fff; cursor:pointer; }
    #agentTaskShell .persona-picker-trigger:hover,
    #agentTaskShell .persona-picker.open .persona-picker-trigger { border-color:#9380ec; box-shadow:0 0 0 3px rgba(128,103,239,.08); }
    #agentTaskShell .persona-picker-trigger small { color:#999ba6; }
    #agentTaskShell .persona-picker-dropdown { position:absolute; z-index:35; top:calc(100% + 7px); left:0; right:0; padding:9px; border:1px solid #e1e1e9; border-radius:12px; background:#fff; box-shadow:0 14px 34px rgba(36,30,62,.16); }
    #agentTaskShell .persona-picker-dropdown[hidden] { display:none; }
    #agentTaskShell .persona-picker-search { width:100%; height:36px; margin-bottom:7px; padding:0 10px; border:1px solid #e1e1e8; border-radius:8px; outline:none; }
    #agentTaskShell .persona-picker-search:focus { border-color:#8c77eb; }
    #agentTaskShell .persona-picker-options { max-height:238px; overflow:auto; }
    #agentTaskShell .persona-picker-option { width:100%; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; padding:9px 10px; border:0; border-radius:9px; text-align:left; color:#343640; background:transparent; cursor:pointer; }
    #agentTaskShell .persona-picker-option:hover { background:#f7f5ff; }
    #agentTaskShell .persona-picker-option strong,
    #agentTaskShell .persona-picker-option small { display:block; }
    #agentTaskShell .persona-picker-option small { margin-top:3px; color:#8c8e9b; }
    #agentTaskShell .persona-recommended { align-self:center; padding:3px 7px; border-radius:7px; color:#5e46cf; background:#eeeaff; font-size:10px; }
    #agentTaskShell .persona-picker-empty { padding:20px 8px; color:#999ba6; text-align:center; font-size:11px; }
    #agentTaskShell .persona-applied { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:8px; padding:8px 10px; border-radius:9px; color:#5a4ac0; background:#f5f2ff; font-size:11px; }
    #agentTaskShell .persona-applied[hidden] { display:none; }
    #agentTaskShell .persona-applied button { border:0; color:#777988; background:transparent; cursor:pointer; }
    @media (max-width:720px) {
      .persona-form-grid { grid-template-columns:1fr; }
      .persona-history-change { grid-template-columns:82px 1fr; }
      .persona-history-change i { display:none; }
      #agentTaskShell .persona-source-switch { width:100%; grid-template-columns:repeat(2,minmax(0,1fr)); }
      #agentTaskShell .persona-source-switch button { min-width:0; }
    }

    /* 模板库 - 无限画板卡片 */
    .canvas-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(248px, 1fr)); gap:18px; }
    .canvas-card { background:#fff; border:1px solid #e9e5ef; border-radius:12px; overflow:hidden; cursor:pointer; transition:all .15s; }
    .canvas-card:hover { border-color:#534AB7; box-shadow:0 6px 18px rgba(83,74,183,.1); transform:translateY(-2px); }
    .canvas-cover { aspect-ratio:16/9; position:relative; }
    .canvas-cover-inner { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:#fff; font-size:32px; font-weight:500; letter-spacing:2px; opacity:0.92; }
    .canvas-meta { padding:14px 16px 16px; }
    .canvas-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:6px; }
    .canvas-header strong { font-size:14px; color:#26215C; font-weight:500; }
    .canvas-badge { font-size:10px; padding:2px 8px; border-radius:10px; background:linear-gradient(135deg,#534AB7,#6C5CE7); color:#fff; font-weight:500; }
    .canvas-desc { margin:0 0 10px; font-size:12px; color:#625b69; line-height:1.6; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
    .canvas-footer { display:flex; gap:14px; font-size:11px; color:#888780; }
    .canvas-stat::before { content:''; display:inline-block; width:5px; height:5px; border-radius:50%; background:#AFA9EC; margin-right:5px; vertical-align:middle; }
    .canvas-stat:first-child::before { background:#534AB7; }

    /* ── 文案库 ── */
    .cl-wrapper { font-size: 13px; color: var(--ink); }
    .cl-head-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
    .cl-head-title { font-size: 18px; font-weight: 600; margin: 0; color: var(--ink); letter-spacing: -0.2px; }
    .cl-head-sub { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
    .cl-head-btns { display: flex; gap: 10px; }
    .cl-btn-import { padding: 7px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 13px; cursor: pointer; transition: all .15s; font-weight: 500; }
    .cl-btn-import:hover { background: #f8f9fb; border-color: #c4c7d0; }
    .cl-btn-ai { padding: 7px 16px; border: none; border-radius: 8px; background: linear-gradient(135deg, #534AB7 0%, #6C5CE7 100%); color: #fff; font-size: 13px; cursor: pointer; font-weight: 500; transition: all .15s; box-shadow: 0 1px 3px rgba(83,74,183,.25); }
    .cl-btn-ai:hover { background: linear-gradient(135deg, #4339A7 0%, #5A4BD1 100%); box-shadow: 0 2px 8px rgba(83,74,183,.35); transform: translateY(-0.5px); }
    .cl-filter-row { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
    .cl-filter-row input { flex: 1; min-width: 180px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; background: var(--surface); color: var(--ink); transition: border-color .15s; }
    .cl-filter-row input:focus { outline: none; border-color: #534AB7; box-shadow: 0 0 0 3px rgba(83,74,183,.08); }
    .cl-filter-row input::placeholder { color: var(--muted); }
    .cl-filter-row select { padding: 7px 28px 7px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; background: var(--surface); color: var(--ink); cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; transition: border-color .15s; }
    .cl-filter-row select:focus { outline: none; border-color: #534AB7; box-shadow: 0 0 0 3px rgba(83,74,183,.08); }
    .cl-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 1px 2px rgba(20,24,40,.04); }
    .cl-table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 13px; min-width: 1080px; }
    .cl-table thead th { background: #f7f8fb; padding: 12px 16px; font-weight: 600; font-size: 11px; text-align: left; color: #6b7180; text-transform: none; letter-spacing: 0.3px; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 3; }
    .cl-table thead th:first-child { border-top-left-radius: 12px; }
    .cl-table thead th:last-child { border-top-right-radius: 12px; }
    .cl-table td { padding: 16px; vertical-align: middle; border-top: 1px solid #eef0f4; color: #5b6072; font-size: 13px; line-height: 1.5; }
    .cl-table tbody tr { transition: background .12s, box-shadow .12s; }
    .cl-table tbody tr:nth-child(even) { background: #fafbfd; }
    .cl-table tbody tr:hover { background: #f4f3ff; box-shadow: inset 3px 0 0 #6c5cf0; }
    .cl-table tbody tr:hover td { color: #3a3f50; }
    .cl-table tbody tr:last-child td { border-bottom: 0; }
    .cl-table td.cl-col-text { color: var(--ink); vertical-align: top; }
    .cl-table .cl-copy-text { width:100%; margin:0; line-height:1.55; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; text-overflow:ellipsis; white-space:normal; font-size:13px; color:#2a2f42; cursor:text; overflow-wrap:anywhere; word-break:break-word; padding:2px 0; max-height:calc(1.55em * 3); }
    .cl-table .cl-copy-text:hover { color: #534AB7; }
    .cl-table td.cl-col-struct { overflow: hidden; white-space: nowrap; }
    .cl-table td.cl-col-chars { white-space: nowrap; overflow: hidden; font-variant-numeric: tabular-nums; }
    .cl-table td.cl-col-chars b { color: #2a2f42; font-weight: 600; }
    .cl-table td.cl-col-chars i { color: #c4c7d0; font-style: normal; margin: 0 4px; }
    .cl-col-act { position: sticky; right: 0; background: var(--surface); z-index: 1; white-space: nowrap; box-shadow: -4px 0 8px -4px rgba(0,0,0,.04); }
    .cl-table thead .cl-col-act { background: #f7f8fb; z-index: 4; box-shadow: -4px 0 8px -4px rgba(0,0,0,.04); }
    .cl-table tbody tr:nth-child(even) .cl-col-act { background: #fafbfd; }
    .cl-table tbody tr:hover .cl-col-act { background: #f4f3ff; }
    .cl-col-act.cl-menu-open { z-index: 10; }
    .cl-chip { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 5px; font-size: 11px; font-weight: 600; margin: 0; line-height: 1.4; vertical-align: middle; }
    .cl-chip + .cl-chip { margin-left: 4px; position: relative; }
    .cl-chip + .cl-chip::before { content: "+"; position: absolute; left: -7px; top: 50%; transform: translateY(-50%); color: #c4c7d0; font-weight: 500; font-size: 11px; }
    .cl-chip-hook { background: #EEEDFE; color: #534AB7; }
    .cl-chip-pain { background: #FCEBEB; color: #A32D2D; }
    .cl-chip-sell { background: #EAF3DE; color: #3B6D11; }
    .cl-chip-cta { background: #FAEEDA; color: #854F0B; }
    .cl-chip-proof { background: #E6F1FB; color: #185FA5; }
    .cl-chip-scene { background: #FBEAF0; color: #993556; }
    .cl-chip-compare { background: #FBEAF0; color: #993556; }
    .cl-chip-other { background: #f5f5f5; color: #616161; }
    .cl-act-btn { padding: 5px 7px; border: 0; border-radius: 6px; background: transparent; color: #665d70; font-size: 12px; cursor: pointer; white-space: nowrap; font-weight: 500; transition: all .12s; line-height: 1.4; }
    .cl-act-btn:hover { background: #f0edff; color: #5b42dc; }
    .cl-act-btn.cl-act-view { color: #5b42dc; font-weight: 600; }
    .cl-act-btn.cl-act-view:hover { background: #f0edff; color: #4834c0; }
    .cl-act-btn.cl-act-danger { color: #9a5160; }
    .cl-act-btn.cl-act-danger:hover { color: #c64355; background: #fff0f2; }
    .cl-ai-btn { padding: 5px 9px; border: none; border-radius: 6px; background: linear-gradient(135deg, #534AB7 0%, #6C5CE7 100%); color: #fff; font-size: 12px; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-weight: 500; transition: all .12s; box-shadow: 0 1px 2px rgba(83,74,183,.2); line-height: 1.4; }
    .cl-ai-btn:hover { background: linear-gradient(135deg, #4339A7 0%, #5A4BD1 100%); box-shadow: 0 2px 6px rgba(83,74,183,.3); transform: translateY(-0.5px); }
    .cl-act-group { display: flex; gap: 2px; align-items: center; justify-content: flex-start; }
    .cl-ai-drop { position: relative; display: inline-block; }
    .cl-ai-btn .cl-ai-caret { font-size: 8px; opacity: 0.85; line-height: 1; transform: translateY(-1px); }
    .cl-ai-menu { display: none; position: absolute; top: calc(100% + 4px); right: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; z-index: 20; min-width: 130px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.1); }
    .cl-ai-menu.show { display: block; }
    .cl-ai-menu button { display: block; width: 100%; padding: 9px 14px; font-size: 12px; border: none; background: none; cursor: pointer; text-align: left; color: var(--ink); border-bottom: 1px solid var(--line); transition: background .1s; }
    .cl-ai-menu button:last-child { border-bottom: none; }
    .cl-ai-menu button:hover { background: rgba(83,74,183,.06); color: #534AB7; }
    .cl-more-drop { position: relative; display: inline-block; }
    .cl-more-btn { padding: 4px 6px 6px !important; min-width: 26px; font-size: 16px !important; letter-spacing: 0; line-height: 1; color: #665d70; background: transparent; }
    .cl-more-btn:hover { background: #f0edff; color: #5b42dc; }
    .cl-more-menu { display: none; position: absolute; top: calc(100% + 4px); right: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; z-index: 20; min-width: 130px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.1); }
    .cl-more-menu.show { display: block; }
    .cl-more-menu button { display: block; width: 100%; padding: 9px 14px; font-size: 12px; border: none; background: none; cursor: pointer; text-align: left; color: var(--ink); border-bottom: 1px solid var(--line); transition: background .1s; }
    .cl-more-menu button:last-child { border-bottom: none; }
    .cl-more-menu button:hover { background: rgba(83,74,183,.06); color: #534AB7; }
    .cl-empty { text-align: center; padding: 48px; color: var(--muted); font-size: 13px; }
    .cl-table-wrap::-webkit-scrollbar { height: 7px; }
    .cl-table-wrap::-webkit-scrollbar-track { background: transparent; margin: 0 10px; }
    .cl-table-wrap::-webkit-scrollbar-thumb { background: #d4d6e0; border-radius: 10px; }
    .cl-table-wrap::-webkit-scrollbar-thumb:hover { background: #b0b3c5; }
    .cl-table-wrap { scrollbar-width: thin; scrollbar-color: #d4d6e0 transparent; }
    .cl-chips-text { font-size: 12px; color: var(--ink); }
    .cl-source-tag { display: inline-flex; align-items: center; font-size: 10px; padding: 2px 7px; border-radius: 4px; font-weight: 600; letter-spacing: 0.2px; }
    .cl-source-tag.ai { background: #EEEDFE; color: #534AB7; }
    .cl-source-tag.import { background: #EAF3DE; color: #3B6D11; }
    .cl-source-tag.video { background: #FCE7E7; color: #A32D2D; }
