[data-v-617d7772] .bid-formal-content--streaming p:last-child:after{content:"▍";margin-left:2px;animation:1s step-end infinite bid-formal-blink-617d7772}@keyframes bid-formal-blink-617d7772{50%{opacity:0}}.fd-format-template-empty[data-v-1f62b620]{color:#475569;padding:8px 0;font-size:14px}.fd-proc-detail-overlay[data-v-eb56d51b]{z-index:1060;background:#0f172a73;justify-content:center;align-items:center;padding:24px 16px;display:flex;position:fixed;inset:0}.fd-proc-detail-modal[data-v-eb56d51b]{background:#fff;border-radius:12px;flex-direction:column;width:min(640px,100%);max-height:min(80vh,720px);display:flex;overflow:hidden;box-shadow:0 20px 48px #0f172a2e}.fd-proc-detail-header[data-v-eb56d51b]{border-bottom:1px solid #e2e8f0;align-items:flex-start;gap:12px;padding:16px 18px 12px;display:flex}.fd-proc-detail-header-main[data-v-eb56d51b]{flex:1;align-items:flex-start;gap:10px;min-width:0;display:flex}.fd-proc-detail-title[data-v-eb56d51b]{color:#0f172a;margin:0;font-size:15px;font-weight:600;line-height:1.45}.fd-proc-detail-close[data-v-eb56d51b]{color:#64748b;cursor:pointer;background:#f1f5f9;border:none;border-radius:6px;flex-shrink:0;width:28px;height:28px;font-size:20px;line-height:1}.fd-proc-detail-close[data-v-eb56d51b]:hover{color:#334155;background:#e2e8f0}.fd-proc-detail-body[data-v-eb56d51b]{flex:1;padding:14px 18px;overflow:auto}.fd-proc-detail-text[data-v-eb56d51b]{white-space:pre-wrap;word-break:break-word;color:#334155;margin:0;font-family:inherit;font-size:13px;line-height:1.65}.fd-proc-detail-foot[data-v-eb56d51b]{border-top:1px solid #e2e8f0;justify-content:flex-end;gap:8px;padding:12px 18px 16px;display:flex}.fd-proc-detail-btn[data-v-eb56d51b]{cursor:pointer;border:1px solid #0000;border-radius:6px;padding:6px 14px;font-size:13px}.fd-proc-detail-btn--ghost[data-v-eb56d51b]{color:#475569;background:#fff;border-color:#cbd5e1}.fd-proc-detail-btn--primary[data-v-eb56d51b]{color:#fff;background:#2563eb;border-color:#2563eb}.fd-proc-param[data-v-eb56d51b]{border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;min-width:24px;height:22px;padding:0 6px;font-size:12px;font-weight:700;line-height:1;display:inline-flex}.fd-proc-param--star[data-v-eb56d51b]{color:#dc2626;background:#fef2f2;border:1px solid #fecaca}.fd-proc-param--triangle[data-v-eb56d51b]{color:#d97706;background:#fffbeb;border:1px solid #fde68a}.fd-proc-param--normal[data-v-eb56d51b]{color:#64748b;background:#f8fafc;border:1px solid #e2e8f0}.fd-rich-image-gallery-item[data-v-05cf90c3]{position:relative}.fd-rich-image-gallery-item-order[data-v-05cf90c3]{z-index:1;color:#fff;text-align:center;pointer-events:none;background:#dc2626eb;border-radius:999px;min-width:20px;height:20px;padding:0 5px;font-size:11px;font-weight:700;line-height:20px;position:absolute;top:6px;right:6px}.fd-rich-image-gallery-clear-btn[data-v-05cf90c3]{color:#2563eb;cursor:pointer;background:0 0;border:none;margin-left:8px;padding:0;font-size:12px;display:inline-block}.fd-rich-image-gallery-clear-btn[data-v-05cf90c3]:disabled{opacity:.45;cursor:not-allowed}.fd-proc-param[data-v-41357bc3]{border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;min-width:22px;height:20px;padding:0 4px;font-size:11px;font-weight:700;line-height:1;display:inline-flex}.fd-proc-param--star[data-v-41357bc3]{color:#dc2626;background:#fef2f2;border:1px solid #fecaca}.fd-proc-param--triangle[data-v-41357bc3]{color:#d97706;background:#fffbeb;border:1px solid #fde68a}.fd-proc-param--normal[data-v-41357bc3]{color:#64748b;background:#f8fafc;border:1px solid #e2e8f0}.fd-tender-clauses-item-preview--flat[data-v-41357bc3]{white-space:pre-wrap;-webkit-line-clamp:4;color:#334155;-webkit-box-orient:vertical;font-size:11px;font-weight:400;display:-webkit-box;overflow:hidden}.fd-tender-clauses-item-main[data-v-41357bc3]{text-align:left;cursor:pointer;background:0 0;border:none;flex:1;min-width:0;padding:0}.fd-tender-clauses-item-main:hover .fd-tender-clauses-item-title[data-v-41357bc3]{color:#2563eb}.fd-tender-clauses-item-title[data-v-41357bc3]{color:#0f172a;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;line-height:1.35;display:block;overflow:hidden}.fd-tender-clauses-item-preview[data-v-41357bc3]{color:#64748b;text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:11px;line-height:1.4;display:block;overflow:hidden}.fd-tender-clauses-item-actions[data-v-41357bc3]{flex-direction:column;flex-shrink:0;gap:4px;display:flex}.fd-tender-clauses-view-btn[data-v-41357bc3]{color:#475569;cursor:pointer;background:#f8fafc;border:1px solid #e2e8f0;border-radius:4px;padding:2px 8px;font-size:11px}.fd-tender-clauses-view-btn[data-v-41357bc3]:hover{background:#f1f5f9}.fd-tender-clauses-insert-btn[data-v-41357bc3]{color:#2563eb;cursor:pointer;background:#eff6ff;border:1px solid #bfdbfe;border-radius:4px;flex-shrink:0;margin-left:8px;padding:2px 8px;font-size:11px}.fd-tender-clauses-insert-btn[data-v-41357bc3]:hover{background:#dbeafe}.fd-tender-clauses-item[data-v-41357bc3]{align-items:flex-start;gap:6px;display:flex}.fd-tender-clauses-header-actions[data-v-41357bc3]{flex-shrink:0;position:relative}.fd-tender-clauses-meta-btn[data-v-41357bc3]{color:#2563eb;cursor:pointer;white-space:nowrap;background:#eff6ff;border:1px solid #dbeafe;border-radius:6px;padding:4px 10px;font-size:11px;line-height:1.2}.fd-tender-clauses-meta-btn[data-v-41357bc3]:hover:not(:disabled),.fd-tender-clauses-meta-btn.is-open[data-v-41357bc3]{background:#dbeafe}.fd-tender-clauses-meta-btn[data-v-41357bc3]:disabled{opacity:.45;cursor:not-allowed}.fd-tender-clauses-meta-popover[data-v-41357bc3]{z-index:20;background:#fff;border:1px solid #e2e8f0;border-radius:8px;width:min(280px,72vw);padding:10px 12px;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 8px 24px #0f172a1f}.fd-tender-clauses-meta-popover-title[data-v-41357bc3]{color:#0f172a;margin-bottom:8px;font-size:12px;font-weight:600}.fd-tender-clauses-meta-list[data-v-41357bc3]{margin:0}.fd-tender-clauses-meta-row[data-v-41357bc3]{border-top:1px solid #f1f5f9;grid-template-columns:88px 1fr;gap:6px 8px;padding:6px 0;display:grid}.fd-tender-clauses-meta-row[data-v-41357bc3]:first-child{border-top:none;padding-top:0}.fd-tender-clauses-meta-row dt[data-v-41357bc3]{color:#64748b;margin:0;font-size:11px}.fd-tender-clauses-meta-row dd[data-v-41357bc3]{color:#0f172a;word-break:break-word;margin:0;font-size:11px;line-height:1.45}.fd-tender-clauses-subtabs[data-v-41357bc3]{background:#fff;border-bottom:1px solid #e2e8f0;flex-shrink:0;gap:0;padding:0 10px;display:flex}.fd-tender-clauses-subtab[data-v-41357bc3]{color:#64748b;cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;flex:1;justify-content:center;align-items:center;gap:6px;padding:10px 8px;font-size:12px;font-weight:500;display:inline-flex}.fd-tender-clauses-subtab[data-v-41357bc3]:hover:not(:disabled){color:#2563eb}.fd-tender-clauses-subtab.active[data-v-41357bc3]{color:#2563eb;border-bottom-color:#2563eb;font-weight:600}.fd-tender-clauses-subtab[data-v-41357bc3]:disabled{opacity:.4;cursor:not-allowed}.fd-tender-clauses-tab-empty[data-v-41357bc3]{color:#94a3b8;justify-content:center;align-items:center;min-height:120px;padding:24px 16px;font-size:12px;display:flex}.fd-fill-source-item[data-v-41357bc3]{position:relative}.fd-fill-source-remove-btn[data-v-41357bc3]{color:#9ca3af;cursor:pointer;z-index:1;background:0 0;border:none;border-radius:4px;padding:2px 6px;font-size:18px;line-height:1;transition:color .15s,background .15s;position:absolute;top:4px;right:4px}.fd-fill-source-remove-btn[data-v-41357bc3]:hover:not(:disabled){color:#ef4444;background:#ef444414}.fd-fill-source-remove-btn[data-v-41357bc3]:disabled{opacity:.4;cursor:not-allowed}.fd-wps-save-status.is-clickable[data-v-9a8f9314]{cursor:pointer;text-underline-offset:2px;text-decoration:underline}.fd-strategy-modal-dialog[data-v-39b0e120]{max-width:480px}.fd-strategy-modal-chapter[data-v-39b0e120]{color:#1f2937;margin:0 0 12px;font-size:15px;font-weight:600}.fd-strategy-modal-content[data-v-39b0e120]{white-space:pre-wrap}.fd-strategy-line[data-v-39b0e120]{color:#374151;word-break:break-word;margin:0 0 6px;font-size:13px;line-height:1.65}.fd-strategy-line[data-v-39b0e120]:last-child{margin-bottom:0}.fd-format-upgrade-hint[data-v-b7d924f5]{color:#92400e;background:#fffbeb;border:1px solid #fcd34d;border-radius:8px;margin:0 0 8px;padding:8px 12px;font-size:.85rem;line-height:1.5}.fd-tender-file-preview[data-v-3ea1bfee]{flex-direction:column;flex:1;min-height:0;display:flex;overflow:auto}.fd-tender-preview-pdf[data-v-3ea1bfee]{border:0;flex:1;width:100%;min-height:0}.fd-tender-preview-text[data-v-3ea1bfee]{white-space:pre-wrap;word-break:break-word;flex:1;margin:0}.tp-doc-canvas-wrapper[data-v-3ea1bfee]{flex:1;padding:12px;overflow:auto}.tp-doc-content-page[data-v-3ea1bfee]{background:#fff;min-height:100%}.fd-strategy-chapter-body[data-v-9e6e0bf1]{white-space:pre-wrap}.bid-content-scope{--bcs-font-serif:"SimSun", "宋体", "Songti SC", "STSong", "NSimSun", serif;--bcs-font-sans:"SimHei", "黑体", "Microsoft YaHei", "PingFang SC", sans-serif;--bcs-font-mono:"Consolas", "Monaco", "Courier New", monospace;--bcs-color-text:#1a1a1a;--bcs-color-heading:#111;--bcs-color-subheading:#333;--bcs-color-link:#4183c4;--bcs-color-red-bold:#dc3545;--bcs-bg-code:#f6f8fa;--bcs-bg-blockquote:#f8f8f8;--bcs-border-table:#d0d0d0;--bcs-border-focus:#1890ff;--bcs-lh-body:1.8;--bcs-lh-tight:1.6;--bcs-indent:2em}.bid-content-scope .bid-doc-formal-wrap,.bid-content-scope .bid-content-formatted{font-family:var(--bcs-font-serif);line-height:var(--bcs-lh-body);color:var(--bcs-color-text);text-align:justify;letter-spacing:.02em;max-width:74em;margin:0 auto;font-size:15px;position:relative}.bid-content-scope .bid-doc-formal-wrap *,.bid-content-scope .bid-content-formatted *{font-family:inherit}.bid-content-scope .bid-doc-formal-wrap{box-sizing:border-box;background:#fff;border:1px solid #e9ecef;border-radius:4px;padding:18px 22px 28px;transition:box-shadow .3s,border-color .3s;box-shadow:0 2px 10px #0000000f}.bid-content-scope .bid-doc-chapter{margin-bottom:24px}.bid-content-scope .bid-doc-chapter-title{font-family:var(--bcs-font-sans);color:var(--bcs-color-heading);text-align:center;border:none;border-bottom:2px solid var(--bcs-color-heading,#1a3a5c);letter-spacing:1px;background:0 0;border-radius:0;margin:28px 0 18px;padding:8px 12px 12px;font-size:22px;font-weight:700;line-height:1.5}.bid-content-scope .bid-doc-formal-wrap>.bid-doc-chapter-title:first-child{margin-top:0}.bid-content-scope .bid-chapter-body{outline:none;transition:outline-color .2s,box-shadow .2s}.bid-content-scope .bid-chapter-body:focus-within{outline:1px dashed var(--bcs-border-focus);outline-offset:2px;border-radius:2px}.bid-content-scope h1,.bid-content-scope .bid-content-formatted h1,.bid-content-scope .bid-doc-formal-wrap h1{font-family:var(--bcs-font-sans)!important;color:var(--bcs-color-heading)!important;text-align:center!important;border:none!important;border-bottom:2px solid var(--bcs-color-heading,#1a3a5c)!important;letter-spacing:1px!important;background:0 0!important;border-radius:0!important;margin:28px 0 18px!important;padding:8px 12px 12px!important;font-size:22px!important;font-weight:700!important;line-height:1.5!important}.bid-content-scope h2,.bid-content-scope .bid-content-formatted h2,.bid-content-scope .bid-doc-formal-wrap h2,.bid-content-scope .bid-heading1{font-family:var(--bcs-font-sans)!important;color:var(--bcs-color-heading)!important;background:0 0!important;border:none!important;border-radius:0!important;margin:24px 0 14px!important;padding:6px 0 6px 14px!important;font-size:18px!important;font-weight:700!important;line-height:1.5!important}.bid-content-scope .bid-heading-superior{border-left:4px solid var(--primary-color,#2f63fc)!important;padding-left:12px!important}.bid-content-scope h3,.bid-content-scope .bid-content-formatted h3,.bid-content-scope .bid-doc-formal-wrap h3,.bid-content-scope .bid-heading2{font-family:var(--bcs-font-sans)!important;color:var(--bcs-color-heading)!important;background:0 0!important;border:none!important;border-radius:0!important;margin:20px 0 12px!important;padding:4px 0 4px 12px!important;font-size:16px!important;font-weight:700!important;line-height:1.5!important}.bid-content-scope h4,.bid-content-scope .bid-content-formatted h4,.bid-content-scope .bid-doc-formal-wrap h4,.bid-content-scope .bid-heading3{font-family:var(--bcs-font-sans)!important;color:var(--bcs-color-heading)!important;background:0 0!important;border:none!important;border-radius:0!important;margin:16px 0 10px!important;padding:3px 0 3px 10px!important;font-size:15px!important;font-weight:700!important;line-height:1.5!important}.bid-content-scope h5,.bid-content-scope .bid-content-formatted h5,.bid-content-scope .bid-doc-formal-wrap h5{font-family:var(--bcs-font-sans)!important;color:var(--bcs-color-subheading)!important;background:0 0!important;border:none!important;border-radius:0!important;margin:14px 0 8px!important;padding:2px 0 2px 8px!important;font-size:14px!important;font-weight:700!important;line-height:1.5!important}.bid-content-scope h6,.bid-content-scope .bid-content-formatted h6,.bid-content-scope .bid-doc-formal-wrap h6{font-family:var(--bcs-font-sans)!important;color:#555!important;background:0 0!important;border:none!important;border-radius:0!important;margin:12px 0 6px!important;padding:2px 0 2px 6px!important;font-size:13.5px!important;font-weight:600!important;line-height:1.5!important}.bid-content-scope .ref-bid-meta-line{display:block;text-indent:0!important;line-height:var(--bcs-lh-body)!important;margin:4px 0!important}.bid-content-scope p.ref-bid-form-field-line{text-indent:0!important;margin:4px 0!important}.bid-content-scope p.ref-bid-form-field-inline{white-space:normal;word-break:break-word}.bid-content-scope p.ref-bid-form-field-inline .bid-manual-fill-slot{display:inline}.bid-content-scope .bid-paragraph+.bid-paragraph{margin-top:8px!important}.bid-content-scope p,.bid-content-scope .bid-content-formatted p,.bid-content-scope .bid-doc-formal-wrap p,.bid-content-scope .bid-paragraph{text-indent:var(--bcs-indent)!important;line-height:var(--bcs-lh-body)!important;text-align:justify!important;font-family:var(--bcs-font-serif)!important;color:var(--bcs-color-text)!important;margin:6px 0!important;font-size:15px!important}.editing-mode .bid-content-scope [data-sc-text-align=left],.editing-mode .bid-content-scope [data-sc-text-align=left] p{text-align:left!important}.editing-mode .bid-content-scope [data-sc-text-align=center],.editing-mode .bid-content-scope [data-sc-text-align=center] p{text-align:center!important}.editing-mode .bid-content-scope [data-sc-text-align=right],.editing-mode .bid-content-scope [data-sc-text-align=right] p{text-align:right!important}.editing-mode .bid-content-scope [data-sc-text-align=justify],.editing-mode .bid-content-scope [data-sc-text-align=justify] p{text-align:justify!important}.bid-content-scope li>p,.bid-content-scope blockquote>p,.bid-content-scope td>p,.bid-content-scope th>p{text-indent:0!important;margin:2px 0!important}.bid-content-scope strong,.bid-content-scope .bid-content-formatted strong,.bid-content-scope b{color:var(--bcs-color-text)!important;font-weight:700!important}.bid-content-scope h1 strong,.bid-content-scope h2 strong,.bid-content-scope h3 strong,.bid-content-scope h4 strong,.bid-content-scope h5 strong,.bid-content-scope h6 strong,.bid-content-scope h1 b,.bid-content-scope h2 b,.bid-content-scope h3 b,.bid-content-scope h4 b,.bid-content-scope h5 b,.bid-content-scope h6 b,.bid-content-scope .bid-chapter-title strong,.bid-content-scope .bid-heading1 strong,.bid-content-scope .bid-heading2 strong,.bid-content-scope .bid-heading3 strong,.bid-content-scope .bid-chapter-title b,.bid-content-scope .bid-heading1 b,.bid-content-scope .bid-heading2 b,.bid-content-scope .bid-heading3 b{color:inherit!important}.bid-content-scope em,.bid-content-scope i{font-style:italic!important}.bid-content-scope del,.bid-content-scope s{color:#999!important;text-decoration:line-through!important}.bid-content-scope ul,.bid-content-scope ol,.bid-content-scope .bid-content-formatted ul,.bid-content-scope .bid-content-formatted ol{line-height:var(--bcs-lh-body)!important;margin:8px 0!important;padding-left:2em!important;list-style-position:outside!important}.bid-content-scope ul{list-style-type:disc!important}.bid-content-scope ol{list-style-type:decimal!important}.bid-content-scope li{line-height:var(--bcs-lh-body)!important;font-family:var(--bcs-font-serif)!important;margin:4px 0!important}.bid-content-scope table,.bid-content-scope .bid-content-formatted table{border-collapse:collapse!important;width:100%!important;font-family:var(--bcs-font-serif)!important;font-size:14px!important;line-height:var(--bcs-lh-tight)!important;border-spacing:0!important;margin:12px 0 20px!important}.bid-content-scope th,.bid-content-scope .bid-content-formatted th{font-family:var(--bcs-font-sans)!important;text-align:left!important;border:1px solid var(--bcs-border-table)!important;color:var(--bcs-color-heading)!important;background-color:#f6f8fa!important;padding:8px 12px!important;font-weight:700!important}.bid-content-scope td,.bid-content-scope .bid-content-formatted td{border:1px solid var(--bcs-border-table)!important;vertical-align:top!important;text-align:justify!important;padding:8px 12px!important}.bid-content-scope tr:nth-child(2n) td{background-color:#fafbfc!important}.bid-content-scope pre,.bid-content-scope .bid-content-formatted pre{background:var(--bcs-bg-code)!important;font-family:var(--bcs-font-mono)!important;font-size:13px!important;line-height:var(--bcs-lh-tight)!important;border:1px solid #e1e4e8!important;border-radius:6px!important;margin:10px 0!important;padding:12px 16px!important;overflow-x:auto!important}.bid-content-scope code{font-family:var(--bcs-font-mono)!important;color:#c7254e!important;background:#eff1f3!important;border-radius:3px!important;padding:2px 6px!important;font-size:.9em!important}.bid-content-scope pre code{font-size:inherit!important;background:0 0!important;border:none!important;border-radius:0!important;padding:0!important}.bid-content-scope blockquote,.bid-content-scope .bid-content-formatted blockquote{background:var(--bcs-bg-blockquote)!important;color:#555!important;margin:10px 0!important;padding:8px 16px!important}.bid-content-scope blockquote p{text-indent:0!important;margin:4px 0!important}.bid-content-scope a{color:var(--bcs-color-link)!important;text-decoration:none!important}.bid-content-scope a:hover{text-decoration:underline!important}.bid-content-scope img{border-radius:4px!important;max-width:100%!important;height:auto!important;margin:8px 0!important}.bid-content-scope hr{border:none!important;border-top:1px solid #e1e4e8!important;margin:20px 0!important}.bid-content-scope span[style*=color\:]{font-weight:inherit}.bid-content-scope .bid-red-bold:not([style*=color\:]),.bid-content-scope span[style*=color\:red],.bid-content-scope span[style*="color: red"],.bid-content-scope span[style*="color:red;font-weight:bold"],.bid-content-scope span[style*="color: red; font-weight: bold"],.bid-content-scope table .bid-red-bold:not([style*=color\:]),.bid-content-scope table span[style*=color\:red],.bid-content-scope table span[style*="color: red"]{color:var(--bcs-color-red-bold)!important;font-weight:700!important}.bid-content-scope .key-marker{color:var(--bcs-color-red-bold)!important;font-weight:600!important}.bid-content-editing-indicator{z-index:10000;-webkit-backdrop-filter:blur(8px);color:#57606a;pointer-events:none;opacity:0;background:#fffffff2;border:1px solid #d0d7de;border-radius:20px;align-items:center;gap:8px;padding:8px 16px;font-size:12px;transition:opacity .25s,transform .25s;display:flex;position:fixed;bottom:24px;right:24px;transform:translateY(10px);box-shadow:0 4px 12px #00000014}.bid-content-editing-indicator.visible{opacity:1;transform:translateY(0)}.bid-content-editing-indicator .bid-content-editing-dot{background:#52c41a;border-radius:50%;width:8px;height:8px;animation:1.5s infinite bcs-pulse-dot}.bid-content-editing-indicator .bid-content-editing-text{color:#57606a;white-space:nowrap;font-size:12px}@keyframes bcs-pulse-dot{0%,to{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(.85)}}.bid-content-save-toast{z-index:10001;color:#fff;pointer-events:none;opacity:0;background:#52c41a;border-radius:20px;align-items:center;gap:6px;padding:8px 16px;font-size:12px;font-weight:500;transition:opacity .3s,transform .3s;display:flex;position:fixed;bottom:70px;right:24px;transform:translateY(10px);box-shadow:0 4px 12px #52c41a40}.bid-content-save-toast.visible{opacity:1;transform:translateY(0)}.bid-content-scope .bid-doc-chapter-title+.bid-manual-fill-notice{margin:8px 0 12px}.bid-content-scope .bid-manual-fill-notice+.bid-doc-formal-wrap,.bid-content-scope .bid-manual-fill-notice+.ref-r75-md-chunk,.bid-content-scope .bid-manual-fill-notice+div{margin-top:0}.bid-content-scope .bid-manual-fill-notice{color:#614700;background:#fffbe6;border:1px solid #ffe58f;border-radius:4px;margin:0 0 14px;padding:10px 14px;font-size:13px;line-height:1.65}.bid-content-scope .bid-manual-fill-slot,.bid-content-scope td.bid-manual-fill-cell,.bid-content-scope th.bid-manual-fill-cell{background:#fff7e6;border-bottom:1px dashed #faad14;border-radius:2px;min-width:2.5em;padding:0 4px;display:inline-block}.bid-content-scope td.bid-manual-fill-cell,.bid-content-scope th.bid-manual-fill-cell{text-align:center;vertical-align:middle;display:table-cell}.bid-content-scope .bid-manual-fill-empty-cell{color:#ad6800;letter-spacing:.02em;font-size:13px}@media (width<=768px){.bid-content-scope .bid-doc-formal-wrap,.bid-content-scope .bid-content-formatted{max-width:100%!important;padding:12px 14px 20px!important;font-size:14px!important}.bid-content-scope .bid-doc-chapter-title{font-size:18px!important}.bid-content-scope h2{font-size:16px!important}.bid-content-scope h3{font-size:15px!important}.bid-content-scope h4,.bid-content-scope p{font-size:14px!important}.bid-content-editing-indicator,.bid-content-save-toast{justify-content:center;bottom:16px;left:16px;right:16px}.bid-content-scope table{font-size:12px!important}.bid-content-scope th,.bid-content-scope td{padding:6px 8px!important}}.ref-tbodyblk-preview{background:#fafafa;border:1px dashed #c9c9c9;border-radius:6px;margin:12px 0 16px;padding:12px 14px}.ref-tbodyblk-preview-label{color:#666;font-size:13px;font-family:var(--bcs-font-sans,sans-serif);margin:0 0 10px}.bid-md-editor{background:#fff;border:1px solid #d0d7de;border-radius:6px;flex-direction:column;height:100%;display:flex;position:relative;overflow:hidden}.bid-md-editor-toolbar{background:#f6f8fa;border-bottom:1px solid #d0d7de;flex-wrap:wrap;flex-shrink:0;align-items:center;gap:2px;padding:6px 10px;display:flex}.bid-md-editor-btn{color:#24292f;cursor:pointer;-webkit-user-select:none;user-select:none;background:0 0;border:1px solid #0000;border-radius:4px;justify-content:center;align-items:center;min-width:28px;height:28px;padding:0 6px;font-size:13px;font-weight:600;transition:background .15s,border-color .15s;display:inline-flex}.bid-md-editor-btn:hover{background:#eaeef2;border-color:#d0d7de}.bid-md-editor-btn:active{background:#d0d7de}.bid-md-editor-btn-red{color:#dc3545}.bid-md-editor-btn-red:hover{background:#fce4e6;border-color:#f0a0a8}.bid-md-editor-sep{vertical-align:middle;background:#d0d7de;width:1px;height:20px;margin:0 4px;display:inline-block}.bid-md-editor-mode-group{border-left:1px solid #d0d7de;align-items:center;gap:2px;margin-left:auto;padding-left:8px;display:inline-flex}.bid-md-editor-mode-btn{color:#57606a;cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:4px;justify-content:center;align-items:center;min-width:28px;height:28px;padding:0 8px;font-size:12px;transition:background .15s,color .15s;display:inline-flex}.bid-md-editor-mode-btn:hover{background:#eaeef2}.bid-md-editor-mode-btn.active{color:#24292f;background:#d0d7de}.bid-md-editor-fullscreen-btn{margin-left:4px}.bid-md-editor-body{flex:1;min-height:0;display:flex;overflow:hidden}.bid-md-editor-edit{border-right:1px solid #d0d7de;flex-direction:row;flex:1;min-width:0;display:flex;position:relative}.bid-md-editor-edit.focused{border-color:#0969da}.bid-md-editor-edit.focused .bid-md-editor-linenumbers{border-right-color:#0969da}.bid-md-editor-linenumbers{color:#8b949e;text-align:right;-webkit-user-select:none;user-select:none;background:#f6f8fa;border-right:1px solid #d0d7de;flex-shrink:0;width:44px;padding:12px 8px 12px 4px;font-family:Cascadia Code,Fira Code,Consolas,Source Code Pro,monospace;font-size:12px;line-height:1.7;transition:border-color .15s;overflow:hidden}.bid-md-editor-linenumbers div{padding-right:4px}.bid-md-editor-textarea{resize:none;color:#24292f;tab-size:4;white-space:pre-wrap;word-wrap:break-word;background:#fff;border:none;outline:none;flex:1;width:100%;padding:12px 16px;font-family:Cascadia Code,Fira Code,Consolas,Source Code Pro,monospace;font-size:13.5px;line-height:1.7}.bid-md-editor-textarea::placeholder{color:#8b949e}.bid-md-editor-preview{background:#fff;flex:1;min-width:0;padding:12px 20px;overflow-y:auto}.bid-md-editor-statusbar{color:#8b949e;background:#f6f8fa;border-top:1px solid #d0d7de;flex-shrink:0;justify-content:space-between;align-items:center;height:22px;padding:2px 12px;font-size:11px;display:flex}.bid-md-editor-status-mode{font-weight:500}.bid-md-editor-status-info{text-align:center;flex:1}.bid-md-editor-status-save{color:#0969da;font-weight:500}.bid-md-editor-mode-edit .bid-md-editor-edit{border-right:none;flex:1}.bid-md-editor-mode-edit .bid-md-editor-preview,.bid-md-editor-mode-preview .bid-md-editor-edit{display:none}.bid-md-editor-mode-preview .bid-md-editor-preview{border-left:none;flex:1}.bid-md-editor-mode-split .bid-md-editor-edit,.bid-md-editor-mode-split .bid-md-editor-preview{flex:1}.bid-md-editor-fullscreen{z-index:99999;border:none;border-radius:0;inset:0;position:fixed!important}.bid-md-editor-fullscreen .bid-md-editor-body{flex:1}.bid-md-editor-fullscreen .bid-md-editor-textarea{font-size:14px}.bid-md-editor-preview .bid-content-formatted{max-width:none;margin:0;padding:0}.bid-md-editor-preview .bid-doc-formal-wrap{box-shadow:none;border:none;border-radius:0;max-width:none;margin:0;padding:0}.bid-md-editor-preview .bid-doc-formal-wrap.bid-content-formatted{max-width:none;margin:0;padding:0}.md-syn-heading{color:#0550ae;font-weight:700}.md-syn-bold{color:#24292f;font-weight:700}.md-syn-italic{color:#57606a;font-style:italic}.md-syn-strike{color:#8b949e;text-decoration:line-through}.md-syn-code{color:#953800;background:#ffd8b3;border-radius:3px;padding:0 2px}.md-syn-list{color:#0550ae;font-weight:700}.md-syn-link{color:#0969da;text-decoration:underline}.md-syn-image{color:#1a7f37}.md-syn-quote{color:#57606a;font-style:italic}.md-syn-fence{color:#8250df;font-weight:600}.md-syn-table{color:#0550ae}.md-syn-redbold{color:#dc3545;font-weight:700}@media (width<=768px){.bid-md-editor-mode-split .bid-md-editor-edit{flex:1}.bid-md-editor-mode-split .bid-md-editor-preview,.bid-md-editor-linenumbers{display:none}.bid-md-editor-mode-btn{padding:0 4px;font-size:11px}}:root{--toc-bg:#fafbfc;--toc-border:#e1e4e8;--toc-header-bg:linear-gradient(135deg, #f0f4f8 0%, #f7f8fa 100%);--toc-header-color:#1a3a5c;--toc-text-color:#4a5568;--toc-text-hover-bg:#1890ff0f;--toc-text-hover-color:#1890ff;--toc-text-active-bg:#1890ff1a;--toc-text-active-color:#1890ff;--toc-dot-color:#c1c7d0;--toc-dot-active-color:#1890ff;--toc-arrow-color:#8b96a5;--toc-scrollbar-thumb:#c1c7d0;--toc-accent-line-color:#1890ff;--toc-highlight-bg:#ffd54f4d}.night-mode{--toc-bg:#1e1e2e;--toc-border:#2d2d3f;--toc-header-bg:linear-gradient(135deg, #252538 0%, #1e1e2e 100%);--toc-header-color:#c9d1d9;--toc-text-color:#8b949e;--toc-text-hover-bg:#58a6ff14;--toc-text-hover-color:#58a6ff;--toc-text-active-bg:#58a6ff1f;--toc-text-active-color:#58a6ff;--toc-dot-color:#484f58;--toc-dot-active-color:#58a6ff;--toc-arrow-color:#6e7681;--toc-scrollbar-thumb:#484f58;--toc-accent-line-color:#58a6ff;--toc-highlight-bg:#d299224d}.bid-toc-wrapper{background:var(--toc-bg);border-right:1px solid var(--toc-border);-webkit-user-select:none;user-select:none;flex-direction:column;flex-shrink:0;width:260px;min-width:260px;max-width:260px;transition:width .3s,min-width .3s,max-width .3s;display:flex;overflow:hidden}.bid-toc-wrapper.collapsed{width:48px;min-width:48px;max-width:48px}.bid-toc-wrapper.collapsed .bid-toc-header-title,.bid-toc-wrapper.collapsed .bid-toc-list{display:none}.bid-toc-header{color:var(--toc-header-color);border-bottom:1px solid var(--toc-border);background:var(--toc-header-bg);flex-shrink:0;align-items:center;gap:8px;padding:14px 16px;font-size:14px;font-weight:700;display:flex}.bid-toc-header-icon{width:16px;height:16px;color:var(--toc-header-color);flex-shrink:0}.bid-toc-header-title{white-space:nowrap;text-overflow:ellipsis;flex:1;overflow:hidden}.bid-toc-collapse-btn{cursor:pointer;color:var(--toc-header-color);background:0 0;border:none;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;margin-left:auto;padding:4px;transition:background .2s,transform .3s;display:flex}.bid-toc-collapse-btn:hover{background:#0000000f}.bid-toc-collapse-btn svg{width:16px;height:16px;transition:transform .3s}.bid-toc-wrapper.collapsed .bid-toc-collapse-btn svg{transform:rotate(180deg)}.bid-toc-list{scroll-behavior:smooth;flex:1;padding:6px 0;overflow:hidden auto}.bid-toc-list::-webkit-scrollbar{width:4px}.bid-toc-list::-webkit-scrollbar-thumb{background:var(--toc-scrollbar-thumb);border-radius:4px}.bid-toc-item{cursor:pointer;border-left:2px solid #0000;align-items:flex-start;min-height:32px;padding:6px 12px 6px 8px;line-height:1.45;transition:all .15s;display:flex;position:relative}.bid-toc-item:hover{background:var(--toc-text-hover-bg);color:var(--toc-text-hover-color)}.bid-toc-item.active{background:var(--toc-text-active-bg);color:var(--toc-text-active-color);border-left-color:var(--toc-accent-line-color)}.bid-toc-item.active .bid-toc-dot{background:var(--toc-dot-active-color);box-shadow:0 0 0 2px #1890ff40}.bid-toc-arrow{cursor:pointer;width:16px;height:16px;color:var(--toc-arrow-color);border-radius:3px;flex-shrink:0;justify-content:center;align-items:center;margin-top:2px;transition:transform .2s,background .15s;display:flex}.bid-toc-arrow:hover{background:#0000000f}.bid-toc-arrow.expanded{transform:rotate(90deg)}.bid-toc-arrow svg{fill:currentColor;width:10px;height:10px}.bid-toc-arrow-spacer{flex-shrink:0;width:16px;height:16px}.bid-toc-dot{background:var(--toc-dot-color);border-radius:50%;flex-shrink:0;width:6px;height:6px;margin-top:7px;margin-right:6px;transition:all .2s}.bid-toc-text{min-width:0;color:var(--toc-text-color);word-break:break-all;overflow-wrap:break-word;white-space:nowrap;text-overflow:ellipsis;flex:1;font-size:12px;overflow:hidden}.bid-toc-item:hover .bid-toc-text,.bid-toc-item.active .bid-toc-text{color:inherit}.bid-toc-item.bid-toc-level-1 .bid-toc-text{color:#24292e;font-size:13px;font-weight:600}.night-mode .bid-toc-item.bid-toc-level-1 .bid-toc-text{color:#e6edf3}.bid-toc-item.bid-toc-level-2 .bid-toc-text{font-size:12px;font-weight:500}.bid-toc-item.bid-toc-level-3 .bid-toc-text{font-size:12px;font-weight:400}.bid-toc-item.bid-toc-level-4 .bid-toc-text{color:#6b7280;font-size:11px;font-weight:400}.bid-toc-item.bid-toc-level-5 .bid-toc-text{color:#9ca3af;font-size:11px;font-weight:400}.night-mode .bid-toc-item.bid-toc-level-4 .bid-toc-text{color:#8b949e}.night-mode .bid-toc-item.bid-toc-level-5 .bid-toc-text{color:#6e7681}.bid-toc-children{will-change:max-height;transition:max-height .3s;overflow:hidden}.bid-toc-children.collapsed{max-height:0!important}.bid-toc-item.bid-toc-level-1{margin-top:2px;padding-top:8px;padding-bottom:8px}.bid-toc-item.bid-toc-level-1+.bid-toc-children{border-left:1px dashed #e1e4e8;margin-left:16px}.night-mode .bid-toc-item.bid-toc-level-1+.bid-toc-children{border-left-color:#30363d}.toc-highlight{animation:2s ease-out toc-flash}@keyframes toc-flash{0%{background:var(--toc-highlight-bg)}to{background:0 0}}@media (width<=768px){.bid-toc-wrapper{width:220px;min-width:220px;max-width:220px}.bid-toc-wrapper.collapsed{width:40px;min-width:40px;max-width:40px}.bid-toc-item{padding:5px 10px 5px 6px}.bid-toc-item.bid-toc-level-1 .bid-toc-text{font-size:12px}.bid-toc-text{font-size:11px}}.bid-welcome-cards{--bid-card-accent:var(--primary-color,#dc3545);--bid-card-accent-mid:var(--primary-hover,#c82333);--bid-card-accent-soft:color-mix(in srgb, var(--primary-color,#dc3545) 11%, transparent);--bid-card-accent-border:color-mix(in srgb, var(--primary-color,#dc3545) 22%, transparent)}#bid-welcome.bid-welcome-cards{box-sizing:border-box;background:radial-gradient(ellipse 130% 85% at 50% -18%, color-mix(in srgb, var(--primary-color,#dc3545) 18%, transparent), transparent 62%), radial-gradient(ellipse 85% 62% at -5% 105%, #fee2e29e, transparent 58%), radial-gradient(ellipse 85% 62% at 105% 98%, #fef2f2c7, transparent 58%), linear-gradient(180deg, #fdfcfb 0%, #faf7f6 32%, #f5f0ef 52%, #fafbfc 78%, #fff 100%);flex-direction:column;flex:auto;justify-content:center;align-self:stretch;align-items:center;width:calc(100% + 48px);max-width:none;min-height:calc(100vh - 128px);margin:-24px;padding:72px 52px 96px;display:flex}#module-panel-new_bid.module-panel{flex-direction:column;flex:auto;width:100%;min-height:0;display:flex}#new-document.content-section.active{flex:auto;width:100%;min-height:0}.bid-welcome-title{text-align:center;letter-spacing:-.03em;color:#1c1917;text-shadow:0 1px #ffffffd9;margin-bottom:12px;font-size:44px;font-weight:700}.bid-welcome-subtitle{text-align:center;letter-spacing:.14em;text-transform:uppercase;color:color-mix(in srgb, var(--primary-color,#dc3545) 42%, #78716c);margin-bottom:44px;font-size:15px;font-weight:500}#bid-welcome .bid-cards-grid{align-self:stretch}.bid-cards-grid{box-sizing:border-box;grid-template-columns:repeat(4,minmax(0,288px));justify-content:center;gap:18px;width:100%;min-width:0;max-width:100%;display:grid}.bid-card{isolation:isolate;border:1px solid color-mix(in srgb, var(--primary-color,#dc3545) 10%, #e7e5e4f2);cursor:pointer;background:linear-gradient(165deg, #fffffffa 0%, color-mix(in srgb, var(--primary-color,#dc3545) 3.5%, #fff) 38%, color-mix(in srgb, var(--primary-color,#dc3545) 6%, #fafaf9) 100%);-webkit-backdrop-filter:blur(16px);border-radius:14px;flex-direction:column;min-width:0;min-height:168px;padding:16px 14px 18px;transition:transform .4s cubic-bezier(.22,1,.36,1),box-shadow .4s cubic-bezier(.22,1,.36,1),border-color .35s;display:flex;position:relative;overflow:visible;box-shadow:inset 0 1px #fffffff2,0 18px 44px -16px #1c191717,0 6px 16px -8px #1c19170a}.bid-card:before{content:"";border-radius:inherit;background:linear-gradient(145deg, #ffffffa6 0%, color-mix(in srgb, var(--primary-color,#dc3545) 5%, transparent) 38%, transparent 68%);pointer-events:none;z-index:0;position:absolute;inset:0}.bid-card:after{content:"";border-radius:inherit;background:radial-gradient(ellipse 120% 85% at 100% 0%, color-mix(in srgb, var(--primary-color,#dc3545) 12%, #ffffff80), transparent 58%);pointer-events:none;opacity:.9;z-index:0;position:absolute;inset:0}.bid-card:hover{border-color:color-mix(in srgb, var(--primary-color,#dc3545) 28%, #ffffffe6);box-shadow:0 1px 0 #fffffffa inset, 0 28px 56px -14px color-mix(in srgb, var(--primary-color,#dc3545) 22%, transparent), 0 16px 36px -12px #1c19171a;transform:translateY(-8px)scale(1.012)}.bid-card:focus{outline:none}.bid-card:focus-visible{outline:2px solid var(--bid-card-accent-mid);outline-offset:4px;box-shadow:0 1px 0 #ffffffe0 inset, 0 28px 56px -16px color-mix(in srgb, var(--primary-color,#dc3545) 30%, transparent), 0 12px 24px -8px #1c191714}.bid-card-visual{background:var(--bid-card-accent-soft);border:1px solid var(--bid-card-accent-border);pointer-events:none;z-index:1;border-radius:14px;flex-shrink:0;justify-content:center;align-self:flex-start;align-items:center;width:52px;height:52px;margin-bottom:18px;display:flex;position:relative}.bid-card-icon-stack{filter:drop-shadow(0 6px 14px #b91c1c38);width:34px;height:30px;transition:transform .45s cubic-bezier(.22,1,.36,1)}.bid-card:hover .bid-card-icon-stack{transform:translateY(-4px)scale(1.04)}.bid-card-body{z-index:1;position:relative}.bid-card-body:before{content:"";background:linear-gradient(90deg, var(--bid-card-accent), var(--bid-card-accent-mid));border-radius:2px;width:40px;height:3px;margin-bottom:12px;display:block;box-shadow:0 2px 12px #dc354547}.bid-card-title{text-align:left;color:#1c1917;letter-spacing:-.02em;margin-bottom:12px;font-size:21px;font-weight:600;line-height:1.38}.bid-card-desc{color:#57534e;text-align:left;letter-spacing:.01em;font-size:14px;line-height:1.7}@media (width<=768px){#bid-welcome.bid-welcome-cards{width:100%;max-width:none;min-height:auto;margin:0;padding:24px 16px}.bid-welcome-title{font-size:22px}.bid-welcome-subtitle{letter-spacing:.1em;margin-bottom:28px;font-size:12px}.bid-cards-grid{grid-template-columns:1fr;gap:20px;max-width:420px}.bid-card{min-height:0}.bid-card:hover{transform:translateY(-4px)scale(1.005)}}@media (prefers-reduced-motion:reduce){.bid-card,.bid-card-icon-stack{transition:none}.bid-card:hover,.bid-card:hover .bid-card-icon-stack{transform:none}}.bid-workflow-mode-title{color:#111827;letter-spacing:.02em;margin:0 0 16px;padding-bottom:0;font-size:1.125rem;font-weight:600}.bid-workflow-mode-title:after{content:"";background:linear-gradient(90deg, var(--primary-color,#dc3545) 0%, transparent 100%);border-radius:1px;height:2px;margin-top:8px;display:block}.new-bid-content{position:relative}.bid-tab-panel{display:none}.bid-tab-panel.active{display:block}.new-bid-root{flex-direction:column;height:100%;display:flex}.scoring-history-modal-overlay{z-index:2500;box-sizing:border-box;background:#00000073;justify-content:center;align-items:center;padding:16px;display:none;position:fixed;inset:0}.scoring-history-modal-overlay.open{display:flex}.scoring-history-modal{background:#fff;border-radius:16px;flex-direction:column;width:600px;max-width:90vw;max-height:80vh;display:flex;box-shadow:0 20px 60px #0000002e}.scoring-history-modal-header{border-bottom:1px solid #f0f2f5;justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.scoring-history-modal-title{color:#111827;font-size:18px;font-weight:700}.scoring-history-modal-close{cursor:pointer;color:#9ca3af;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;transition:all .15s;display:flex}.scoring-history-modal-close:hover{color:#374151;background:#f3f4f6}.scoring-history-search{background:#f8fafc;border-bottom:1px solid #f0f2f5;align-items:center;gap:8px;padding:12px 24px;display:flex}.scoring-history-search svg{color:#9ca3af;flex-shrink:0}.scoring-history-search-input{color:#374151;background:0 0;border:none;outline:none;flex:1;font-size:14px}.scoring-history-search-input::placeholder{color:#9ca3af}.scoring-history-list{flex:1;min-height:200px;padding:12px;overflow-y:auto}.scoring-history-loading{color:#9ca3af;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:40px;display:flex}.scoring-history-item{cursor:pointer;border:1px solid #0000;border-radius:10px;align-items:center;gap:12px;padding:12px 16px;transition:all .15s;display:flex}.scoring-history-item:hover{background:#f8fafc;border-color:#e5e7eb}.scoring-history-item.selected{background:#fff5f5;border-color:#dc3545}.scoring-history-item-icon{background:#f3f4f6;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.scoring-history-item-icon svg{color:#6b7280}.scoring-history-item.selected .scoring-history-item-icon{background:#fee2e2}.scoring-history-item.selected .scoring-history-item-icon svg{color:#dc3545}.scoring-history-item-info{flex:1;min-width:0}.scoring-history-item-name{color:#111827;white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:500;overflow:hidden}.scoring-history-item-meta{color:#9ca3af;margin-top:2px;font-size:12px}.scoring-history-item-status{border-radius:12px;flex-shrink:0;padding:4px 10px;font-size:12px;font-weight:500}.scoring-history-item-status.completed{color:#16a34a;background:#dcfce7}.scoring-history-item-status.processing{color:#2563eb;background:#dbeafe}.scoring-history-item-status.failed{color:#dc2626;background:#fee2e2}.scoring-history-empty{color:#9ca3af;flex-direction:column;justify-content:center;align-items:center;padding:40px;display:flex}.scoring-history-empty svg{opacity:.35;margin-bottom:12px}.scoring-history-pagination{border-top:1px solid #f0f2f5;flex-shrink:0;justify-content:center;align-items:center;gap:6px;padding:12px;display:flex}.scoring-history-pagination:empty{display:none}.scoring-history-page-btn{color:#374151;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:6px;padding:5px 12px;font-size:13px;transition:all .15s}.scoring-history-page-btn:hover:not(:disabled){color:#dc3545;border-color:#dc3545}.scoring-history-page-btn:disabled{opacity:.4;cursor:not-allowed}.scoring-history-page-btn.active{color:#fff;background:#dc3545;border-color:#dc3545}.scoring-history-page-info{color:#9ca3af;margin-left:12px;font-size:13px}.new-bid-root .section-title{color:#111827;align-items:center;gap:8px;font-size:18px;font-weight:700;display:inline-flex}.new-bid-root .nav-tabs .nav-link{font-weight:600}.new-bid-root .upload-btn{white-space:nowrap;width:180px;padding:8px 12px;font-size:14px}.new-bid-root .tab-pane .rounded-lg{background-color:#f8f9fa;padding:20px 0}.new-bid-root .tab-pane .rounded-square{background-color:#e9ecef;border-radius:12px;justify-content:center;align-items:center;width:120px;height:120px;margin:0 auto 32px;display:flex}.new-bid-root .tab-pane .rounded-square svg{color:#6c757d}.new-bid-root .tab-pane h4{margin-bottom:16px}.new-bid-root .tab-pane .text-muted{margin-bottom:32px}.new-bid-root .tab-pane form{text-align:center;max-width:640px;margin:0 auto}.new-bid-root .tab-pane .table-xs{font-size:.85rem}.new-bid-root .tab-pane .table-xs th,.new-bid-root .tab-pane .table-xs td{padding:.3rem}.new-bid-root .tab-pane .mb-3{flex-wrap:wrap;justify-content:center;gap:15px;display:flex}.new-bid-root .tab-pane textarea.form-control{min-height:80px}.new-bid-root .tab-job-status,.new-bid-root .tab-job-result{margin-top:12px}.step-header-modern{background:linear-gradient(135deg,#fff 0%,#f8f9fa 100%);border:1px solid #e9ecef;border-radius:12px;align-items:center;gap:16px;margin-bottom:16px;padding:16px 20px;display:flex;box-shadow:0 2px 8px #0000000a}.step-header-icon{color:#fff;background:linear-gradient(135deg,#dc3545 0%,#c82333 100%);border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.step-header-content{flex:1}.step-header-title{color:#212529;margin:0 0 4px;font-size:1.5rem;font-weight:700}.step-header-desc{color:#6c757d;margin:0;font-size:.9rem}.scoring-workspace{flex-direction:column;gap:24px;padding:16px 0;display:flex}.scoring-step{background:#fff;border:1px solid #e9ecef;border-radius:12px;overflow:hidden}.scoring-step-header{background:linear-gradient(135deg,#f8f9fa 0%,#fff 100%);border-bottom:1px solid #e9ecef;align-items:center;gap:12px;padding:16px 20px;display:flex}.scoring-step-number{color:#fff;background:linear-gradient(135deg,#dc3545 0%,#c82333 100%);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;font-size:14px;font-weight:700;display:flex}.scoring-step-title{color:#111827;font-size:16px;font-weight:600}.scoring-step-body{padding:20px}.scoring-input-method{gap:16px;margin-bottom:16px;display:flex}.input-method-section{background:#fff;border:1px solid #e9ecef;border-radius:16px;margin-bottom:24px;padding:24px;box-shadow:0 2px 12px #0000000f}.section-title-bar{margin-bottom:20px}.section-title{color:#dc3545;margin-left:10px;font-size:.9rem;font-weight:600}.section-subtitle{color:#6c757d;font-size:.85rem}.input-cards-container{grid-template-columns:repeat(2,1fr);gap:20px;display:grid}@media (width<=768px){.input-cards-container{grid-template-columns:1fr}}.input-card{cursor:pointer;background:#fff;border:2px solid #e9ecef;border-radius:16px;padding:24px;transition:all .3s;position:relative}.input-card:hover{border-color:#dc3545;box-shadow:0 4px 16px #dc35451a}.input-card.selected{background:linear-gradient(135deg,#fff5f5 0%,#fff 100%);border-color:#dc3545;box-shadow:0 4px 20px #dc354526}.input-card-radio{position:absolute;top:16px;right:16px}.input-card-radio input{display:none}.radio-custom{border:2px solid #dee2e6;border-radius:50%;width:22px;height:22px;transition:all .3s;display:block;position:relative}.radio-custom:after{content:"";background:#dc3545;border-radius:50%;width:10px;height:10px;transition:transform .2s;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(0)}.input-card.selected .radio-custom{border-color:#dc3545}.input-card.selected .radio-custom:after{transform:translate(-50%,-50%)scale(1)}.input-card-body{text-align:center;flex-direction:column;align-items:center;display:flex}.input-card-icon{color:#6c757d;background:linear-gradient(135deg,#f8f9fa 0%,#e9ecef 100%);border-radius:16px;justify-content:center;align-items:center;width:72px;height:72px;margin-bottom:16px;transition:all .3s;display:flex}.input-card.selected .input-card-icon{color:#fff;background:linear-gradient(135deg,#dc3545 0%,#c82333 100%)}.input-card-title{color:#212529;margin:0 0 8px;font-size:1.1rem;font-weight:600}.input-card-desc{color:#6c757d;margin:0 0 16px;font-size:.85rem;line-height:1.5}.input-card-action{width:100%}.file-upload-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#dc3545 0%,#c82333 100%);border-radius:10px;justify-content:center;align-items:center;padding:10px 24px;font-weight:500;transition:all .3s;display:inline-flex}.file-upload-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #dc35454d}.file-upload-btn input{display:none}.file-status{color:#28a745;margin-top:12px;font-size:.85rem}.paste-textarea{resize:vertical;border:1px solid #dee2e6;border-radius:10px;width:100%;min-height:80px;padding:12px 16px;font-size:.9rem;transition:all .3s}.paste-textarea:focus{border-color:#dc3545;outline:none;box-shadow:0 0 0 3px #dc35451a}.action-bar{justify-content:center;margin-top:24px;display:flex}.btn-analyze-modern{color:#fff;cursor:pointer;background:linear-gradient(135deg,#dc3545 0%,#c82333 100%);border:none;border-radius:12px;align-items:center;gap:10px;padding:14px 40px;font-size:1rem;font-weight:600;transition:all .3s;display:inline-flex;box-shadow:0 4px 16px #dc354540}.btn-analyze-modern:hover{transform:translateY(-2px);box-shadow:0 6px 24px #dc354559}.btn-analyze-modern:active{transform:translateY(0)}.upload-area-compact,.paste-area-compact{text-align:center;cursor:pointer;background:#fafbfc;border:2px dashed #dee2e6;border-radius:12px;flex:1;padding:20px;transition:all .3s}.upload-area-compact.selected,.paste-area-compact.selected{background:#dc35450d;border-color:#dc3545}.upload-area-compact:hover,.paste-area-compact:hover{background:#dc354508;border-color:#dc3545}.upload-label,.paste-label{color:#343a40;cursor:pointer;font-size:14px;font-weight:600}.file-name-display{color:#6c757d;margin-top:8px;font-size:12px;display:block}.paste-textarea-compact{resize:vertical;border:1px solid #dee2e6;border-radius:8px;width:100%;margin-bottom:16px;padding:12px;font-size:14px}.scoring-project-type-selector{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:16px;display:flex}.project-type-selector-modern{background:#fff;border:1px solid #e9ecef;border-radius:16px;margin-bottom:24px;padding:20px;box-shadow:0 2px 12px #0000000f}.selector-header{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.selector-label{color:#212529;font-size:1rem;font-weight:600}.selector-badge{color:#fff;background:linear-gradient(135deg,#dc3545 0%,#c82333 100%);border-radius:20px;padding:4px 12px;font-size:.75rem;font-weight:500}.selector-options{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}@media (width<=992px){.selector-options{grid-template-columns:repeat(2,1fr)}}@media (width<=576px){.selector-options{grid-template-columns:1fr}}.type-option{cursor:pointer;background:#fff;border:2px solid #e9ecef;border-radius:12px;padding:16px;transition:all .3s;position:relative}.type-option:hover{background:#fff5f5;border-color:#dc3545}.type-option.active{background:linear-gradient(135deg,#fff5f5 0%,#fff 100%);border-color:#dc3545;box-shadow:0 4px 12px #dc354526}.type-option input{opacity:0;width:0;height:0;position:absolute}.type-option-content{text-align:center;flex-direction:column;align-items:center;gap:6px;display:flex}.type-icon{font-size:1.75rem}.type-text{color:#212529;font-size:.95rem;font-weight:600}.type-desc{color:#6c757d;font-size:.75rem}.selector-hint{color:#6c757d;background:#f8f9fa;border-radius:8px;align-items:center;gap:8px;margin-top:16px;padding:12px 16px;font-size:.85rem;display:flex}.selector-hint svg{color:#dc3545;flex-shrink:0}.scoring-label{color:#343a40;white-space:nowrap;font-size:14px;font-weight:600}.scoring-radio-group{flex-wrap:wrap;gap:12px;display:flex}.scoring-radio-group label{color:#495057;cursor:pointer;margin-right:4px;font-size:13px}.compact-hint{color:#6c757d;font-size:12px;font-style:italic}.scoring-parse-btn{border-radius:10px;width:100%;max-width:300px;margin:0 auto;padding:10px 20px;font-weight:600;display:block}.scoring-result-panels{grid-template-columns:1fr 1fr;gap:20px;display:grid}@media (width<=768px){.scoring-result-panels{grid-template-columns:1fr}}.scoring-result-panel{border:1px solid #e9ecef;border-radius:10px;overflow:hidden}.scoring-result-panel .panel-header{background:#f8f9fa;border-bottom:1px solid #e9ecef;align-items:center;gap:8px;padding:12px 16px;display:flex}.panel-icon{border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.overview-icon,.scoring-icon{background:#4b5563}.panel-title{color:#343a40;flex:1;font-size:14px;font-weight:600}.panel-status{color:#6c757d;align-items:center;gap:6px;font-size:12px;display:flex}.status-indicator{background:#d1d5db;border-radius:50%;flex-shrink:0;width:10px;height:10px;display:inline-block;position:relative}.status-indicator.pending{background:#d1d5db}.status-indicator.loading{background:#3b82f6;animation:1.2s ease-in-out infinite status-pulse}.status-indicator.loading:after{content:"";opacity:.4;border:1.5px solid #3b82f6;border-radius:50%;animation:1.2s ease-in-out infinite status-ripple;position:absolute;inset:-3px}.status-indicator.done,.status-indicator.completed{background:#10b981}.status-indicator.error{background:#ef4444}@keyframes status-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(.85)}}@keyframes status-ripple{0%,to{opacity:.4;transform:scale(1)}50%{opacity:0;transform:scale(1.6)}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.result-content{color:#343a40;scroll-behavior:smooth;background:0 0;border:none;border-radius:0;max-height:none;padding:0;font-size:15px;line-height:1.8;overflow:visible}.result-content::-webkit-scrollbar{width:6px}.result-content::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.result-content::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.result-content::-webkit-scrollbar-thumb:hover{background:#a1a1a1}.result-content p{text-align:justify;text-indent:2em;margin:0 0 12px}.result-content p:first-child{text-indent:0}.result-content strong{color:#1a1a1a;font-weight:600}.result-content h1,.result-content h2,.result-content h3{color:#1a1a1a;margin:16px 0 12px;font-weight:600;line-height:1.5}.result-content h1{border-bottom:1px solid #dee2e6;margin-top:20px;padding-bottom:8px;font-size:16px}.result-content h1:first-child{margin-top:0}.result-content h2{margin-left:0;font-size:15px}.result-content h3{margin-left:0;font-size:14px}.result-content ul,.result-content ol{margin:8px 0 12px;padding-left:2em}.result-content li{text-align:justify;margin:4px 0}.result-content br{content:"";margin-top:8px;display:block}.btn-edit-result:hover{color:#6366f1;background:#f3f4f6;border-color:#6366f1}.btn-edit-result.save-mode:hover{box-shadow:0 4px 12px #10b9814d}.result-editor{resize:vertical;background:#fafbff;border:2px solid #6366f1;border-radius:10px;width:100%;min-height:200px;padding:16px;font-family:inherit;font-size:14px;line-height:1.8}.result-editor:focus{border-color:#4f46e5;outline:none;box-shadow:0 0 0 3px #6366f11a}.loading-placeholder{color:#6c757d;flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:40px;display:flex}@keyframes spin{to{transform:rotate(360deg)}}.content-scroll-area{max-height:400px;font-size:14px;line-height:1.8;overflow:hidden auto}.content-scroll-area::-webkit-scrollbar{width:8px}.content-scroll-area::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.content-scroll-area::-webkit-scrollbar-thumb{background:linear-gradient(#c1c1c1,#a8a8a8);border-radius:4px;transition:background .3s}.content-scroll-area::-webkit-scrollbar-thumb:hover{background:linear-gradient(#a8a8a8,#909090)}.content-scroll-area{scrollbar-width:thin;scrollbar-color:#c1c1c1 #f1f1f1}.document-content{color:#333;font-size:14px;line-height:1.8}.document-content h4{margin-bottom:12px;padding-bottom:8px;font-size:18px}.document-content h5{margin-bottom:10px;font-size:16px}.document-content h6{margin-bottom:8px;font-size:14px}.document-content p{text-indent:2em;margin-bottom:10px}.document-content ul{margin-bottom:10px;padding-left:20px}.document-content li{margin-bottom:6px;list-style-type:disc}.document-content strong{font-weight:600}.document-content .text-danger{color:#dc3545!important}.document-content .text-primary{color:#0d6efd!important}.document-content .text-secondary{color:#6c757d!important}.table-content-section{background:#f8f9fa;border-left:4px solid #0d6efd;border-radius:8px;margin-bottom:16px;padding:12px}.table-content-section .section-title{color:#0d6efd;margin-bottom:8px;font-size:14px;font-weight:600}.table-content-section .section-content{padding-left:12px}.result-status{margin-left:auto;font-size:13px;font-weight:600}.scoring-bid-settings{grid-template-columns:1fr 1fr;gap:16px;margin-bottom:20px;display:grid}@media (width<=768px){.scoring-bid-settings{grid-template-columns:1fr}}.scoring-setting-row{align-items:center;gap:8px;display:flex}.scoring-setting-row .scoring-label{text-align:right;min-width:70px}.scoring-input{border-radius:8px;flex:1;padding:6px 10px;font-size:14px}.scoring-generate-actions{flex-wrap:wrap;justify-content:center;gap:12px;display:flex}.scoring-action-btn{border-radius:10px;min-width:140px;padding:8px 16px;font-weight:600}.scoring-strategy-output,.scoring-outline-output{border:1px solid #e9ecef;border-radius:10px;margin-top:20px;overflow:hidden}.scoring-strategy-output .panel-header,.scoring-outline-output .panel-header{background:#f8f9fa;border-bottom:1px solid #e9ecef;padding:12px 16px}.scoring-strategy-output .panel-title,.scoring-outline-output .panel-title{color:#343a40;font-size:14px;font-weight:600}.scoring-strategy-output .result-content,.scoring-outline-output .result-content{max-height:500px;padding:16px;font-size:13px;line-height:1.8;overflow-y:auto}.step-nav-modern{background:#fff;border:1px solid #e9ecef;border-radius:12px;justify-content:space-between;align-items:center;margin-top:10px;margin-bottom:16px;padding:12px 20px;display:flex;box-shadow:0 2px 8px #0000000a}.step-nav-item{cursor:pointer;border-radius:10px;flex-direction:column;align-items:center;gap:4px;padding:6px 12px;transition:all .3s;display:flex}.step-nav-text{flex-direction:column;align-items:center;gap:2px;display:flex}.step-nav-desc{color:#9ca3af;font-size:.7rem;transition:all .3s}.step-nav-item:hover .step-nav-desc{color:#6b7280}.step-nav-item.active .step-nav-desc{color:#a5b4fc}.step-nav-item.completed .step-nav-desc{color:#6ee7b7}.step-nav-item:hover{background:#f8f9fa}.step-nav-indicator{background:#f3f4f6;border-radius:10px;justify-content:center;align-items:center;width:38px;height:38px;transition:all .3s;display:flex;position:relative}.step-nav-icon{opacity:0;color:#fff;transition:all .3s;position:absolute;transform:scale(.5)}.step-nav-num{color:#9ca3af;font-size:.9rem;font-weight:600;transition:all .3s}.step-nav-label{color:#6b7280;white-space:nowrap;font-size:.8rem;font-weight:500;transition:all .3s}.step-nav-item.active .step-nav-indicator{background:linear-gradient(135deg,#6366f1 0%,#4f46e5 100%);box-shadow:0 4px 12px #6366f14d}.step-nav-item.active .step-nav-icon{opacity:1;transform:scale(1)}.step-nav-item.active .step-nav-num{opacity:0}.step-nav-item.active .step-nav-label{color:#4f46e5;font-weight:600}.step-nav-item.completed .step-nav-indicator{background:linear-gradient(135deg,#10b981 0%,#059669 100%);box-shadow:0 4px 12px #10b9814d}.step-nav-item.completed .step-nav-icon{opacity:1;transform:scale(1)}.step-nav-item.completed .step-nav-num{opacity:0}.step-nav-item.completed .step-nav-label{color:#059669}.step-nav-item.locked{opacity:.6;cursor:not-allowed}.step-nav-item.locked .step-nav-indicator{box-shadow:none;background:#9ca3af}.step-nav-item.locked .step-nav-icon{opacity:0;transform:scale(0)}.step-nav-item.locked .step-nav-num{opacity:1;color:#6b7280}.step-nav-item.locked .step-nav-label,.step-nav-item.locked .step-nav-desc{color:#9ca3af}.step-nav-item.locked:hover{background:0 0}.step-nav-connector{background:#e5e7eb;border-radius:2px;flex:1;height:3px;margin:0 8px;transition:all .3s;position:relative;top:-12px}.step-nav-connector.completed{background:linear-gradient(90deg,#10b981 0%,#059669 100%)}.step-actions-modern{justify-content:space-between;align-items:center;gap:16px;margin-top:24px;display:flex}.step-actions-spacer{flex:auto;min-width:0}.step-actions-center{text-align:center;flex:auto;min-width:0}#scoring .step-actions-modern,#full-document .step-actions-modern,#chapter .step-actions-modern{box-sizing:border-box;flex-shrink:0;justify-content:flex-end;width:100%}#scoring .step-actions-modern>.btn-step-prev,#full-document .step-actions-modern>.btn-step-prev,#chapter .step-actions-modern>.btn-step-prev,#scoring .step-actions-modern>.step-actions-spacer,#full-document .step-actions-modern>.step-actions-spacer,#chapter .step-actions-modern>.step-actions-spacer{margin-right:auto}.fd-auto-save-indicator,.sc-auto-save-indicator,.ch-auto-save-indicator{color:#64748b;white-space:nowrap;flex-shrink:0;min-width:60px;font-size:.78rem}.btn-step-prev,.btn-step-next{cursor:pointer;border-radius:10px;align-items:center;gap:8px;padding:12px 24px;font-weight:500;transition:all .3s;display:inline-flex}.btn-step-prev{color:#495057;background:#fff;border:1px solid #dee2e6}.btn-step-prev:hover{background:#f8f9fa;border-color:#adb5bd}.btn-step-next{color:#fff;background:linear-gradient(135deg,#dc3545 0%,#c82333 100%);border:none}.btn-step-next:hover{transform:translateY(-2px);box-shadow:0 4px 12px #dc35454d}.btn-ref-download-step{cursor:pointer;color:#fff;background:linear-gradient(135deg,#28a745 0%,#218838 100%);border:none;border-radius:10px;align-items:center;gap:8px;padding:12px 24px;font-size:14px;font-weight:600;transition:all .3s;display:inline-flex}.btn-ref-download-step:hover{color:#fff;transform:translateY(-2px);box-shadow:0 4px 12px #28a74559}.btn-generate-modern{color:#fff;cursor:pointer;background:linear-gradient(135deg,#f59e0b 0%,#d97706 100%);border:none;border-radius:10px;align-items:center;gap:8px;padding:12px 28px;font-size:14px;font-weight:600;transition:all .3s;display:inline-flex}.btn-generate-modern:hover{transform:translateY(-2px);box-shadow:0 4px 12px #f59e0b66}.btn-generate-modern:active{transform:translateY(0)}.sub-tabs-nav{border-bottom:2px solid #e9ecef;gap:4px;margin-bottom:16px;padding-bottom:0;display:flex}.sub-tab-btn{color:#6c757d;cursor:pointer;white-space:nowrap;background:0 0;border:none;border-bottom:2px solid #0000;align-items:center;gap:6px;margin-bottom:-2px;font-size:13px;font-weight:500;transition:all .2s;display:inline-flex}.sub-tab-btn:hover{color:#495057;background:#f8f9fa}.sub-tab-btn.active{color:#dc3545;border-bottom-color:#dc3545;font-weight:600}.sub-tab-btn svg{flex-shrink:0}.sub-tab-panel{display:none}.sub-tab-panel.active{display:block}.sub-tab-panel-inner{padding:0}.style-settings-container{border-top:1px solid #f3f4f6;gap:0;margin-top:16px;padding-top:16px;display:flex}.style-settings-left{flex:1;padding-right:20px}.style-settings-right{flex:1;padding-left:20px}.style-settings-divider{background:#e5e7eb;width:1px}.style-options-list{flex-direction:column;gap:8px;display:flex}.style-option-item{cursor:default;border:1px solid #e5e7eb;border-radius:10px;flex-direction:column;transition:all .2s;display:flex;overflow:hidden}.style-option-item:hover{border-color:#dc3545}.style-option-item.selected{background:#dc354508;border-color:#dc3545}.option-main{cursor:pointer;flex:1;align-items:center;gap:10px;padding:10px 14px;display:flex}.option-icon{flex-shrink:0;font-size:1.2rem}.option-info{flex-direction:column;flex:1;gap:2px;display:flex}.option-name{color:#343a40;font-size:.85rem;font-weight:600}.option-desc{color:#6c757d;font-size:.75rem;line-height:1.4}.option-arrow{color:#adb5bd;font-size:1.2rem}.option-preview-btn{color:#6c757d;cursor:pointer;background:#f8f9fa;border:none;border-top:1px solid #e5e7eb;justify-content:center;align-items:center;gap:4px;padding:6px 12px;font-size:.75rem;transition:all .2s;display:flex}.option-preview-btn:hover{color:#fff;background:#dc3545}.option-preview-btn svg{flex-shrink:0}.style-option-item.selected .option-preview-btn{color:#dc3545;background:#dc35450d}.style-option-item.selected .option-preview-btn:hover{color:#fff;background:#dc3545}.result-section-modern{background:#fff;border:1px solid #e9ecef;border-radius:16px;margin-top:24px;overflow:hidden;box-shadow:0 2px 12px #0000000f}.result-header{background:linear-gradient(135deg,#f8f9fa 0%,#fff 100%);border-bottom:1px solid #e9ecef;justify-content:space-between;align-items:center;padding:16px 24px;display:flex}.result-header-left{align-items:center;gap:12px;display:flex}.result-header-right{align-items:center;gap:8px;display:flex}.result-status{border-radius:20px;padding:4px 12px;font-size:.78rem;font-weight:500;transition:all .3s}.result-status[data-status=pending]{color:#6b7280;background:#f3f4f6}.result-status[data-status=parsing]{color:#3b82f6;background:#eff6ff;animation:2s ease-in-out infinite status-text-pulse}.result-status[data-status=done]{color:#10b981;background:#ecfdf5}.result-status[data-status=error]{color:#ef4444;background:#fef2f2}.result-status.completed{color:#10b981;background:#ecfdf5}.result-status.error{color:#ef4444;background:#fef2f2}@keyframes status-text-pulse{0%,to{opacity:1}50%{opacity:.7}}.result-hint{color:#6c757d;font-size:.85rem}.result-panel#fd-format-panel{grid-column:1/-1}.result-panel{background:#fff;border:1px solid #e9ecef;border-radius:12px;flex-direction:column;padding:20px 24px;transition:border-color .2s,box-shadow .2s;display:flex}.result-panel:hover{border-color:#dee2e6;box-shadow:0 2px 8px #0000000a}.result-panel-body{flex-direction:column;flex:1;min-height:0;display:flex}.result-panel:not([id]) .result-panel-body .output-box-container,.result-panel:not([id]) .result-panel-body .textarea-wrapper{flex-direction:column;flex:1;display:flex}.result-panel:not([id]) .result-panel-body .output-textarea{flex:1;min-height:0}#fd-overview-panel .overview-sub-panels,#scoring-overview-panel .overview-sub-panels,#fd-tab-panel-overview .overview-sub-panels{flex-direction:column;flex:1;min-height:0;display:flex}#fd-overview-panel .overview-sub-panel.active,#scoring-overview-panel .overview-sub-panel.active,#fd-tab-panel-overview .overview-sub-panel.active,#fd-overview-panel .overview-sub-panel.active .output-box-container,#scoring-overview-panel .overview-sub-panel.active .output-box-container,#fd-overview-panel .overview-sub-panel.active .textarea-wrapper,#scoring-overview-panel .overview-sub-panel.active .textarea-wrapper{flex-direction:column;flex:1;display:flex}#fd-overview-panel .overview-sub-panel.active .output-textarea,#scoring-overview-panel .overview-sub-panel.active .output-textarea{flex:1;min-height:0}#fd-tab-panel-overview .step3-tab-panel-body{flex-direction:column;display:flex;overflow-y:hidden}#fd-tab-panel-overview .overview-sub-panel.active .formatted-content{flex:1;overflow-y:auto}#subtab-project-overview.sub-tab-panel.active,#chapter-subtab-requirement.sub-tab-panel.active,#chapter-subtab-scoring.sub-tab-panel.active,#chapter-subtab-material.sub-tab-panel.active{flex:auto;min-height:0}#subtab-project-overview .sub-tab-panel-inner,#subtab-project-overview .overview-sub-panels{flex-direction:column;flex:1;min-height:0;display:flex}#subtab-project-overview .overview-sub-panel.active,#subtab-project-overview .overview-sub-panel.active .output-box-container,#subtab-project-overview .overview-sub-panel.active .textarea-wrapper{flex-direction:column;flex:1;display:flex}#subtab-project-overview .overview-sub-panel.active .output-textarea{flex:1;min-height:0}.step3-left-panel #chapter-subtab-requirement.sub-tab-panel.active{flex-direction:column;min-height:0;display:flex}.step3-left-panel #chapter-subtab-requirement.sub-tab-panel.active .sub-tab-panel-inner{flex-direction:column;flex:1;min-height:0;display:flex}#chapter-subtab-requirement .overview-sub-tabs{flex-shrink:0}#chapter-subtab-requirement .overview-sub-panels{flex-direction:column;flex:1;min-height:0;display:flex;position:relative}#chapter-subtab-requirement .overview-sub-panels>.overview-sub-panel:not(.active){display:none!important}#chapter-subtab-requirement .overview-sub-panel.active,#chapter-subtab-requirement .overview-sub-panel.active .output-box-container,#chapter-subtab-requirement .overview-sub-panel.active .textarea-wrapper{flex-direction:column;flex:1;display:flex}#chapter-subtab-requirement .overview-sub-panel.active .output-textarea{flex:1;min-height:0}.compound-input-container .overview-sub-panels{flex-direction:column;flex:1;min-height:0;display:flex;position:relative}.compound-input-container .overview-sub-panels>.overview-sub-panel:not(.active){display:none!important}.compound-input-container .overview-sub-tabs{flex-shrink:0}.compound-input-container .overview-sub-panel.active,.compound-input-container .overview-sub-panel.active .textarea-wrapper{flex-direction:column;flex:1;display:flex}.compound-input-container .overview-sub-panel.active .compound-textarea{flex:1;min-height:0}.overview-sub-tabs{background:#f8f9fa;border-radius:8px;gap:0;margin-bottom:16px;padding:4px;display:flex;overflow-x:auto}.overview-sub-tab-btn{color:#6b7280;cursor:pointer;white-space:nowrap;background:0 0;border:none;border-radius:6px;flex-shrink:0;align-items:center;gap:6px;padding:8px 16px;font-size:14px;font-weight:500;transition:all .2s;display:inline-flex;position:relative}.overview-sub-tab-btn:hover{color:#1f2937;background:#fff9}.overview-sub-tab-btn.active{color:#3b82f6;background:#fff;box-shadow:0 1px 3px #00000014,0 1px 2px #0000000f}.sub-tab-label{display:inline-block}.sub-tab-status{border-radius:50%;justify-content:center;align-items:center;width:8px;height:8px;display:inline-flex}.sub-tab-status.loading{background:#f59e0b;animation:1.5s ease-in-out infinite pulse-dot}.sub-tab-status.done{background:#10b981}.sub-tab-status.error{background:#ef4444}@keyframes pulse-dot{0%,to{opacity:1}50%{opacity:.3}}.overview-sub-panels{position:relative}.overview-sub-panel{display:none}.overview-sub-panel.active{display:block}.night-mode .overview-sub-tabs{background:#1c2128}.night-mode .overview-sub-tab-btn.active{color:#58a6ff;background:#21262d;box-shadow:0 1px 3px #0000004d}.night-mode .overview-sub-tab-btn:hover{color:#c9d1d9;background:#ffffff0d}.night-mode .sub-tab-status.loading{background:#d97706}.night-mode .sub-tab-status.done{background:#059669}.night-mode .sub-tab-status.error{background:#dc2626}.result-panel-header{border-bottom:1px solid #f1f3f5;flex-shrink:0;align-items:center;gap:12px;margin-bottom:16px;padding-bottom:12px;display:flex}.panel-title-group{flex:1}.panel-actions{flex-shrink:0;align-items:center;gap:4px;display:flex}.panel-action-btn{color:#6b7280;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;padding:0;transition:all .15s;display:inline-flex}.panel-action-btn:hover{color:#3b82f6;background:#f3f4f6;border-color:#3b82f6}.night-mode .panel-action-btn{color:#8b949e;background:#21262d;border-color:#30363d}.night-mode .panel-action-btn:hover{color:#58a6ff;background:#30363d;border-color:#58a6ff}.fd-interpretation-modal-overlay{z-index:10000;background:#00000080;justify-content:center;align-items:center;display:none;position:fixed;inset:0}.fd-interpretation-modal-overlay.open{display:flex}.fd-interpretation-modal{background:#fff;border-radius:12px;flex-direction:column;width:90%;max-width:800px;max-height:85vh;display:flex;box-shadow:0 20px 60px #00000026}.night-mode .fd-interpretation-modal{background:#1c2128}.fd-interpretation-modal-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.night-mode .fd-interpretation-modal-header{border-bottom-color:#30363d}.fd-interpretation-modal-header h5{color:#1f2937;margin:0;font-size:1rem;font-weight:600}.night-mode .fd-interpretation-modal-header h5{color:#e6edf3}.fd-interpretation-modal-header-actions{align-items:center;gap:8px;display:flex}.fd-interpretation-modal-close{color:#6b7280;cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;font-size:1.4rem;transition:all .15s;display:flex}.fd-interpretation-modal-close:hover{color:#1f2937;background:#f3f4f6}.night-mode .fd-interpretation-modal-close:hover{color:#e6edf3;background:#30363d}.fd-interpretation-modal-body{flex:1;padding:16px 20px;overflow:hidden}.fd-interpretation-modal-textarea{resize:vertical;color:#1f2937;background:#fafbfc;border:1px solid #e5e7eb;border-radius:8px;width:100%;height:60vh;min-height:300px;padding:12px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:.9rem;line-height:1.6}.fd-interpretation-modal-textarea:focus{border-color:#3b82f6;outline:none;box-shadow:0 0 0 3px #3b82f61a}.night-mode .fd-interpretation-modal-textarea{color:#e6edf3;background:#0d1117;border-color:#30363d}.night-mode .fd-interpretation-modal-textarea:focus{border-color:#58a6ff;box-shadow:0 0 0 3px #58a6ff1a}.fd-clickable-content{cursor:pointer;min-height:60px;transition:background .15s;position:relative}.fd-clickable-content:hover{background:#3b82f60a}.fd-clickable-content:after{content:"点击编辑";color:#9ca3af;opacity:0;pointer-events:none;font-size:.7rem;transition:opacity .15s;position:absolute;top:4px;right:8px}.fd-clickable-content:hover:after{opacity:1}.night-mode .fd-clickable-content:hover{background:#58a6ff0f}.fd-clickable-content.fd-editing{cursor:default}.fd-clickable-content.fd-editing:hover{background:0 0}.fd-clickable-content.fd-editing:after{display:none}.step3-btn.fd-btn-loading{pointer-events:none;opacity:.85;position:relative}.step3-btn.fd-btn-loading span{animation:1.2s ease-in-out infinite fd-btn-text-pulse}@keyframes fd-btn-text-pulse{0%,to{opacity:1}50%{opacity:.5}}.result-panel .panel-subtitle{color:#888;margin:0;font-size:.78rem}.outline-display-card{background:#fff;border:1px solid #e9ecef;border-radius:16px;overflow:hidden;box-shadow:0 2px 12px #0000000f}.step4-icon{background:linear-gradient(135deg,#f59e0b 0%,#d97706 100%)!important}.content-generation-section{flex-direction:column;gap:20px;display:flex}.progress-card,.result-card{background:#fff;border:1px solid #e9ecef;border-radius:16px;overflow:hidden;box-shadow:0 2px 12px #0000000f}.progress-card-header,.result-card-header{background:linear-gradient(135deg,#fffbeb 0%,#fff 100%);border-bottom:1px solid #e9ecef;justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.progress-icon,.result-icon{font-size:1.25rem}.progress-title,.result-title{color:#212529;font-size:1rem;font-weight:600}.progress-card-body,.result-card-body{padding:20px}.progress-glow{background:linear-gradient(90deg,#0000,#fff6,#0000);height:100%;animation:2s infinite shimmer;position:absolute;top:0;left:0}@keyframes shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}.result-badge{color:#6b7280;background:#f3f4f6;border-radius:20px;padding:4px 12px;font-size:.8rem}.empty-placeholder{color:#9ca3af;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:40px;display:flex}.empty-placeholder.tender-preview-missing{color:#6b7280;text-align:center;max-width:360px;margin:0 auto}.tender-preview-missing-title{color:#374151;font-size:.95rem;font-weight:600}.tender-preview-missing-hint{color:#6b7280;font-size:.82rem;line-height:1.55}.progress-bar-modern{background:#e9ecef;border-radius:6px;height:12px;position:relative;overflow:hidden}.progress-fill{background:linear-gradient(90deg,#dc3545 0%,#c82333 100%);border-radius:6px;height:100%;transition:width .5s}.progress-glow{background:linear-gradient(90deg,#0000,#fff6,#0000);border-radius:6px;height:100%;animation:2s infinite shimmer;position:absolute;top:0;left:0}.progress-section{margin-bottom:16px}.progress-status{color:#6c757d;align-items:center;gap:8px;margin-top:8px;font-size:.85rem;display:flex}.status-dot{background:#6c757d;border-radius:50%;width:8px;height:8px}.status-dot.active{background:#ffc107;animation:1.5s infinite pulse}.status-dot.completed{background:#28a745}.step-warning-toast{color:#856404;z-index:10000;opacity:0;background:linear-gradient(135deg,#fff3cd 0%,#ffeaa7 100%);border-radius:10px;align-items:center;gap:8px;padding:12px 24px;font-size:14px;font-weight:500;transition:all .3s;display:flex;position:fixed;top:80px;left:50%;transform:translate(-50%)translateY(-20px);box-shadow:0 4px 16px #85640433}.step-warning-toast.show{opacity:1;transform:translate(-50%)translateY(0)}.step-warning-toast svg{flex-shrink:0}.step-warning-toast span{white-space:nowrap}.collapsible-chapters{width:100%}.chapter-item{border:1px solid #e9ecef;border-radius:8px;margin-bottom:8px;overflow:hidden}.chapter-header{cursor:pointer;-webkit-user-select:none;user-select:none;background:#f8f9fa;align-items:center;gap:8px;padding:12px 16px;transition:background .2s;display:flex}.chapter-header:hover{background:#e9ecef}.chapter-arrow{color:#6c757d;flex-shrink:0;transition:transform .2s}.chapter-title{color:#343a40;flex:1;font-size:14px;font-weight:600}.chapter-status{color:#6c757d;background:#e9ecef;border-radius:10px;flex-shrink:0;padding:2px 8px;font-size:12px}.chapter-status.generating{color:#856404;background:#fff3cd}.chapter-status.completed{color:#155724;background:#d4edda}.chapter-status.error{color:#721c24;background:#f8d7da}.btn-view-chapter{color:#6c757d;cursor:pointer;background:0 0;border:1px solid #dee2e6;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;margin-left:8px;padding:0;transition:all .15s;display:inline-flex}.btn-view-chapter:hover{color:#007bff;background:#e7f1ff;border-color:#b8d4fe}.chapter-error-container{text-align:center;flex-direction:column;align-items:center;gap:16px;padding:32px 20px;display:flex}.chapter-error-message{color:#dc3545;flex-direction:column;align-items:center;gap:8px;display:flex}.chapter-error-message svg{flex-shrink:0}.chapter-error-message span{font-size:14px;line-height:1.5}.error-hint{margin-top:4px;color:#6c757d!important;font-size:12px!important}.btn-retry-chapter{color:#fff;cursor:pointer;background:linear-gradient(135deg,#007bff 0%,#0056b3 100%);border:none;border-radius:8px;align-items:center;gap:6px;padding:8px 20px;font-size:14px;font-weight:500;transition:all .2s;display:inline-flex;box-shadow:0 2px 8px #007bff4d}.btn-retry-chapter:hover{background:linear-gradient(135deg,#0056b3 0%,#004085 100%);transform:translateY(-1px);box-shadow:0 4px 12px #007bff66}.btn-retry-chapter:active{transform:translateY(0)}.chapter-content{scroll-behavior:smooth;background:#fff;border-top:1px solid #e9ecef;max-height:600px;padding:16px;overflow-y:auto}.chapter-content::-webkit-scrollbar{width:6px}.chapter-content::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.chapter-content::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.chapter-content::-webkit-scrollbar-thumb:hover{background:#a1a1a1}.chapter-content-inner{color:#343a40;max-width:48em;margin:0 auto;font-size:15px;line-height:1.8}.chapter-sub-sections{border-left:2px solid #e9ecef;margin-top:12px;padding-left:16px}.sub-section-item{border-bottom:1px dashed #e9ecef;padding:6px 0}.sub-section-item:last-child{border-bottom:none}.sub-section-title{color:#495057;font-size:13px}.bid-content-formatted{color:#1a1a1a;text-align:justify;letter-spacing:.02em;max-width:48em;margin:0 auto;font-family:SimSun,宋体,Songti SC,STSong,NSimSun,serif;font-size:15px;line-height:1.8}.bid-doc-formal-wrap{text-align:justify;box-sizing:border-box;background:#fff;border:1px solid #dee2e6;border-radius:4px;max-width:21cm;margin:0 auto;padding:18px 22px 28px;box-shadow:0 2px 10px #0000000f}.bid-doc-formal-wrap.bid-content-formatted{max-width:21cm}.chapter-content .bid-doc-formal-wrap{max-width:100%}.bid-content-formatted h1{color:#111;text-align:center;border:none;margin:28px 0 18px;padding:0;font-family:SimHei,黑体,sans-serif;font-size:22px;font-weight:700}.bid-content-formatted h2{color:#111;border:none;margin:24px 0 14px;padding:0;font-family:SimHei,黑体,sans-serif;font-size:18px;font-weight:700}.bid-content-formatted h3{color:#111;border:none;margin:20px 0 12px;padding:0;font-family:SimHei,黑体,sans-serif;font-size:16px;font-weight:700}.bid-content-formatted h4{color:#111;border:none;margin:16px 0 10px;padding:0;font-family:SimHei,黑体,sans-serif;font-size:15px;font-weight:700}.bid-content-formatted h5{color:#333;border:none;margin:14px 0 8px;padding:0;font-family:SimHei,黑体,sans-serif;font-size:14px;font-weight:700}.bid-content-formatted h6{color:#555;border:none;margin:12px 0 8px;padding:0;font-family:SimHei,黑体,sans-serif;font-size:14px;font-weight:700}.bid-content-formatted p{text-indent:2em;text-align:justify;margin:6px 0;line-height:1.8}.bid-content-formatted li>p,.bid-content-formatted blockquote>p,.bid-content-formatted td>p,.bid-content-formatted th>p{text-indent:0;margin:2px 0}.bid-content-formatted h1+p,.bid-content-formatted h2+p,.bid-content-formatted h3+p,.bid-content-formatted h4+p,.bid-content-formatted h5+p,.bid-content-formatted h6+p{text-indent:2em}.bid-content-formatted strong{color:#111;font-weight:700}#reference .ref-tbodyblk-ooxml-preview,.ref-tbodyblk-ooxml-preview{color:#1a1a1a;text-align:justify;max-width:48em;font-family:SimSun,宋体,Songti SC,STSong,NSimSun,serif;font-size:15px;line-height:1.75}#reference .ref-tbodyblk-ooxml-preview .ref-tbodyblk-p,.ref-tbodyblk-ooxml-preview .ref-tbodyblk-p{text-indent:0;margin:0 0 .4em}#reference .ref-tbodyblk-ooxml-preview .ref-tbodyblk-bold,.ref-tbodyblk-ooxml-preview .ref-tbodyblk-bold,#reference .ref-tbodyblk-ooxml-preview strong.ref-tbodyblk-bold,.ref-tbodyblk-ooxml-preview strong.ref-tbodyblk-bold{color:inherit;font-weight:600}#reference .ref-tbodyblk-ooxml-preview .ref-tbodyblk-table,.ref-tbodyblk-ooxml-preview .ref-tbodyblk-table{font-size:14px}#reference .ref-tbodyblk-ooxml-preview .ref-tbodyblk-td,.ref-tbodyblk-ooxml-preview .ref-tbodyblk-td{vertical-align:top;line-height:1.6}.bid-content-formatted em{font-style:italic}.bid-content-formatted del{color:#999;text-decoration:line-through}.bid-content-formatted ul,.bid-content-formatted ol{margin:8px 0;padding-left:2em;line-height:1.8}.bid-content-formatted ul{list-style-type:disc}.bid-content-formatted ol{list-style-type:decimal}.bid-content-formatted li{margin:4px 0;line-height:1.8}.bid-content-formatted li>ul,.bid-content-formatted li>ol{margin:2px 0}.bid-content-formatted table{border-collapse:collapse;width:100%;margin:12px 0 20px;font-family:SimSun,宋体,Times New Roman,serif;font-size:14px;line-height:1.6}.bid-content-formatted table th{text-align:left;color:#111;background-color:#f6f8fa;border:1px solid #d0d0d0;padding:8px 12px;font-family:SimHei,黑体,sans-serif;font-weight:700}.bid-content-formatted table td{vertical-align:top;text-align:justify;border:1px solid #d0d0d0;padding:8px 12px}.bid-content-formatted table tr:nth-child(2n) td{background-color:#fafbfc}.bid-content-formatted table tr:hover td{background-color:#f0f4f8}.bid-content-formatted pre{background:#f6f8fa;border:1px solid #e1e4e8;border-radius:6px;margin:10px 0;padding:12px 16px;font-family:Consolas,Monaco,Courier New,monospace;font-size:13px;line-height:1.6;overflow-x:auto}.bid-content-formatted pre code{font-size:inherit;background:0 0;border:none;border-radius:0;padding:0}.bid-content-formatted code{color:#c7254e;background:#eff1f3;border-radius:3px;padding:2px 6px;font-family:Consolas,Monaco,Courier New,monospace;font-size:.9em}.bid-content-formatted blockquote{color:#555;background:#f8f8f8;border-left:4px solid #dfe2e5;margin:10px 0;padding:8px 16px}.bid-content-formatted blockquote p{text-indent:0;margin:4px 0}.bid-content-formatted hr{border:none;border-top:1px solid #e1e4e8;margin:20px 0}.bid-content-formatted a{color:#4183c4;text-decoration:none}.bid-content-formatted a:hover{text-decoration:underline}.bid-content-formatted img{border-radius:4px;max-width:100%;height:auto;margin:8px 0}.bid-content-formatted .key-marker{color:#dc3545;font-weight:600}.bid-content-formatted span[style*=color\:]{font-weight:inherit}.bid-content-formatted .bid-red-bold:not([style*=color\:]),.bid-content-formatted span[style*=color\:red],.bid-content-formatted span[style*="color: red"],.bid-content-formatted span[style*="color:red;font-weight:bold"],.bid-content-formatted span[style*="color: red; font-weight: bold"],.bid-content-formatted table .bid-red-bold:not([style*=color\:]),.bid-content-formatted table span[style*=color\:red],.bid-content-formatted table span[style*="color: red"]{color:#dc3545!important;font-weight:700!important}.superior-response-table{border-collapse:collapse;width:100%;margin:16px 0;font-family:SimSun,宋体,Times New Roman,serif;font-size:14px;line-height:1.6}.superior-response-table thead th{color:#fff;text-align:left;background-color:#1a3a5c;border:1px solid #1a3a5c;padding:10px 14px;font-family:SimHei,黑体,sans-serif;font-size:14px;font-weight:700}.superior-response-table tbody td{vertical-align:top;text-align:justify;border:1px solid #dee2e6;padding:10px 14px}.superior-response-table tbody tr:nth-child(2n){background-color:#f8f9fa}.superior-response-table tbody tr:hover{background-color:#e8f4fd}.superior-response-table td span[style*=color\:red],.superior-response-table td .bid-red-bold{color:#dc3545!important;font-weight:700!important}.superior-response-formatted .bid-heading1{text-align:center;border-bottom:none;margin:20px 0 8px;font-size:16px}.superior-response-formatted .bid-paragraph{text-indent:0;text-align:center;color:#1a3a5c;margin:4px 0 12px;font-weight:600}.empty-placeholder{color:#6c757d;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:40px;display:flex}.empty-placeholder svg{opacity:.4}.empty-placeholder span{font-size:14px}.loading-spinner-small{border:2px solid #e9ecef;border-top-color:#dc3545;border-radius:50%;width:16px;height:16px;animation:.8s linear infinite spin;display:inline-block}.result-card{background:#fff;border:1px solid #e9ecef;border-radius:16px;overflow:hidden;box-shadow:0 2px 12px #0000000f}.result-card-header{background:linear-gradient(135deg,#f8f9fa 0%,#fff 100%);border-bottom:1px solid #e9ecef;justify-content:space-between;align-items:center;padding:16px 24px;display:flex}.header-left{align-items:center;gap:8px;display:flex}.result-icon{font-size:1.2rem}.result-title{color:#212529;font-size:1rem;font-weight:600}.header-right{align-items:center;gap:8px;display:flex}.progress-percentage{color:#dc3545;font-size:.85rem;font-weight:600}.result-badge{color:#856404;background:#fff3cd;border-radius:20px;padding:4px 12px;font-size:.8rem;font-weight:500}.result-badge.completed{color:#155724;background:#d4edda}.result-badge.error{color:#721c24;background:#f8d7da}.result-card-body{padding:20px 24px}.content-edit-container{height:100%;min-height:500px;padding:0}.edit-toolbar{background:#f8f9fa;border-radius:8px;justify-content:space-between;align-items:center;margin-bottom:12px;padding:8px 12px;display:flex}.edit-hint{color:#6c757d;font-size:.85rem}.content-textarea{resize:vertical;border:1px solid #dee2e6;border-radius:8px;width:100%;min-height:400px;padding:16px;font-family:SimSun,宋体,serif;font-size:14px;line-height:1.8}.content-textarea:focus{border-color:#dc3545;outline:none;box-shadow:0 0 0 3px #dc35451a}.btn-edit-content,.btn-regenerate-content{color:#6c757d;cursor:pointer;background:#fff;border:1px solid #dee2e6;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;transition:all .2s;display:inline-flex}.btn-edit-content:hover,.btn-regenerate-content:hover{color:#dc3545;background:#dc35450d;border-color:#dc3545}.btn-edit-content.active{color:#fff;background:#dc3545;border-color:#dc3545}.btn-fill-all-bid{color:#1a3a5c;cursor:pointer;background:#fff;border:1px solid #1a3a5c;border-radius:8px;align-items:center;gap:6px;padding:6px 14px;font-size:13px;font-weight:500;transition:all .2s;display:inline-flex}.btn-fill-all-bid:hover{color:#fff;background:#1a3a5c;border-color:#1a3a5c;box-shadow:0 2px 8px #1a3a5c40}.btn-fill-all-bid:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.btn-download-bid{color:#28a745;cursor:pointer;background:#fff;border:1px solid #28a745;border-radius:8px;align-items:center;gap:6px;padding:6px 14px;font-size:13px;font-weight:500;transition:all .2s;display:inline-flex}.btn-download-bid:hover{color:#fff;background:#28a745;border-color:#28a745;box-shadow:0 2px 8px #28a7454d}.btn-download-bid svg{flex-shrink:0}.reading-toolbar{background:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;flex-wrap:wrap;align-items:center;gap:6px 4px;padding:4px 8px;display:flex}.font-size-control{align-items:center;gap:2px;display:flex}.btn-reading-tool{color:#6c757d;cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:4px;align-items:center;gap:3px;padding:4px 8px;font-size:12px;transition:all .15s;display:inline-flex}.btn-reading-tool:hover{color:#495057;background:#e9ecef}.btn-reading-tool.active{color:#007bff;background:#e7f1ff;border-color:#b8d4fe}.toolbar-divider{background:#dee2e6;width:1px;height:20px;margin:0 4px}.bid-font-scale-wrap{align-items:center;gap:8px;padding:0 4px 0 2px;display:inline-flex}.bid-font-scale-label{color:#868e96;white-space:nowrap;font-size:11px}.bid-font-scale-range{accent-color:#007bff;cursor:pointer;width:88px;height:4px}.bid-font-scale-value{color:#495057;text-align:right;font-variant-numeric:tabular-nums;min-width:38px;font-size:11px;font-weight:600}.night-mode .result-content,.night-mode .chapter-content{color:#e0e0e0;background:#1a1a2e;border-color:#2d2d44}.night-mode .bid-content-formatted{color:#e0e0e0}.night-mode .bid-heading1,.night-mode .bid-heading2{color:#8ab4f8;border-color:#3d3d5c}.night-mode .bid-heading3{color:#a8c7fa}.night-mode .chapter-header{background:#16213e;border-color:#2d2d44}.night-mode .chapter-title{color:#e0e0e0}.night-mode .result-card-header{background:linear-gradient(135deg,#16213e 0%,#1a1a2e 100%)}.night-mode .result-title{color:#e0e0e0}.night-mode .chapter-content::-webkit-scrollbar-track{background:#2d2d44}.night-mode .result-content::-webkit-scrollbar-track{background:#2d2d44}.night-mode .chapter-content::-webkit-scrollbar-thumb{background:#4a4a6a}.night-mode .result-content::-webkit-scrollbar-thumb{background:#4a4a6a}#step4,#fd-step4{--bid-read-pct:100}#step4.font-size-small,#fd-step4.font-size-small{--bid-body:13;--bid-h1:15;--bid-h2:14;--bid-h3:13;--bid-doc-title:16;--bid-toc:12;--bid-toc-l1:12.5;--bcs-body:13;--bcs-h1:19;--bcs-h2:16;--bcs-h3:14;--bcs-h4:13;--bcs-h5:12;--bcs-h6:11.7;--bcs-table:12;--bcs-pre:11}#step4.font-size-medium,#fd-step4.font-size-medium{--bid-body:15;--bid-h1:17;--bid-h2:16;--bid-h3:15;--bid-doc-title:18;--bid-toc:13;--bid-toc-l1:13.5;--bcs-body:15;--bcs-h1:22;--bcs-h2:18;--bcs-h3:16;--bcs-h4:15;--bcs-h5:14;--bcs-h6:13.5;--bcs-table:14;--bcs-pre:13}#step4.font-size-large,#fd-step4.font-size-large{--bid-body:17;--bid-h1:19;--bid-h2:18;--bid-h3:17;--bid-doc-title:20;--bid-toc:14;--bid-toc-l1:14.5;--bcs-body:17;--bcs-h1:25;--bcs-h2:20;--bcs-h3:18;--bcs-h4:17;--bcs-h5:16;--bcs-h6:15;--bcs-table:16;--bcs-pre:15}#step4 .bid-content-formatted,#step4 .chapter-content-inner,#fd-step4 .bid-content-formatted,#fd-step4 .chapter-content-inner,#fd-step4 .bid-chapter-body,#fd-step4 .chapter-card-body{font-size:calc(var(--bid-body,15) * var(--bid-read-pct) / 100 * 1px)}#step4 .bid-heading1,#fd-step4 .bid-heading1{font-size:calc(var(--bid-h1,17) * var(--bid-read-pct) / 100 * 1px)}#step4 .bid-heading2,#fd-step4 .bid-heading2{font-size:calc(var(--bid-h2,16) * var(--bid-read-pct) / 100 * 1px)}#step4 .bid-heading3,#fd-step4 .bid-heading3{font-size:calc(var(--bid-h3,15) * var(--bid-read-pct) / 100 * 1px)}#step4.font-size-large .bid-paragraph,#fd-step4.font-size-large .bid-paragraph{line-height:2}#step4 .bid-content-scope .bid-doc-formal-wrap,#step4 .bid-content-scope .bid-content-formatted,#fd-step4 .bid-content-scope .bid-doc-formal-wrap,#fd-step4 .bid-content-scope .bid-content-formatted{font-size:calc(var(--bcs-body,15) * var(--bid-read-pct) / 100 * 1px)!important}#step4 .bid-content-scope h1,#step4 .bid-content-scope .bid-content-formatted h1,#step4 .bid-content-scope .bid-doc-formal-wrap h1,#fd-step4 .bid-content-scope h1,#fd-step4 .bid-content-scope .bid-content-formatted h1,#fd-step4 .bid-content-scope .bid-doc-formal-wrap h1{font-size:calc(var(--bcs-h1,22) * var(--bid-read-pct) / 100 * 1px)!important}#step4 .bid-content-scope h2,#step4 .bid-content-scope .bid-content-formatted h2,#step4 .bid-content-scope .bid-doc-formal-wrap h2,#step4 .bid-content-scope .bid-heading1,#fd-step4 .bid-content-scope h2,#fd-step4 .bid-content-scope .bid-content-formatted h2,#fd-step4 .bid-content-scope .bid-doc-formal-wrap h2,#fd-step4 .bid-content-scope .bid-heading1{font-size:calc(var(--bcs-h2,18) * var(--bid-read-pct) / 100 * 1px)!important}#step4 .bid-content-scope h3,#step4 .bid-content-scope .bid-content-formatted h3,#step4 .bid-content-scope .bid-doc-formal-wrap h3,#step4 .bid-content-scope .bid-heading2,#fd-step4 .bid-content-scope h3,#fd-step4 .bid-content-scope .bid-content-formatted h3,#fd-step4 .bid-content-scope .bid-doc-formal-wrap h3,#fd-step4 .bid-content-scope .bid-heading2{font-size:calc(var(--bcs-h3,16) * var(--bid-read-pct) / 100 * 1px)!important}#step4 .bid-content-scope h4,#step4 .bid-content-scope .bid-content-formatted h4,#step4 .bid-content-scope .bid-doc-formal-wrap h4,#step4 .bid-content-scope .bid-heading3,#fd-step4 .bid-content-scope h4,#fd-step4 .bid-content-scope .bid-content-formatted h4,#fd-step4 .bid-content-scope .bid-doc-formal-wrap h4,#fd-step4 .bid-content-scope .bid-heading3{font-size:calc(var(--bcs-h4,15) * var(--bid-read-pct) / 100 * 1px)!important}#step4 .bid-content-scope h5,#step4 .bid-content-scope .bid-content-formatted h5,#step4 .bid-content-scope .bid-doc-formal-wrap h5,#fd-step4 .bid-content-scope h5,#fd-step4 .bid-content-scope .bid-content-formatted h5,#fd-step4 .bid-content-scope .bid-doc-formal-wrap h5{font-size:calc(var(--bcs-h5,14) * var(--bid-read-pct) / 100 * 1px)!important}#step4 .bid-content-scope h6,#step4 .bid-content-scope .bid-content-formatted h6,#step4 .bid-content-scope .bid-doc-formal-wrap h6,#fd-step4 .bid-content-scope h6,#fd-step4 .bid-content-scope .bid-content-formatted h6,#fd-step4 .bid-content-scope .bid-doc-formal-wrap h6{font-size:calc(var(--bcs-h6,13.5) * var(--bid-read-pct) / 100 * 1px)!important}#step4 .bid-content-scope p,#step4 .bid-content-scope .bid-content-formatted p,#step4 .bid-content-scope .bid-doc-formal-wrap p,#step4 .bid-content-scope .bid-paragraph,#fd-step4 .bid-content-scope p,#fd-step4 .bid-content-scope .bid-content-formatted p,#fd-step4 .bid-content-scope .bid-doc-formal-wrap p,#fd-step4 .bid-content-scope .bid-paragraph{font-size:calc(var(--bcs-body,15) * var(--bid-read-pct) / 100 * 1px)!important}#step4 .bid-content-scope table,#step4 .bid-content-scope .bid-content-formatted table,#fd-step4 .bid-content-scope table,#fd-step4 .bid-content-scope .bid-content-formatted table{font-size:calc(var(--bcs-table,14) * var(--bid-read-pct) / 100 * 1px)!important}#step4 .bid-content-scope pre,#step4 .bid-content-scope .bid-content-formatted pre,#fd-step4 .bid-content-scope pre,#fd-step4 .bid-content-scope .bid-content-formatted pre{font-size:calc(var(--bcs-pre,13) * var(--bid-read-pct) / 100 * 1px)!important}.outline-formatted{color:#1a1a1a;font-family:SimSun,宋体,serif;font-size:14px;line-height:2}.outline-level1{color:#1a3a5c;font-size:15px}.outline-level2{color:#2c5282}.outline-level3{color:#4a5568}.page-count{color:#dc3545;font-size:.85em}.outline-status{color:#856404;background:#fff3cd;border-radius:20px;padding:4px 12px;font-size:.8rem;font-weight:500}.outline-status.generating{color:#004085;background:#cce5ff}.outline-status.completed,.outline-status.strategy-done{color:#155724;background:#d4edda}.outline-status.error{color:#721c24;background:#f8d7da}.outline-status.ready{color:#155724;background:#d4edda}.outline-strategy-header{border-bottom:1px solid #e9ecef;justify-content:space-between;align-items:center;margin-bottom:12px;padding-bottom:12px;display:flex}.strategy-hint{color:#6c757d;flex:1;font-size:.85rem}.btn-generate-strategy,.btn-generate-outline,.btn-regenerate-outline{color:#fff;cursor:pointer;white-space:nowrap;box-sizing:border-box;background:linear-gradient(135deg,#dc2626 0%,#b91c1c 100%);border:none;border-radius:8px;align-items:center;gap:6px;padding:8px 16px;font-size:.85rem;font-weight:500;line-height:1.25;transition:all .3s;display:inline-flex}.btn-generate-strategy:hover:not(:disabled),.btn-generate-outline:hover:not(:disabled),.btn-regenerate-outline:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #dc262666}.btn-generate-strategy:disabled,.btn-generate-outline:disabled,.btn-regenerate-outline:disabled{cursor:not-allowed;opacity:.7;box-shadow:none;background:#6c757d;transform:none}.btn-generate-strategy svg,.btn-generate-outline svg,.btn-regenerate-outline svg{flex-shrink:0}.strategy-status-bar{margin-bottom:12px}.strategy-status{color:#856404;background:#fff3cd;border-radius:20px;padding:4px 12px;font-size:.8rem;font-weight:500}.strategy-status.generating{color:#004085;background:#cce5ff}.strategy-status.completed{color:#155724;background:#d4edda}.strategy-status.error{color:#721c24;background:#f8d7da}.strategy-status.waiting{color:#383d41;background:#e2e3e5}.generation-summary{background:#f8f9fa;border-radius:10px;margin-bottom:16px;padding:16px 20px}.summary-stats{flex-wrap:wrap;gap:20px;display:flex}.stat-item{color:#495057;font-size:.85rem}.page-info-ok{color:#28a745}.page-info-low{color:#ffc107}.page-info-high{color:#dc3545}.result-actions{border-top:1px solid #e9ecef;justify-content:center;gap:12px;margin-top:20px;padding-top:16px;display:flex}.btn-download{color:#fff;cursor:pointer;background:linear-gradient(135deg,#28a745 0%,#218838 100%);border:none;border-radius:10px;align-items:center;gap:8px;padding:10px 20px;font-weight:600;transition:all .3s;display:inline-flex}.btn-download:hover{transform:translateY(-2px);box-shadow:0 4px 12px #28a7454d}.original-content-viewer{word-break:normal;word-wrap:break-word;color:#1a1a1a;text-align:justify;text-indent:2em;letter-spacing:.05em;background:#fff;border:1px solid #e9ecef;border-radius:8px;max-height:500px;padding:0;font-family:SimSun,宋体,Times New Roman,serif;font-size:14px;line-height:2;overflow-y:auto}.original-content-viewer.text-mode{padding:0}.outline-strategy-textarea{color:#212529;resize:vertical;background:#fff;border:1px solid #dee2e6;border-radius:8px;width:100%;min-height:280px;padding:14px 16px;font-family:inherit;font-size:13px;line-height:1.8;transition:border-color .2s,background-color .2s}.outline-strategy-textarea:focus{border-color:#dc3545;outline:none;box-shadow:0 0 0 3px #dc35451a}.outline-strategy-textarea:disabled{color:#6c757d;cursor:not-allowed;background:#f8f9fa;border-color:#e9ecef}.outline-edit-container{padding:16px}.error-message{color:#dc3545;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:40px;display:flex}.result-content-inner{padding:20px}.step3-split-layout{box-sizing:border-box;align-items:stretch;gap:20px;height:auto;min-height:500px;max-height:calc(100vh - 200px);display:flex}.step3-left-panel{background:#fff;border:1px solid #e9ecef;border-radius:16px;flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;overflow:hidden;box-shadow:0 2px 12px #0000000f}.step3-right-panel{background:#fff;border:1px solid #e9ecef;border-radius:16px;flex-direction:column;flex:1;min-width:0;display:flex;position:relative;overflow:hidden;box-shadow:0 2px 12px #0000000f}.step3-left-body,.step3-right-body{flex-direction:column;flex:1;gap:12px;min-height:200px;padding:12px;display:flex;overflow-y:auto}#fd-step3 .step3-right-body{gap:0;min-height:0;padding:0;overflow:hidden}#fd-step3 .step3-left-body{min-height:0}.step3-left-body::-webkit-scrollbar{width:6px}.step3-right-body::-webkit-scrollbar{width:6px}.chapter-strategy-card-body::-webkit-scrollbar{width:6px}.chapter-outline-card-body::-webkit-scrollbar{width:6px}.step3-left-body::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.step3-right-body::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.chapter-strategy-card-body::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.chapter-outline-card-body::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.step3-right-panel .outline-section{flex-direction:column;flex:1;min-height:0;display:flex}.step3-right-panel .outline-display-card{box-shadow:none;background:0 0;border:none;border-radius:0;flex-direction:column;flex:1;display:flex}.step3-right-panel .outline-card-body{flex:1;min-height:0;padding-bottom:8px;overflow-y:auto}.step3-right-panel .outline-card-header{background:linear-gradient(135deg,#f8f9fa 0%,#fff 100%);border-bottom:2px solid #e9ecef;flex-shrink:0;justify-content:space-between;align-items:center;min-height:48px;padding:0 12px;display:flex}.step3-right-panel .outline-card-header .header-left{align-items:center;gap:8px;display:flex}.step3-right-panel .outline-card-header .header-title{color:#212529;font-size:14px;font-weight:600}.step3-right-panel .outline-card-header .header-icon{font-size:16px}.step3-right-panel .outline-card-header .header-right{align-items:center;gap:8px;display:flex}.step3-left-panel .sub-tabs-nav{background:linear-gradient(135deg,#f8f9fa 0%,#fff 100%);border-bottom:2px solid #e9ecef;flex-shrink:0;justify-content:space-between;align-items:center;min-height:48px;margin-bottom:0;padding:0 12px;display:flex}.sub-tabs-left{align-items:center;gap:4px;display:flex}.sub-tabs-right{align-items:center;gap:12px;display:flex}.sub-tabs-right .strategy-status-bar{margin-bottom:0}.sub-tabs-right .btn-generate-strategy,.step3-right-panel .outline-card-header .header-right .btn-generate-outline{padding:6px 12px;font-size:.8rem}.step3-right-panel .outline-card-header .header-right .outline-status{margin-bottom:0}.sub-tabs-right.hidden{display:none}.step3-left-panel .sub-tabs-content{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.step3-left-panel .sub-tab-panel{flex:1;min-height:0;display:none;overflow:hidden}.step3-left-panel .sub-tab-panel.active{flex-direction:column;flex:auto;display:flex;overflow:hidden}.step3-left-panel .sub-tab-panel-inner{box-sizing:border-box;flex-direction:column;flex:1;min-height:0;padding:12px;display:flex;overflow:hidden}.step3-left-panel .outline-strategy-textarea{resize:none;flex:1;min-height:0}.step3-left-panel .original-content-viewer{background:linear-gradient(#fcfcfd 0%,#fff 40%);border-color:#e8eaed;border-radius:12px;flex-direction:column;flex:1;min-height:min(420px,52vh);max-height:none;display:flex;overflow:hidden;box-shadow:inset 0 1px #ffffffe6}.step3-left-panel .original-content-viewer .doc-viewer-container,.step3-left-panel .original-content-viewer .preview-loading,.step3-left-panel .original-content-viewer .preview-error,.step3-left-panel .original-content-viewer .original-content-doc-viewer,.step3-left-panel .original-content-viewer .fd-tender-file-preview{flex:1;min-height:0}.step3-left-panel .original-content-viewer .original-content-doc-viewer{flex-direction:column;display:flex;overflow:hidden}.step3-left-panel .original-content-viewer>.empty-placeholder{flex:1;min-height:240px}.step3-left-panel .subtab-content-display{background:#fafbfc;border-radius:8px;flex:1;max-height:520px;padding:16px;line-height:1.8;overflow-y:auto}.step3-left-panel .subtab-content-display::-webkit-scrollbar{width:6px}.step3-left-panel .subtab-content-display::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.step3-left-panel .subtab-content-display::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.step3-left-panel .subtab-content-display::-webkit-scrollbar-thumb:hover{background:#a1a1a1}@media (width<=1023px){.step3-split-layout{flex-direction:column;height:auto;max-height:none}.step3-left-panel,.step3-right-panel{max-height:500px}}@media (width<=767px){.step3-split-layout{flex-direction:column;gap:12px;padding:8px}.chapter-strategy-card-header,.chapter-outline-card-header{flex-wrap:wrap;gap:6px}.chapter-strategy-card-actions,.chapter-outline-card-actions{margin-left:auto}}@media (width<=768px){.step-nav-modern{flex-wrap:wrap;gap:12px;padding:12px 16px}.step-nav-item{padding:6px 10px}.step-nav-indicator{width:36px;height:36px}.step-nav-label{font-size:.75rem}.style-settings-container{flex-direction:column}.style-settings-left,.style-settings-right{padding:0}.style-settings-divider{width:100%;height:1px}}.btn-edit-result{color:#495057;cursor:pointer;background:#fff;border:1px solid #dee2e6;border-radius:8px;align-items:center;gap:6px;padding:6px 12px;font-size:.8rem;transition:all .2s;display:inline-flex}.btn-edit-result:hover{color:#dc3545;border-color:#dc3545}.btn-edit-result.save-mode{color:#fff;background:#dc3545;border-color:#dc3545}.supplement-progress{color:#6c757d;justify-content:center;align-items:center;gap:8px;padding:16px;font-size:14px;display:flex}.setup-form-section{background:#fff;border:1px solid #e9ecef;border-radius:16px;padding:24px;box-shadow:0 2px 12px #0000000f}.step-content{flex-direction:column;display:flex}#step1 .setup-form-section,#fd-step1 .setup-form-section{padding:20px}#step1 .form-grid,#fd-step1 .form-grid{grid-template-columns:1fr 1fr;gap:20px;display:grid}#step1 .form-group-modern.full-width,#fd-step1 .form-group-modern.full-width{grid-column:span 2}.form-grid{grid-template-columns:repeat(2,1fr);gap:24px;display:grid}@media (width<=768px){.form-grid{grid-template-columns:1fr}}.form-group-modern{flex-direction:column;gap:8px;display:flex}.form-group-modern.full-width{grid-column:1/-1}.form-label-modern{color:#212529;align-items:center;gap:8px;font-size:.95rem;font-weight:600;display:flex}.label-icon{font-size:1rem}.label-required{color:#dc3545;font-size:.8rem}.form-control-modern{background:#fff;border:1px solid #dee2e6;border-radius:10px;width:100%;padding:12px 16px;font-size:.95rem;transition:all .3s}.form-control-modern:focus{border-color:#6366f1;outline:none;box-shadow:0 0 0 3px #6366f11a}.form-hint{color:#6c757d;font-size:.8rem}.slider-container{align-items:center;gap:16px;display:flex}.slider-modern{-webkit-appearance:none;cursor:pointer;background:linear-gradient(90deg,#e9ecef 0%,#dee2e6 100%);border-radius:4px;outline:none;flex:1;height:8px;transition:background .15s}.slider-modern::-webkit-slider-thumb{-webkit-appearance:none;cursor:pointer;background:linear-gradient(135deg,#6366f1 0%,#4f46e5 100%);border-radius:50%;width:24px;height:24px;transition:transform .15s,box-shadow .15s;box-shadow:0 2px 8px #6366f14d}.slider-modern::-webkit-slider-thumb:hover{transform:scale(1.15);box-shadow:0 4px 12px #6366f166}.slider-modern::-webkit-slider-thumb:active{transform:scale(1.1);box-shadow:0 2px 8px #6366f180}.slider-modern::-moz-range-thumb{cursor:pointer;background:linear-gradient(135deg,#6366f1 0%,#4f46e5 100%);border:none;border-radius:50%;width:24px;height:24px;transition:transform .15s,box-shadow .15s;box-shadow:0 2px 8px #6366f14d}.slider-modern::-moz-range-thumb:hover{transform:scale(1.15);box-shadow:0 4px 12px #6366f166}.slider-value-display{background:linear-gradient(135deg,#f0f0ff 0%,#e8e8ff 100%);border-radius:8px;justify-content:center;align-items:baseline;gap:4px;min-width:80px;padding:8px 16px;display:flex}.value-number{color:#4f46e5;font-size:1.25rem;font-weight:700}.value-unit{color:#6c757d;font-size:.85rem}.slider-marks{color:#adb5bd;justify-content:space-between;margin-top:4px;font-size:.75rem;display:flex}.bid-pages-label-row{flex-wrap:wrap;align-items:baseline;gap:8px 14px;margin-bottom:10px;display:flex}.bid-pages-label-row .label-text{flex-shrink:0}.bid-pages-hint-dynamic{color:#94a3b8;flex:1;min-width:200px;font-size:.8rem;font-weight:400;line-height:1.5}.bid-pages-slider-shell{--bp-fill:33.33%;margin-top:4px;padding-top:30px;position:relative}.bid-pages-slider-row{width:100%}.bid-pages-slider-row .slider-modern--bid-pages{background:0 0;border-radius:999px;flex:1;width:100%;height:8px}.bid-pages-slider-row .slider-modern--bid-pages::-webkit-slider-runnable-track{background:linear-gradient(90deg, #3b82f6 0%, #3b82f6 var(--bp-fill,33%), #e2e8f0 var(--bp-fill,33%), #f1f5f9 100%);border-radius:999px;height:8px}.bid-pages-slider-row .slider-modern--bid-pages::-webkit-slider-thumb{-webkit-appearance:none;cursor:grab;background:#fff linear-gradient(90deg,#0000 45%,#cbd5e1 45% 48%,#0000 48% 52%,#cbd5e1 52% 55%,#0000 55%);border:1px solid #e2e8f0;border-radius:50%;width:22px;height:22px;margin-top:-7px;box-shadow:0 2px 8px #0f172a1f}.bid-pages-slider-row .slider-modern--bid-pages::-webkit-slider-thumb:active{cursor:grabbing}.bid-pages-slider-row .slider-modern--bid-pages::-moz-range-track{background:linear-gradient(90deg, #3b82f6 0%, #3b82f6 var(--bp-fill,33%), #e2e8f0 var(--bp-fill,33%), #f1f5f9 100%);border-radius:999px;height:8px}.bid-pages-slider-row .slider-modern--bid-pages::-moz-range-thumb{cursor:grab;background:#fff;border:1px solid #e2e8f0;border-radius:50%;width:22px;height:22px;box-shadow:0 2px 8px #0f172a1f}.bid-pages-slider-tooltip{color:#fff;pointer-events:none;white-space:nowrap;background:#3b82f6;border-radius:6px;padding:5px 11px;font-size:.8rem;font-weight:600;line-height:1.2;position:absolute;top:0;transform:translate(-50%);box-shadow:0 2px 8px #3b82f659}.bid-pages-slider-tooltip:after{content:"";border:5px solid #0000;border-top-color:#3b82f6;border-bottom-width:0;margin-left:-5px;position:absolute;bottom:-5px;left:50%}.bid-pages-scale-row{color:#94a3b8;height:1.35rem;margin-top:10px;font-size:.65rem;position:relative}.bid-pages-scale-row span{white-space:nowrap;position:absolute;transform:translate(-50%)}.input-section-compact{background:#fff;border:1px solid #e9ecef;border-radius:14px;margin-bottom:16px;padding:20px;box-shadow:0 1px 4px #0000000a}.type-selector-compact{border-bottom:1px solid #f3f4f6;align-items:center;gap:12px;margin-bottom:12px;padding-bottom:12px;display:flex}.compact-label{color:#374151;white-space:nowrap;font-size:.85rem;font-weight:600}.compact-options{gap:8px;display:flex}.compact-option{cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:8px;align-items:center;gap:4px;padding:6px 12px;transition:all .2s;display:flex}.compact-option input{display:none}.compact-option:hover{background:#fff5f5;border-color:#dc3545}.compact-option.active{background:linear-gradient(135deg,#dc3545 0%,#c82333 100%);border-color:#dc3545}.compact-option.active .option-icon,.compact-option.active .option-text{color:#fff}.option-icon{font-size:1rem}.option-text{color:#4b5563;font-size:.8rem;font-weight:500}.compact-hint{color:#9ca3af;margin-left:auto;font-size:.75rem}.file-input-compact{flex-direction:column;gap:12px;display:flex}.file-input-row{align-items:center;gap:12px;display:flex}.upload-area-compact,.paste-area-compact,.history-area-compact{cursor:pointer;-webkit-user-select:none;user-select:none;background:#fafbfc;border:2px dashed #e5e7eb;border-radius:12px;flex:1;align-items:center;gap:8px;padding:10px 16px;transition:all .2s;display:flex}.upload-area-compact input,.paste-area-compact input,.history-area-compact input{display:none}.upload-area-compact:hover,.paste-area-compact:hover,.history-area-compact:hover{background:#f8fafc;border-color:#cbd5e1}.upload-area-compact:active,.paste-area-compact:active,.history-area-compact:active{background:#ffe5e5;transform:scale(.98)}.upload-area-compact.selected,.paste-area-compact.selected,.history-area-compact.selected{background:#fef2f2;border-style:solid;border-color:#dc3545}.upload-label,.paste-label,.history-label{cursor:pointer;pointer-events:none;align-items:center;gap:8px;display:flex}.step3-btn{cursor:pointer;white-space:nowrap;-webkit-user-select:none;user-select:none;border:1px solid #0000;border-radius:8px;align-items:center;gap:6px;padding:8px 16px;font-size:.85rem;font-weight:500;line-height:1.4;transition:all .25s;display:inline-flex}.step3-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #00000026}.step3-btn:active:not(:disabled){transform:translateY(0)}.step3-btn:disabled{cursor:not-allowed;opacity:.55}.step3-btn svg{flex-shrink:0;width:16px;height:16px}.step3-btn-primary{color:#fff;background:linear-gradient(135deg,#dc2626 0%,#b91c1c 100%)}.step3-btn-primary:hover:not(:disabled){box-shadow:0 4px 16px #dc262673}.step3-btn-secondary{color:#475569;background:#fff;border-color:#e2e8f0}.step3-btn-secondary:hover:not(:disabled){color:#1e293b;background:#f8fafc;border-color:#cbd5e1}.step3-btn-danger{color:#dc2626;background:#fff;border-color:#fecaca}.step3-btn-danger:hover:not(:disabled){background:#fef2f2;border-color:#fca5a5}.step3-btn-icon{justify-content:center;width:32px;height:32px;padding:0}.upload-label svg,.paste-label svg,.history-label svg{color:#6b7280}.upload-area-compact.selected svg,.paste-area-compact.selected svg,.history-area-compact.selected svg,.upload-area-compact.selected .upload-label,.paste-area-compact.selected .paste-label,.history-area-compact.selected .history-label{color:#dc3545}.upload-label span,.paste-label span,.history-label span{color:#374151;font-size:.85rem;font-weight:500}.upload-area-compact input[type=file]{opacity:0;width:0;height:0;position:absolute}.file-name-display{color:#10b981;pointer-events:none;margin-left:8px;font-size:.75rem}.btn-parse-compact{color:#fff;cursor:pointer;white-space:nowrap;background:linear-gradient(135deg,#dc3545 0%,#c82333 100%);border:none;border-radius:10px;align-items:center;gap:6px;padding:10px 20px;font-size:.85rem;font-weight:600;transition:all .2s;display:flex}.btn-parse-compact:hover{transform:translateY(-1px);box-shadow:0 4px 12px #dc35454d}.btn-parse-compact.btn-disabled,.btn-parse-compact:disabled{opacity:.55;cursor:not-allowed;box-shadow:none;transform:none}.paste-textarea-container{margin-top:8px}.paste-textarea-compact{resize:vertical;border:1px solid #e5e7eb;border-radius:8px;width:100%;min-height:100px;padding:12px;font-size:.85rem;transition:all .2s}.paste-textarea-compact:focus{border-color:#dc3545;outline:none;box-shadow:0 0 0 3px #dc35451a}@media (width<=768px){.type-selector-compact{flex-direction:column;align-items:flex-start;gap:8px}.compact-hint{margin-left:0}.file-input-row{flex-direction:column;align-items:stretch}.upload-area-compact,.paste-area-compact{width:100%}.btn-parse-compact{justify-content:center;width:100%}}.insufficient-balance-modal{z-index:10000;opacity:0;justify-content:center;align-items:center;width:100%;height:100%;transition:opacity .3s;display:flex;position:fixed;top:0;left:0}.insufficient-balance-modal.show{opacity:1}.insufficient-balance-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#00000080;width:100%;height:100%;position:absolute;top:0;left:0}.insufficient-balance-content{text-align:center;background:#fff;border-radius:16px;width:90%;max-width:420px;padding:32px;transition:transform .3s;position:relative;transform:scale(.9);box-shadow:0 20px 60px #0000004d}.insufficient-balance-modal.show .insufficient-balance-content{transform:scale(1)}.insufficient-balance-icon{color:#d68910;background:linear-gradient(135deg,#fff3cd 0%,#ffeaa7 100%);border-radius:50%;justify-content:center;align-items:center;width:80px;height:80px;margin:0 auto 20px;display:flex}.insufficient-balance-title{color:#2c3e50;margin:0 0 12px;font-size:1.5rem;font-weight:700}.insufficient-balance-message{color:#6c757d;margin:0 0 24px;font-size:1rem;line-height:1.6}.insufficient-balance-details{background:#f8f9fa;border-radius:12px;margin-bottom:24px;padding:16px}.balance-detail-row{border-bottom:1px solid #e9ecef;justify-content:space-between;align-items:center;padding:8px 0;display:flex}.balance-detail-row:last-child{border-bottom:none}.balance-detail-row.highlight{background:#fff3cd;border-radius:0 0 12px 12px;margin:8px -16px -16px;padding:12px 16px}.balance-label{color:#6c757d;font-size:.9rem}.balance-value{font-size:1rem;font-weight:600}.balance-value.current{color:#28a745}.balance-value.required{color:#007bff}.balance-value.shortfall{color:#dc3545;font-size:1.1rem}.insufficient-balance-actions{justify-content:center;gap:12px;display:flex}.btn-recharge{color:#fff;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);border-radius:10px;align-items:center;gap:8px;padding:12px 24px;font-size:1rem;font-weight:600;text-decoration:none;transition:all .3s;display:inline-flex}.btn-recharge:hover{color:#fff;transform:translateY(-2px);box-shadow:0 4px 15px #667eea66}.btn-close-modal{color:#495057;cursor:pointer;background:#e9ecef;border:none;border-radius:10px;padding:12px 24px;font-size:1rem;font-weight:500;transition:all .3s}.btn-close-modal:hover{background:#dee2e6}.estimate-info-bar{background:linear-gradient(135deg,#f8f9fa 0%,#fff 100%);border:1px solid #e9ecef;border-radius:8px;align-items:center;gap:12px;margin-bottom:12px;padding:10px 16px;font-size:.85rem;display:flex}.estimate-label{color:#6c757d}.estimate-value{color:#007bff;font-weight:600}.estimate-balance{color:#6c757d;margin-left:auto}.estimate-status{border-radius:12px;padding:2px 8px;font-size:.75rem;font-weight:500}.estimate-status.sufficient{color:#155724;background:#d4edda}.estimate-status.insufficient{color:#721c24;background:#f8d7da}.confirm-deduct-modal,#estimating-modal.confirm-deduct-modal{z-index:10001;opacity:0;justify-content:center;align-items:center;width:100%;height:100%;transition:opacity .3s;display:flex;position:fixed;top:0;left:0}.confirm-deduct-modal.show,#estimating-modal.confirm-deduct-modal.show{opacity:1}#confirm-deduct-modal .confirm-deduct-overlay,#estimating-modal .confirm-deduct-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#00000080;width:100%;height:100%;position:absolute;top:0;left:0}#confirm-deduct-modal .confirm-deduct-content,#estimating-modal .confirm-deduct-content{z-index:1;text-align:center;box-sizing:border-box;background:#fff;border-radius:16px;width:90%;max-width:420px;padding:32px;transition:transform .3s;position:relative;transform:scale(.9);box-shadow:0 20px 60px #0000004d}#confirm-deduct-modal.show .confirm-deduct-content,#estimating-modal.show .confirm-deduct-content{transform:scale(1)}#confirm-deduct-modal .confirm-deduct-icon,#estimating-modal .confirm-deduct-icon{width:80px;height:80px;color:var(--primary-color,#dc3545);background:linear-gradient(135deg,#fde8ea 0%,#f8d7da 100%);border-radius:50%;justify-content:center;align-items:center;margin:0 auto 20px;display:flex}#confirm-deduct-modal .confirm-deduct-title,#estimating-modal .confirm-deduct-title{color:#2c3e50;margin:0 0 12px;font-size:1.5rem;font-weight:700}#confirm-deduct-modal .confirm-deduct-message,#estimating-modal .confirm-deduct-message{color:#6c757d;margin:0 0 24px;font-size:1rem;line-height:1.6}#confirm-deduct-modal .confirm-deduct-details,#estimating-modal .confirm-deduct-details{text-align:left;background:#f8f9fa;border-radius:12px;margin-bottom:16px;padding:16px}#confirm-deduct-modal .deduct-detail-row,#estimating-modal .deduct-detail-row{border-bottom:1px solid #e9ecef;justify-content:space-between;align-items:center;padding:8px 0;display:flex}#confirm-deduct-modal .deduct-detail-row:last-child,#estimating-modal .deduct-detail-row:last-child{border-bottom:none}#confirm-deduct-modal .deduct-label,#estimating-modal .deduct-label{color:#6c757d;font-size:.9rem}#confirm-deduct-modal .deduct-value,#estimating-modal .deduct-value{font-size:1rem;font-weight:600}#confirm-deduct-modal .deduct-value.consume,#estimating-modal .deduct-value.consume{color:#dc3545}#confirm-deduct-modal .deduct-value.current,#estimating-modal .deduct-value.current{color:#28a745}#confirm-deduct-modal .deduct-value.after,#estimating-modal .deduct-value.after{color:#007bff}#confirm-deduct-modal .confirm-deduct-hint,#estimating-modal .confirm-deduct-hint{color:#868e96;margin:0 0 20px;font-size:.85rem;line-height:1.5}#confirm-deduct-modal .confirm-deduct-actions,#estimating-modal .confirm-deduct-actions{flex-wrap:wrap;justify-content:center;gap:12px;display:flex}#confirm-deduct-modal .btn-confirm-deduct,#estimating-modal .btn-confirm-deduct{background:linear-gradient(135deg, var(--primary-color,#dc3545) 0%, var(--primary-hover,#c82333) 100%);color:#fff;cursor:pointer;border:none;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:12px 24px;font-size:1rem;font-weight:600;transition:all .3s;display:inline-flex}#confirm-deduct-modal .btn-confirm-deduct:hover:not(:disabled),#estimating-modal .btn-confirm-deduct:hover:not(:disabled){box-shadow:0 4px 15px color-mix(in srgb, var(--primary-color,#dc3545) 40%, transparent);transform:translateY(-2px)}#confirm-deduct-modal .btn-confirm-deduct:disabled,#estimating-modal .btn-confirm-deduct:disabled{opacity:.75;cursor:wait}#confirm-deduct-modal .btn-cancel-deduct,#estimating-modal .btn-cancel-deduct{color:#495057;cursor:pointer;background:#e9ecef;border:none;border-radius:10px;padding:12px 24px;font-size:1rem;font-weight:500;transition:all .3s}#confirm-deduct-modal .btn-cancel-deduct:hover,#estimating-modal .btn-cancel-deduct:hover{background:#dee2e6}.original-content-viewer{background:#f8f9fa;border-radius:8px;height:100%;overflow:hidden}.preview-loading{color:#6c757d;flex-direction:column;justify-content:center;align-items:center;gap:12px;height:100%;display:flex}.preview-error{color:#dc3545;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;height:100%;padding:20px;display:flex}.preview-error svg{opacity:.6}.preview-hint{color:#6c757d;margin-top:8px;font-size:.85rem}.doc-viewer-container{background:#f0f2f5;border-radius:8px;flex-direction:column;height:100%;display:flex;overflow:hidden}.doc-viewer-toolbar{background:linear-gradient(135deg,#f8f9fa 0%,#fff 100%);border-bottom:1px solid #e9ecef;flex-shrink:0;justify-content:space-between;align-items:center;height:44px;min-height:44px;padding:8px 16px;display:flex;box-shadow:0 1px 3px #0000000d}.toolbar-left{flex-shrink:0;align-items:center;gap:10px;display:flex}.doc-filename-badge{color:#2c3e50;text-overflow:ellipsis;white-space:nowrap;background:#0000000a;border:1px solid #0000000f;border-radius:4px;align-items:center;max-width:160px;height:28px;padding:5px 10px;font-size:.82rem;font-weight:500;display:flex;overflow:hidden}.doc-file-size-badge{color:#6c757d;background:#00000008;border-radius:4px;align-items:center;height:28px;padding:5px 8px;font-size:.7rem;display:flex}.toolbar-center{flex:1;justify-content:center;align-items:center;gap:8px;display:flex}.nav-controls{background:#00000008;border:1px solid #0000000f;border-radius:4px;align-items:center;gap:2px;height:28px;padding:3px 6px;display:flex}.nav-btn{cursor:pointer;color:#6c757d;background:0 0;border:none;border-radius:3px;justify-content:center;align-items:center;width:24px;height:24px;transition:all .2s;display:flex}.nav-btn:hover{color:#dc3545;background:#dc35451a}.page-indicator{color:#495057;align-items:center;gap:3px;height:28px;padding:0 6px;font-size:.8rem;display:flex}.page-input{text-align:center;color:#212529;background:#fff;border:1px solid #dee2e6;border-radius:3px;width:40px;height:22px;padding:2px 4px;font-size:.8rem;line-height:1}.page-input:focus{border-color:#dc3545;outline:none;box-shadow:0 0 0 2px #dc35451a}.doc-info{color:#6c757d;background:#00000008;border-radius:4px;align-items:center;height:28px;padding:5px 10px;font-size:.75rem;display:flex}.toolbar-right{flex-shrink:0;align-items:center;gap:8px;display:flex}.zoom-controls{background:#00000008;border:1px solid #0000000f;border-radius:4px;align-items:center;gap:2px;height:28px;padding:3px 6px;display:flex}.zoom-btn{cursor:pointer;color:#6c757d;background:0 0;border:none;border-radius:3px;justify-content:center;align-items:center;width:24px;height:24px;transition:all .2s;display:flex}.zoom-btn:hover{color:#dc3545;background:#dc35451a}.zoom-select{color:#212529;cursor:pointer;background:#fff;border:1px solid #dee2e6;border-radius:3px;min-width:60px;height:22px;padding:2px 6px;font-size:.78rem;line-height:1}.zoom-select:focus{border-color:#dc3545;outline:none;box-shadow:0 0 0 2px #dc35451a}.zoom-select option{color:#212529;background:#fff}.search-controls{align-items:center;display:flex}.search-toggle-btn{cursor:pointer;color:#6c757d;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;width:28px;height:28px;transition:all .2s;display:flex}.search-toggle-btn:hover{color:#dc3545;background:#dc35451a}.search-panel{background:linear-gradient(135deg,#f8f9fa 0%,#fff 100%);border-bottom:1px solid #e9ecef;flex-shrink:0;align-items:center;height:44px;min-height:44px;padding:8px 16px;display:flex}.search-input-wrapper{align-items:center;gap:6px;max-width:500px;height:28px;display:flex}.search-input{color:#212529;background:#fff;border:1px solid #dee2e6;border-radius:4px;flex:1;height:28px;padding:4px 10px;font-size:.8rem}.search-input::placeholder{color:#adb5bd}.search-input:focus{border-color:#dc3545;outline:none;box-shadow:0 0 0 2px #dc35451a}.search-nav-btn{cursor:pointer;color:#6c757d;background:#fff;border:1px solid #dee2e6;border-radius:3px;justify-content:center;align-items:center;width:24px;height:24px;transition:all .2s;display:flex}.search-nav-btn:hover{color:#dc3545;background:#dc35451a;border-color:#dc3545}.search-result-count{color:#6c757d;min-width:50px;font-size:.75rem}.search-close-btn{cursor:pointer;color:#adb5bd;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;width:24px;height:24px;transition:all .2s;display:flex}.search-close-btn:hover{color:#dc3545;background:#dc35451a}.doc-canvas-wrapper{background:#525659;flex:1;justify-content:center;padding:20px;display:flex;overflow:auto}.pdf-page-container{background:#fff;position:relative;box-shadow:0 4px 20px #0000004d}.pdf-text-layer{opacity:.2;pointer-events:none;position:absolute;top:0;left:0;overflow:hidden}.pdf-text-layer span{color:#0000}.doc-content-page{background:#fff;width:100%;max-width:816px;min-height:100%;box-shadow:0 4px 20px #0000004d}.doc-viewer-statusbar{color:#6c757d;background:linear-gradient(135deg,#f8f9fa 0%,#fff 100%);border-top:1px solid #e9ecef;flex-shrink:0;justify-content:space-between;align-items:center;height:28px;min-height:28px;padding:4px 16px;font-size:.72rem;display:flex}.status-item{background:#00000008;border-radius:3px;align-items:center;height:20px;padding:2px 8px;display:flex}.search-highlight{background:#fff3cd;border-radius:2px;padding:0 2px}.search-highlight.search-highlight-active{outline-offset:1px;background:#ffc107;outline:2px solid #f59e0b}.chapter-split-layout{gap:24px;margin-top:20px;display:flex}.chapter-left-panel,.chapter-right-panel{flex:1;min-width:0}.chapter-left-panel .result-card,.chapter-right-panel .result-card{margin-bottom:0}.chapter-req-paste-section textarea,.chapter-our-paste-section textarea{min-height:180px}@media (width<=768px){.chapter-split-layout{flex-direction:column}.doc-viewer-toolbar{flex-wrap:wrap;gap:8px;height:auto;min-height:44px;padding:8px 12px}.toolbar-center{order:3;justify-content:center;width:100%}.doc-filename-badge{max-width:120px}.doc-canvas-wrapper{padding:10px}}.pdf-filename{color:#2c3e50;text-overflow:ellipsis;white-space:nowrap;max-width:200px;font-size:.9rem;font-weight:600;overflow:hidden}.pdf-toolbar-center{align-items:center;gap:8px;display:flex}.pdf-nav-btn{cursor:pointer;color:#495057;background:#fff;border:1px solid #dee2e6;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;transition:all .2s;display:flex}.pdf-nav-btn:hover{background:#e9ecef;border-color:#adb5bd}.pdf-page-info{color:#495057;align-items:center;gap:4px;font-size:.85rem;display:flex}.pdf-page-info input{text-align:center;border:1px solid #dee2e6;border-radius:4px;width:50px;padding:4px 8px;font-size:.85rem}.pdf-toolbar-right{align-items:center;gap:8px;display:flex}.pdf-zoom-btn{cursor:pointer;color:#495057;background:#fff;border:1px solid #dee2e6;border-radius:4px;justify-content:center;align-items:center;width:28px;height:28px;transition:all .2s;display:flex}.pdf-zoom-btn:hover{background:#e9ecef}.pdf-zoom-level{color:#6c757d;text-align:center;min-width:45px;font-size:.8rem}.pdf-canvas-container{background:#e9ecef;flex:1;justify-content:center;padding:20px;display:flex;overflow:auto}#pdf-canvas{background:#fff;box-shadow:0 4px 20px #00000026}.doc-preview-container{background:#fff;flex-direction:column;height:100%;display:flex}.doc-preview-header{background:linear-gradient(135deg,#f8f9fa 0%,#fff 100%);border-bottom:1px solid #e9ecef;flex-shrink:0;padding:12px 16px}.doc-file-info{color:#495057;align-items:center;gap:8px;display:flex}.doc-file-info svg{color:#6c757d}.doc-filename{color:#2c3e50;font-size:.9rem;font-weight:600}.doc-file-size{color:#6c757d;font-size:.8rem}.doc-preview-content{background:#fafbfc;flex:1;padding:16px;overflow:auto}.doc-text-content{color:#333;background:#fff;border-radius:8px;max-width:800px;margin:0 auto;padding:24px 32px;font-size:.9rem;line-height:1.8;box-shadow:0 2px 8px #0000000f}.doc-text-content p{text-indent:2em;margin:0 0 8px}.doc-text-content p.empty-line{text-indent:0;height:8px}.doc-html-content{color:#333;background:#fff;border-radius:8px;max-width:800px;margin:0 auto;padding:24px 32px;font-size:.9rem;line-height:1.8;box-shadow:0 2px 8px #0000000f}.doc-html-content h1{color:#2c3e50;border-bottom:2px solid #e9ecef;margin:16px 0 12px;padding-bottom:8px;font-size:1.5rem;font-weight:700}.doc-html-content h2{color:#343a40;margin:14px 0 10px;font-size:1.25rem;font-weight:600}.doc-html-content h3{color:#495057;margin:12px 0 8px;font-size:1.1rem;font-weight:600}.doc-html-content p{text-align:justify;margin:0 0 10px}.doc-html-content table{border-collapse:collapse;width:100%;margin:12px 0;font-size:.85rem}.doc-html-content table th,.doc-html-content table td{text-align:left;border:1px solid #dee2e6;padding:8px 12px}.doc-html-content table th{background:#f8f9fa;font-weight:600}.doc-html-content table tr:nth-child(2n){background:#fafbfc}.doc-html-content ul,.doc-html-content ol{margin:8px 0;padding-left:24px}.doc-html-content li{margin:4px 0}.doc-html-content img{border-radius:4px;max-width:100%;height:auto;margin:12px 0}.doc-html-content blockquote{color:#6c757d;border-left:4px solid #007bff;margin:12px 0;padding-left:16px;font-style:italic}.chapter-info-grid{grid-template-columns:1fr auto;align-items:start;gap:20px;display:grid}.chapter-info-item{flex-direction:column;gap:8px;display:flex}.chapter-info-item:first-child{min-width:0}.chapter-info-item .form-control-modern{resize:vertical;min-height:80px}.chapter-info-item .slider-modern{background:linear-gradient(135deg,#f8f9fa 0%,#fff 100%);border:1px solid #e9ecef;border-radius:10px;align-items:center;gap:12px;padding:12px 16px;display:flex}.chapter-info-item .slider-range{appearance:none;background:linear-gradient(90deg,#e9ecef 0%,#dee2e6 100%);border-radius:3px;outline:none;flex:1;height:6px}.chapter-info-item .slider-range::-webkit-slider-thumb{appearance:none;cursor:pointer;background:linear-gradient(135deg,#dc3545 0%,#c82333 100%);border-radius:50%;width:20px;height:20px;transition:transform .2s;box-shadow:0 2px 6px #dc35454d}.chapter-info-item .slider-range::-webkit-slider-thumb:hover{transform:scale(1.1)}.chapter-info-item .slider-range::-moz-range-thumb{cursor:pointer;background:linear-gradient(135deg,#dc3545 0%,#c82333 100%);border:none;border-radius:50%;width:20px;height:20px;box-shadow:0 2px 6px #dc35454d}.chapter-info-item .slider-value{color:#dc3545;text-align:center;min-width:50px;font-size:1.25rem;font-weight:700}.chapter-info-item .slider-unit{color:#6c757d;font-size:.85rem}.file-name-display.file-selected{color:#28a745;background:linear-gradient(135deg,#d4edda 0%,#c3e6cb 100%);border-radius:6px;margin-top:8px;padding:6px 12px;font-size:.8rem;font-weight:500;display:block}.panel-status{align-items:center;gap:6px;font-size:.8rem;display:flex}.status-text{color:#666;font-size:.78rem}.result-panel .panel-icon{border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;display:flex}.panel-icon.overview-icon{color:#3b82f6;background:#eff6ff}.panel-icon.scoring-icon{color:#dc3545;background:#fef2f2}.panel-icon.format-icon{color:#10b981;background:#f0fdf6}.file-selected-bar{background:#f0fdf6;border:1px solid #bbf7d0;border-radius:10px;align-items:center;gap:10px;padding:10px 14px;animation:.25s file-bar-slide-in;display:flex}.file-selected-bar-icon{color:#16a34a;background:#dcfce7;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;display:flex}.file-selected-bar-info{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.file-selected-bar-name{color:#1a1a1a;white-space:nowrap;text-overflow:ellipsis;font-size:.85rem;font-weight:500;overflow:hidden}.file-selected-bar-size{color:#6b7280;font-size:.75rem}.file-selected-bar-remove{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;transition:all .15s;display:flex}.file-selected-bar-remove:hover{color:#ef4444;background:#fee2e2}@keyframes file-bar-slide-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.chapter-strategy-empty{color:#94a3b8;text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:12px;padding:40px 20px;font-size:.88rem;display:flex}.chapter-strategy-empty svg{opacity:.35}.chapter-strategy-card{background:#fff;border:1px solid #e9ecef;border-radius:12px;transition:border-color .2s,box-shadow .2s;overflow:hidden}.chapter-strategy-card:hover{border-color:#dee2e6}.chapter-strategy-card-header{background:#fafbfd;border-bottom:1px solid #f1f3f5;align-items:center;gap:10px;padding:12px 16px;display:flex}.chapter-strategy-card-seq{flex:1;align-items:center;gap:8px;min-width:0;display:flex}.chapter-strategy-seq-num{color:#fff;background:#dc3545;border-radius:4px;flex-shrink:0;padding:2px 8px;font-size:.75rem;font-weight:600}.chapter-strategy-seq-title{color:#1a1a1a;white-space:nowrap;text-overflow:ellipsis;font-size:.88rem;font-weight:500;overflow:hidden}.chapter-strategy-card-status,.chapter-strategy-card-actions{flex-shrink:0;align-items:center;gap:6px;display:flex}.chapter-strategy-card-body{min-height:60px;max-height:300px;padding:16px;overflow-y:auto}.chapter-strategy-placeholder{color:#94a3b8;font-size:.84rem;font-style:italic}.chapter-strategy-content{color:#1a1a1a;font-size:.88rem;line-height:1.7}.chapter-strategy-editor{resize:vertical;border:1px solid #e2e8f0;border-radius:8px;width:100%;min-height:120px;padding:12px;font-family:inherit;font-size:.85rem;line-height:1.6}.chapter-strategy-editor:focus{border-color:#dc3545;outline:none;box-shadow:0 0 0 3px #dc35451a}.chapter-strategy-card-footer{background:#fafbfd;border-top:1px solid #f1f3f5;justify-content:flex-end;gap:8px;padding:10px 16px;display:flex}.chapter-outline-empty{color:#94a3b8;text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:12px;padding:40px 20px;font-size:.88rem;display:flex}.chapter-outline-empty svg{opacity:.35}.chapter-outline-generating{color:#64748b;text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:12px;padding:40px 20px;font-size:.88rem;display:flex}.chapter-outline-card{background:#fff;border:1px solid #e9ecef;border-radius:12px;margin-bottom:4px;transition:border-color .2s,box-shadow .2s;overflow:visible}.chapter-outline-card:hover{border-color:#dee2e6;box-shadow:0 2px 8px #0000000a}.chapter-outline-card.editing{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f626}.chapter-outline-card.editing .chapter-outline-card-body{pointer-events:auto;background:#f8fafc}.chapter-outline-card.editing .chapter-outline-edit-footer,.chapter-outline-card.editing .outline-struct-editor,.chapter-outline-card.editing .outline-struct-icon-btn,.chapter-outline-card.editing .outline-struct-add-btn,.chapter-outline-card.editing .outline-struct-drag-handle,.chapter-outline-card.editing .chapter-outline-save-btn,.chapter-outline-card.editing .chapter-outline-cancel-btn{z-index:2;pointer-events:auto;position:relative}.chapter-outline-card-header{background:#f7f8fa;border-bottom:1px solid #f1f3f5;align-items:center;gap:10px;padding:10px 16px;display:flex}.chapter-outline-card-seq{flex:1;align-items:center;gap:8px;min-width:0;display:flex}.chapter-outline-seq-num{color:#fff;background:#4b5563;border-radius:4px;flex-shrink:0;padding:2px 8px;font-size:.75rem;font-weight:600}.chapter-outline-seq-title{color:#1a1a1a;white-space:normal;word-break:break-word;font-size:.85rem;font-weight:500;overflow:visible}.chapter-outline-format-badge{color:#0f766e;vertical-align:middle;white-space:nowrap;background:#ccfbf1;border-radius:4px;margin-left:8px;padding:2px 6px;font-size:.68rem;font-weight:600}.chapter-outline-table-hint{color:#64748b;margin:8px 0 12px;font-size:.8rem;line-height:1.45}.chapter-outline-card-actions{flex-shrink:0;align-items:center;gap:6px;display:flex}.chapter-outline-card-body{max-height:600px;padding:10px 16px;overflow-y:auto}.chapter-outline-card-body:empty{display:none}.chapter-outline-placeholder{color:#94a3b8;font-size:.84rem;font-style:italic}.outline-node{margin:0}.outline-node-header{align-items:center;gap:4px;padding:3px 0;display:flex}.outline-node-toggle{cursor:pointer;color:#94a3b8;flex-shrink:0;justify-content:center;align-items:center;width:16px;height:16px;transition:transform .2s;display:inline-flex}.outline-node-toggle svg{fill:currentColor}.outline-node-toggle.expanded{transform:rotate(90deg)}.outline-node-toggle.leaf{visibility:hidden}.outline-node-text{color:#374151;cursor:default;word-break:break-word;font-size:.84rem;line-height:1.5}.outline-node-text:hover{color:#1d4ed8}.outline-node-children{padding-left:16px;transition:max-height .25s;overflow:hidden}.outline-node-children.collapsed{max-height:0!important}.outline-node.level-2>.outline-node-header .outline-node-text{color:#1f2937;font-size:.86rem;font-weight:500}.outline-node.level-3>.outline-node-header .outline-node-text{color:#4b5563;font-size:.82rem}.outline-node.level-3{padding-left:0}.outline-node.level-4>.outline-node-header .outline-node-text{color:#6b7280;font-size:.8rem}.outline-node.level-4{padding-left:0}.outline-node.level-5>.outline-node-header .outline-node-text{color:#9ca3af;font-size:.78rem}.outline-node.level-5{padding-left:0}.night-mode .outline-node-text{color:#d1d5db}.night-mode .outline-node.level-2>.outline-node-header .outline-node-text{color:#e5e7eb}.night-mode .outline-node.level-3>.outline-node-header .outline-node-text{color:#9ca3af}.night-mode .outline-node-toggle{color:#6b7280}.fd-rich-image-settings{border-top:1px solid #e5e7eb;margin-top:12px;padding-top:12px}.fd-rich-image-toggle-label{cursor:pointer;background:#fafafa;border:1px solid #e5e7eb;border-radius:8px;align-items:flex-start;gap:10px;padding:10px 12px;transition:border-color .2s,background .2s;display:flex}.fd-rich-image-toggle-label:hover{background:#fff7f7;border-color:#fca5a5}.fd-rich-image-toggle-label input[type=checkbox]{accent-color:#dc2626;flex-shrink:0;width:16px;height:16px;margin-top:4px}.fd-rich-image-toggle-title{color:#1f2937;font-size:.9rem;font-weight:600;display:block}.fd-rich-image-toggle-desc{color:#6b7280;margin-top:4px;font-size:.8rem;line-height:1.45;display:block}.fd-industry-slot{text-align:center;margin:14px 0}.fd-industry-slot-pending{color:#64748b;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:8px;align-items:center;gap:8px;padding:16px 20px;font-size:.85rem;display:inline-flex}.fd-industry-slot-failed{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:12px 16px;font-size:.85rem}.fd-industry-slot-img{cursor:pointer;border-radius:8px;max-width:370px;height:auto;margin:0 auto;display:block;box-shadow:0 2px 8px #00000014}.fd-industry-slot-img:hover{outline-offset:2px;outline:2px solid #dc2626}.fd-industry-slot-stub{color:#64748b;cursor:pointer;background:#f1f5f9;border:1px dashed #94a3b8;border-radius:8px;justify-content:center;align-items:center;min-width:200px;min-height:120px;padding:16px 20px;font-size:.85rem;display:inline-flex}.fd-illus-md-chunk{margin:0}.fd-illus-md-chunk+.fd-industry-slot,.fd-industry-slot+.fd-illus-md-chunk{margin-top:0}.ref-industry-slot{text-align:center;margin:14px 0}.ref-industry-slot-pending{color:#64748b;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:8px;align-items:center;gap:8px;padding:16px 20px;font-size:.85rem;display:inline-flex}.ref-industry-slot-failed{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:12px 16px;font-size:.85rem}.ref-industry-slot-img{cursor:pointer;border-radius:8px;max-width:100%;height:auto;box-shadow:0 2px 8px #00000014}.ref-industry-slot-img:hover{outline-offset:2px;outline:2px solid #dc2626}.ref-r75-md-chunk{margin:0}.fd-rich-image-toolbar{z-index:200100;background:#fff;flex-direction:column;width:380px;max-width:92vw;height:100vh;transition:right .28s;display:flex;position:fixed;top:0;right:-400px;box-shadow:-4px 0 24px #0f172a1f}.fd-rich-image-toolbar.active{right:0}body.fd-rich-image-toolbar-open{overflow:auto}body.fd-rich-image-toolbar-open #fd-bid-doc-content{margin-right:380px}.fd-wps-editor-body-row{flex-direction:row;flex:1;align-items:stretch;min-height:0;display:flex;overflow:hidden}.fd-wps-editor-stage{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;position:relative;overflow:hidden}.fd-wps-editor-stage .fd-wps-editor-host{flex:1;min-width:0;min-height:0}.fd-wps-editor-side-panel{flex-direction:column;align-self:stretch;height:100%;min-height:0;display:none;overflow:hidden}.fd-wps-side-panel-tabs{background:#ffffffd9;border-bottom:1px solid #eef1f6;flex-shrink:0;display:flex}.fd-wps-side-tab{color:#64748b;cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;flex:1;padding:10px 6px;font-size:12px}.fd-wps-side-tab.active{color:#0d6efd;border-bottom-color:#0d6efd;font-weight:600}.fd-wps-side-panel-body{flex:1;min-height:0;position:relative;overflow:hidden}.fd-wps-side-pane{flex-direction:column;min-height:0;display:none;position:absolute;inset:0;overflow:hidden}.fd-wps-side-pane.active{display:flex}#fd-wps-image-toolbar-host{min-height:0;overflow:hidden}.fd-wps-editor-side-panel .fd-fill-source-panel{box-sizing:border-box;background:0 0;border:none;border-radius:0;height:100%;min-height:0;margin:0;padding:0}.fd-rich-image-toolbar.fd-rich-image-toolbar--docked{width:100%;max-width:none;height:100%;min-height:0;box-shadow:none;z-index:1;flex-direction:column;flex:1;transition:none;display:none;position:relative;top:auto;right:auto}.fd-rich-image-toolbar.fd-rich-image-toolbar--docked.active{display:flex;right:auto}body.fd-rich-image-toolbar-open #fd-wps-editor-host,body.fd-rich-image-toolbar-open .fd-wps-editor-workspace{margin-right:0}#fd-bid-doc-content{transition:margin-right .28s}.fd-rich-image-toolbar-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;padding:14px 16px;font-size:15px;font-weight:600;display:flex}.fd-rich-image-toolbar-close{cursor:pointer;color:#6b7280;background:0 0;border:none;font-size:22px;line-height:1}.fd-rich-image-toolbar-tabs{border-bottom:1px solid #e5e7eb;display:flex}.fd-rich-image-tab{color:#6b7280;cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;flex:1;padding:10px 8px;font-size:13px}.fd-rich-image-tab.active{color:#dc2626;border-bottom-color:#dc2626;font-weight:600}.fd-rich-image-toolbar-panels{flex:1;padding:14px 16px 20px;overflow-y:auto}.fd-rich-image-panel{display:none}.fd-rich-image-panel.active{display:block}.fd-rich-image-label{color:#64748b;margin-bottom:6px;font-size:12px;display:block}#fd-rich-image-prompt{box-sizing:border-box;border:1px solid #d1d5db;border-radius:8px;width:100%;margin-bottom:10px;padding:8px 10px;font-size:13px}.fd-rich-image-generate-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#ef4444,#dc2626);border:none;border-radius:8px;width:100%;margin-bottom:12px;padding:10px;font-weight:600}.fd-rich-image-generate-btn:disabled{opacity:.6;cursor:not-allowed}.fd-rich-image-preview-area img{border-radius:8px;max-width:100%;margin-bottom:8px;display:block}.fd-rich-image-apply-btn{color:#dc2626;cursor:pointer;background:#fff;border:1px solid #dc2626;border-radius:8px;width:100%;padding:8px;font-weight:600}.fd-rich-image-gallery-grid{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.fd-rich-image-gallery-item{cursor:pointer;text-align:left;background:#fafafa;border:2px solid #e5e7eb;border-radius:8px;flex-direction:column;align-items:stretch;padding:0;display:flex;overflow:hidden}.fd-rich-image-gallery-item.selected{border-color:#dc2626;box-shadow:0 0 0 2px #dc262626}.fd-rich-image-gallery-item-name{color:#475569;text-overflow:ellipsis;white-space:nowrap;padding:6px 6px 2px;font-size:11px;line-height:1.3;overflow:hidden}.fd-rich-image-gallery-item-source{color:#94a3b8;padding:0 6px 6px;font-size:10px}.fd-rich-image-toolbar-status{color:#1d4ed8;background:#eff6ff;border-radius:8px;align-items:center;gap:8px;margin:0 0 10px;padding:8px 10px;font-size:12px;line-height:1.4;display:flex}.fd-rich-image-toolbar-status[hidden]{display:none!important}.fd-rich-image-toolbar-status:before{content:"";border:2px solid #93c5fd;border-top-color:#2563eb;border-radius:50%;flex-shrink:0;width:14px;height:14px;animation:.8s linear infinite fd-rich-image-spin}@keyframes fd-rich-image-spin{to{transform:rotate(360deg)}}.fd-rich-image-toolbar--busy .fd-rich-image-gallery-item{pointer-events:none;opacity:.65}.fd-rich-image-toolbar--busy .fd-rich-image-toolbar-close{pointer-events:none;opacity:.5}.fd-rich-image-gallery-hint{color:#64748b;margin:0 0 10px;font-size:12px;line-height:1.4}.fd-rich-image-gallery-apply-btn{color:#fff;cursor:pointer;background:#0d6efd;border:none;border-radius:8px;width:100%;margin-top:12px;padding:10px;font-size:13px;font-weight:600}.fd-rich-image-gallery-apply-btn:disabled{opacity:.45;cursor:not-allowed}.fd-rich-image-gallery-apply-btn:not(:disabled):hover{background:#0b5ed7}.fd-rich-image-gallery-item img{object-fit:cover;width:100%;height:120px}.fd-rich-image-gallery-item span{color:#475569;text-align:left;padding:6px;font-size:11px;line-height:1.3}.fd-rich-image-overlay{z-index:200090;opacity:0;pointer-events:none;background:#00000026;transition:opacity .2s;position:fixed;inset:0}.fd-rich-image-overlay.active{opacity:1;pointer-events:auto}.fd-rich-image-current-preview{background:#f8fafc;border-bottom:1px solid #e5e7eb;padding:12px 16px}.fd-rich-image-current-preview-label{color:#94a3b8;margin-bottom:6px;font-size:11px}.fd-rich-image-current-preview img{object-fit:contain;border-radius:6px;max-width:100%;max-height:160px;margin:0 auto;display:block}.fd-rich-image-tab-disabled{pointer-events:none;color:#cbd5e1!important;cursor:not-allowed!important}.fd-rich-image-tab-disabled:hover{background:0 0}.fd-rich-image-web-unavailable{color:#94a3b8;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:48px 20px;display:flex}.fd-rich-image-web-unavailable svg{opacity:.5}.fd-rich-image-web-unavailable p{margin:0;font-size:14px}.fd-rich-image-generate-btn.loading{color:#0000;position:relative}.fd-rich-image-generate-btn.loading:after{content:"";border:2px solid #ffffff4d;border-top-color:#fff;border-radius:50%;width:18px;height:18px;margin:-9px 0 0 -9px;animation:.6s linear infinite fd-spin;position:absolute;top:50%;left:50%}@keyframes fd-spin{to{transform:rotate(360deg)}}.fd-rich-image-hint{color:#64748b;margin:0;font-size:13px}.chapter-outline-editor{resize:vertical;color:#1f2937;border:1px solid #d1d5db;border-radius:8px;width:100%;min-height:120px;padding:10px;font-family:inherit;font-size:.84rem;line-height:1.6}.outline-struct-editor{margin-top:0}.outline-struct-panel{background:#fff;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden;box-shadow:0 1px 2px #0f172a0a}.outline-struct-toolbar{background:linear-gradient(#f8fafc 0%,#f1f5f9 100%);border-bottom:1px solid #e2e8f0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;display:flex}.outline-struct-toolbar-title{color:#334155;letter-spacing:.02em;font-size:.8rem;font-weight:600}.outline-struct-toolbar-tips{color:#64748b;font-size:.72rem;line-height:1.4}.outline-struct-list-head{color:#94a3b8;text-transform:uppercase;letter-spacing:.04em;background:#fafbfc;border-bottom:1px solid #eef2f6;grid-template-columns:36px 68px 1fr 108px;align-items:center;gap:8px;padding:6px 10px;font-size:.68rem;font-weight:600;display:grid}.outline-struct-list{background:#fcfdfe;flex-direction:column;gap:0;max-height:min(420px,52vh);padding:6px 8px;display:flex;overflow:hidden auto}.outline-struct-list.outline-struct-list-dragging{-webkit-user-select:none;user-select:none;overscroll-behavior:contain;overflow-y:auto}.outline-struct-row{margin-left:calc(var(--outline-depth,0) * 18px);background:0 0;border:1px solid #0000;border-radius:8px;grid-template-columns:36px 1fr 108px;align-items:center;gap:8px;padding:4px 6px;transition:background .12s,border-color .12s,box-shadow .12s;display:grid;position:relative}.outline-struct-row:before{content:"";left:calc(-1 * var(--outline-depth,0) * 18px + 17px);width:1px;opacity:calc(var(--outline-depth,0) > 0 ? 1 : 0);pointer-events:none;background:#e2e8f0;position:absolute;top:0;bottom:0}.outline-struct-row:hover{background:#fff;border-color:#e5e7eb;box-shadow:0 1px 3px #0f172a0d}.outline-struct-row:hover .outline-struct-row-actions{opacity:1;pointer-events:auto}.outline-struct-row.outline-struct-row-dragging{opacity:.5;background:#eff6ff}.outline-struct-row.outline-struct-drop-before:after,.outline-struct-row.outline-struct-drop-after:after{content:"";pointer-events:none;z-index:2;background:#3b82f6;border-radius:2px;height:2px;position:absolute;left:0;right:0}.outline-struct-row.outline-struct-drop-before:after{top:-2px}.outline-struct-row.outline-struct-drop-after:after{bottom:-2px}.outline-struct-row.outline-struct-drop-child{background:#eff6ff;border-color:#93c5fd;box-shadow:inset 0 0 0 1px #3b82f633}.outline-struct-row-rail{justify-content:center;align-items:center;display:flex}.outline-struct-row-main{grid-template-columns:68px 1fr;align-items:center;gap:8px;min-width:0;display:grid}.outline-struct-drag-handle{color:#cbd5e1;cursor:grab;touch-action:none;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;padding:0;transition:color .12s,background .12s;display:inline-flex}.outline-struct-row:hover .outline-struct-drag-handle{color:#94a3b8;background:#f1f5f9}.outline-struct-drag-handle:hover{color:#64748b;background:#e2e8f0}.outline-struct-drag-handle:active{cursor:grabbing;color:#3b82f6}.outline-struct-level-wrap{position:relative}.outline-struct-level{color:#475569;appearance:none;cursor:pointer;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 6.646a.5.5 0 0 1 .708 0L8 9.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") right 6px center no-repeat;border:1px solid #e2e8f0;border-radius:8px;width:100%;padding:7px 24px 7px 8px;font-size:.75rem;font-weight:600}.outline-struct-title{color:#1e293b;background:#fff;border:1px solid #e2e8f0;border-radius:8px;width:100%;min-width:0;padding:8px 10px;font-size:.84rem;line-height:1.35;transition:border-color .12s,box-shadow .12s}.outline-struct-title::placeholder{color:#cbd5e1}.outline-struct-title:focus,.outline-struct-level:focus{border-color:#3b82f6;outline:none;box-shadow:0 0 0 3px #3b82f61f}.outline-struct-row-actions{opacity:.35;pointer-events:none;justify-content:flex-end;align-items:center;gap:2px;transition:opacity .12s;display:flex}.outline-struct-icon-btn,.outline-struct-add-btn{pointer-events:auto;cursor:pointer}.outline-struct-icon-btn{color:#94a3b8;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;padding:0;transition:color .12s,background .12s;display:inline-flex}.outline-struct-icon-btn:hover{color:#2563eb;background:#eff6ff}.outline-struct-icon-btn-danger:hover{color:#dc2626;background:#fef2f2}.outline-struct-add-btn{color:#64748b;background:#fafbfc;border:1px dashed #cbd5e1;border-radius:8px;justify-content:center;align-items:center;gap:6px;width:calc(100% - 16px);margin:8px;padding:10px 14px;font-size:.8rem;font-weight:500;transition:border-color .12s,color .12s,background .12s;display:flex}.outline-struct-add-btn:hover{color:#2563eb;background:#eff6ff;border-color:#93c5fd}.outline-struct-add-icon{color:#475569;background:#e2e8f0;border-radius:50%;justify-content:center;align-items:center;width:18px;height:18px;font-size:.95rem;font-weight:600;line-height:1;display:inline-flex}.outline-struct-add-btn:hover .outline-struct-add-icon{color:#1d4ed8;background:#bfdbfe}@media (width<=720px){.outline-struct-list-head{display:none}.outline-struct-row{grid-template-rows:auto auto;grid-template-columns:32px 1fr}.outline-struct-row-main{grid-column:2;grid-template-rows:auto auto;grid-template-columns:1fr}.outline-struct-row-actions{opacity:1;pointer-events:auto;grid-column:1/-1;justify-content:flex-start;padding-left:38px}.outline-struct-level-wrap{order:-1}.outline-struct-level{max-width:120px}}.chapter-outline-title-editor{color:#1a1a1a;border:1px solid #3b82f6;border-radius:4px;outline:none;width:100%;padding:4px 8px;font-size:.85rem;font-weight:500;box-shadow:0 0 0 2px #3b82f633}.chapter-outline-sub-editor{color:#374151;border:1px solid #3b82f6;border-radius:3px;outline:none;width:100%;padding:2px 6px;font-size:.84rem;box-shadow:0 0 0 2px #3b82f633}.chapter-outline-card-highlight{animation:.8s ease-in-out 2 fdChapterOutlinePulse}@keyframes fdChapterOutlinePulse{0%,to{box-shadow:0 0 #dc354500}50%{box-shadow:0 0 0 3px #dc35454d}}.chapter-action-btn{color:#4b5563;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:6px;align-items:center;gap:4px;padding:5px 10px;font-size:.78rem;transition:all .15s;display:inline-flex}.chapter-action-btn.chapter-action-regen:hover{color:#ef4444;background:#fef2f2;border-color:#ef4444}.step3-btn-sm{padding:6px 12px;font-size:.8rem}.result-panel .panel-title{color:#1a1a1a;margin:0;font-size:.92rem;font-weight:600}.chapter-file-input .file-input-row{flex-wrap:nowrap}.chapter-file-input .upload-area-compact,.chapter-file-input .paste-area-compact{min-width:140px}@media (width<=768px){.chapter-info-grid{grid-template-columns:1fr;gap:16px}.chapter-info-item .slider-modern,.chapter-file-input .file-input-row{flex-wrap:wrap}.chapter-file-input .upload-area-compact,.chapter-file-input .paste-area-compact{min-width:100%}}.chapter-result-container{border-top:1px solid #e9ecef;margin-top:16px;padding-top:16px}.chapter-result-container .result-content{color:#495057;background:linear-gradient(135deg,#f8f9fa 0%,#fff 100%);border:1px solid #e9ecef;border-radius:10px;min-height:150px;max-height:400px;padding:16px;font-size:.9rem;line-height:1.7;overflow-y:auto}.chapter-result-container .result-content p{margin-bottom:12px}.chapter-result-container .result-content p:last-child{margin-bottom:0}.chapter-result-container .result-content .empty-content{color:#9ca3af;text-align:center;padding:40px 20px;font-style:italic}.chapter-result-container .result-editor{color:#495057;resize:vertical;background:#fff;border:2px solid #007bff;border-radius:10px;width:100%;min-height:200px;padding:16px;font-size:.9rem;line-height:1.7}.chapter-result-container .result-editor:focus{border-color:#0056b3;outline:none;box-shadow:0 0 0 3px #007bff1a}.loading-placeholder{color:#6c757d;flex-direction:column;justify-content:center;align-items:center;padding:40px 20px;display:flex}.loading-placeholder .loading-spinner{border:3px solid #e9ecef;border-top-color:#007bff;border-radius:50%;width:32px;height:32px;margin-bottom:12px;animation:1s linear infinite spin}.error-placeholder{color:#dc3545;background:linear-gradient(135deg,#fff5f5 0%,#fee2e2 100%);border-radius:8px;justify-content:center;align-items:center;padding:40px 20px;display:flex}.textarea-readonly{cursor:not-allowed;opacity:.8;background-color:#f8f9fa!important}.btn-edit-result{color:#495057;cursor:pointer;background:linear-gradient(135deg,#fff 0%,#f8f9fa 100%);border:1px solid #dee2e6;border-radius:8px;align-items:center;gap:6px;padding:8px 16px;font-size:.85rem;font-weight:500;transition:all .2s;display:flex}.btn-edit-result:hover{background:linear-gradient(135deg,#e9ecef 0%,#dee2e6 100%);border-color:#adb5bd}.btn-edit-result svg{flex-shrink:0}.loading-spinner-small{border:2px solid #e9ecef;border-top-color:#007bff;border-radius:50%;width:16px;height:16px;margin-right:6px;animation:1s linear infinite spin;display:inline-block}.file-input-row.single-input-row{background:linear-gradient(135deg,#f8f9fa 0%,#fff 100%);border-radius:10px;justify-content:space-between;align-items:center;margin-bottom:12px;padding:12px 16px;display:flex}.file-input-row.single-input-row .upload-area-compact{cursor:pointer;background:linear-gradient(135deg,#fff 0%,#f8f9fa 100%);border:1px solid #dee2e6;border-radius:8px;align-items:center;gap:8px;padding:8px 16px;transition:all .2s;display:flex}.file-input-row.single-input-row .upload-area-compact:hover{background:linear-gradient(135deg,#e9ecef 0%,#dee2e6 100%);border-color:#adb5bd}.file-input-row.single-input-row .upload-area-compact .upload-label{cursor:pointer;color:#495057;align-items:center;gap:6px;font-size:.85rem;font-weight:500;display:flex}.file-status-indicator{align-items:center;gap:8px;font-size:.8rem;display:flex}.file-status-indicator .status-dot{background:#9ca3af;border-radius:50%;width:10px;height:10px;transition:background .3s}.file-status-indicator .status-dot.loading{background:#ffc107;animation:1.5s infinite pulse}.file-status-indicator .status-dot.completed{background:#28a745}.file-status-indicator .status-dot.error{background:#dc3545}.file-status-indicator .status-text{color:#6c757d;text-overflow:ellipsis;white-space:nowrap;max-width:200px;overflow:hidden}.compound-input-container{position:relative}.compound-textarea{color:#495057;resize:vertical;background:#fff;border:1px solid #dee2e6;border-radius:10px;width:100%;min-height:200px;max-height:400px;padding:16px;font-size:.9rem;line-height:1.7;transition:border-color .2s,box-shadow .2s}.compound-textarea:focus{border-color:#007bff;outline:none;box-shadow:0 0 0 3px #007bff1a}.compound-textarea.textarea-loading{cursor:wait;background:linear-gradient(135deg,#f8f9fa 0%,#fff 100%)}.compound-textarea.textarea-readonly,.textarea-readonly{cursor:not-allowed;opacity:.85;background-color:#f8f9fa!important}.btn-expand-textarea:disabled{opacity:.5;cursor:not-allowed;pointer-events:none}.compound-textarea::placeholder{color:#adb5bd}.result-panels{grid-template-columns:1fr 1fr;gap:20px;display:grid}@media (width<=992px){.result-panels{grid-template-columns:1fr}}.output-box-container{width:100%}.output-textarea{color:#212529;resize:vertical;box-sizing:border-box;background:linear-gradient(135deg,#fafbfc 0%,#f8f9fa 100%);border:1px solid #e9ecef;border-radius:12px;width:100%;min-height:180px;padding:16px 44px 40px 16px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:14px;line-height:1.8;transition:all .2s}.output-textarea:focus{background:#fff;border-color:#007bff;outline:none;box-shadow:0 0 0 3px #007bff1a}.output-textarea[readonly]{cursor:default;color:#495057;background:linear-gradient(135deg,#f8f9fa 0%,#fff 100%)}.output-textarea::placeholder{color:#adb5bd;font-style:italic}.output-textarea.textarea-loading{cursor:wait;background:linear-gradient(135deg,#f0f0f0 0%,#e9ecef 100%);animation:1.5s ease-in-out infinite pulse-bg}@keyframes pulse-bg{0%,to{opacity:1}50%{opacity:.7}}.readonly-display-container{width:100%;height:100%;min-height:400px}.readonly-display-wrapper{position:relative}.readonly-display-wrapper .readonly-display-content{padding-right:44px}.btn-readonly-expand{z-index:2;position:absolute;top:12px;right:8px}.modal-readonly{cursor:default!important;color:#495057!important;background:linear-gradient(135deg,#f8f9fa 0%,#f1f3f5 100%)!important}.readonly-display-content{color:#374151;white-space:pre-wrap;word-wrap:break-word;-webkit-user-select:none;user-select:none;cursor:default;background:linear-gradient(135deg,#f8f9fa 0%,#f1f3f5 100%);border:1px solid #dee2e6;border-radius:12px;width:100%;min-height:400px;max-height:calc(85vh - 200px);padding:20px;font-size:14px;line-height:1.8;position:relative;overflow-y:auto}.readonly-display-content:before{background:linear-gradient(90deg,#6c757d 0%,#adb5bd 100%);border-radius:12px 12px 0 0;height:3px;position:absolute;top:0;left:0;right:0}.readonly-display-content .empty-placeholder{color:#adb5bd;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:300px;display:flex}.readonly-modal-content{color:#374151;white-space:pre-wrap;word-wrap:break-word;-webkit-user-select:none;user-select:none;cursor:default;background:linear-gradient(135deg,#f8f9fa 0%,#f1f3f5 100%);border:1px solid #dee2e6;border-radius:8px;width:100%;min-height:400px;max-height:calc(85vh - 180px);padding:20px;font-size:14px;line-height:1.8;overflow-y:auto}.readonly-badge{color:#6c757d;letter-spacing:.5px;background:#e9ecef;border-radius:4px;align-items:center;margin-left:8px;padding:2px 8px;font-size:11px;font-weight:600;display:inline-flex}.readonly-icon{background:linear-gradient(135deg,#6c757d 0%,#495057 100%)!important}.textarea-wrapper{position:relative}.textarea-wrapper .compound-textarea,.textarea-wrapper .paste-textarea-compact,.textarea-wrapper .output-textarea{padding-right:40px}.btn-expand-textarea{cursor:pointer;color:#6c757d;z-index:1;background:linear-gradient(135deg,#f8f9fa 0%,#e9ecef 100%);border:1px solid #dee2e6;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;transition:all .2s;display:flex;position:absolute;top:8px;right:8px}.btn-expand-textarea:hover{color:#495057;background:linear-gradient(135deg,#e9ecef 0%,#dee2e6 100%);border-color:#adb5bd}.textarea-modal-overlay{z-index:10000;opacity:0;visibility:hidden;background:#00000080;justify-content:center;align-items:center;transition:opacity .3s,visibility .3s;display:flex;position:fixed;inset:0}.textarea-modal-overlay.show{opacity:1;visibility:visible}.textarea-modal{background:#fff;border-radius:16px;flex-direction:column;width:90%;max-width:900px;max-height:85vh;transition:transform .3s;display:flex;transform:scale(.9)translateY(20px);box-shadow:0 20px 60px #0003}.textarea-modal-overlay.show .textarea-modal{transform:scale(1)translateY(0)}.textarea-modal-header{background:linear-gradient(135deg,#f8f9fa 0%,#fff 100%);border-bottom:1px solid #e9ecef;border-radius:16px 16px 0 0;justify-content:space-between;align-items:center;padding:16px 24px;display:flex}.textarea-modal-title{color:#212529;align-items:center;gap:10px;font-size:1.1rem;font-weight:600;display:flex}.textarea-modal-title-icon{color:#fff;background:linear-gradient(135deg,#007bff 0%,#0056b3 100%);border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.textarea-modal-close{cursor:pointer;color:#6c757d;background:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;font-size:1.5rem;transition:all .2s;display:flex}.textarea-modal-close:hover{color:#fff;background:#dc3545;border-color:#dc3545}.textarea-modal-body{flex:1;padding:20px 24px;overflow:hidden}.textarea-modal-textarea{color:#495057;resize:none;background:#fff;border:1px solid #dee2e6;border-radius:10px;width:100%;height:100%;min-height:400px;max-height:calc(85vh - 180px);padding:16px;font-size:.95rem;line-height:1.7;transition:border-color .2s,box-shadow .2s}.textarea-modal-textarea:focus{border-color:#007bff;outline:none;box-shadow:0 0 0 3px #007bff1a}.textarea-modal-footer{background:#f8f9fa;border-top:1px solid #e9ecef;border-radius:0 0 16px 16px;justify-content:flex-end;align-items:center;gap:12px;padding:16px 24px;display:flex}.textarea-modal-btn{cursor:pointer;border-radius:8px;align-items:center;gap:6px;padding:10px 20px;font-size:.9rem;font-weight:500;transition:all .2s;display:flex}.textarea-modal-btn-cancel{color:#6c757d;background:#fff;border:1px solid #dee2e6}.textarea-modal-btn-cancel:hover{background:#f8f9fa;border-color:#adb5bd}.textarea-modal-btn-save{color:#fff;background:linear-gradient(135deg,#007bff 0%,#0056b3 100%);border:none}.textarea-modal-btn-save:hover{background:linear-gradient(135deg,#0056b3 0%,#003d82 100%)}@media (width<=768px){.textarea-modal{width:95%;max-height:90vh}.textarea-modal-header{padding:12px 16px}.textarea-modal-body{padding:16px}.textarea-modal-textarea{min-height:300px}.textarea-modal-footer{padding:12px 16px}}.bid-doc-layout{background:#fff;border:1px solid #e0e4e8;border-radius:12px;gap:0;height:calc(100vh - 200px);min-height:500px;max-height:900px;display:flex;position:relative;overflow:hidden}.fd-editor-split{flex-direction:column;flex:1;min-width:0;display:flex}.fd-wps-editor-panel{background:#f8f9fb;flex-direction:column;flex:1;min-width:0;display:flex}.fd-wps-middle-outline{background:#fff;border-right:1px solid #e0e4e8;flex-direction:column;width:200px;min-width:160px;max-width:240px;font-size:12px;display:flex}.fd-wps-middle-outline-header{color:#3d4450;border-bottom:1px solid #e8ebef;padding:8px 10px;font-weight:600}.fd-wps-middle-outline-list{flex:1;padding:6px 0;overflow-y:auto}.fd-wps-middle-outline-item{cursor:pointer;color:#4a5568;padding:6px 10px;line-height:1.35}.fd-wps-middle-outline-item:hover{background:#f0f4ff}.fd-wps-middle-outline-item.active{color:#2b4acb;background:#e8eeff;font-weight:600}.fd-wps-editor-main{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;position:relative}.fd-wps-editor-workspace{flex-direction:row;flex:1;align-items:stretch;min-height:0;display:flex}.fd-wps-editor-canvas{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;position:relative}.fd-wps-editor-side{background:linear-gradient(#f8faff 0%,#fff 120px);border-left:1px solid #e8ebf0;flex-direction:column;flex-shrink:0;width:288px;min-width:260px;max-width:320px;display:flex;overflow:hidden}.fd-fill-source-panel{box-sizing:border-box;background:0 0;border:none;border-radius:0;flex-direction:column;height:100%;min-height:0;margin:0;padding:0;font-size:12px}.fd-wps-side-pane.active.fd-fill-source-panel{display:flex}.fd-fill-source-header{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#ffffffb8;border-bottom:1px solid #eef1f6;flex-shrink:0;padding:14px 14px 10px}.fd-fill-source-header-top{justify-content:space-between;align-items:center;gap:8px;margin-bottom:4px;display:flex}.fd-fill-source-title{color:#1f2937;letter-spacing:.02em;font-size:14px;font-weight:700}.fd-fill-source-subtitle{color:#8b95a5;margin:0;font-size:11px;line-height:1.45}.fd-tender-clauses-panel{box-sizing:border-box;background:#f8fafc;border:none;border-radius:0;flex-direction:column;height:100%;min-height:0;margin:0;padding:0;font-size:12px}.fd-wps-side-pane.active.fd-tender-clauses-panel{display:flex}.fd-tender-clauses-header{background:#fff;border-bottom:1px solid #e2e8f0;flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;padding:12px 14px 10px;display:flex}.fd-tender-clauses-title{color:#0f172a;font-size:14px;font-weight:700}.fd-tender-clauses-badge{color:#2563eb;white-space:nowrap;background:#eff6ff;border:1px solid #dbeafe;border-radius:999px;padding:3px 8px;font-size:10px;line-height:1.2}.fd-tender-clauses-meta{color:#475569;background:#fff;border-bottom:1px solid #eef2f7;flex-shrink:0;margin:0;padding:8px 14px;font-size:11px;line-height:1.45}.fd-tender-clauses-meta[hidden]{display:none}.fd-tender-clauses-scroll{flex:1;min-height:0;padding:12px;overflow:auto}.fd-tender-clauses-scroll::-webkit-scrollbar{width:6px}.fd-tender-clauses-scroll::-webkit-scrollbar-thumb{background:#64748b59;border-radius:999px}.fd-tender-clauses-groups{flex-direction:column;gap:10px;display:flex}.fd-tender-clauses-group{background:#fff;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden;box-shadow:0 1px 2px #0f172a0a}.fd-tender-clauses-group--star{border-left:3px solid #dc2626}.fd-tender-clauses-group--tri{border-left:3px solid #d97706}.fd-tender-clauses-group--tech{border-left:3px solid #2563eb}.fd-tender-clauses-group--biz{border-left:3px solid #059669}.fd-tender-clauses-summary{cursor:pointer;color:#1e293b;background:#fafbfc;align-items:center;gap:8px;padding:10px 12px;font-size:12px;list-style:none;display:flex}.fd-tender-clauses-summary::-webkit-details-marker{display:none}.fd-tender-clauses-group-label{flex:auto;min-width:0;font-weight:600}.fd-tender-clauses-group-count{color:#475569;background:#f1f5f9;border-radius:999px;flex-shrink:0;padding:2px 8px;font-size:10px;font-weight:600}.fd-tender-clauses-group-hint{color:#64748b;background:#fafbfc;border-bottom:1px dashed #eef2f7;margin:0;padding:0 12px 8px;font-size:10px;line-height:1.4}.fd-tender-clauses-items{margin:0;padding:4px 12px 10px;list-style:none}.fd-tender-clauses-item{border-top:1px solid #f1f5f9;align-items:flex-start;gap:8px;padding:8px 0;display:flex}.fd-tender-clauses-item:first-child{border-top:none}.fd-tender-clauses-item-idx{color:#64748b;text-align:center;background:#f1f5f9;border-radius:5px;flex-shrink:0;width:18px;height:18px;font-size:10px;font-weight:600;line-height:18px}.fd-tender-clauses-item-text{color:#334155;word-break:break-word;flex:1;min-width:0;font-size:11px;line-height:1.55}.fd-tender-clauses-more{color:#94a3b8;text-align:center;margin:0 12px 10px;font-size:10px}.fd-tender-clauses-empty{text-align:center;color:#94a3b8;background:#fff;border:1px dashed #e2e8f0;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:200px;padding:28px 20px;display:flex}.fd-tender-clauses-empty[hidden]{display:none!important}.fd-tender-clauses-empty-title{color:#64748b;font-size:13px;font-weight:600}.fd-tender-clauses-empty-desc{max-width:240px;font-size:11px;line-height:1.5}.fd-fill-source-status{white-space:nowrap;border-radius:999px;align-items:center;padding:2px 9px;font-size:10px;font-weight:600;line-height:1.4;display:inline-flex}.fd-fill-source-status--all{color:#4f5fd8;background:#eef2ff}.fd-fill-source-status--picked{color:#1a7f4b;background:#e8f5ee}.fd-fill-source-hint{color:#5c6573;background:#f3f5f9;border:1px solid #e8ebf0;border-radius:8px;flex-shrink:0;margin:10px 12px 0;padding:8px 10px;font-size:11px;line-height:1.5}.fd-fill-source-hint--active{color:#2d6a4a;background:#edf8f1;border-color:#cce8d6}.fd-fill-source-list{flex:1;min-height:0;margin:10px 0 0;padding:0 10px;list-style:none;overflow-y:auto}.fd-fill-source-list::-webkit-scrollbar{width:5px}.fd-fill-source-list::-webkit-scrollbar-thumb{background:#d5dbe3;border-radius:999px}.fd-fill-source-item{margin-bottom:8px}.fd-fill-source-card{cursor:pointer;background:#fff;border:1px solid #e6eaf0;border-radius:10px;align-items:flex-start;gap:10px;margin:0;padding:10px 10px 10px 8px;transition:border-color .15s,box-shadow .15s,background .15s;display:flex}.fd-fill-source-card:hover{border-color:#c7d2fe;box-shadow:0 2px 8px #4f6cff14}.fd-fill-source-card--selected{background:linear-gradient(135deg,#fafbff 0%,#f3f6ff 100%);border-color:#7c8cff;box-shadow:0 2px 10px #4f6cff1f}.fd-fill-source-check{accent-color:#5b6cff;cursor:pointer;flex-shrink:0;width:15px;height:15px;margin:2px 0 0}.fd-fill-source-card-body{flex:1;min-width:0}.fd-fill-source-card-top{justify-content:space-between;align-items:center;gap:6px;margin-bottom:5px;display:flex}.fd-fill-source-tag{white-space:nowrap;border-radius:999px;align-items:center;padding:1px 7px;font-size:10px;font-weight:600;line-height:1.5;display:inline-flex}.fd-fill-source-tag--ref{color:#0b6e99;background:#e8f4fd}.fd-fill-source-tag--att{color:#b45309;background:#fff4e5}.fd-fill-source-tag--main{color:#7e22ce;background:#f3e8ff}.fd-fill-source-tag--format{color:#15803d;background:#e8f5ee}.fd-fill-source-meta{color:#9aa3b2;white-space:nowrap;font-size:10px}.fd-fill-source-name{color:#374151;word-break:break-all;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;line-height:1.45;display:-webkit-box;overflow:hidden}.fd-fill-source-empty{text-align:center;color:#8b95a5;flex-direction:column;align-items:center;padding:28px 16px;display:flex}.fd-fill-source-empty-icon{color:#c5cdd8;margin-bottom:10px}.fd-fill-source-empty-title{color:#5c6573;margin-bottom:6px;font-size:13px;font-weight:600}.fd-fill-source-empty-desc{max-width:220px;font-size:11px;line-height:1.5}.fd-fill-source-foot{background:#ffffffe6;border-top:1px solid #eef1f6;flex-direction:column;flex-shrink:0;gap:8px;padding:10px 12px 12px;display:flex}.fd-fill-source-actions{flex-wrap:wrap;gap:6px;display:flex}.fd-fill-source-action-btn{color:#374151;cursor:pointer;text-align:center;background:#fff;border:1px solid #dfe3ea;border-radius:8px;flex:calc(50% - 3px);min-width:0;padding:7px 8px;font-size:12px;font-weight:500;transition:background .15s,border-color .15s,color .15s}.fd-fill-source-action-btn--primary{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.fd-fill-source-action-btn--primary:hover{background:#dbeafe;border-color:#93c5fd}.fd-fill-source-action-btn--upload:hover{color:#4338ca;background:#f8f9fb;border-color:#c7d2fe}.fd-fill-source-action-btn:disabled{opacity:.55;cursor:not-allowed}.fd-fill-source-reset-btn{color:#4b5563;cursor:pointer;background:#fff;border:1px solid #dfe3ea;border-radius:8px;width:100%;padding:7px 10px;font-size:12px;font-weight:500;transition:background .15s,border-color .15s,color .15s}.fd-fill-source-reset-btn:hover{color:#4338ca;background:#f8f9fb;border-color:#c7d2fe}.fd-wps-editor-stage .fd-btn-refill-content{z-index:30;pointer-events:auto;color:#fff;cursor:pointer;background:linear-gradient(135deg,#7c5cff 0%,#4f8cff 100%);border:none;border-radius:999px;padding:10px 22px;font-size:14px;font-weight:600;position:absolute;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 6px 20px #4f6cff59}.fd-wps-editor-stage .fd-btn-refill-content:hover{filter:brightness(1.05)}.fd-wps-editor-stage .fd-btn-refill-content:disabled{opacity:.55;cursor:not-allowed}.fd-materials-index-badge{vertical-align:middle;border-radius:999px;margin-right:8px;padding:2px 8px;font-size:11px;line-height:1.2;display:inline-block}.fd-wps-editor-toolbar{background:#fff;border-bottom:1px solid #e0e4e8;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:8px 12px;font-size:13px;display:flex}.fd-wps-layout-toolbar{align-items:center;gap:8px;margin-left:auto;display:flex}.fd-wps-download-chapter-btn,.fd-wps-format-template-btn,.fd-wps-strategy-btn{color:#0d6efd;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #0d6efd;border-radius:4px;padding:4px 12px;font-size:12px;line-height:1.4;transition:background .15s,border-color .15s,color .15s}.fd-wps-format-template-btn{color:#198754;border-color:#198754}.fd-wps-strategy-btn{color:#6f42c1;border-color:#6f42c1}.fd-wps-download-chapter-btn:hover:not(:disabled){color:#0a58ca;background:#e7f1ff;border-color:#0a58ca}.fd-wps-format-template-btn:hover:not(:disabled){color:#157347;background:#e8f5ee;border-color:#157347}.fd-wps-strategy-btn:hover:not(:disabled){color:#5a32a3;background:#f0eaf8;border-color:#5a32a3}.fd-wps-download-chapter-btn:disabled,.fd-wps-format-template-btn:disabled,.fd-wps-strategy-btn:disabled{opacity:.55;cursor:not-allowed}.fd-wps-layout-toolbar.is-busy{opacity:.7;pointer-events:none}.night-mode .fd-wps-download-chapter-btn{color:#6ea8fe;background:#1a2332;border-color:#375a9e}.night-mode .fd-wps-format-template-btn{color:#75b798;background:#1a2332;border-color:#2d6a4f}.night-mode .fd-wps-strategy-btn{color:#b18bd6;background:#1a2332;border-color:#5a32a3}.night-mode .fd-wps-download-chapter-btn:hover:not(:disabled),.night-mode .fd-wps-format-template-btn:hover:not(:disabled),.night-mode .fd-wps-strategy-btn:hover:not(:disabled){background:#243044}.fd-format-template-modal-hint{color:#64748b;margin:0 0 12px;font-size:13px}.fd-format-template-clause-list{margin:0;padding:0;list-style:none}.fd-format-template-clause-item{border:1px solid #e2e8f0;border-radius:8px;margin-bottom:10px;overflow:hidden}.fd-format-template-clause-item--current{border-color:#198754;box-shadow:0 0 0 1px #19875426}.fd-format-template-clause-summary{cursor:pointer;background:#f8fafc;align-items:center;gap:8px;padding:10px 12px;font-size:13px;font-weight:600;display:flex}.fd-format-template-clause-item--current .fd-format-template-clause-summary{background:#ecfdf3}.fd-format-template-clause-badge{color:#198754;background:#d1e7dd;border-radius:999px;margin-left:auto;padding:2px 8px;font-size:11px;font-weight:500}.fd-format-template-clause-preview{white-space:pre-wrap;word-break:break-word;background:#fff;border-top:1px solid #e2e8f0;max-height:280px;margin:0;padding:12px;font-size:12px;line-height:1.55;overflow:auto}.fd-wps-save-status{color:#5c6370;flex:1}.fd-wps-editor-host{background:#eef1f5;flex-direction:column;flex:1;height:100%;min-height:480px;display:flex;position:relative;overflow:hidden}.fd-wps-editor-host iframe{border:0;flex:1;min-height:420px;display:block;width:100%!important;height:100%!important}.fd-mat-status--ready{color:#0f5132;background:#d1e7dd}.fd-mat-status--indexing{color:#055160;background:#cff4fc}.fd-mat-status--stale{color:#664d03;background:#fff3cd}.fd-mat-status--failed{color:#842029;background:#f8d7da}.fd-mat-status--pending{color:#495057;background:#e9ecef}.fd-wps-placeholder{color:#6c757d;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;height:100%;min-height:320px;padding:24px;display:flex}.fd-step4-init-overlay{color:#4a5568;text-align:center;background:#f8f9fb;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:16px;min-height:420px;padding:48px 24px;display:flex}.fd-step4-init-overlay .loading-spinner{width:36px;height:36px}.fd-step4-init-overlay #fd-step4-init-status{font-size:15px;font-weight:500;line-height:1.5}.fd-wps-section-load-overlay{z-index:110;text-align:center;color:#3d4450;-webkit-backdrop-filter:blur(3px);cursor:wait;background:#f8f9fbf0;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:32px 24px;display:none;position:absolute;inset:0}.fd-wps-section-load-overlay.is-visible{display:flex}.fd-wps-section-load-overlay .loading-spinner{width:36px;height:36px}.fd-wps-section-load-text{color:#2b3442;margin:0;font-size:15px;font-weight:500;line-height:1.5}.fd-wps-section-load-chapter{color:#1a56db;max-width:92%;margin:0;font-size:17px;font-weight:700;line-height:1.4}.fd-wps-editor-canvas.fd-wps-section-switch-flash{animation:.38s fdWpsSectionSwitchFlash}@keyframes fdWpsSectionSwitchFlash{0%{opacity:.45;transform:scale(.992)}to{opacity:1;transform:scale(1)}}.fd-fill-source-sync-banner{color:#1e3a8a;background:linear-gradient(#eff6ff 0%,#dbeafe 100%);border:1px solid #bfdbfe;border-radius:8px;margin:8px 0 10px;padding:10px 12px;display:none}.fd-fill-source-sync-banner.is-active{display:block}.fd-fill-source-sync-banner-inner{align-items:flex-start;gap:10px;display:flex}.fd-fill-source-sync-spinner{flex:0 0 18px;width:18px;height:18px;margin-top:2px}.fd-fill-source-sync-copy{flex-direction:column;gap:4px;font-size:13px;line-height:1.45;display:flex}.fd-fill-source-sync-copy strong{font-size:14px;font-weight:600}.night-mode .fd-fill-source-sync-banner{color:#dbeafe;background:#1e3a8a47;border-color:#1d4ed8}.night-mode .fd-wps-section-load-chapter{color:#93c5fd}.fd-wps-editor-canvas.fd-wps-doc-loading .fd-wps-editor-host{visibility:hidden}.fd-wps-editor-canvas.fd-wps-doc-loading .fd-wps-editor-body-row{pointer-events:none}.night-mode .fd-wps-section-load-overlay{color:#c8cdd6;background:#161a22eb}.night-mode .fd-wps-section-load-text{color:#e8eaef}.fd-refill-busy-overlay{z-index:120;text-align:center;color:#3d4450;-webkit-backdrop-filter:blur(3px);cursor:wait;background:#ffffffe0;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:32px 24px;display:none;position:absolute;inset:0}.fd-refill-busy-overlay.is-visible{display:flex}.fd-refill-busy-overlay .loading-spinner{width:40px;height:40px}.fd-refill-busy-title{color:#2b3442;margin:0;font-size:17px;font-weight:600;line-height:1.4}.fd-refill-busy-section{color:#5c6370;margin:0;font-size:14px;line-height:1.5}.fd-refill-busy-hint{color:#8a93a3;max-width:360px;margin:4px 0 0;font-size:13px;line-height:1.5}.fd-wps-editor-canvas.fd-refill-busy-active .fd-wps-editor-host{visibility:hidden}.fd-wps-editor-canvas.fd-refill-busy-active .fd-wps-editor-body-row{pointer-events:none}.night-mode .fd-refill-busy-overlay{color:#d8dee9;background:#161b22e6}.night-mode .fd-refill-busy-title{color:#e8edf5}.night-mode .fd-refill-busy-section{color:#b8c0cc}.night-mode .fd-refill-busy-hint{color:#8b949e}#fd-step4.fd-wps-mode .fd-reading-toolbar,#fd-step4.fd-wps-mode #fd-btn-edit-content,#fd-step4.fd-wps-mode #fd-bid-doc-toc-list .bid-doc-toc-edit-btn{display:none!important}#fd-step4 #fd-bid-doc-toc-list.bid-toc-list{position:relative}#fd-step4 #fd-bid-doc-toc-list .bid-doc-toc-item{align-items:center;padding-right:10px}#fd-step4 #fd-bid-doc-toc-list .bid-doc-toc-item-toggle{color:#6b7280;cursor:pointer;background:0 0;border:none;flex:0 0 18px;justify-content:center;align-items:center;width:18px;height:18px;margin-right:2px;padding:0;display:inline-flex}#fd-step4 #fd-bid-doc-toc-list .bid-doc-toc-item-toggle.expanded svg{transform:rotate(90deg)}#fd-step4 #fd-bid-doc-toc-list .bid-doc-toc-children.collapsed{display:none}#fd-step4 #fd-bid-doc-toc-list .bid-doc-toc-item.leaf .bid-doc-toc-item-text{font-weight:500}#fd-step4 #fd-bid-doc-toc-list .bid-doc-toc-item.folder .bid-doc-toc-item-text{font-weight:600}#fd-step4 #fd-bid-doc-toc-list .bid-doc-toc-item-text{flex:1;min-width:0}#fd-step4 #fd-content-mode-panel .bid-doc-layout{border:none;border-top:1px solid #e8ebef;border-radius:0;flex-direction:row;flex:none;align-items:stretch;height:700px;min-height:400px;max-height:920px;display:flex;position:relative;overflow:hidden}#fd-step4 #fd-bid-doc-toc.sc-toc-resizable{flex-direction:column;flex-shrink:0;height:100%;max-height:100%;transition:none;display:flex;position:relative;overflow:hidden}#fd-step4 #fd-bid-doc-toc .sc-toc-resize-handle{cursor:col-resize;z-index:6;touch-action:none;width:6px;height:100%;position:absolute;top:0;right:-3px}#fd-step4 #fd-bid-doc-toc .sc-toc-resize-handle:hover,body.sc-toc-resizing #fd-step4 #fd-bid-doc-toc .sc-toc-resize-handle{background:#1890ff47}#fd-step4 #fd-bid-doc-toc-list.bid-toc-list{flex:auto;min-height:0;overflow-y:auto}#fd-step4 .fd-editor-split{flex:auto;min-width:0;height:100%;min-height:0;overflow:hidden}#fd-step4 .sc-step4-layout-resize-handle{cursor:row-resize;z-index:7;touch-action:none;height:8px;position:absolute;bottom:0;left:0;right:0}#fd-step4 .sc-step4-layout-resize-handle:hover,body.sc-step4-height-resizing #fd-step4 .sc-step4-layout-resize-handle{background:#1890ff47}.fd-toc-menu-btn{color:#6b7280;cursor:pointer;opacity:0;visibility:hidden;pointer-events:none;background:#fff;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;margin-left:auto;padding:0;transition:opacity .15s,visibility .15s,background .15s;display:inline-flex;position:static;transform:none;box-shadow:0 1px 4px #0f172a1f}.fd-toc-menu-dots{letter-spacing:1px;font-size:15px;font-weight:700;line-height:1;transform:translateY(-1px)}#fd-step4 #fd-bid-doc-toc-list .bid-doc-toc-item:hover .fd-toc-menu-btn,#fd-step4 #fd-bid-doc-toc-list .bid-doc-toc-item:focus-within .fd-toc-menu-btn,#fd-step4 #fd-bid-doc-toc-list .bid-doc-toc-item.active .fd-toc-menu-btn,#fd-step4 #fd-bid-doc-toc-list .bid-doc-toc-item.fd-toc-menu-open .fd-toc-menu-btn{opacity:1;visibility:visible;pointer-events:auto}.fd-toc-menu-btn:hover{color:#374151;background:#f3f4f6}.fd-toc-menu-dropdown{z-index:30;background:#fff;border:1px solid #e5e7eb;border-radius:10px;min-width:168px;padding:6px 0;position:absolute;box-shadow:0 10px 28px #0f172a24}.fd-toc-menu-dropdown.fd-toc-menu-fixed{z-index:1200;position:fixed}.fd-toc-menu-dropdown button{text-align:left;color:#374151;cursor:pointer;background:0 0;border:none;align-items:center;gap:10px;width:100%;padding:9px 14px;font-size:13px;display:flex}.fd-toc-menu-dropdown button:hover{background:#f4f6f9}.fd-toc-menu-dropdown button.danger{color:#dc2626}.fd-toc-menu-icon{opacity:.72;background-position:50%;background-repeat:no-repeat;background-size:16px 16px;flex-shrink:0;width:16px;height:16px}.fd-toc-menu-icon-edit{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2364748b'%3E%3Cpath d='M11.013 1.427a1.75 1.75 0 0 1 2.474 0l1.086 1.086a1.75 1.75 0 0 1 0 2.474l-8.61 8.61a.25.25 0 0 1-.108.064l-3.25.93a.75.75 0 0 1-.927-.928l.929-3.25a.25.25 0 0 1 .064-.108l8.61-8.61z'/%3E%3C/svg%3E")}.fd-toc-menu-icon-up{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2364748b'%3E%3Cpath d='M8 4.5a.5.5 0 0 1 .5.5v5.793l2.146-2.147a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 1 1 .708-.708L7.5 10.793V5a.5.5 0 0 1 .5-.5z'/%3E%3C/svg%3E")}.fd-toc-menu-icon-down{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2364748b'%3E%3Cpath d='M8 11.5a.5.5 0 0 1-.5-.5V5.207L5.354 7.354a.5.5 0 1 1-.708-.708l3-3a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 5.207V11a.5.5 0 0 1-.5.5z'/%3E%3C/svg%3E")}.fd-toc-menu-icon-delete{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23dc2626'%3E%3Cpath d='M6.5 1h3a.5.5 0 0 1 .5.5v1H6v-1a.5.5 0 0 1 .5-.5zM4.5 4v10a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1V4h-7z'/%3E%3C/svg%3E")}.fd-toc-menu-dropdown button.danger .fd-toc-menu-icon-delete{opacity:1}.bid-doc-toc-item{color:#4a5568;cursor:pointer;-webkit-user-select:none;user-select:none;border-left:3px solid #0000;align-items:flex-start;gap:6px;padding:10px 20px;font-size:13px;line-height:1.5;transition:all .2s;display:flex}.bid-doc-toc-item.disabled{cursor:not-allowed;opacity:.5}.bid-doc-toc-item.disabled:hover{color:#4a5568;background:0 0}.bid-doc-toc-item-toggle{cursor:pointer;border-radius:3px;flex-shrink:0;justify-content:center;align-items:center;width:16px;height:16px;margin-top:2px;transition:background .2s,transform .2s;display:flex}.bid-doc-toc-item-toggle:hover{background:#0000000f}.bid-doc-toc-item-toggle.expanded{transform:rotate(90deg)}.bid-doc-toc-item-toggle svg{fill:currentColor;width:10px;height:10px}.bid-doc-toc-item-toggle.hidden{visibility:hidden}.bid-doc-toc-children{transition:max-height .3s;position:relative;overflow:hidden}.bid-doc-toc-children.collapsed{max-height:0!important}.bid-doc-toc-chapter-group{position:relative}#step4 #bid-toc-wrapper.sc-toc-resizable{flex-shrink:0;transition:none;position:relative}#step4 #bid-toc-wrapper .sc-toc-resize-handle{cursor:col-resize;z-index:6;touch-action:none;width:6px;height:100%;position:absolute;top:0;right:-3px}#step4 #bid-toc-wrapper .sc-toc-resize-handle:hover,body.sc-toc-resizing #step4 #bid-toc-wrapper .sc-toc-resize-handle{background:#1890ff47}body.sc-toc-resizing{cursor:col-resize!important;-webkit-user-select:none!important;user-select:none!important}body.sc-toc-resizing #fd-step4 #fd-bid-doc-toc,body.sc-toc-resizing #step4 #bid-toc-wrapper,body.sc-toc-resizing #scoring #step4 #bid-toc-wrapper{will-change:width}body.sc-step4-height-resizing #fd-step4 #fd-content-mode-panel .bid-doc-layout,body.sc-step4-height-resizing #scoring #step4 #generation-result .bid-doc-layout{will-change:height}body.sc-toc-resizing .bid-doc-layout,body.sc-toc-resizing .bid-doc-layout *,body.sc-step4-height-resizing .bid-doc-layout,body.sc-step4-height-resizing .bid-doc-layout *{transition:none!important}body.sc-step4-height-resizing .fd-wps-editor-host iframe{pointer-events:none}body.sc-toc-resizing #fd-step4 #fd-wps-editor-host,body.sc-step4-height-resizing #fd-step4 #fd-wps-editor-host{contain:layout size style}body.sc-toc-resizing #fd-step4 #fd-wps-editor-host iframe,body.sc-step4-height-resizing #fd-step4 #fd-wps-editor-host iframe{pointer-events:none}#step4 #bid-doc-toc-list.bid-toc-list{padding:4px 6px 8px 4px;position:relative}#step4 #bid-doc-toc-list .bid-doc-toc-item{border-left:none;border-radius:6px;align-items:flex-start;gap:2px;margin:1px 0;padding:3px 6px 3px 4px}#step4 #bid-doc-toc-list .bid-doc-toc-item.level-1{align-items:center;margin:2px 0;padding:5px 6px 5px 2px}#step4 #bid-doc-toc-list .bid-doc-toc-children{border-left:none;margin-left:6px;padding-left:0}#step4 #bid-doc-toc-list .bid-doc-toc-item:not(.level-1){position:static}#step4 #bid-doc-toc-list .bid-doc-toc-item.level-2{padding-left:4px}#step4 #bid-doc-toc-list .bid-doc-toc-item.level-3{padding-left:16px}#step4 #bid-doc-toc-list .bid-doc-toc-item.level-4{padding-left:28px}#step4 #bid-doc-toc-list .bid-doc-toc-item.level-5{padding-left:40px}#step4 #bid-doc-toc-list .bid-doc-toc-item.level-2:before,#step4 #bid-doc-toc-list .bid-doc-toc-item.level-2:after,#step4 #bid-doc-toc-list .bid-doc-toc-item.level-3:before,#step4 #bid-doc-toc-list .bid-doc-toc-item.level-3:after,#step4 #bid-doc-toc-list .bid-doc-toc-item.level-4:before,#step4 #bid-doc-toc-list .bid-doc-toc-item.level-4:after,#step4 #bid-doc-toc-list .bid-doc-toc-item.level-5:before,#step4 #bid-doc-toc-list .bid-doc-toc-item.level-5:after{display:none}#step4 #bid-doc-toc-list .bid-doc-toc-item.active{color:#1677ff;background:#1890ff1a;font-weight:500}#step4 #bid-doc-toc-list .bid-doc-toc-item.level-1.active{color:#1a3a5c;background:#1a3a5c14;font-weight:600}#step4 #bid-doc-toc-list .bid-doc-toc-item-text{word-break:break-word;overflow-wrap:break-word;text-align:left;flex:1;min-width:0;line-height:1.4}#step4 #bid-doc-toc-list .bid-doc-toc-item:not(.level-1) .bid-doc-toc-item-text{padding-top:2px}#step4 #bid-doc-toc-list .bid-doc-toc-item-status{flex-shrink:0;margin-top:3px}#step4 #bid-doc-toc-list .bid-doc-toc-item.level-1 .bid-doc-toc-item-status{background-size:9px 9px;width:14px;height:14px;margin-top:0}#step4 #bid-doc-toc-list .bid-doc-toc-item.level-2 .bid-doc-toc-item-status,#step4 #bid-doc-toc-list .bid-doc-toc-item.level-3 .bid-doc-toc-item-status,#step4 #bid-doc-toc-list .bid-doc-toc-item.level-4 .bid-doc-toc-item-status,#step4 #bid-doc-toc-list .bid-doc-toc-item.level-5 .bid-doc-toc-item-status{visibility:hidden!important;display:none!important}#step4 #bid-doc-toc-list .bid-doc-toc-item-toggle{width:14px;height:14px;margin-top:1px}#step4 #bid-doc-toc-list .bid-doc-toc-item-toggle svg{width:9px;height:9px}#step4 #bid-doc-toc-list .sc-toc-menu-btn{align-self:flex-start;width:22px;height:22px;margin-top:0}#step4 #bid-doc-toc-list .bid-doc-toc-item.level-1 .sc-toc-menu-btn{align-self:center}#step4 #bid-doc-toc-list.bid-toc-list .bid-doc-toc-item{font-size:11px}#step4 #bid-doc-toc-list.bid-toc-list .bid-doc-toc-item.level-1{font-size:12px;font-weight:600}#step4 #bid-doc-toc-list.bid-toc-list .bid-doc-toc-item.level-2{color:#333;font-size:11px;font-weight:500}#step4 #bid-doc-toc-list.bid-toc-list .bid-doc-toc-item.level-3{color:#444;font-size:10.5px}#step4 #bid-doc-toc-list.bid-toc-list .bid-doc-toc-item.level-4,#step4 #bid-doc-toc-list.bid-toc-list .bid-doc-toc-item.level-5{color:#666;font-size:10px}.sc-toc-menu-btn{color:#6b7280;cursor:pointer;opacity:0;visibility:hidden;pointer-events:none;background:#fff;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:26px;height:26px;margin-left:auto;padding:0;transition:opacity .15s,visibility .15s,background .15s;display:inline-flex;box-shadow:0 1px 3px #0f172a1f}.sc-toc-menu-dots{letter-spacing:1px;font-size:14px;line-height:1;transform:translateY(-1px)}#step4 #bid-doc-toc-list .bid-doc-toc-item:hover .sc-toc-menu-btn,#step4 #bid-doc-toc-list .bid-doc-toc-item:focus-within .sc-toc-menu-btn,#step4 #bid-doc-toc-list .bid-doc-toc-item.active .sc-toc-menu-btn,#step4 #bid-doc-toc-list .bid-doc-toc-item.sc-toc-menu-open .sc-toc-menu-btn{opacity:1;visibility:visible;pointer-events:auto}.sc-toc-menu-btn:hover{color:#374151;background:#f3f4f6}.sc-toc-menu-dropdown{z-index:300;background:#fff;border:1px solid #e5e7eb;border-radius:8px;min-width:148px;padding:4px;position:absolute;box-shadow:0 8px 24px #0f172a1f}.sc-toc-menu-dropdown button{color:#374151;cursor:pointer;text-align:left;background:0 0;border:none;border-radius:6px;align-items:center;gap:8px;width:100%;padding:8px 10px;font-size:13px;display:flex}.sc-toc-menu-dropdown button:hover{background:#f3f4f6}.sc-toc-menu-icon{background-position:50%;background-repeat:no-repeat;background-size:contain;flex-shrink:0;width:14px;height:14px}#step4 #bid-doc-toc-list .bid-doc-toc-drag-handle{display:none!important}.sc-toc-menu-dropdown button.danger{color:#dc2626}.sc-toc-menu-dropdown button:disabled{opacity:.45;cursor:not-allowed}.sc-toc-menu-icon-edit{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2364748b'%3E%3Cpath d='M11.013 1.427a1.75 1.75 0 0 1 2.474 0l1.086 1.086a1.75 1.75 0 0 1 0 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 0 1-.927-.928l.929-3.25a1.75 1.75 0 0 1 .445-.758l8.61-8.61z'/%3E%3C/svg%3E")}.sc-toc-menu-icon-up{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2364748b'%3E%3Cpath d='M8 4.5a.5.5 0 0 1 .5.5v5.793l2.146-2.147a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 1 1 .708-.708L7.5 10.793V5a.5.5 0 0 1 .5-.5z'/%3E%3C/svg%3E")}.sc-toc-menu-icon-down{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2364748b'%3E%3Cpath d='M8 11.5a.5.5 0 0 1-.5-.5V5.207L5.354 7.354a.5.5 0 1 1-.708-.708l3-3a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 5.207V11a.5.5 0 0 1-.5.5z'/%3E%3C/svg%3E")}.sc-toc-menu-icon-delete{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23dc2626'%3E%3Cpath d='M6.5 1h3a.5.5 0 0 1 .5.5v1H6v-1a.5.5 0 0 1 .5-.5zM4.5 4v10a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1V4h-7z'/%3E%3C/svg%3E")}.sc-toc-menu-dropdown button.danger .sc-toc-menu-icon-delete{opacity:1}.night-mode .sc-toc-menu-btn{color:#bbb;background:#2a2a3a;box-shadow:0 1px 3px #00000059}.night-mode .sc-toc-menu-dropdown{background:#2a2a3a;border-color:#444}.night-mode .sc-toc-menu-dropdown button{color:#ddd}.night-mode .sc-toc-menu-dropdown button:hover{background:#3a3a4a}.bid-doc-toc-drag-handle{cursor:grab;opacity:.3;border-radius:3px;flex-shrink:0;justify-content:center;align-items:center;width:16px;height:16px;transition:opacity .2s,background .2s;display:flex}.bid-doc-toc-drag-handle:hover{opacity:.8;background:#1890ff1a}.bid-doc-toc-drag-handle:active{cursor:grabbing;opacity:1}.bid-doc-toc-drag-handle svg{fill:#666}.bid-doc-toc-item.level-1:hover .bid-doc-toc-drag-handle{opacity:.6}.night-mode .bid-doc-toc-drag-handle svg{fill:#89a}.bid-doc-toc-chapter-group.sortable-ghost{opacity:.4;background:#1890ff0f;border-radius:4px;border:1px dashed #1890ff!important}.bid-doc-toc-chapter-group.sortable-chosen{border-radius:4px;box-shadow:0 2px 8px #1890ff33;border:1px solid #1890ff!important}.fd-chapter-heading-bar{cursor:grab}.fd-chapter-heading-bar:active{cursor:grabbing}.bid-chapter-card.sortable-ghost{opacity:.4;border:2px dashed #1890ff!important}.bid-chapter-card.sortable-chosen{box-shadow:0 4px 12px #1890ff40}.night-mode .bid-doc-toc-chapter-group.sortable-ghost{background:#1890ff1f;border:1px dashed #40a9ff!important}.night-mode .bid-doc-toc-chapter-group.sortable-chosen{box-shadow:0 2px 8px #1890ff4d;border:1px solid #40a9ff!important}.night-mode .bid-chapter-card.sortable-ghost{border:2px dashed #40a9ff!important}.night-mode .bid-chapter-card.sortable-chosen{box-shadow:0 4px 12px #1890ff59}.bid-chapter-card .fd-format-toolbar{z-index:120;background:linear-gradient(#fff 0%,#f8fafc 100%);border-bottom:1px solid #e2e8f0;flex-shrink:0;margin:0;display:none;position:sticky;top:0;box-shadow:0 1px 3px #0f172a0f}.bid-chapter-card .fd-format-toolbar.visible{display:block}.bid-word-ribbon{align-items:stretch;gap:8px;min-height:56px;padding:6px 10px 6px 12px;display:flex}.bid-word-ribbon-main{flex-wrap:wrap;flex:1;align-items:stretch;gap:4px;min-width:0;display:flex}.bid-word-ribbon-block{flex-direction:column;justify-content:center;gap:4px;min-width:0;padding:2px 4px;display:flex}.bid-word-ribbon-label{letter-spacing:.02em;color:#64748b;-webkit-user-select:none;user-select:none;padding-left:2px;font-size:10px;font-weight:500;line-height:1}.bid-word-ribbon-vsep{background:linear-gradient(#0000,#cbd5e1 20% 80%,#0000);flex-shrink:0;align-self:stretch;width:1px;margin:6px 2px}.bid-word-ribbon-actions{flex-shrink:0;align-items:center;padding-left:4px;display:flex}.bid-word-style-toolbar-inner{align-items:center;gap:12px;min-height:44px;padding:6px 12px;display:flex}.bid-word-style-group{flex-direction:column;justify-content:center;gap:2px;min-width:180px;display:flex}.bid-word-style-group-label{color:#605e5c;padding-left:2px;font-size:11px;line-height:1}.bid-word-style-picker{position:relative}.bid-word-style-current{cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;align-items:center;gap:8px;min-width:132px;max-width:168px;height:32px;padding:0 10px;transition:border-color .15s,box-shadow .15s,background .15s;display:flex}.bid-word-style-current:hover,.bid-word-style-current[aria-expanded=true]{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61f}.bid-word-style-current-text{text-align:left;flex-direction:column;align-items:flex-start;min-width:0;display:flex}.bid-word-style-current-name{color:#64748b;order:2;font-size:10px;line-height:1.1}.bid-word-style-current-preview{color:#0f172a;white-space:nowrap;text-overflow:ellipsis;order:1;max-width:96px;font-size:13px;font-weight:500;line-height:1.2;overflow:hidden}.bid-word-style-chevron{color:#64748b;flex-shrink:0;margin-left:auto}.bid-word-style-dropdown{z-index:200;background:#fff;border:1px solid #e2e8f0;border-radius:12px;min-width:280px;max-height:340px;padding:6px;position:absolute;top:calc(100% + 4px);left:0;overflow:auto;box-shadow:0 10px 40px #0f172a1f}.bid-word-style-option{text-align:left;cursor:pointer;background:0 0;border:none;border-radius:8px;grid-template-rows:auto auto;grid-template-columns:72px 1fr;gap:0 10px;width:100%;padding:8px 10px;transition:background .12s;display:grid}.bid-word-style-option:hover,.bid-word-style-option.active{background:#f1f5f9}.bid-word-style-option-label{color:#64748b;grid-area:1/1/span 2;align-self:center;font-size:12px}.bid-word-style-option-preview{color:#0f172a;white-space:nowrap;text-overflow:ellipsis;grid-area:1/2;overflow:hidden}.bid-word-style-option-hint{color:#94a3b8;grid-area:2/2;font-size:11px}.bid-word-style-hint{color:#8a8886;white-space:nowrap;flex:1;font-size:12px}.bid-word-style-divider{background:#d2d0ce;flex-shrink:0;align-self:stretch;width:1px;margin:4px 0}.bid-word-font-row{align-items:center;gap:6px;display:flex}.bid-word-font-select{color:#0f172a;cursor:pointer;appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='%2364748b' d='M4.646 6.646a.5.5 0 0 1 .708 0L8 9.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") right 8px center no-repeat;border:1px solid #cbd5e1;border-radius:8px;height:32px;padding:0 28px 0 10px;font-size:12px;line-height:1;transition:border-color .15s,box-shadow .15s}.bid-word-font-select:hover,.bid-word-font-select:focus{border-color:#3b82f6;outline:none;box-shadow:0 0 0 3px #3b82f61f}.bid-word-font-select[data-sc-font-family]{min-width:108px;max-width:128px}.bid-word-font-size-select{min-width:56px;max-width:64px;padding-right:24px}.bid-word-format-group{min-width:0}.bid-word-format-row{flex-wrap:wrap;align-items:center;gap:2px;display:flex}.bid-word-format-btn{color:#334155;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;padding:0;transition:background .12s,border-color .12s,color .12s,opacity .12s;display:inline-flex}.bid-word-format-btn svg{width:18px;height:18px;display:block}.bid-word-format-btn:hover:not(:disabled){color:#0f172a;background:#f1f5f9;border-color:#e2e8f0}.bid-word-format-btn.active{color:#1d4ed8;background:#dbeafe;border-color:#93c5fd}.bid-word-format-btn:disabled{opacity:.35;cursor:not-allowed}.bid-word-format-sep{background:#e2e8f0;flex-shrink:0;width:1px;height:20px;margin:0 3px}.bid-word-color-btn{cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;width:32px;height:32px;padding:0;transition:background .12s,border-color .12s;display:inline-flex;position:relative}.bid-word-color-btn:hover,.bid-word-color-trigger[aria-expanded=true]{background:#f1f5f9;border-color:#e2e8f0}.bid-word-color-picker{display:inline-flex;position:relative}.bid-word-color-panel{z-index:220;background:#fff;border:1px solid #e2e8f0;border-radius:10px;width:228px;padding:8px;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 12px 32px #0f172a24}.bid-word-color-default-btn{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:4px;width:100%;height:28px;margin-bottom:8px;font-size:12px;transition:background .12s,border-color .12s;display:block}.bid-word-color-default-btn:hover{background:#f8fafc;border-color:#94a3b8}.bid-word-color-theme-grid{gap:2px;margin-bottom:8px;display:flex}.bid-word-color-theme-col{flex-direction:column;gap:2px;display:flex}.bid-word-color-swatch{cursor:pointer;border:1px solid #0f172a14;border-radius:2px;width:18px;height:18px;padding:0;transition:transform .1s,box-shadow .12s}.bid-word-color-swatch:hover{z-index:1;transform:scale(1.08);box-shadow:0 0 0 2px #3b82f659}.bid-word-color-section-label{color:#64748b;margin-bottom:4px;font-size:11px}.bid-word-color-standard-row{grid-template-columns:repeat(10,1fr);gap:2px;display:grid}.bid-word-color-swatch--std{width:18px;height:18px}.bid-word-color-icon{color:#0f172a;font-family:Georgia,Times New Roman,serif;font-size:14px;font-weight:700;line-height:1}.bid-word-color-btn--highlight .bid-word-color-icon{font-family:Segoe UI,Microsoft YaHei,sans-serif;font-size:11px;font-weight:600}.bid-word-color-bar{background:#0f172a;border-radius:2px;width:16px;height:3px;margin-top:2px;display:block}.bid-word-color-btn--highlight .bid-word-color-bar{background:#fef08a}.bid-word-format-icon{font-family:Segoe UI,Microsoft YaHei,sans-serif;font-size:12px;font-weight:600;line-height:1}.bid-word-format-align-left{text-align:left;width:14px;display:inline-block}.bid-word-format-align-center{text-align:center;width:14px;display:inline-block}.bid-word-format-align-right{text-align:right;width:14px;display:inline-block}.bid-word-style-actions{margin-left:auto}.bid-word-style-done{color:#fff;cursor:pointer;white-space:nowrap;background:linear-gradient(#3b82f6 0%,#2563eb 100%);border:none;border-radius:8px;height:34px;padding:0 16px;font-size:13px;font-weight:500;transition:background .15s,box-shadow .15s,transform .1s;box-shadow:0 1px 2px #2563eb40}.bid-word-style-done:hover{background:linear-gradient(#2563eb 0%,#1d4ed8 100%);box-shadow:0 4px 12px #2563eb47}.bid-word-style-done:active{transform:translateY(1px)}.bid-style-lv-0{font-size:13px;font-weight:400}.bid-style-lv-2{font-size:15px;font-weight:600}.bid-style-lv-3{font-size:14px;font-weight:600}.bid-style-lv-4{font-size:13px;font-weight:600}.bid-style-lv-5{font-size:13px;font-weight:500}.bid-style-lv-6{font-size:12px;font-weight:500}.night-mode .bid-chapter-card .fd-format-toolbar{background:linear-gradient(#2a2a3a 0%,#232334 100%);border-color:#3f3f52;box-shadow:0 1px 4px #00000059}.night-mode .bid-word-ribbon-label{color:#94a3b8}.night-mode .bid-word-ribbon-vsep{background:linear-gradient(#0000,#475569 20% 80%,#0000)}.night-mode .bid-word-style-current{color:#eee;background:#1f1f2b;border-color:#475569}.night-mode .bid-word-font-select{color:#eee;background-color:#1f1f2b;border-color:#475569}.night-mode .bid-word-style-current-name,.night-mode .bid-word-style-option-label,.night-mode .bid-word-style-chip-name{color:#94a3b8}.night-mode .bid-word-style-current-preview,.night-mode .bid-word-style-option-preview{color:#f1f5f9}.night-mode .bid-word-style-dropdown{background:#2a2a3a;border-color:#475569;box-shadow:0 10px 40px #00000073}.night-mode .bid-word-style-option:hover,.night-mode .bid-word-style-option.active,.night-mode .bid-word-style-chip.active{background:#3b82f62e}.night-mode .bid-word-style-chip:hover{background:#3a3a4a;border-color:#555}.night-mode .bid-word-style-divider{background:#444}.night-mode .bid-word-format-btn{color:#e2e8f0}.night-mode .bid-word-format-btn:hover:not(:disabled){color:#fff;background:#3a3a4a;border-color:#555}.night-mode .bid-word-format-btn.active{color:#93c5fd;background:#3b82f638;border-color:#3b82f6}.night-mode .bid-word-format-sep{background:#475569}.night-mode .bid-word-color-panel{background:#2a2a3a;border-color:#475569;box-shadow:0 12px 32px #00000073}.night-mode .bid-word-color-default-btn{color:#e2e8f0;background:#1f1f2b;border-color:#475569}.night-mode .bid-word-color-section-label{color:#94a3b8}.night-mode .bid-word-color-btn:hover,.night-mode .bid-word-color-trigger[aria-expanded=true]{background:#3a3a4a;border-color:#555}.night-mode .bid-word-color-icon{color:#f1f5f9}.night-mode .bid-word-style-done{background:linear-gradient(#2563eb 0%,#1d4ed8 100%)}.bid-doc-toc-item-text{word-break:break-all;overflow-wrap:break-word;flex:1;min-width:0}.bid-doc-toc-item{position:relative}.bid-doc-toc-edit-btn{color:#999;cursor:pointer;opacity:0;z-index:2;background:0 0;border:none;border-radius:3px;justify-content:center;align-items:center;width:22px;height:22px;transition:opacity .2s,background .15s,color .15s;display:flex;position:absolute;top:50%;right:4px;transform:translateY(-50%)}.bid-doc-toc-item:hover .bid-doc-toc-edit-btn{opacity:1}.bid-doc-toc-edit-btn:hover{color:#333;background:#e0e0e0}.bid-doc-toc-edit-btn svg{width:12px;height:12px}.night-mode .bid-doc-toc-edit-btn{color:#777}.night-mode .bid-doc-toc-edit-btn:hover{color:#ddd;background:#3a3a4a}.bid-doc-toc-item-text[contenteditable=true]{cursor:text;border-radius:2px;outline:1px dashed #91d5f0;padding:0 2px}.bid-doc-toc-item-text[contenteditable=true]:focus{background:#1890ff0a;outline:2px solid #1890ff}.bid-toc-inline-editor{width:100%;font-size:inherit;font-family:inherit;line-height:inherit;color:inherit;box-sizing:border-box;background:#fff;border:1px solid #1890ff;border-radius:3px;outline:none;padding:1px 4px}.night-mode .bid-toc-inline-editor{color:#e0e0e0;background:#1e1e1e}.bid-doc-toc-item-status{box-sizing:border-box;background-color:#fff;background-position:50%;background-repeat:no-repeat;background-size:11px 11px;border:1.5px solid #b0b8c4;border-radius:50%;flex-shrink:0;width:16px;height:16px;margin-top:3px}.bid-doc-toc-item-status.pending{background-color:#fff;border-color:#b0b8c4}.bid-doc-toc-item-status.generating{background-color:#fff;border-color:#0000 #1890ff #1890ff;animation:.85s linear infinite toc-status-ring-spin}.bid-doc-toc-item-status.completed{background-color:#f6ffed;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%2352c41a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 8.5 6.5 11 12 5'/%3E%3C/svg%3E");border-color:#52c41a}.bid-doc-toc-item-status.failed{background-color:#fff2f0;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ff4d4f' stroke-width='2' stroke-linecap='round' d='M5 5l6 6M11 5l-6 6'/%3E%3C/svg%3E");border-color:#ff4d4f}.bid-doc-toc-item-status.empty{background-color:#fafafa;border-style:dashed;border-color:#d9d9d9}@keyframes toc-status-ring-spin{to{transform:rotate(360deg)}}.bid-doc-toc-item:hover{color:#1a3a5c;background:#e8ecf1}.bid-doc-toc-item.active{color:#1a3a5c;background:#e3eaf3;border-left-color:#1a3a5c;font-weight:600}.bid-doc-toc-item.folder-nav-active:not(.active){color:#2a5080;background:#eef2f7;border-left-color:#8aa4c0}.bid-doc-toc-item.fill-all-highlight:not(.active){color:#7a5a00;background:#fff8e6;border-left-color:#e6b800;box-shadow:inset 0 0 0 1px #e6b80040}.bid-doc-toc-item.level-1{color:#1a1a1a;background:0 0;border-radius:4px;margin:2px 0;padding-left:12px;font-size:13px;font-weight:700}.bid-doc-toc-item.level-1:hover{background:#0000000a}.bid-doc-toc-item.level-1.active{color:#1a3a5c;background:#1a3a5c14}.bid-doc-toc-item.level-2{color:#333;padding:4px 8px 4px 28px;font-size:12px;font-weight:500;position:relative}.bid-doc-toc-item.level-2:before{content:"";background:#d9d9d9;width:1px;position:absolute;top:0;bottom:0;left:12px}.bid-doc-toc-item.level-2:after{content:"";background:#d9d9d9;width:12px;height:1px;position:absolute;top:50%;left:12px}.bid-doc-toc-item.level-2:hover{color:#1a3a5c;background:#00000008}.bid-doc-toc-item.level-2.active{color:#1a3a5c;background:#1a3a5c0f;font-weight:600}.bid-doc-toc-item.level-3{color:#555;padding:3px 8px 3px 44px;font-size:11.5px;font-weight:400;position:relative}.bid-doc-toc-item.level-3:before{content:"";background:#e8e8e8;width:1px;position:absolute;top:0;bottom:0;left:28px}.bid-doc-toc-item.level-3:after{content:"";background:#e8e8e8;width:12px;height:1px;position:absolute;top:50%;left:28px}.bid-doc-toc-item.level-3:hover{color:#1a3a5c;background:#00000005}.bid-doc-toc-item.level-3.active{color:#1a3a5c;background:#1a3a5c0a;font-weight:500}.bid-doc-toc-item.level-4{color:#666;padding:3px 8px 3px 60px;font-size:11px;font-weight:400;position:relative}.bid-doc-toc-item.level-4:before{content:"";background:#eee;width:1px;position:absolute;top:0;bottom:0;left:44px}.bid-doc-toc-item.level-4:after{content:"";background:#eee;width:12px;height:1px;position:absolute;top:50%;left:44px}.bid-doc-toc-item.level-4:hover{color:#1a3a5c}.bid-doc-toc-item.level-4.active{color:#1a3a5c;font-weight:500}.bid-doc-toc-item.level-5{color:#777;padding:2px 8px 2px 76px;font-size:10.5px;font-weight:400;position:relative}.bid-doc-toc-item.level-5:before{content:"";background:#f0f0f0;width:1px;position:absolute;top:0;bottom:0;left:60px}.bid-doc-toc-item.level-5:after{content:"";background:#f0f0f0;width:12px;height:1px;position:absolute;top:50%;left:60px}.bid-doc-toc-item.level-5:hover{color:#1a3a5c}.bid-doc-toc-item.level-5.active{color:#1a3a5c;font-weight:500}.bid-doc-content{scroll-behavior:smooth;background:#fff;flex:1;padding:0;overflow-y:auto}.bid-doc-content::-webkit-scrollbar{width:6px}.bid-doc-content::-webkit-scrollbar-thumb{background:#c1c7d0;border-radius:6px}.bid-doc-content::-webkit-scrollbar-track{background:0 0}.bid-chapter-card,.bid-doc-chapter{border-bottom:1px solid #edf0f4;padding:32px 40px;scroll-margin-top:0}.bid-chapter-card:last-child,.bid-doc-chapter:last-child{border-bottom:none}.bid-doc-chapter-title{color:#1a3a5c;text-align:center;letter-spacing:1px;border-bottom:2px solid #1a3a5c;margin-bottom:24px;padding-bottom:12px;font-family:SimHei,黑体,sans-serif;font-size:18px;font-weight:700}.bid-doc-chapter-title[contenteditable=true]{cursor:text;border-radius:4px;outline:none;transition:background .2s,box-shadow .2s}.bid-doc-chapter-title[contenteditable=true]:hover{background:#1890ff08}.bid-doc-chapter-title[contenteditable=true]:focus{background:#1890ff0f;border-bottom-color:#1890ff;box-shadow:0 0 0 2px #1890ff26}.bid-heading1[contenteditable=true],.bid-heading2[contenteditable=true]{cursor:text;border-radius:4px;outline:none;transition:background .2s,box-shadow .2s}.bid-heading1[contenteditable=true]:hover,.bid-heading2[contenteditable=true]:hover{background:#1890ff08}.bid-heading1[contenteditable=true]:focus,.bid-heading2[contenteditable=true]:focus{background:#1890ff0f;box-shadow:0 0 0 2px #1890ff26}.sc-heading-highlight,.fd-heading-highlight{border-radius:4px;transition:background .3s,box-shadow .3s;background:#1890ff14!important;box-shadow:0 0 0 2px #1890ff33!important}.night-mode .bid-heading1[contenteditable=true]:focus,.night-mode .bid-heading2[contenteditable=true]:focus{background:#5a8abf14;box-shadow:0 0 0 2px #5a8abf26}.night-mode .sc-heading-highlight,.night-mode .fd-heading-highlight{background:#5a8abf1a!important;box-shadow:0 0 0 2px #5a8abf33!important}.bid-chapter-card .bid-content-formatted,.bid-doc-chapter .bid-content-formatted{max-width:100%}.bid-doc-empty{color:#a0aec0;flex-direction:column;justify-content:center;align-items:center;gap:16px;height:100%;display:flex}.bid-doc-empty svg{color:#cbd5e0;width:56px;height:56px}.bid-doc-empty span{font-size:14px}.night-mode .bid-doc-layout{background:#1a1a2e;border-color:#2d3748}.night-mode .bid-doc-toc-item{color:#a0b4d0}.night-mode .bid-doc-toc-item:hover{color:#8ab4f8;background:#252550}.night-mode .bid-doc-toc-item.active{color:#8ab4f8;background:#252550;border-left-color:#8ab4f8}.night-mode .bid-doc-toc-item.level-1{color:#c0d0e8}.night-mode .bid-doc-toc-item-status,.night-mode .bid-doc-toc-item-status.pending{background-color:#1e1e2e;border-color:#5a6478}.night-mode .bid-doc-toc-item-status.generating{background-color:#1e1e2e;border-color:#0000 #177ddc #177ddc}.night-mode .bid-doc-toc-item-status.completed{background-color:#162312;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%2349aa19' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 8.5 6.5 11 12 5'/%3E%3C/svg%3E");border-color:#49aa19}.night-mode .bid-doc-toc-item-status.failed{background-color:#2a1215;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ff7875' stroke-width='2' stroke-linecap='round' d='M5 5l6 6M11 5l-6 6'/%3E%3C/svg%3E");border-color:#ff7875}.night-mode .bid-doc-toc-item-status.empty{background-color:#141414;border-color:#434343}.night-mode .bid-doc-toc-item-text[contenteditable=true]:focus{background:#5a8abf14;outline-color:#5a8abf}.night-mode .bid-doc-toc-item.level-3{color:#718096}.night-mode .bid-doc-toc-children{border-left-color:#3d4556}.night-mode .bid-doc-toc-item.level-2:before,.night-mode .bid-doc-toc-item.level-3:before,.night-mode .bid-doc-toc-item.level-4:before,.night-mode .bid-doc-toc-item.level-5:before{border-top-color:#3d4556}.night-mode .bid-doc-toc-item.level-2{color:#8a9ab5}.night-mode .bid-doc-toc-item.level-2:hover{color:#8ab4f8;background:#252550}.night-mode .bid-doc-toc-item.level-2.active{color:#8ab4f8;background:#252550;border-left-color:#5a8abf}.night-mode .bid-doc-toc-item.level-4{color:#6a7a8e}.night-mode .bid-doc-toc-item.level-5{color:#5a6a7e}.night-mode .bid-doc-content{background:#1a1a2e}.night-mode .bid-chapter-card,.night-mode .bid-doc-chapter{border-bottom-color:#2d3748}.night-mode .bid-doc-chapter-title{color:#8ab4f8;border-bottom-color:#3d5a8c}.night-mode .bid-doc-empty,.night-mode .bid-doc-empty svg{color:#4a5568}#step4 .bid-doc-chapter-title,#fd-step4 .bid-doc-chapter-title{font-size:calc(var(--bid-doc-title,18) * var(--bid-read-pct) / 100 * 1px)}#step4 .bid-doc-toc-item,#fd-step4 .bid-doc-toc-item{font-size:calc(var(--bid-toc,13) * var(--bid-read-pct) / 100 * 1px)}#step4 .bid-doc-toc-item.level-1,#fd-step4 .bid-doc-toc-item.level-1{font-size:calc(var(--bid-toc-l1,13.5) * var(--bid-read-pct) / 100 * 1px)}@media (width<=1200px){.bid-chapter-card,.bid-doc-chapter{padding:24px 28px}}@media (width<=900px){.bid-doc-layout{flex-direction:column;height:auto;min-height:400px}.bid-doc-content{max-height:500px}.bid-toc-wrapper{border-right:none;border-bottom:1px solid var(--toc-border,#e1e4e8);max-height:200px;width:100%!important;min-width:100%!important;max-width:100%!important}.bid-chapter-card,.bid-doc-chapter{padding:20px}}.chapter-card-body[contenteditable=true],.bid-chapter-body[contenteditable=true]{cursor:text;border:1px solid #0000;border-radius:6px;outline:none;margin:-12px;padding:12px;transition:border-color .2s,background .2s;position:relative}.chapter-card-body[contenteditable=true]:hover,.bid-chapter-body[contenteditable=true]:hover{background:#c8d6e50f;border-color:#c8d6e5}.chapter-card-body[contenteditable=true]:focus,.bid-chapter-body[contenteditable=true]:focus{background:#4a90d90a;border-color:#4a90d9;box-shadow:0 0 0 3px #4a90d91f}.chapter-card-body[contenteditable=true]:before,.bid-chapter-body[contenteditable=true]:before{content:"点击编辑";color:#a0aec0;opacity:0;pointer-events:none;font-size:11px;transition:opacity .2s;position:absolute;top:4px;right:8px}.chapter-card-body[contenteditable=true]:hover:before,.bid-chapter-body[contenteditable=true]:hover:before{opacity:1}.chapter-card-body[contenteditable=true]:focus:before,.bid-chapter-body[contenteditable=true]:focus:before{content:"编辑中";color:#4a90d9;opacity:1}.night-mode .chapter-card-body[contenteditable=true]:hover,.night-mode .bid-chapter-body[contenteditable=true]:hover{background:#3d5a8c14;border-color:#3d5a8c}.night-mode .chapter-card-body[contenteditable=true]:focus,.night-mode .bid-chapter-body[contenteditable=true]:focus{background:#5a8abf0f;border-color:#5a8abf;box-shadow:0 0 0 3px #5a8abf26}.night-mode .chapter-card-body[contenteditable=true]:before,.night-mode .bid-chapter-body[contenteditable=true]:before{color:#5a7a9a}.night-mode .chapter-card-body[contenteditable=true]:focus:before,.night-mode .bid-chapter-body[contenteditable=true]:focus:before{color:#5a8abf}.chapter-card-body[contenteditable=true]{cursor:text;border:1px solid #0000;border-radius:6px;outline:none;margin:-12px;padding:12px;transition:border-color .2s,background .2s;position:relative}.chapter-card-body[contenteditable=true]:hover{background:#c8d6e50f;border-color:#c8d6e5}.chapter-card-body[contenteditable=true]:focus{background:#4a90d90a;border-color:#4a90d9;box-shadow:0 0 0 3px #4a90d91f}.chapter-card-body[contenteditable=true]:before{content:"点击编辑";color:#a0aec0;opacity:0;pointer-events:none;font-size:11px;transition:opacity .2s;position:absolute;top:4px;right:8px}.chapter-card-body[contenteditable=true]:hover:before{opacity:1}.chapter-card-body[contenteditable=true]:focus:before{content:"编辑中";color:#4a90d9;opacity:1}.night-mode .chapter-card-body[contenteditable=true]:hover{background:#3d5a8c14;border-color:#3d5a8c}.night-mode .chapter-card-body[contenteditable=true]:focus{background:#5a8abf0f;border-color:#5a8abf;box-shadow:0 0 0 3px #5a8abf26}.night-mode .chapter-card-body[contenteditable=true]:before{color:#5a7a9a}.night-mode .chapter-card-body[contenteditable=true]:focus:before{color:#5a8abf}.bid-edit-toolbar{background:linear-gradient(135deg,#e8f4fd 0%,#d1ecf9 100%);border:1px solid #91d5f0;border-radius:8px;justify-content:space-between;align-items:center;margin-bottom:12px;padding:10px 16px;display:flex;box-shadow:0 2px 8px #1890ff1a}.night-mode .bid-edit-toolbar{background:linear-gradient(135deg,#1a2a3a 0%,#1e3044 100%);border-color:#2a4a6a;box-shadow:0 2px 8px #0000004d}.bid-edit-hint{color:#1890ff;align-items:center;gap:6px;font-size:13px;font-weight:500;display:flex}.night-mode .bid-edit-hint{color:#5a9abf}.bid-edit-actions{gap:8px;display:flex}.bid-edit-actions .btn{border-radius:4px;align-items:center;gap:4px;padding:4px 12px;font-size:12px;display:flex}.editing-mode .chapter-card-body{border-radius:4px;outline:1px dashed #91d5f0;transition:outline-color .2s,box-shadow .2s}.editing-mode .chapter-card-body:focus{outline:2px solid #1890ff;box-shadow:0 0 0 3px #1890ff26}.night-mode .editing-mode .chapter-card-body{outline-color:#2a4a6a}.night-mode .editing-mode .chapter-card-body:focus{outline-color:#5a8abf;box-shadow:0 0 0 3px #5a8abf26}.bid-inline-toolbar{background:linear-gradient(135deg,#f0f7ff 0%,#e1f0fa 100%);border:1px solid #b3d8f5;border-radius:6px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px;margin-bottom:10px;padding:8px 16px;display:flex;box-shadow:0 2px 6px #1890ff14}.bid-inline-hint{color:#1890ff;font-size:12px;font-weight:500}.bid-inline-sep{vertical-align:middle;background:#d0d7de;width:1px;height:18px;margin:0 4px;display:inline-block}.editing-mode .bid-doc-formal-wrap{border-radius:4px;outline:1px dashed #91d5f0;transition:outline-color .2s,box-shadow .2s}.editing-mode .bid-doc-formal-wrap:focus-within{outline:2px solid #1890ff;box-shadow:0 0 0 3px #1890ff26}#new-document.content-section.active{min-height:0}#bid-workflow-container.card{box-sizing:border-box;flex-direction:column;flex:auto;width:100%;max-width:none;min-height:0;margin-left:0;margin-right:0;display:flex}#bid-workflow-container .new-bid-content,#bid-workflow-container .bid-tab-panel.active{box-sizing:border-box;flex-direction:column;flex:auto;width:100%;min-height:0;display:flex}.bid-workflow-panel{box-sizing:border-box;background:#f8f9fa;border-color:#dee2e6;flex-direction:column;flex:auto;width:100%;min-height:0;display:flex}.bid-workflow-panel>.step-nav-modern{box-sizing:border-box;flex-shrink:0;width:100%}.bid-workflow-panel>.step-content{box-sizing:border-box;flex-direction:column;flex:auto;width:100%;min-height:0;display:flex}.bid-workflow-panel>.tab-job-status,.bid-workflow-panel>.tab-job-result{box-sizing:border-box;flex-shrink:0;width:100%}#full-document .step-panel.active,#scoring .step-panel.active,#chapter .step-panel.active,#reference .step-panel.active{box-sizing:border-box;flex-direction:column;flex:auto;width:100%;min-height:0;overflow:hidden auto;display:flex!important}#reference #ref-step2{position:relative}#reference .ref-step2-hidden-fields{clip:rect(0, 0, 0, 0);clip-path:inset(50%);white-space:nowrap;pointer-events:none;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}#reference .ref-step2-hidden-fields textarea{opacity:0;width:2px;height:2px;position:absolute;top:0;left:0}#reference #ref-step2.step-panel.active{flex:auto;min-height:0}#reference #ref-step2 .step3-split-layout{flex:auto;align-items:stretch;height:auto;min-height:min(360px,42vh);max-height:calc(100vh - 168px)}#reference #ref-step1 .step-actions-modern,#reference #ref-step2 .step-actions-modern,#reference #ref-step3 .step-actions-modern{box-sizing:border-box;flex-shrink:0;justify-content:flex-end;width:100%}#reference .step-actions-modern>.btn-step-prev{margin-right:auto}#reference #ref-step2 .step3-left-panel .sub-tabs-content{flex-direction:column;display:flex}#reference #ref-step2 .step3-left-panel .sub-tab-panel.active{flex:auto;min-height:0}#reference #ref-step2 .sub-tab-panel-inner.textarea-wrapper{flex-direction:column;flex:auto;min-height:0;display:flex}#scoring #step3.step-panel.active,#chapter #chapter-step2.step-panel.active{overflow:hidden}#scoring #step3.step-panel.active .step3-split-layout,#chapter #chapter-step2.step-panel.active .step3-split-layout{flex:auto;align-items:stretch;min-height:min(400px,50vh);max-height:calc(100vh - 168px)}#fd-step3.step-panel.active .fd-step3-workflow-row{flex:0 0 750px;align-items:stretch;height:750px;min-height:750px;max-height:750px;overflow:hidden}#scoring #step3.step-panel.active>.step-actions-modern,#chapter #chapter-step2.step-panel.active>.step-actions-modern,#fd-step3.step-panel.active>.step-actions-modern{flex-shrink:0}#scoring #step4.step-panel.active{overflow:visible}#scoring #step4.step-panel.active>.step-actions-modern{flex-shrink:0}#scoring #step4 .content-generation-section{flex:none;gap:0}#scoring #step4 .result-card.content-combined-card{border-radius:10px;flex:none;display:block;box-shadow:0 1px 4px #0f172a0d}#scoring #step4 .result-card-header{padding:10px 14px}#scoring #step4 .result-card-body{padding:0;display:block}#scoring #step4 #generation-result.result-content{display:block}#scoring #step4 #generation-result .bid-doc-layout{border:none;border-top:1px solid #e8ebef;border-radius:0;flex-direction:row;flex:none;align-items:stretch;height:700px;min-height:400px;max-height:920px;display:flex;position:relative;overflow:hidden}#scoring #step4 #bid-toc-wrapper.sc-toc-resizable{flex-direction:column;height:100%;max-height:100%;display:flex;overflow:hidden}#scoring #step4 #bid-doc-toc-list.bid-toc-list{flex:auto;min-height:0;overflow-y:auto}#scoring #step4 #bid-doc-content{flex:auto;min-width:0;height:100%;min-height:0;overflow:hidden auto}#scoring #step4 .sc-step4-layout-resize-handle{cursor:row-resize;z-index:7;touch-action:none;height:8px;position:absolute;bottom:0;left:0;right:0}#scoring #step4 .sc-step4-layout-resize-handle:hover,body.sc-step4-height-resizing #scoring #step4 .sc-step4-layout-resize-handle{background:#1890ff47}body.sc-step4-height-resizing{cursor:row-resize!important;-webkit-user-select:none!important;user-select:none!important}#scoring #step4 #bid-doc-content .bid-chapter-card{box-shadow:none;border:none;border-bottom:1px solid #e8ebef;border-radius:0;margin-bottom:0;padding:10px 14px 14px}#scoring #step4 #bid-doc-content .bid-chapter-card:last-child{border-bottom:none}#scoring #step4 #bid-doc-content .chapter-card-header{background:0 0;border-bottom:none;gap:8px;padding:6px 0 8px}#scoring #step4 #bid-doc-content .chapter-card-body{padding:0}#scoring #step4 .bid-content-scope .bid-doc-formal-wrap,#scoring #step4 .bid-content-scope .bid-content-formatted,#scoring #step4 .bid-content-scope .chapter-content-inner{box-sizing:border-box;width:100%;max-width:none!important;box-shadow:none!important;border:none!important;border-radius:0!important;margin:0!important;padding:6px 8px 12px!important}#scoring #step4 .bid-content-scope .bid-doc-formal-wrap>.bid-doc-chapter-title:first-child{margin-bottom:12px!important;padding-bottom:8px!important}#scoring #step4 .progress-section{flex-shrink:0;padding:10px 14px}#fd-step3 .fd-step3-layout{flex-direction:column;flex:auto;gap:12px;height:100%;min-height:0;display:flex}#fd-step3 .fd-step3-workflow-row{flex:0 0 750px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;gap:16px;height:750px;min-height:750px;max-height:750px;display:grid}#fd-step3 .fd-step3-workflow-row--dual{flex:0 0 750px;height:750px;min-height:750px;max-height:750px}#fd-step3 .fd-step3-workflow-col{background:#fff;border:1px solid #e9ecef;border-radius:16px;flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden;box-shadow:0 2px 12px #0000000f}#fd-step3 .fd-step3-col-header{background:#fafbfd;border-bottom:1px solid #e9ecef;flex-shrink:0;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;display:flex}#fd-step3 .fd-step3-col-title{align-items:center;gap:8px;min-width:0;display:flex}#fd-step3 .fd-step3-col-step{color:#fff;background:#2563eb;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:22px;height:22px;font-size:12px;font-weight:700;display:inline-flex}#fd-step3 .fd-step3-col-name{color:#1a3a5c;white-space:nowrap;font-size:14px;font-weight:600}#fd-step3 .fd-step3-col-actions{flex-shrink:0;align-items:center;gap:8px;display:flex}#fd-step3 .fd-step3-col-body{flex-direction:column;flex:auto;min-height:0;display:flex;overflow-y:auto}#fd-step3 .fd-step3-outline-body{gap:0;padding:0;overflow:hidden}#fd-step3 .fd-step3-strategy-body{overflow-y:auto}#fd-step3 .fd-step3-reference-panel{flex-direction:column;min-height:0;display:none;overflow:hidden}#fd-step3 .fd-step3-reference-panel.active{display:flex}#fd-step3 .fd-step3-reference-panel .fd-step3-ref-tab-bar{border-bottom:1px solid #e9ecef;flex-shrink:0;padding:0 8px}#fd-step3 .fd-step3-reference-panel .fd-step3-ref-content{flex-direction:column;flex:auto;min-height:0;max-height:none;display:flex;overflow:hidden}#fd-step3 .fd-step3-hidden-host{display:none!important}#fd-step3 .fd-chapter-outlines-region{flex:auto;min-height:0;overflow-y:auto}#fd-step3 #fd-step3-right-panel-outline.active{flex-direction:column;min-height:0;display:flex;overflow:hidden}#fd-step3 #fd-step3-right-panel-composition.active{flex-direction:column;min-height:0;display:flex;overflow-y:auto}#fd-step3 .fd-step3-reference-row{display:none}#fd-step3 .fd-step3-reference-header{padding:8px 14px 0}#fd-step3 .fd-step3-reference-label{color:#64748b;letter-spacing:.02em;font-size:12px;font-weight:600}#fd-step3 .fd-step3-ref-tab-bar{border-bottom:1px solid #e9ecef;padding:0 8px}#fd-step3 .fd-step3-ref-content{min-height:0;display:none;overflow:hidden}#fd-step3 .fd-step3-ref-content.fd-step3-ref-content--open,#fd-step3 .fd-step3-reference-panel.active .fd-step3-ref-content{flex-direction:column;flex:auto;min-height:0;display:flex}#fd-step3 .fd-step3-ref-content .step3-tab-panel.active{flex-direction:column;flex:auto;min-height:0;display:flex;overflow:hidden}#fd-step3 .fd-step3-ref-content .step3-tab-panel-body{flex:auto;min-height:0;overflow-y:auto}#fd-step3 .fd-format-first-gate-wrap--internal{display:none!important}@media (width<=1200px){#fd-step3 .fd-step3-workflow-row{flex:auto;grid-template-columns:1fr;height:auto;min-height:0;max-height:none}#fd-step3 .fd-step3-workflow-col{min-height:320px;max-height:420px}}#fd-step3.step-panel.active,#fd-step3.step-panel.active>.fd-step3-layout{flex-direction:column;flex:auto;min-height:0;display:flex;overflow:hidden}#fd-step3 .step3-left-panel{flex:1 1 0;min-height:0;overflow:hidden}#fd-step3 .step3-left-panel .step3-tab-bar{flex-shrink:0}#fd-step3 .step3-left-panel .step3-tab-content{flex-direction:column;flex:auto;min-height:0;display:flex;overflow:hidden}#fd-step3 .step3-left-panel .step3-tab-panel{height:auto}#fd-step3 .step3-left-panel .step3-tab-panel.active{flex:auto;min-height:0;overflow:hidden}#fd-step3 .step3-left-panel .step3-tab-panel-actions{flex-shrink:0}#fd-step3 #fd-tab-panel-strategy-body{flex-direction:column;flex:auto;min-height:0;display:flex;overflow-y:auto}#fd-step3 #fd-tab-panel-format_requirements-body,#fd-step3 #fd-tab-panel-overview-body,#fd-step3 #fd-tab-panel-scoring-body{flex-direction:column;flex:auto;min-height:0;padding:0;display:flex;overflow:hidden}#fd-step3 #fd-tab-panel-format_requirements-body>.formatted-content,#fd-step3 #fd-tab-panel-scoring-body>.formatted-content,#fd-step3 #fd-tab-panel-format_requirements-body>.step3-empty-state,#fd-step3 #fd-tab-panel-scoring-body>.step3-empty-state{box-sizing:border-box;flex:auto;min-height:0;padding:16px;overflow-y:auto}#fd-step3 #fd-tab-panel-overview-body .overview-sub-tabs{flex-shrink:0}#fd-step3 #fd-tab-panel-overview-body .overview-sub-panels{flex-direction:column;flex:auto;min-height:0;display:flex;position:relative}#fd-step3 #fd-tab-panel-overview-body .overview-sub-panel.active{flex-direction:column;flex:auto;min-height:0;display:flex!important}#fd-step3 #fd-tab-panel-overview-body .overview-sub-panel.active .formatted-content{box-sizing:border-box;flex:auto;min-height:0;padding:12px 16px 16px;overflow-y:auto}#fd-step3 #fd-tab-panel-scoring-body .overview-sub-tabs{flex-shrink:0}#fd-step3 #fd-tab-panel-scoring-body .overview-sub-panels{flex-direction:column;flex:auto;min-height:0;display:flex;position:relative}#fd-step3 #fd-tab-panel-scoring-body .overview-sub-panels>.overview-sub-panel:not(.active){display:none!important}#fd-step3 #fd-tab-panel-scoring-body .overview-sub-panel.active{flex-direction:column;flex:auto;min-height:0;display:flex!important}#fd-step3 #fd-tab-panel-scoring-body .overview-sub-panel.active .formatted-content,#fd-step3 #fd-tab-panel-scoring-body .overview-sub-panel.active .step3-empty-state{box-sizing:border-box;flex:auto;min-height:0;padding:12px 16px 16px;overflow-y:auto}#fd-step3 #fd-tab-panel-overview-body .overview-sub-panels>.overview-sub-panel:not(.active){display:none!important}.step3-left-panel .overview-sub-panels{flex-direction:column;flex:1;min-height:0;display:flex;position:relative}.step3-left-panel .overview-sub-panels>.overview-sub-panel:not(.active){display:none!important}.step3-left-panel .overview-sub-panel.active{flex-direction:column;flex:1;min-height:0;display:flex!important}#subtab-project-overview .overview-sub-panel.active .textarea-wrapper,#chapter-subtab-requirement .overview-sub-panel.active .textarea-wrapper{flex:1;height:100%;min-height:0;position:relative}#scoring #step3 .step3-left-panel .overview-sub-panel.active .output-textarea,#chapter #chapter-step2 .step3-left-panel .overview-sub-panel.active .output-textarea{resize:none;flex:auto;height:100%;min-height:0}#scoring #step3 #subtab-outline-strategy.sub-tab-panel.active .output-box-container{flex-direction:column;flex:1;min-height:0;display:flex}#scoring #step3 #sc-strategy-chapters-container{flex:1;min-height:0;overflow-y:auto}#scoring #step3 #subtab-scoring-points.sub-tab-panel.active .readonly-display-container{flex-direction:column;flex:1;height:auto;min-height:0;display:flex}#scoring #step3 #subtab-scoring-points .readonly-display-wrapper{flex-direction:column;flex:1;height:100%;min-height:0;display:flex}#scoring #step3 #subtab-scoring-points .readonly-display-content{flex:1;height:100%;min-height:0;max-height:none}#scoring #step3 #subtab-original-content .original-content-viewer>.readonly-display-content{flex:1;min-height:0;max-height:none;overflow:auto}#chapter #chapter-step2 #chapter-subtab-scoring.sub-tab-panel.active .sub-tab-content,#chapter #chapter-step2 #chapter-subtab-material.sub-tab-panel.active .sub-tab-content{box-sizing:border-box;color:#495057;background:linear-gradient(135deg,#f8f9fa 0%,#fff 100%);border:1px solid #e9ecef;border-radius:12px;flex:auto;min-height:0;padding:16px 44px 16px 16px;overflow-y:auto}#reference #ref-step2 .outline-card-body.textarea-wrapper{background:#fff;flex-direction:column;flex:auto;min-height:0;padding:0;display:flex;overflow:hidden}#reference #ref-step2 .step3-right-panel .outline-card-header{background:#fff;border-bottom:1px solid #e9ecef}#reference #ref-step2 #ref-outline-strategy-editor.output-textarea,#reference #ref-step2 #ref-outline-editor.output-textarea{resize:none;flex:auto;height:auto;min-height:140px}#reference #ref-step2 #ref-outline-editor.output-textarea{box-shadow:none;background:#fff;border:none;border-radius:0;padding:12px 44px 14px 16px}#reference #ref-step2 #ref-outline-editor.output-textarea:focus{box-shadow:none;background:#fff;border:none;outline:none}#reference #ref-step2 #ref-outline-editor.output-textarea:focus-visible{outline-offset:-2px;outline:2px solid #0d6efd59}#reference #ref-step2 .outline-display-card.outline-combined-card{flex-direction:column;flex:auto;min-height:0;display:flex}#reference #ref-step2 .ref-step2-toolbar-wrap{flex-flow:wrap;justify-content:flex-end;align-items:center;gap:8px;min-width:0;display:flex}#reference #ref-step2 .ref-step2-toolbar-group{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;min-width:0;display:flex}#reference #ref-step2 #ref-toolbar-strategy-actions[hidden],#reference #ref-step2 #ref-toolbar-structure-actions[hidden]{display:none!important}#reference #ref-step2 #ref-subtab-structure-panel>.ref-reference-structure-body{flex:none;align-self:stretch;width:100%;min-height:0}#reference #ref-step2 #ref-subtab-structure-panel .ref-reference-structure-body .ref-reference-structure-pre{padding-right:48px}#reference #ref-step2 .ref-step2-toolbar-wrap--split{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px 12px}#reference #ref-step2 .ref-step2-toolbar-wrap--split>#ref-strategy-status{text-align:right;flex:0 auto;max-width:min(100%,20rem)}#reference #ref-step2 #ref-btn-regenerate-strategy[hidden]{display:none!important}#reference #ref-step2 .ref-step2-toolbar-group .strategy-status{text-align:right;max-width:min(100%,20rem)}#reference #ref-step2 .ref-step2-pill-btn{color:#5c636a;background:0 0;border:1px solid #dee2e6;border-radius:999px;flex-shrink:0;padding:.2rem .55rem;font-size:.8125rem;font-weight:500;line-height:1.3}#reference #ref-step2 .ref-step2-pill-btn:hover:not(:disabled){color:#0d6efd;background:#f0f7ff;border-color:#b6d4fe}#reference #ref-step2 .ref-step2-pill-btn:disabled{opacity:.55;cursor:not-allowed}#reference #ref-step2 #ref-subtab-structure-panel.active{flex-direction:column;flex:auto;min-height:0;display:flex;overflow:hidden}#reference #ref-step2 .ref-reference-structure-pre{color:#212529;white-space:pre-wrap;word-break:break-word;box-sizing:border-box;background:linear-gradient(135deg,#fafbfc 0%,#f8f9fa 100%);border:1px solid #e9ecef;border-radius:12px;flex:none;height:auto;min-height:140px;margin:0;padding:16px;font-size:14px;line-height:1.75;overflow-y:auto}#reference #ref-step2 .ref-strategy-chapters-wrap{flex-direction:column;flex:auto;min-height:0;display:flex}#reference #ref-step2 .ref-strategy-chapters-board{box-sizing:border-box;flex-direction:column;flex:auto;gap:12px;min-height:180px;max-height:min(560px,100vh - 260px);padding:4px 2px 8px 0;display:flex;overflow:hidden auto}#reference #ref-step2 .ref-strategy-chapter-card{background:linear-gradient(#fff 0%,#fafbfc 100%);border:1px solid #e8eaed;border-radius:14px;flex-shrink:0;transition:box-shadow .2s,border-color .2s;overflow:hidden;box-shadow:0 1px 3px #0f172a0f}#reference #ref-step2 .ref-strategy-chapter-card:hover{border-color:#cfe2ff;box-shadow:0 4px 14px #0d6efd14}#reference #ref-step2 .ref-strategy-chapter-card--busy{opacity:.92;pointer-events:none}#reference #ref-step2 .ref-strategy-chapter-card-head{background:#f8f9fad9;border-bottom:1px solid #f1f3f5;justify-content:space-between;align-items:flex-start;gap:10px;padding:12px 14px 10px;display:flex}#reference #ref-step2 .ref-strategy-chapter-card-title{color:#1c2430;flex:auto;min-width:0;margin:0;font-size:.9375rem;font-weight:600;line-height:1.45}#reference #ref-step2 .ref-strategy-chapter-regen-btn{color:#0d6efd;background:#fff;border:1px solid #b6d4fe;border-radius:999px;flex-shrink:0;padding:.22rem .65rem;font-size:.75rem;font-weight:600}#reference #ref-step2 .ref-strategy-chapter-regen-btn:hover:not(:disabled){color:#0a58ca;background:#f0f7ff;border-color:#0d6efd}#reference #ref-step2 .ref-strategy-chapter-body{color:#343a40;white-space:pre-wrap;word-break:break-word;background:#fff;max-height:min(320px,38vh);margin:0;padding:12px 14px 14px;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:.8125rem;line-height:1.65;overflow-y:auto}#reference #ref-step2 .ref-strategy-gen-wait{box-sizing:border-box;background:#f8f9fa;border:1px dashed #ced4da;border-radius:12px;align-items:center;gap:12px;width:100%;padding:20px 16px;display:flex}#reference #ref-step2 .ref-strategy-gen-spinner{border:2px solid #dee2e6;border-top-color:#0d6efd;border-radius:50%;width:22px;height:22px;animation:.75s linear infinite ref-strategy-spin}@keyframes ref-strategy-spin{to{transform:rotate(360deg)}}#ref-chapter-revision-overlay.ref-chapter-revision-modal .confirm-deduct-content{text-align:left;border:1px solid #e8eaed;max-width:500px;padding:26px 28px 24px;box-shadow:0 24px 64px #0f172a2e}#ref-chapter-revision-overlay .ref-chapter-revision-subtitle{color:#334155;margin:0;font-size:.9rem;line-height:1.55}#ref-chapter-revision-overlay .ref-chapter-revision-label{letter-spacing:.04em;color:#0d6efd;vertical-align:middle;background:#eef5ff;border-radius:6px;margin-right:6px;padding:.12rem .45rem;font-size:.72rem;font-weight:600;display:inline-block}#ref-chapter-revision-overlay .ref-chapter-revision-textarea{box-sizing:border-box;resize:vertical;border-color:#ced4da;border-radius:10px;width:100%;min-height:96px;font-size:.9rem}#ref-chapter-revision-overlay .ref-chapter-revision-textarea:focus{border-color:#86b7fe;box-shadow:0 0 0 .2rem #0d6efd26}#ref-chapter-revision-overlay .ref-chapter-revision-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}#reference .ref-step1-uploads{flex-direction:column;gap:0;display:flex}#reference .ref-upload-unified-card{background:#fff;border:1px solid #e9ecef;border-radius:16px;overflow:hidden;box-shadow:0 2px 12px #0000000f}#reference .ref-upload-unified-card>.setup-form-section,#reference .ref-upload-unified-card>.input-section-compact{box-shadow:none;background:0 0;border:none;border-radius:0;margin-bottom:0}#reference .ref-upload-unified-card>:not(:last-child){border-bottom:1px solid #e9ecef}#reference .ref-upload-unified-card>.setup-form-section{padding:20px 20px 18px}#reference .ref-upload-unified-card>.input-section-compact{padding:18px 20px}#reference .ref-upload-unified-card>.ref-tender-doc-bundle.input-section-compact{padding-top:14px;padding-bottom:18px}#reference .ref-tender-doc-bundle-headings{flex-flow:row;align-items:flex-start;gap:0;min-width:0;margin:0 0 8px;display:flex}#reference .ref-tender-doc-bundle .ref-tender-doc-bundle-headings .type-selector-compact.ref-tender-bundle-heading-cell{box-sizing:border-box;border-bottom:none;flex:1 1 0;align-items:flex-start;gap:0;min-width:0;margin-bottom:0;padding:0 10px 0 0;position:static}#reference .ref-tender-doc-bundle .ref-tender-doc-bundle-headings .ref-tender-bundle-heading-cell:not(:first-child){border-left:1px solid #e9ecef;padding-left:10px}#reference .ref-tender-doc-bundle .ref-tender-doc-bundle-headings .ref-tender-bundle-heading-cell:first-child{padding-left:0}#reference .ref-tender-doc-tech-heading-inner{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 10px;width:100%;min-width:0;display:flex}#reference .ref-tender-doc-tech-heading-inner>.compact-label{flex:0 auto;min-width:0}#reference .ref-tender-doc-tech-heading-tools{flex-shrink:0;align-items:center;gap:6px;display:inline-flex}#reference .ref-tender-doc-bundle-stack{box-sizing:border-box;background:0 0;border:none;border-radius:0;flex-flow:row;align-items:stretch;gap:0;min-width:0;padding:0;display:flex}#reference .ref-tender-bundle-block{box-sizing:border-box;flex-direction:column;flex:1 1 0;min-width:0;padding:8px 10px 10px;display:flex}#reference .ref-tender-bundle-block--main{padding-left:0}#reference .ref-tender-bundle-block--attachments,#reference .ref-tender-bundle-block--tech{border-top:none;border-left:1px solid #e9ecef;margin-top:0}#reference .ref-tender-bundle-block--tech .ref-tech-materials-section{flex-direction:column;flex:auto;min-height:0;display:flex}#reference .ref-tender-doc-bundle-stack .file-input-compact{flex-direction:column;flex:auto;min-height:0;margin-bottom:0;display:flex}#reference .ref-tender-doc-bundle-stack .ref-inline-upload-card{flex:auto;max-width:100%;min-height:0}#reference .ref-tender-doc-bundle .ref-tech-materials-section{margin:0;padding:0}#reference .ref-tender-doc-bundle .ref-tech-materials-header{margin-bottom:8px}#reference .ref-tender-doc-bundle .ref-tech-materials-header--bundle-sub-only{margin-top:0;margin-bottom:6px}#reference .ref-tender-doc-bundle .ref-tech-materials-sub{font-size:.76rem;line-height:1.4}#reference .ref-tender-doc-bundle .ref-tech-materials-card{flex:auto;max-width:100%;min-height:0}@media (width<=1024px){#reference .ref-tender-doc-bundle-headings{flex-direction:column}#reference .ref-tender-doc-bundle .ref-tender-doc-bundle-headings .ref-tender-bundle-heading-cell:not(:first-child){border-top:1px solid #e9ecef;border-left:none;margin-top:4px;padding-top:10px;padding-left:0}#reference .ref-tender-doc-bundle-stack{flex-flow:column wrap}#reference .ref-tender-bundle-block--attachments,#reference .ref-tender-bundle-block--tech{border-top:1px solid #e9ecef;border-left:none;padding-top:12px}#reference .ref-bid-doc-file-stack{max-width:100%}}#full-document .fd-tender-doc-bundle.input-section-compact{background:#fff;border:1px solid #e9ecef;border-radius:16px;padding-top:14px;padding-bottom:18px;overflow:hidden;box-shadow:0 2px 12px #0000000f}#full-document .ref-tender-doc-bundle-headings{flex-flow:row;align-items:flex-start;gap:0;min-width:0;margin:0 0 8px;display:flex}#full-document .ref-tender-doc-bundle .ref-tender-doc-bundle-headings .type-selector-compact.ref-tender-bundle-heading-cell{box-sizing:border-box;border-bottom:none;flex:1 1 0;align-items:flex-start;gap:0;min-width:0;margin-bottom:0;padding:0 10px 0 0;position:static}#full-document .ref-tender-doc-bundle .ref-tender-doc-bundle-headings .ref-tender-bundle-heading-cell:not(:first-child){border-left:1px solid #e9ecef;padding-left:10px}#full-document .ref-tender-doc-bundle .ref-tender-doc-bundle-headings .ref-tender-bundle-heading-cell:first-child{border-left:none;padding-left:0}#full-document .ref-tender-doc-tech-heading-inner{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 10px;width:100%;min-width:0;display:flex}#full-document .ref-tender-doc-tech-heading-inner>.compact-label{flex:0 auto;min-width:0}#full-document .ref-tender-doc-tech-heading-tools{flex-shrink:0;align-items:center;gap:6px;display:inline-flex}#full-document .ref-tender-doc-bundle-stack{box-sizing:border-box;background:0 0;border:none;border-radius:0;flex-flow:row;align-items:stretch;gap:0;min-width:0;padding:0;display:flex}#full-document .ref-tender-bundle-block{box-sizing:border-box;flex-direction:column;flex:1 1 0;min-width:0;padding:8px 10px 10px;display:flex}#full-document .ref-tender-bundle-block--main{padding-left:0}#full-document .ref-tender-bundle-block--attachments{border-top:none;border-left:1px solid #e9ecef;margin-top:0;padding-left:10px}#full-document .ref-tender-bundle-block--tech{border-top:none;border-left:1px solid #e9ecef;margin-top:0}#full-document .ref-tender-bundle-block--tech .ref-tech-materials-section{flex-direction:column;flex:auto;min-height:0;display:flex}#full-document .ref-tender-doc-bundle-stack .file-input-compact{flex-direction:column;flex:auto;min-height:0;margin-bottom:0;display:flex}#full-document .ref-tender-doc-bundle-stack .ref-inline-upload-card{flex-direction:column;flex:auto;max-width:100%;min-height:0;display:flex}#full-document .ref-tender-doc-bundle-stack .ref-inline-upload-card .upload-area-compact{flex:auto}#full-document .ref-tender-doc-bundle .ref-tech-materials-section{margin:0;padding:0}#full-document .ref-tender-doc-bundle .ref-tech-materials-header{margin-bottom:8px}#full-document .ref-tender-doc-bundle .ref-tech-materials-header--bundle-sub-only{margin-top:0;margin-bottom:6px}#full-document .ref-tender-doc-bundle .ref-tech-materials-sub{font-size:.76rem;line-height:1.4}#full-document .ref-tender-doc-bundle .ref-tech-materials-card{flex:auto;max-width:100%;min-height:80px}@media (width<=1024px){#full-document .ref-tender-doc-bundle-headings{flex-direction:column}#full-document .ref-tender-doc-bundle .ref-tender-doc-bundle-headings .ref-tender-bundle-heading-cell:not(:first-child){border-top:1px solid #e9ecef;border-left:none;margin-top:4px;padding-top:10px;padding-left:0}#full-document .ref-tender-doc-bundle-stack{flex-flow:column wrap}#full-document .ref-tender-bundle-block--main,#full-document .ref-tender-bundle-block--attachments,#full-document .ref-tender-bundle-block--tech{border-top:1px solid #e9ecef;border-left:none;padding-top:12px;padding-left:0}#full-document .ref-bid-doc-file-stack{max-width:100%}}#full-document .ref-bid-doc-upload-main.upload-area-compact{text-align:left;box-sizing:border-box;cursor:pointer;background:linear-gradient(125deg,#fff8f8 0%,#ffecec 42%,#ffd4d4 100%);border:1px solid #dc354547;border-radius:14px;flex-direction:column;flex:auto;align-items:stretch;gap:3px;margin:0;padding:16px 18px;transition:border-color .2s,box-shadow .2s,transform .2s;box-shadow:0 2px 10px #b02a3714}#full-document .ref-bid-doc-upload-main.upload-area-compact:hover{background:linear-gradient(125deg,#fff8f8 0%,#ffecec 42%,#ffd4d4 100%);border-color:#dc354573;transform:translateY(-1px);box-shadow:0 6px 18px #dc35451f}#full-document .ref-bid-doc-upload-main.upload-area-compact.selected{background:linear-gradient(125deg,#fff8f8 0%,#ffecec 42%,#ffd4d4 100%);border-style:solid;border-color:#dc3545;box-shadow:0 0 0 1px #dc354540}#full-document .ref-bid-doc-upload-top{flex-direction:row;align-items:flex-start;gap:8px;display:flex}#full-document .ref-bid-doc-upload-ico{color:#b02a37;flex-shrink:0;width:22px;height:22px;margin-top:2px}#full-document .ref-bid-doc-upload-main.upload-area-compact.selected .ref-bid-doc-upload-ico{color:#b02a37}#full-document .ref-bid-doc-upload-copy{text-align:left;flex-direction:column;gap:2px;min-width:0;display:flex}#full-document .ref-bid-doc-upload-title{color:#3d0f14;letter-spacing:.01em;font-size:.95rem;font-weight:700;line-height:1.2}#full-document .ref-bid-doc-upload-subline{color:#8a4a52;font-size:.78rem;line-height:1.32}#full-document .ref-bid-doc-upload-meta{color:#8a4a52;font-size:.78rem;line-height:1.28}#full-document .ref-bid-doc-upload-lower{text-align:left;flex-direction:column;gap:1px;min-width:0;margin-left:30px;display:flex}#full-document .ref-bid-doc-upload-filename.file-name-display{word-break:break-all;margin-top:0;margin-left:0}#full-document .ref-bid-doc-upload-hint{color:#9ca3af;pointer-events:none;-webkit-user-select:none;user-select:none;margin:1px 0 0;font-size:.68rem;line-height:1.38}#full-document #fd-tender-attachments-zone.selected .ref-bid-doc-upload-subline,#full-document #fd-tender-attachments-zone.selected .ref-bid-doc-upload-meta,#full-document #fd-tender-attachments-zone.ref--dropping .ref-bid-doc-upload-subline,#full-document #fd-tender-attachments-zone.ref--dropping .ref-bid-doc-upload-meta{display:none!important}#full-document #fd-tender-attachments-zone:has(#fd-tender-attachments-picked:not([hidden])) .ref-bid-doc-upload-subline{display:none!important}#full-document #fd-tender-attachments-zone:has(#fd-tender-attachments-picked:not([hidden])) .ref-bid-doc-upload-meta{display:none!important}#full-document .ref-file-picked-row{width:100%;margin-top:2px}#full-document .ref-file-picked-inner{box-sizing:border-box;background:#ffffffd1;border:1px solid #dc354529;border-radius:8px;flex-direction:row;justify-content:space-between;align-items:flex-start;gap:10px;padding:8px 10px;display:flex}#full-document .ref-file-picked-meta{color:#4a1519;word-break:break-word;flex:auto;min-width:0;font-size:.78rem;line-height:1.38}#full-document .ref-file-remove-btn{color:#c82333;cursor:pointer;background:#fff;border:1px solid #dc35456b;border-radius:6px;flex-shrink:0;padding:3px 9px;font-size:.72rem;font-weight:600;line-height:1.25}#full-document .ref-file-remove-btn:hover{background:#fff5f5;border-color:#c823338c}#full-document .ref-file-remove-btn--sm{padding:2px 7px;font-size:.66rem}#full-document .ref-file-picked-list{flex-direction:column;gap:6px;width:100%;margin-top:2px;display:flex}#full-document .ref-file-att-chip{box-sizing:border-box;background:#ffffffd1;border:1px solid #dc354524;border-radius:8px;flex-direction:row;justify-content:space-between;align-items:center;gap:8px;padding:6px 8px;display:flex}#full-document .ref-file-att-chip-name{color:#3d0f14;word-break:break-word;flex:auto;min-width:0;font-size:.74rem;line-height:1.32}#full-document .ref-tech-materials-card.open-reference-material-picker{cursor:pointer;transition:background .15s,border-color .15s}#full-document .ref-tech-materials-card.open-reference-material-picker:hover{background:#f8f9fa}#full-document .compact-label{color:#374151;align-items:center;gap:4px;font-size:.82rem;font-weight:600;display:inline-flex}#full-document .compact-label .label-icon{font-size:1rem;line-height:1}#full-document .compact-label .label-text{white-space:nowrap}#full-document .ref-tech-materials-link{color:#c82333;font-size:.82rem;font-weight:600;text-decoration:none}#full-document .ref-tech-materials-link:hover{color:#a71d2a;text-decoration:underline}#full-document .ref-tech-materials-link.ref-tech-materials-link-btn{font:inherit;cursor:pointer;font-family:inherit;line-height:inherit;text-align:inherit;background:0 0;border:none;margin:0;padding:0;display:inline}#full-document .ref-tech-materials-link.ref-tech-materials-link-btn.ref-tech-materials-kb-inline{font-size:.72rem;font-weight:600}#full-document .ref-tech-materials-help{color:#fff;cursor:help;background:linear-gradient(135deg,#dc3545 0%,#b02a37 100%);border-radius:50%;justify-content:center;align-items:center;width:1.1rem;height:1.1rem;font-size:.72rem;font-weight:700;display:inline-flex}#full-document .fd-tender-doc-bundle .fd-step2-project-type{border-bottom:1px solid #e9ecef;margin-bottom:0;padding-bottom:12px}#full-document #fd-step2 .fd-step2-upload-actions{border-bottom:1px solid #e9ecef;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px 12px;margin:8px 0 12px;padding-bottom:12px;display:flex}#full-document #fd-step2 .fd-step2-upload-actions .history-area-compact{flex:0 auto;min-width:140px}#full-document #fd-step2 .fd-step2-upload-actions .btn-parse-compact{flex:none}#full-document .fd-step2-upload-double .ref-tender-bundle-block{padding:4px 8px 5px}#full-document .fd-step2-upload-double .ref-bid-doc-upload-main.upload-area-compact{border-radius:10px;gap:2px;min-height:56px;padding:8px 10px}#full-document .fd-step2-upload-double .ref-bid-doc-upload-top{gap:5px}#full-document .fd-step2-upload-double .ref-bid-doc-upload-ico{width:18px;height:18px;margin-top:1px}#full-document .fd-step2-upload-double .ref-bid-doc-upload-title{font-size:.82rem;line-height:1.15}#full-document .fd-step2-upload-double .ref-bid-doc-upload-subline,#full-document .fd-step2-upload-double .ref-bid-doc-upload-meta{font-size:.68rem;line-height:1.22}#full-document .fd-step2-ref-materials-section{border-top:1px solid #eef0f4;margin-top:6px;padding:10px 0 4px}#full-document .fd-step2-ref-materials-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:8px 12px;margin-bottom:10px;display:flex}#full-document .fd-step2-ref-materials-heading .compact-label{margin-bottom:4px}#full-document .fd-step2-ref-materials-heading .ref-tech-materials-sub{color:#6b7280;margin:0;font-size:12px;line-height:1.4}#full-document .fd-step2-ref-materials-section .fd-ref-zone-panel{border-color:#e9ecef}#full-document .fd-ref-zone-panel--has-files{border-color:#bfdbfe;box-shadow:0 0 0 1px #2563eb14}#full-document .fd-step2-upload-triple .ref-tender-bundle-block{padding:4px 8px 5px}#full-document .fd-step2-upload-triple .ref-bid-doc-upload-main.upload-area-compact{border-radius:10px;gap:2px;min-height:56px;padding:8px 10px}#full-document .fd-step2-upload-triple .ref-bid-doc-upload-top{gap:5px}#full-document .fd-step2-upload-triple .ref-bid-doc-upload-ico{width:18px;height:18px;margin-top:1px}#full-document .fd-step2-upload-triple .ref-bid-doc-upload-title{font-size:.82rem;line-height:1.15}#full-document .fd-step2-upload-triple .ref-bid-doc-upload-subline,#full-document .fd-step2-upload-triple .ref-bid-doc-upload-meta{font-size:.68rem;line-height:1.22}#full-document .fd-step2-upload-triple .ref-tech-materials-header--bundle-sub-only{display:none}#full-document .fd-step2-upload-triple .ref-tech-materials-card{border-radius:10px;gap:8px;min-height:40px;padding:8px 10px}#full-document .fd-step2-upload-triple .ref-tech-materials-card-icon svg{width:18px;height:18px}#full-document .fd-step2-upload-triple .ref-tech-materials-card-main{gap:2px}#full-document .fd-step2-upload-triple .ref-tech-materials-card-label{font-size:.82rem}#full-document #fd-upload-card.selected .ref-bid-doc-upload-subline,#full-document #fd-upload-card.selected .ref-bid-doc-upload-meta,#full-document #fd-tender-attachments-zone.selected .ref-bid-doc-upload-subline,#full-document #fd-tender-attachments-zone.selected .ref-bid-doc-upload-meta{display:none!important}#full-document .fd-file-selected-panel{background:linear-gradient(#f0fdf6 0%,#ecfdf5 100%);border:1px solid #bbf7d0;border-radius:12px;margin-top:14px;padding:12px 14px;animation:.25s file-bar-slide-in}#full-document .fd-file-selected-section+.fd-file-selected-section{border-top:1px dashed #16a34a47;margin-top:10px;padding-top:10px}#full-document .fd-file-selected-section-title{color:#166534;margin-bottom:6px;font-size:.78rem;font-weight:600}#full-document .fd-file-selected-section-body{flex-direction:column;gap:6px;display:flex}#full-document .fd-file-summary-chip{margin-top:0}#full-document .ref-tech-materials-card{cursor:pointer;box-sizing:border-box;background:linear-gradient(125deg,#fff8f8 0%,#ffecec 42%,#ffd4d4 100%);border:1px solid #dc354547;border-radius:14px;align-items:center;gap:14px;max-width:100%;padding:16px 18px;transition:border-color .2s,box-shadow .2s,transform .2s;display:flex;box-shadow:0 2px 10px #b02a3714}#full-document .ref-tech-materials-card:hover{border-color:#dc354573;transform:translateY(-1px);box-shadow:0 6px 18px #dc35451f}#full-document .ref-tech-materials-card.selected{border-color:#dc3545;box-shadow:0 0 0 1px #dc354540}#full-document .ref-tech-materials-card-icon{color:#b02a37;flex-shrink:0}#full-document .ref-tech-materials-card-main{flex-direction:column;gap:4px;min-width:0;display:flex}#full-document .ref-tech-materials-card-label{color:#3d0f14;font-size:.95rem;font-weight:650}#full-document .ref-tech-materials-card-inline{color:#8a4a52;font-size:.78rem}#full-document .fd-bid-title-field{box-sizing:border-box;width:100%;position:relative}#full-document #fd-bid-title-input.form-control-modern{box-sizing:border-box;width:100%;max-width:100%;padding-right:6.5rem}#full-document .fd-bid-title-suffix{pointer-events:none;align-items:center;gap:7px;display:inline-flex;position:absolute;top:50%;right:10px;transform:translateY(-50%)}#full-document .fd-bid-title-suffix .fd-bid-title-clear,#full-document .fd-bid-title-suffix .fd-bid-title-count{pointer-events:auto}#full-document .fd-bid-title-clear{cursor:pointer;color:#fff;background:#d1d5db;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:1.28rem;height:1.28rem;padding:0;font-size:.72rem;font-weight:700;line-height:1;transition:background .15s,transform .12s;display:inline-flex;box-shadow:inset 0 1px #ffffff59}#full-document .fd-bid-title-clear span{margin-top:-.5px;line-height:1;display:block}#full-document .fd-bid-title-clear:hover:not([hidden]){background:#9ca3af}#full-document .fd-bid-title-clear:active:not([hidden]){transform:scale(.94)}#full-document .fd-bid-title-clear[hidden]{display:none}#full-document .fd-bid-title-count{color:#64748b;white-space:nowrap;-webkit-user-select:none;user-select:none;font-size:.8rem;font-weight:500}#full-document .fd-bid-title-count-current{color:#334155;font-weight:600}#reference .ref-upload-unified-card .ref-bid-title-field{box-sizing:border-box;width:100%;max-width:min(100%,440px);position:relative}#reference .ref-upload-unified-card #ref-bid-title-input.form-control-modern{box-sizing:border-box;width:100%;max-width:100%;padding-right:6.5rem}#reference .ref-upload-unified-card .ref-bid-title-suffix{pointer-events:none;align-items:center;gap:7px;display:inline-flex;position:absolute;top:50%;right:10px;transform:translateY(-50%)}#reference .ref-upload-unified-card .ref-bid-title-suffix .ref-bid-title-clear,#reference .ref-upload-unified-card .ref-bid-title-suffix .ref-bid-title-count{pointer-events:auto}#reference .ref-upload-unified-card .ref-bid-title-clear{cursor:pointer;color:#fff;background:#d1d5db;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:1.28rem;height:1.28rem;padding:0;font-size:.72rem;font-weight:700;line-height:1;transition:background .15s,transform .12s;display:inline-flex;box-shadow:inset 0 1px #ffffff59}#reference .ref-upload-unified-card .ref-bid-title-clear span{margin-top:-.5px;line-height:1;display:block}#reference .ref-upload-unified-card .ref-bid-title-clear:hover:not([hidden]){background:#9ca3af}#reference .ref-upload-unified-card .ref-bid-title-clear:active:not([hidden]){transform:scale(.94)}#reference .ref-upload-unified-card .ref-bid-title-clear[hidden]{display:none}#reference .ref-upload-unified-card .ref-bid-title-count{color:#64748b;white-space:nowrap;-webkit-user-select:none;user-select:none;font-size:.8rem;font-weight:500}#reference .ref-upload-unified-card .ref-bid-title-count-current{color:#334155;font-weight:600}#reference .ref-upload-unified-card .setup-form-section .form-label-modern{color:#111827;letter-spacing:.02em;margin-bottom:2px;padding-left:0;font-size:.96rem;font-weight:650;position:static}#reference .ref-upload-unified-card .setup-form-section .form-label-modern:before{display:none}#reference .ref-upload-unified-card .setup-form-section .label-icon,#reference .ref-upload-unified-card>.input-section-compact .compact-label .label-icon{opacity:.92;font-size:1.05rem;line-height:1}#reference .ref-upload-unified-card .setup-form-section .label-required,#reference .ref-upload-unified-card>.input-section-compact .compact-label .label-required{color:#dc3545;margin-left:1px;font-size:.8rem;font-weight:700}#reference .ref-upload-unified-card>.input-section-compact .type-selector-compact{border-bottom:none;align-items:center;gap:0;margin-bottom:14px;padding-bottom:10px;padding-left:0;position:static}#reference .ref-upload-unified-card>.input-section-compact .type-selector-compact:before{display:none}#reference .ref-upload-unified-card>.input-section-compact .compact-label{color:#111827;letter-spacing:.02em;align-items:center;gap:8px;font-size:.96rem;font-weight:650;line-height:1.35;display:flex}#reference .ref-bid-doc-file-stack{box-sizing:border-box;width:100%;max-width:min(100%,max(0px,33.3333% - 10px));display:block}#reference .ref-bid-doc-triple-wrap{box-sizing:border-box;background:linear-gradient(168deg,#fff 0%,#fff8f8 46%,#ffecec 100%);border:1px solid #dc35453d;border-radius:14px;flex-direction:column;width:100%;min-width:0;max-width:100%;transition:border-color .22s,box-shadow .22s,transform .22s;display:flex;position:relative;overflow:hidden;box-shadow:0 1px 2px #b02a370f,0 12px 32px -14px #b02a3724}#reference .ref-bid-doc-triple-wrap:before{content:"";opacity:.92;pointer-events:none;background:linear-gradient(#f5a5ad 0%,#dc3545 52%,#9b1c2e 100%);border-radius:0 4px 4px 0;width:3px;position:absolute;top:14px;bottom:14px;left:0}#reference .ref-bid-doc-triple-wrap:hover{border-color:#dc354566;transform:translateY(-2px);box-shadow:0 1px 3px #b02a3714,0 16px 40px -16px #c8233338}#reference .ref-bid-doc-triple-row{flex:auto;align-items:stretch;min-height:0;display:flex}#reference .ref-bid-doc-combined-main{background:#fff;flex-direction:column;flex:auto;min-width:0;display:flex}#reference .ref-bid-doc-upload-main.upload-area-compact{box-shadow:none;text-align:left;background:#fff;border:none;border-radius:0;flex-direction:column;flex:auto;align-items:stretch;gap:3px;margin:0;padding:6px 8px 6px 10px}#reference .ref-bid-doc-upload-main.upload-area-compact:hover{background:#fafafa}#reference .ref-bid-doc-upload-main.upload-area-compact.selected{background:#fff;border-style:none}#reference .ref-bid-doc-triple-wrap .ref-bid-doc-upload-main.upload-area-compact{background:0 0;gap:10px;padding:14px 10px 16px 16px}#reference .ref-bid-doc-triple-wrap .ref-bid-doc-upload-main.upload-area-compact:hover{background:#ffffff8c}#reference .ref-bid-doc-triple-wrap .ref-bid-doc-upload-main.upload-area-compact.selected{background:0 0}#reference .ref-bid-doc-triple-wrap .ref-bid-doc-upload-ico{color:#c82333;width:22px;height:22px;margin-top:2px}#reference .ref-bid-doc-triple-wrap .ref-bid-doc-upload-main.upload-area-compact.selected .ref-bid-doc-upload-ico{color:#b02a37}#reference .ref-bid-doc-triple-wrap .ref-bid-doc-upload-copy{gap:6px}#reference .ref-bid-doc-triple-wrap .ref-bid-doc-upload-title{letter-spacing:.015em;font-size:.93rem}#reference .ref-bid-doc-triple-wrap .ref-bid-doc-upload-lower{margin-left:30px}#reference .ref-bid-doc-upload-top{flex-direction:row;align-items:flex-start;gap:8px;display:flex}#reference .ref-bid-doc-upload-ico{color:#212529;flex-shrink:0;width:18px;height:18px;margin-top:0}#reference .ref-bid-doc-upload-main.upload-area-compact.selected .ref-bid-doc-upload-ico{color:#1a1a1a}#reference .ref-bid-doc-upload-copy{text-align:left;flex-direction:column;gap:2px;min-width:0;display:flex}#reference .ref-bid-doc-upload-title{color:#111827;letter-spacing:.01em;font-size:.9rem;font-weight:700;line-height:1.2}#reference .ref-bid-doc-upload-subline{color:#6b7280;font-size:.74rem;line-height:1.32}#reference .ref-bid-doc-upload-meta{color:#868e96;font-size:.7rem;line-height:1.28}#reference .ref-bid-doc-upload-lower{text-align:left;flex-direction:column;gap:1px;min-width:0;margin-left:26px;display:flex}#reference .ref-bid-doc-upload-filename.file-name-display{word-break:break-all;margin-top:0;margin-left:0}#reference .ref-bid-doc-upload-hint{color:#9ca3af;pointer-events:none;-webkit-user-select:none;user-select:none;margin:1px 0 0;font-size:.68rem;line-height:1.38}#reference #ref-extra-file-status:empty{min-height:0;margin:0;display:none}#reference #ref-extra-upload-card.ref--dropping .ref-bid-doc-upload-subline,#reference #ref-extra-upload-card.ref--dropping .ref-bid-doc-upload-meta,#reference #ref-tender-upload-card.selected .ref-bid-doc-upload-subline,#reference #ref-tender-upload-card.selected .ref-bid-doc-upload-meta,#reference #ref-tender-upload-card.ref--dropping .ref-bid-doc-upload-subline,#reference #ref-tender-upload-card.ref--dropping .ref-bid-doc-upload-meta,#reference #ref-tender-attachments-zone.selected .ref-bid-doc-upload-subline,#reference #ref-tender-attachments-zone.selected .ref-bid-doc-upload-meta,#reference #ref-tender-attachments-zone.ref--dropping .ref-bid-doc-upload-subline,#reference #ref-tender-attachments-zone.ref--dropping .ref-bid-doc-upload-meta{display:none!important}#reference #ref-extra-upload-card:has(#ref-extra-file-picked:not([hidden])) .ref-bid-doc-upload-subline{display:none!important}#reference #ref-extra-upload-card:has(#ref-extra-file-picked:not([hidden])) .ref-bid-doc-upload-meta{display:none!important}#reference #ref-tender-upload-card:has(#ref-tender-file-picked:not([hidden])) .ref-bid-doc-upload-subline{display:none!important}#reference #ref-tender-upload-card:has(#ref-tender-file-picked:not([hidden])) .ref-bid-doc-upload-meta{display:none!important}#reference #ref-tender-attachments-zone:has(#ref-tender-attachments-picked:not([hidden])) .ref-bid-doc-upload-subline{display:none!important}#reference #ref-tender-attachments-zone:has(#ref-tender-attachments-picked:not([hidden])) .ref-bid-doc-upload-meta{display:none!important}#reference .ref-file-picked-row{width:100%;margin-top:2px}#reference .ref-file-picked-inner{box-sizing:border-box;background:#ffffffd1;border:1px solid #dc354529;border-radius:8px;flex-direction:row;justify-content:space-between;align-items:flex-start;gap:10px;padding:8px 10px;display:flex}#reference .ref-file-picked-meta{color:#4a1519;word-break:break-word;flex:auto;min-width:0;font-size:.78rem;line-height:1.38}#reference .ref-file-remove-btn{color:#c82333;cursor:pointer;background:#fff;border:1px solid #dc35456b;border-radius:6px;flex-shrink:0;padding:3px 9px;font-size:.72rem;font-weight:600;line-height:1.25}#reference .ref-file-remove-btn:hover{background:#fff5f5;border-color:#c823338c}#reference .ref-file-remove-btn--sm{padding:2px 7px;font-size:.66rem}#reference .ref-file-picked-list{flex-direction:column;gap:6px;width:100%;margin-top:2px;display:flex}#reference .ref-file-att-chip{box-sizing:border-box;background:#ffffffd1;border:1px solid #dc354524;border-radius:8px;flex-direction:row;justify-content:space-between;align-items:center;gap:8px;padding:6px 8px;display:flex}#reference .ref-file-att-chip-name{color:#3d0f14;word-break:break-word;flex:auto;min-width:0;font-size:.74rem;line-height:1.32}#reference .ref-bid-doc-upload-lower--attachments{margin-top:2px}#reference .ref-inline-upload-card{box-sizing:border-box;background:linear-gradient(168deg,#fff 0%,#fff8f8 46%,#ffecec 100%);border:1px solid #dc35453d;border-radius:14px;max-width:min(100%,380px);transition:border-color .22s,box-shadow .22s,transform .22s;position:relative;overflow:hidden;box-shadow:0 1px 2px #b02a370f,0 12px 32px -14px #b02a3724}#reference .ref-inline-upload-card:before{content:"";opacity:.92;pointer-events:none;background:linear-gradient(#f5a5ad 0%,#dc3545 52%,#9b1c2e 100%);border-radius:0 4px 4px 0;width:3px;position:absolute;top:14px;bottom:14px;left:0}#reference .ref-inline-upload-card:hover{border-color:#dc354566;transform:translateY(-2px);box-shadow:0 1px 3px #b02a3714,0 16px 40px -16px #c8233338}#reference .ref-inline-upload-card .ref-bid-doc-upload-main.upload-area-compact{background:0 0;gap:10px;padding:14px 16px 16px 18px}#reference .ref-inline-upload-card .ref-bid-doc-upload-main.upload-area-compact:hover{background:#ffffff8c}#reference .ref-inline-upload-card .ref-bid-doc-upload-main.upload-area-compact.selected{background:0 0}#reference .ref-inline-upload-card .ref-bid-doc-upload-ico{color:#c82333;width:22px;height:22px;margin-top:2px}#reference .ref-inline-upload-card .ref-bid-doc-upload-main.upload-area-compact.selected .ref-bid-doc-upload-ico{color:#b02a37}#reference .ref-inline-upload-card .ref-bid-doc-upload-copy{gap:6px}#reference .ref-inline-upload-card .ref-bid-doc-upload-title{letter-spacing:.015em;font-size:.93rem}#reference .ref-inline-upload-card .ref-bid-doc-upload-lower{margin-left:30px}#reference .ref-bid-doc-history-rail{cursor:pointer;-webkit-user-select:none;user-select:none;background:linear-gradient(#f8fafc 0%,#e8f4fc 100%);border-left:1px solid #3b82f647;flex-direction:column;flex:none;justify-content:center;align-items:center;gap:2px;width:38px;padding:4px 2px;transition:background .2s,border-color .2s;display:flex}#reference .ref-bid-doc-history-rail:hover{background:linear-gradient(#eff6ff 0%,#dbeafe 100%)}#reference .ref-bid-doc-history-rail.selected{background:linear-gradient(#dbeafe 0%,#bfdbfe 100%)}#reference .ref-bid-doc-history-rail-label{writing-mode:vertical-rl;text-orientation:mixed;color:#1d4ed8;letter-spacing:.04em;font-size:.7rem;font-weight:650;line-height:1.1}#reference .ref-bid-doc-history-rail.selected .ref-bid-doc-history-rail-label{color:#1e3a8a}#reference .ref-bid-doc-kb-rail{cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;background:linear-gradient(#fffbfb 0%,#ffe8ec 100%);border-left:1px solid #dc354547;flex-direction:column;flex:none;justify-content:center;align-items:center;gap:3px;width:38px;padding:4px 2px;transition:background .2s,border-color .2s;display:flex}#reference .ref-bid-doc-kb-rail:hover{background:linear-gradient(#fff5f5 0%,#ffd6dc 100%)}#reference .ref-bid-doc-kb-rail.selected{background:linear-gradient(#ffe4e8 0%,#fecdd6 100%)}#reference .ref-bid-doc-kb-rail-icon{color:#c82333;flex-shrink:0;justify-content:center;align-items:center;line-height:0;display:flex}#reference .ref-bid-doc-kb-rail-icon svg{width:14px;height:14px;display:block}#reference .ref-bid-doc-kb-rail.selected .ref-bid-doc-kb-rail-icon{color:#dc3545}#reference .ref-bid-doc-kb-rail-label{writing-mode:vertical-rl;text-orientation:mixed;color:#b02a37;letter-spacing:.04em;font-size:.7rem;font-weight:650;line-height:1.1}#reference .ref-bid-doc-kb-rail.selected .ref-bid-doc-kb-rail-label{color:#9b1c2e}@media (width<=680px){#reference .ref-bid-doc-file-stack{width:100%}#reference .ref-bid-doc-triple-wrap{flex:auto;width:100%;max-width:100%}}@media (width<=480px){#reference .ref-bid-doc-history-rail{width:36px}#reference .ref-bid-doc-history-rail-label{font-size:.68rem}#reference .ref-bid-doc-kb-rail{width:36px}#reference .ref-bid-doc-kb-rail-label{font-size:.68rem}}#reference .ref-step1-uploads .file-input-row{max-width:min(100%,400px)}#reference .ref-step1-uploads .file-input-row .upload-area-compact,#reference .ref-step1-uploads .file-input-row .history-area-compact{min-width:0}#reference .ref-step1-uploads .upload-area-compact.ref--dropping,#reference .ref-step1-uploads .file-input-row.single-input-row .upload-area-compact.ref--dropping{background:linear-gradient(#fff8f8 0%,#ffe4e8 100%);border-style:solid;border-color:#dc3545}@media (width<=768px){#reference .ref-step1-uploads .history-area-compact{width:100%}}#reference .ref-tech-materials-header{flex-direction:column;align-items:flex-start;gap:6px;margin-bottom:10px;display:flex}#reference .ref-tech-materials-title-row{flex-wrap:wrap;align-items:center;gap:10px 12px;display:flex}#reference .ref-tech-materials-title{color:#111827;letter-spacing:.02em;font-size:.96rem;font-weight:650}#reference .ref-tech-materials-sub{color:#6c757d;width:100%;max-width:100%;margin:0;font-size:.8rem;line-height:1.45}#reference .ref-tech-materials-link{color:#c82333;font-size:.82rem;font-weight:600;text-decoration:none}#reference .ref-tech-materials-link:hover{color:#a71d2a;text-decoration:underline}#reference .ref-tech-materials-link.ref-tech-materials-link-btn{font:inherit;cursor:pointer;font-family:inherit;line-height:inherit;text-align:inherit;background:0 0;border:none;margin:0;padding:0;display:inline}#reference .ref-tech-materials-link.ref-tech-materials-link-btn.ref-tech-materials-kb-inline{font-size:.72rem;font-weight:600}#reference .ref-tech-materials-help{color:#fff;cursor:help;background:linear-gradient(135deg,#dc3545 0%,#b02a37 100%);border-radius:50%;justify-content:center;align-items:center;width:1.1rem;height:1.1rem;font-size:.72rem;font-weight:700;display:inline-flex}#reference .ref-tech-materials-card{cursor:pointer;box-sizing:border-box;background:linear-gradient(125deg,#fff8f8 0%,#ffecec 42%,#ffd4d4 100%);border:1px solid #dc354547;border-radius:14px;align-items:center;gap:14px;max-width:min(100%,400px);padding:16px 18px;transition:border-color .2s,box-shadow .2s,transform .2s;display:flex;box-shadow:0 2px 10px #b02a3714}#reference .ref-tech-materials-card:hover{border-color:#dc354573;transform:translateY(-1px);box-shadow:0 6px 18px #dc35451f}#reference .ref-tech-materials-card.selected{border-color:#dc3545;box-shadow:0 0 0 1px #dc354540}#reference .ref-tech-materials-card-icon{color:#b02a37;flex-shrink:0}#reference .ref-tech-materials-card-main{flex-direction:column;gap:4px;min-width:0;display:flex}#reference .ref-tech-materials-card-label{color:#3d0f14;font-size:.95rem;font-weight:650}#reference .ref-tech-materials-card-inline{color:#8a4a52;font-size:.78rem}.step-nav-item:focus-visible{outline-offset:3px;border-radius:12px;outline:2px solid #6366f1}.step-nav-item.locked:focus-visible{outline-color:#94a3b8}.step3-left-header{background:linear-gradient(135deg,#fef2f2 0%,#fee2e2 100%);border-bottom:2px solid #fecaca;border-radius:12px 12px 0 0;flex-shrink:0;justify-content:space-between;align-items:center;padding:12px 16px;display:flex}.step3-left-header-label{color:#991b1b;align-items:center;gap:8px;font-size:.95rem;font-weight:600;display:flex}.step3-left-header-label svg{color:#ef4444;flex-shrink:0}.step3-left-header-actions{align-items:center;gap:10px;display:flex}.step3-left-body{background:#fafbfd;flex-direction:column;flex:1;gap:10px;padding:12px;display:flex;overflow-y:auto}.analysis-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;transition:box-shadow .2s,border-color .2s;overflow:hidden}.analysis-card:hover{border-color:#c4d5f5;box-shadow:0 2px 8px #3b82f614}.analysis-card-header{cursor:pointer;-webkit-user-select:none;user-select:none;background:#f8fafd;justify-content:space-between;align-items:center;padding:10px 14px;transition:background .15s;display:flex}.analysis-card-header:hover{background:#fef2f2}.analysis-card-header-left{align-items:center;gap:8px;display:flex}.analysis-card-icon{flex-shrink:0;font-size:1rem}.analysis-card-title{color:#1e293b;font-size:.9rem;font-weight:600}.analysis-card-arrow{color:#94a3b8;flex-shrink:0;transition:transform .25s}.analysis-card.collapsed .analysis-card-arrow{transform:rotate(-90deg)}.analysis-card-body{padding:10px 14px 14px}.analysis-card.collapsed .analysis-card-body{display:none}.analysis-card-placeholder{text-align:center;color:#94a3b8;padding:20px 0;font-size:.85rem}.analysis-card-placeholder svg{opacity:.5;margin-bottom:6px}.analysis-card-content{color:#334155;font-size:.85rem;line-height:1.65}.analysis-card-editor{color:#334155;resize:vertical;background:#fff;border:1px solid #cbd5e1;border-radius:8px;width:100%;padding:10px;font-size:.85rem;line-height:1.6;transition:border-color .2s}.analysis-card-editor:focus{border-color:#ef4444;outline:none;box-shadow:0 0 0 3px #ef44441a}.analysis-card:not(.collapsed){border-color:#fca5a5;flex-direction:column;flex:1;min-height:0;display:flex;box-shadow:0 4px 16px #ef44441f}.analysis-card:not(.collapsed) .analysis-card-header{background:linear-gradient(135deg,#fef2f2 0%,#fee2e2 100%);border-bottom:1px solid #fca5a5}.analysis-card:not(.collapsed) .analysis-card-body{flex:1;min-height:0;overflow-y:auto}.analysis-card-content{scroll-behavior:smooth;max-height:60vh;overflow-y:auto}.analysis-card-content::-webkit-scrollbar{width:4px}.analysis-card-content::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:2px}.outline-tree-node.focused{background:#fef2f2;border-radius:4px}.outline-tree-node.focused .outline-tree-label{color:#b91c1c;font-weight:600}.outline-tree-stats{color:#64748b;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:6px 12px;font-size:.8rem}.step3-right-header{background:linear-gradient(135deg,#f0f4f8 0%,#f7f8fa 100%);border-bottom:1px solid #e0e4e8;border-radius:12px 12px 0 0;flex-shrink:0;justify-content:space-between;align-items:center;padding:12px 16px;display:flex}.step3-right-header-label{color:#1a3a5c;align-items:center;gap:8px;font-size:.95rem;font-weight:600;display:flex}.step3-right-header-label .header-icon{font-size:1.1rem}.step3-right-header-actions{align-items:center;gap:10px;display:flex}.step3-right-body{background:#fff;flex:1;padding:12px;overflow-y:auto}#fd-bid-doc-content .bid-chapter-card,#ch-bid-doc-content .bid-chapter-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;margin-bottom:28px;overflow:clip;box-shadow:0 1px 3px #0f172a0f}#fd-bid-doc-content .chapter-card-header,#ch-bid-doc-content .chapter-card-header{background:#fff;border-bottom:1px solid #f1f5f9;padding:10px 16px}#fd-bid-doc-content .chapter-card-body,#ch-bid-doc-content .chapter-card-body{background:#fff}#fd-bid-doc-content .bid-doc-formal-wrap .bid-heading1,#ch-bid-doc-content .bid-doc-formal-wrap .bid-heading1{color:#1e293b;margin:1.35em 0 .55em;font-size:1.15rem;font-weight:600;line-height:1.45}#fd-bid-doc-content .bid-doc-formal-wrap .bid-heading2,#ch-bid-doc-content .bid-doc-formal-wrap .bid-heading2{color:#334155;margin:1.05em 0 .4em;font-size:1.02rem;font-weight:600}#fd-bid-doc-content .bid-doc-formal-wrap p.bid-paragraph,#ch-bid-doc-content .bid-doc-formal-wrap p.bid-paragraph{color:#334155;margin:.5em 0;font-size:1rem;line-height:1.75}.editing-mode .fd-chapter-heading-bar{pointer-events:none;opacity:.92}.editing-mode .fd-chapter-section-nav,.editing-mode .bid-chapter-section-nav{pointer-events:none;opacity:.85}.fd-chapter-heading-bar,.bid-chapter-heading-bar{background:#f8fafc;border-bottom:1px solid #e2e8f0;margin:0 0 8px;padding:14px 20px 12px;position:relative}.fd-chapter-heading-bar-text,.bid-chapter-heading-bar-text{color:#0f172a;margin:0;font-size:1.35rem;font-weight:700;line-height:1.4}.fd-chapter-heading-edit-btn,.bid-chapter-heading-edit-btn{color:#999;cursor:pointer;opacity:0;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;width:28px;height:28px;transition:opacity .2s,background .15s,color .15s;display:flex;position:absolute;top:50%;right:12px;transform:translateY(-50%)}.fd-chapter-heading-bar:hover .fd-chapter-heading-edit-btn{opacity:1}.fd-chapter-heading-edit-btn:hover{color:#333;background:#e8e8e8}.fd-chapter-heading-edit-btn svg{width:14px;height:14px}.fd-chapter-heading-bar-text[contenteditable=true]{background:#1890ff0a;border-radius:3px;outline:2px solid #1890ff;padding:0 4px}.night-mode .fd-chapter-heading-edit-btn{color:#777}.night-mode .fd-chapter-heading-edit-btn:hover{color:#ddd;background:#3a3a4a}.night-mode .fd-chapter-heading-bar-text[contenteditable=true]{background:#1890ff14}.fd-chapter-section-nav,.bid-chapter-section-nav{flex-wrap:wrap;gap:8px;margin-bottom:4px;padding:0 20px 12px;display:flex}.fd-section-anchor-pill{color:#475569;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:999px;padding:4px 10px;font-size:.8rem;transition:background .15s,border-color .15s}.fd-section-anchor-pill:hover{color:#0f172a;background:#f1f5f9;border-color:#cbd5e1}#fd-bid-doc-content .chapter-card-body .bid-doc-formal-wrap,#ch-bid-doc-content .chapter-card-body .bid-doc-formal-wrap{padding:8px 20px 24px;line-height:1.75}#fd-bid-doc-content .chapter-card-body .bid-doc-formal-wrap h2[data-toc-level="2"],#ch-bid-doc-content .chapter-card-body .bid-doc-formal-wrap h2[data-toc-level="2"]{color:#1e293b;margin:1.25em 0 .5em;font-size:1.15rem;font-weight:600}#fd-bid-doc-content .chapter-card-body .bid-doc-formal-wrap h3[data-toc-level="3"],#ch-bid-doc-content .chapter-card-body .bid-doc-formal-wrap h3[data-toc-level="3"]{color:#334155;margin:1em 0 .4em;font-size:1.02rem;font-weight:600}#fd-bid-doc-content .chapter-card-body p.bid-clause-line,#ch-bid-doc-content .chapter-card-body p.bid-clause-line{color:#334155;margin:.35em 0;font-size:1rem;font-weight:400;line-height:1.75}.fd-heading-highlight{outline-offset:4px;border-radius:4px;outline:2px solid #f59e0b;transition:outline .2s}.fd-chapter-outlines-region,.bid-chapter-outlines-region{flex-direction:column;flex:1;min-height:120px;display:flex}.outline-chapters-toolbar{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:10px;display:flex}.outline-chapters-toolbar-hint{color:#64748b;font-size:.8rem}.outline-chapter-add-btn{flex-shrink:0}.chapter-outline-seq-title,.fd-strategy-chapter-seq,.outline-node-text,.fd-strategy-chapter-body{cursor:text}.chapter-outline-card-body-empty{cursor:text;background:#fafbfc;border-top:1px dashed #e8ecf0;justify-content:center;align-items:center;min-height:52px;display:flex}.outline-body-edit-hint{color:#94a3b8;-webkit-user-select:none;user-select:none;font-size:.85rem}.chapter-outline-card-body-editing,.chapter-outline-card.editing .chapter-outline-card-body{background:#f1f5f9;border-top:none;justify-content:flex-start;align-items:stretch;min-height:auto;max-height:none;margin:0;padding:14px 16px 16px;display:block;overflow:visible}.chapter-outline-subsections-field{margin-top:10px}.chapter-outline-subsections-field>.chapter-outline-field-label{color:#475569;letter-spacing:.02em;margin-bottom:8px;font-size:.78rem;font-weight:600}.chapter-outline-card.editing .chapter-outline-title-row{margin-bottom:4px}.chapter-outline-card.editing .chapter-outline-title-field{background:#fff;border-color:#e2e8f0;border-radius:8px;padding:9px 12px;font-size:.9rem}.chapter-outline-card.editing .outline-struct-editor{margin-top:0}.chapter-outline-card.editing .outline-struct-list{min-height:44px}.chapter-outline-card.editing .outline-struct-list:empty:before{content:"暂无小节，点击下方按钮添加";text-align:center;color:#94a3b8;background:#fff;border:1px dashed #dbe3ea;border-radius:8px;margin:4px 0;padding:28px 16px;font-size:.8rem;display:block}.chapter-outline-card.editing .outline-struct-row:focus-within .outline-struct-row-actions{opacity:1;pointer-events:auto}.chapter-outline-card.editing .outline-struct-add-btn{margin-top:0}.chapter-outline-card.editing .chapter-outline-edit-footer{border-top:1px solid #e8ecf0;margin-top:14px;padding-top:12px}.chapter-outline-title-editor,.chapter-outline-sub-editor,.bid-doc-toc-item-text input.bid-toc-inline-editor{width:100%;font-size:inherit;box-shadow:none;background:#fff;border:1px solid #e2e8f0;border-radius:4px;outline:none;padding:2px 6px}#generation-result .chapter-card-body[contenteditable=true],#generation-result .bid-doc-formal-wrap[contenteditable=true],#chapter-generation-result .chapter-card-body[contenteditable=true],#chapter-generation-result .bid-doc-formal-wrap[contenteditable=true],.bid-content-scope #bid-doc-content .chapter-card-body[contenteditable=true],.bid-content-scope #bid-doc-content .bid-doc-formal-wrap[contenteditable=true],.bid-content-scope #ch-bid-doc-content .chapter-card-body[contenteditable=true],.bid-content-scope #ch-bid-doc-content .bid-doc-formal-wrap[contenteditable=true]{padding:inherit!important;margin:inherit!important;box-shadow:none!important;background:0 0!important;border:none!important;outline:none!important}#generation-result .chapter-card-body[contenteditable=true]:before,#generation-result .bid-doc-formal-wrap[contenteditable=true]:before,#chapter-generation-result .chapter-card-body[contenteditable=true]:before,#chapter-generation-result .bid-doc-formal-wrap[contenteditable=true]:before,.bid-content-scope #bid-doc-content .chapter-card-body[contenteditable=true]:before,.bid-content-scope #bid-doc-content .bid-doc-formal-wrap[contenteditable=true]:before,.bid-content-scope #ch-bid-doc-content .chapter-card-body[contenteditable=true]:before,.bid-content-scope #ch-bid-doc-content .bid-doc-formal-wrap[contenteditable=true]:before{content:none!important;display:none!important}#generation-result .chapter-card-body[contenteditable=true]:hover,#generation-result .chapter-card-body[contenteditable=true]:focus,#generation-result .bid-doc-formal-wrap[contenteditable=true]:hover,#generation-result .bid-doc-formal-wrap[contenteditable=true]:focus-within,#chapter-generation-result .chapter-card-body[contenteditable=true]:hover,#chapter-generation-result .chapter-card-body[contenteditable=true]:focus,#chapter-generation-result .bid-doc-formal-wrap[contenteditable=true]:hover,#chapter-generation-result .bid-doc-formal-wrap[contenteditable=true]:focus-within,.bid-content-scope #bid-doc-content .chapter-card-body[contenteditable=true]:hover,.bid-content-scope #bid-doc-content .chapter-card-body[contenteditable=true]:focus,.bid-content-scope #bid-doc-content .bid-doc-formal-wrap[contenteditable=true]:hover,.bid-content-scope #bid-doc-content .bid-doc-formal-wrap[contenteditable=true]:focus-within,.bid-content-scope #ch-bid-doc-content .chapter-card-body[contenteditable=true]:hover,.bid-content-scope #ch-bid-doc-content .chapter-card-body[contenteditable=true]:focus,.bid-content-scope #ch-bid-doc-content .bid-doc-formal-wrap[contenteditable=true]:hover,.bid-content-scope #ch-bid-doc-content .bid-doc-formal-wrap[contenteditable=true]:focus-within{box-shadow:none!important;background:0 0!important;border:none!important;outline:none!important}#generation-result .chapter-card-body:focus-within,#chapter-generation-result .chapter-card-body:focus-within,.bid-content-scope #bid-doc-content .chapter-card-body:focus-within,.bid-content-scope #ch-bid-doc-content .chapter-card-body:focus-within,#sc-strategy-chapters-container .fd-strategy-chapter-body[contenteditable=true]{box-shadow:none!important;outline:none!important}.fd-chapter-heading-bar-text[contenteditable=true]{box-shadow:none;border-radius:2px;outline:none}.outline-tree-container{flex-direction:column;height:100%;display:flex}.outline-tree-placeholder{color:#94a3b8;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:10px;font-size:.9rem;display:flex}.outline-tree-placeholder svg{opacity:.4}.outline-tree{flex:1;padding:4px 0;overflow-y:auto}.outline-tree-node{cursor:pointer;border-radius:6px;align-items:flex-start;gap:4px;padding:5px 8px;transition:background .15s;display:flex;position:relative}.outline-tree-node:hover{background:#fef2f2}.outline-tree-node.active{background:#fee2e2;border-left:3px solid #ef4444}.outline-tree-toggle{color:#64748b;flex-shrink:0;justify-content:center;align-items:center;width:18px;height:18px;margin-top:2px;font-size:.7rem;transition:transform .2s;display:flex}.outline-tree-toggle.collapsed{transform:rotate(-90deg)}.outline-tree-toggle.empty{visibility:hidden}.outline-tree-icon{flex-shrink:0;margin-right:2px}.outline-tree-label{color:#334155;word-break:break-word;font-size:.85rem;line-height:1.5}.outline-tree-label.level-2{color:#475569}.scoring-badge{color:#92400e;white-space:nowrap;vertical-align:middle;background:linear-gradient(135deg,#fef3c7 0%,#fde68a 100%);border-radius:4px;margin-left:6px;padding:1px 6px;font-size:.72rem;font-weight:600;display:inline-block}.scoring-badge.top{color:#991b1b;background:linear-gradient(135deg,#fecaca 0%,#fca5a5 100%)}.star-badge{color:#dc2626;margin-left:4px;font-size:.85rem;font-weight:700;display:inline-block}.risk-level{border-radius:4px;margin-left:6px;padding:1px 6px;font-size:.72rem;font-weight:600;display:inline-block}.risk-level.abort{color:#991b1b;background:#fee2e2}.risk-level.high{color:#9a3412;background:#ffedd5}.risk-level.medium{color:#854d0e;background:#fef9c3}.btn-toggle-outline-view{color:#64748b;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;font-size:.8rem;transition:all .2s;display:flex}.btn-toggle-outline-view:hover{color:#7c3aed;background:#f5f3ff;border-color:#c4b5fd}@media (width<=768px){.step3-split-layout{flex-direction:column!important}.step3-left-panel,.step3-right-panel{width:100%!important;max-width:100%!important}.step3-left-body,.step3-right-body{max-height:50vh}.step3-left-header,.step3-right-header{border-radius:0}}@media (width<=480px){.analysis-card-header{padding:8px 10px}.analysis-card-title{font-size:.82rem}.outline-tree-label{font-size:.8rem}}.outline-tree-prefix{color:#64748b;font-size:inherit;flex-shrink:0;margin-right:4px;font-weight:600}.outline-tree-node[data-depth="1"]{padding-left:24px}.outline-tree-node[data-depth="2"]{padding-left:44px}.outline-tree-node[data-depth="3"]{padding-left:64px}.outline-tree-node[data-depth="4"]{padding-left:84px}.outline-tree-label.level-0{color:#0f172a;font-size:.95rem;font-weight:700}.outline-tree-label.level-1{color:#991b1b;font-size:.9rem;font-weight:600}.outline-tree-label.level-2{color:#334155;font-size:.85rem;font-weight:500}.outline-tree-label.level-3{color:#475569;font-size:.83rem;font-weight:400}.outline-tree-label.level-4{color:#64748b;font-size:.8rem;font-weight:400}.rich-editor-wrapper{border:1px solid #e2e8f0;border-radius:8px;transition:border-color .2s;overflow:hidden}.rich-editor-wrapper:focus-within{border-color:#fca5a5;box-shadow:0 0 0 3px #ef44441a}.rich-editor-toolbar{background:#f8fafc;border-bottom:1px solid #e2e8f0;align-items:center;gap:2px;padding:6px 8px;display:flex}.rich-btn{color:#475569;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:4px;justify-content:center;align-items:center;width:28px;height:28px;font-size:.8rem;transition:all .15s;display:flex}.rich-btn:hover{color:#1e293b;background:#e2e8f0;border-color:#cbd5e1}.rich-btn:active{background:#cbd5e1}.rich-separator{background:#e2e8f0;width:1px;height:20px;margin:0 4px}.rich-editor-content{color:#1e293b;outline:none;min-height:120px;max-height:400px;padding:12px 14px;font-size:.9rem;line-height:1.6;overflow-y:auto}.rich-editor-content:empty:before{content:attr(placeholder);color:#94a3b8;pointer-events:none}.formatted-content{color:#1e293b;padding:12px 0;font-size:.9rem;line-height:1.65;overflow-y:auto}.formatted-content .fmt-h3{color:#1a1a1a;border-bottom:1px solid #d0d0d0;margin:14px 0 6px;padding-bottom:4px;font-size:.95rem;font-weight:700}.formatted-content .fmt-h4{color:#333;margin:10px 0 4px;font-size:.9rem;font-weight:600}.formatted-content .fmt-h5{color:#555;margin:8px 0 4px;font-size:.87rem;font-weight:500}.formatted-content .fmt-p{margin:4px 0}.formatted-content .fmt-list{margin:4px 0 4px 20px;padding:0}.formatted-content .fmt-list li{margin:2px 0}#fd-scoring-requirements-display .fd-scoring-display .fd-scoring-fmt{margin:6px 0 10px;padding-left:1.25em}#fd-scoring-requirements-display .fd-scoring-display .fd-scoring-fmt li{margin-bottom:.65em;line-height:1.55}.fd-strategy-v12-root{background:#fff;border:1px solid #e8e8e8;border-radius:10px;overflow:hidden;box-shadow:0 1px 2px #0000000a}.fd-strategy-v12-top{background:#fff;border-bottom:1px solid #f0f0f0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 16px;padding:10px 14px 0;display:flex}.fd-strategy-v12-tabs{gap:4px;display:flex}.fd-strategy-tab{color:#64748b;cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;margin-bottom:-1px;padding:10px 14px 12px;font-size:.95rem;font-weight:500}.fd-strategy-tab:hover{color:#334155}.fd-strategy-tab.active{color:var(--primary-color,#dc3545);border-bottom-color:var(--primary-color,#dc3545)}.fd-strategy-v12-top-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.fd-strategy-tool-btn{color:#334155;cursor:pointer;background:#fff;border:1px solid #d9d9d9;border-radius:6px;padding:5px 12px;font-size:.82rem}.fd-strategy-tool-btn:hover{border-color:var(--primary-color,#dc3545);color:var(--primary-color,#dc3545)}.fd-strategy-v12-body-wrap{background:#f5f6f8}.fd-strategy-v12-panel{min-height:120px}.fd-strategy-ref-empty{text-align:center;color:#94a3b8;padding:28px 20px;font-size:.9rem}.fd-v12-board{background:#f5f6f8;max-height:min(68vh,720px);padding:14px 14px 20px;overflow-y:auto}.fd-v12-strategy-inner{color:#334155;font-size:.88rem;line-height:1.6}.fd-v12-meta-card{background:#fff;border:1px solid #ececec;border-radius:10px;margin-bottom:16px;padding:12px 14px;box-shadow:0 1px 3px #0000000f}.fd-v12-meta-title{color:#1e293b;margin-bottom:8px;font-size:.86rem;font-weight:600}.fd-v12-dl{margin:0;padding:0}.fd-v12-dl dt{color:#475569;margin-top:6px;font-size:.82rem;font-weight:600}.fd-v12-dl dd{color:#475569;margin:2px 0 0;font-size:.82rem}.fd-v12-chapter-list{flex-direction:column;gap:18px;display:flex}.fd-dir-chapter-card{isolation:isolate;background:#fff;border:1px solid #e8e8e8;border-radius:10px;padding:16px 18px;box-shadow:0 2px 8px #0f172a0f}.fd-dir-chapter-head{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:12px;padding-bottom:10px;display:flex}.fd-dir-chapter-title{color:#0f172a;flex:1;min-width:0;font-size:1rem;font-weight:700;line-height:1.45}.fd-dir-chapter-regen-btn{color:#2563eb;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #3b82f6;border-radius:6px;flex-shrink:0;padding:5px 14px;font-size:.8rem;font-weight:500}.fd-dir-chapter-regen-btn:hover{background:#eff6ff}.fd-dir-chapter-body{color:#475569;white-space:pre-wrap;font-size:.88rem}.fd-dir-chapter-actions{flex-shrink:0;align-items:center;gap:8px;display:flex}.fd-dir-chapter-edit-btn{color:#059669;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #10b981;border-radius:6px;padding:5px 14px;font-size:.8rem;font-weight:500}.fd-dir-chapter-edit-btn:hover{background:#ecfdf5}.fd-dir-chapter-editing .fd-dir-chapter-edit-btn{color:#d97706;background:#fffbeb;border-color:#f59e0b}.fd-dir-chapter-edit-toolbar{gap:6px;margin-bottom:8px;display:flex}.fd-dir-chapter-preview-btn,.fd-dir-chapter-source-btn{color:#6b7280;cursor:pointer;background:#f9fafb;border:1px solid #d1d5db;border-radius:5px;padding:3px 12px;font-size:.78rem}.fd-dir-chapter-preview-btn.active,.fd-dir-chapter-source-btn.active{color:#fff;background:#2563eb;border-color:#2563eb}.fd-dir-chapter-edit-textarea{color:#1e293b;resize:vertical;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:6px;width:100%;min-height:120px;padding:10px;font-family:inherit;font-size:.85rem;line-height:1.6}.fd-dir-chapter-edit-textarea:focus{border-color:#3b82f6;outline:none;box-shadow:0 0 0 2px #3b82f626}.fd-dir-chapter-edit-preview{color:#334155;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;min-height:60px;padding:10px;font-size:.85rem;line-height:1.65}.fd-dir-chapter-edit-preview h2,.fd-dir-chapter-edit-preview h3,.fd-dir-chapter-edit-preview h4{color:#0f172a;margin:8px 0 4px}.fd-dir-chapter-edit-preview ul{margin:4px 0;padding-left:20px}.fd-dir-chapter-edit-preview li{margin:2px 0}.fd-dir-chapter-edit-preview strong{color:#0f172a}.fd-lf-modal{background:#fff;border-radius:16px;width:480px;max-width:92vw;max-height:85vh;overflow-y:auto;box-shadow:0 12px 40px #0003}.fd-lf-modal-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;padding:18px 24px;display:flex}.fd-lf-modal-title{color:#111827;font-size:1.1rem;font-weight:600}.fd-lf-modal-close{color:#6b7280;cursor:pointer;background:#f3f4f6;border:none;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;font-size:1.1rem;display:flex}.fd-lf-modal-close:hover{color:#374151;background:#e5e7eb}.fd-lf-modal-body{padding:20px 24px}.fd-lf-section{margin-bottom:18px}.fd-lf-section:last-child{margin-bottom:0}.fd-lf-section-title{color:#374151;border-bottom:1px solid #f1f5f9;margin-bottom:10px;padding-bottom:6px;font-size:.88rem;font-weight:600}.fd-lf-row{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.fd-lf-row:last-child{margin-bottom:0}.fd-lf-row label{color:#64748b;flex-shrink:0;min-width:100px;font-size:.82rem}.fd-lf-row select{color:#1e293b;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:6px;flex:1;max-width:200px;padding:6px 10px;font-size:.82rem}.fd-lf-row select:focus{border-color:#3b82f6;outline:none;box-shadow:0 0 0 2px #3b82f61f}.fd-lf-modal-footer{border-top:1px solid #e5e7eb;justify-content:flex-end;gap:10px;padding:16px 24px;display:flex}.fd-lf-btn-cancel{color:#6b7280;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:8px 20px;font-size:.88rem}.fd-lf-btn-cancel:hover{background:#f9fafb}.fd-lf-btn-confirm{color:#fff;cursor:pointer;background:linear-gradient(135deg,#3b82f6,#2563eb);border:none;border-radius:8px;padding:8px 24px;font-size:.88rem;font-weight:500}.fd-lf-btn-confirm:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8)}.fd-v12-notes-wrap{background:#fff;border:1px solid #ececec;border-radius:10px;margin-top:18px;padding:14px;box-shadow:0 1px 3px #0000000d}.fd-v12-notes{color:#475569;margin:6px 0 0 18px;padding:0}.fd-strategy-v12-fullscreen{z-index:1060;flex-direction:column;inset:12px;box-shadow:0 12px 48px #0000002e;max-height:none!important;display:flex!important;position:fixed!important}.fd-strategy-v12-fullscreen .fd-v12-board{flex:1;min-height:0;max-height:none}body.fd-strategy-v12-fs-lock{overflow:hidden}.formatted-content strong{color:#0f172a}.fmt-table{border-collapse:collapse;width:100%;margin:8px 0;font-size:.88rem}.fmt-table td{color:#334155;border:1px solid #e2e8f0;padding:6px 10px}.fmt-kv{align-items:flex-start;gap:4px;margin:2px 0;line-height:1.6;display:flex}.fmt-kv-key{color:#1e293b;flex-shrink:0;min-width:80px;font-weight:600}.fmt-kv-sep{color:#94a3b8;margin-right:4px}.fmt-kv-val{color:#334155}.content-placeholder{color:#aaa;font-style:normal}.bid-chapter-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;margin-bottom:24px;transition:border-color .2s,box-shadow .2s;overflow:clip}.bid-chapter-card:hover{border-color:#cbd5e1}.bid-chapter-card.editing{border-color:#fca5a5;box-shadow:0 0 0 3px #ef44441a}.chapter-card-header{background:#f8fafc;border-bottom:1px solid #e2e8f0;align-items:center;gap:12px;padding:14px 20px;display:flex}.chapter-card-title{flex:1;align-items:baseline;gap:8px;display:flex}.chapter-seq{color:#64748b;font-size:.8rem;font-weight:600}.chapter-name{color:#0f172a;font-size:1rem;font-weight:700}.chapter-card-status{flex-shrink:0}.chapter-status-badge{border-radius:12px;align-items:center;gap:4px;padding:2px 10px;font-size:.75rem;font-weight:500;display:inline-flex}.chapter-status-badge.generating{color:#92400e;background:#fef3c7}.chapter-status-badge.generated{color:#166534;background:#dcfce7}.chapter-card-actions{flex-shrink:0;gap:6px;display:flex}.bid-chapter-card .chapter-card-header .chapter-card-actions{margin-left:auto}.chapter-action-btn{color:#475569;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:6px;align-items:center;gap:4px;padding:4px 10px;font-size:.78rem;font-weight:500;transition:all .15s;display:inline-flex}.chapter-action-btn:hover{color:#1e293b;background:#f1f5f9;border-color:#cbd5e1}.chapter-action-btn svg{width:14px;height:14px}.chapter-card-body{color:#1e293b;padding:24px 28px;font-size:.92rem;line-height:1.75}@keyframes chapter-card-pulse{0%,to{box-shadow:0 0 #3b82f666}50%{box-shadow:0 0 0 6px #3b82f61a}}.bid-chapter-card.highlight{animation:2s ease-in-out chapter-card-pulse}.fd-mode-switcher{background:#fff;border:1px solid #e2e8f0;border-radius:8px;justify-content:space-between;align-items:center;margin-bottom:12px;padding:10px 16px;display:flex}.fd-mode-tabs{gap:4px;display:flex}.fd-mode-tab{color:#64748b;cursor:pointer;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;align-items:center;gap:6px;padding:7px 16px;font-size:13px;transition:all .15s;display:flex}.fd-mode-tab.active{color:#fff;background:#1e293b;border-color:#1e293b}.fd-mode-tab:hover:not(.active){background:#f1f5f9;border-color:#cbd5e1}.fd-mode-tab svg{width:14px;height:14px}.fd-mode-tabs-segmented{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:10px;gap:0;padding:3px}.fd-mode-tabs-segmented .fd-mode-tab{background:0 0;border:none;border-radius:8px;flex:1;justify-content:center}.fd-mode-tabs-segmented .fd-mode-tab.active{color:#0f172a;background:#fff;box-shadow:0 1px 2px #0f172a14}.fd-mode-tabs-segmented .fd-mode-tab:focus-visible{outline-offset:2px;outline:2px solid #3b82f6}.fd-tender-ref-sidebar{z-index:1080;color:#e2e8f0;background:#0f172a;width:min(440px,92vw);height:100vh;font-size:13px;transition:transform .22s;position:fixed;top:0;right:0;transform:translate(100%);box-shadow:-8px 0 24px #0003}.fd-tender-ref-sidebar.open{transform:translate(0)}.fd-tender-ref-sidebar-inner{flex-direction:column;height:100%;display:flex}.fd-tender-ref-toolbar{border-bottom:1px solid #334155;flex-shrink:0;justify-content:space-between;align-items:center;padding:12px 14px;display:flex}.fd-tender-ref-title{color:#f8fafc;font-weight:600}.fd-tender-ref-close{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:6px;padding:4px 8px;font-size:22px;line-height:1}.fd-tender-ref-close:hover{color:#fff;background:#334155}.fd-tender-ref-body{white-space:pre-wrap;word-break:break-word;color:#cbd5e1;flex:1;margin:0;padding:14px 16px 20px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px;line-height:1.45;overflow:auto}.fd-mode-stats{color:#64748b;font-size:13px}.fd-mode-progress-text{font-weight:500}.fd-global-toolbar{gap:6px;margin-bottom:12px;display:flex}.fd-global-btn{color:#475569;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:6px;align-items:center;gap:5px;padding:6px 12px;font-size:12px;transition:all .15s;display:flex}.fd-global-btn:hover{background:#f1f5f9;border-color:#cbd5e1}.fd-global-btn svg{width:14px;height:14px}.format-fixed-clauses{background:#f0f9ff;border-left:3px solid #3b82f6;border-radius:0 6px 6px 0;margin-bottom:16px;padding:12px 16px}.format-clause{margin:4px 0;font-weight:500}.format-placeholder{color:#94a3b8;font-style:italic}.bid-content-formatted .bid-fill-placeholder{color:#92400e;white-space:nowrap;background:#fff3cd;border:1px dashed #f59e0b;border-radius:3px;min-width:60px;padding:1px 6px;font-style:italic;display:inline-block}.format-table-wrapper{margin:16px 0;overflow-x:auto}.format-table{border-collapse:collapse;width:100%;font-size:.85rem}.format-table th,.format-table td{text-align:left;border:1px solid #e2e8f0;padding:8px 12px}.format-table th{color:#334155;background:#f8fafc;font-weight:600}.format-table td{min-width:80px}.format-signature-block{border-top:1px dashed #e2e8f0;margin-top:24px;padding-top:16px}.format-signature-field{color:#475569;margin:8px 0}.format-notes{color:#713f12;background:#fefce8;border-radius:6px;margin-top:12px;padding:8px 12px;font-size:.82rem}.format-template-prescribed{background:#fef2f2;border:1px solid #fecaca;border-radius:6px;margin-top:12px;padding:10px 14px}.format-template-prescribed-title{color:#dc2626;margin-bottom:8px;font-size:.82rem;font-weight:600}.format-template-prescribed-item{color:#374151;white-space:pre-wrap;word-break:break-all;border-bottom:1px dashed #fecaca;padding:4px 0;font-size:.8rem}.format-template-prescribed-item:last-child{border-bottom:none}.format-template-reference{background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;margin-top:12px;padding:10px 14px}.format-template-reference-title{color:#2563eb;margin-bottom:8px;font-size:.82rem;font-weight:600}.format-template-reference-item{color:#374151;white-space:pre-wrap;word-break:break-all;border-bottom:1px dashed #bfdbfe;padding:4px 0;font-size:.8rem}.format-template-reference-item:last-child{border-bottom:none}.format-precise-preview{border:1px solid #e2e8f0;border-radius:8px;margin:12px 0;overflow:hidden}.format-precise-toolbar{background:#f8fafc;border-bottom:1px solid #e2e8f0;align-items:center;gap:12px;padding:8px 14px;font-size:.78rem;display:flex}.format-precise-label{color:#334155;font-weight:600}.format-precise-zoom{align-items:center;gap:4px;margin-left:auto;display:flex}.format-zoom-btn{cursor:pointer;color:#4b5563;background:#fff;border:1px solid #d1d5db;border-radius:4px;justify-content:center;align-items:center;width:24px;height:24px;padding:0;font-size:14px;display:flex}.format-zoom-btn:hover{background:#f3f4f6;border-color:#9ca3af}.format-zoom-level{text-align:center;color:#6b7280;min-width:36px;font-size:.75rem}.format-export-btn{color:#4b5563;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:4px;padding:3px 10px;font-size:.75rem}.format-export-btn:hover{color:#2563eb;background:#eff6ff;border-color:#3b82f6}.format-precise-body{padding:16px;transition:transform .15s;overflow:auto}.format-table-precise{border-collapse:collapse;table-layout:fixed;width:100%;font-size:.85rem}.format-table-precise th,.format-table-precise td{text-align:left;vertical-align:middle;word-break:break-all;border:1px solid #333;padding:6px 10px}.format-table-precise th{text-align:center;background:#f0f4f8;font-weight:600}.format-table-precise td{min-width:60px}.night-mode .format-precise-preview{border-color:#30363d}.night-mode .format-precise-toolbar{background:#161b22;border-color:#30363d}.night-mode .format-precise-label{color:#e6edf3}.night-mode .format-table-precise th,.night-mode .format-table-precise td{border-color:#484f58}.night-mode .format-table-precise th{color:#e6edf3;background:#21262d}.night-mode .format-zoom-btn{color:#8b949e;background:#21262d;border-color:#30363d}.night-mode .format-zoom-btn:hover{background:#30363d}.night-mode .format-export-btn{color:#8b949e;background:#21262d;border-color:#30363d}.night-mode .format-export-btn:hover{color:#58a6ff;background:#161b22;border-color:#58a6ff}.btn-disabled{opacity:.45;cursor:not-allowed;pointer-events:auto}.btn-loading{pointer-events:none;opacity:.7}.btn-spinner{vertical-align:middle;border:2px solid #ffffff4d;border-top-color:#fff;border-radius:50%;width:14px;height:14px;margin-right:6px;animation:.6s linear infinite btn-spin;display:inline-block}@keyframes btn-spin{to{transform:rotate(360deg)}}.step3-btn-secondary .btn-spinner{border-color:#475569 #64646433 #64646433}.loading-placeholder{color:#999;justify-content:center;align-items:center;gap:8px;padding:32px 16px;font-size:.85rem;display:flex}.loading-spinner{border:2px solid #e2e8f0;border-top-color:#4b5563;border-radius:50%;width:20px;height:20px;animation:.6s linear infinite btn-spin}.step3-tab-bar{background:#f8f9fb;border-bottom:1px solid #e9ecef;border-radius:12px 12px 0 0;flex-wrap:wrap;align-items:center;gap:3px;padding:8px 10px 4px;display:flex}.step3-tab-group{gap:2px;display:flex}.step3-tab-group-primary .step3-tab{font-weight:600}.step3-tab-group-reference .step3-tab{color:#6b7280;font-weight:400}.step3-tab-divider{background:#d1d5db;flex-shrink:0;width:1px;height:20px;margin:0 6px}.step3-tab{color:#64748b;cursor:pointer;white-space:nowrap;-webkit-user-select:none;user-select:none;background:0 0;border:1px solid #0000;border-radius:6px;align-items:center;gap:4px;padding:5px 10px;font-size:.74rem;font-weight:500;transition:all .15s;display:inline-flex}.step3-tab:hover{color:#dc2626;background:#fef2f2}.step3-tab.active{color:#b91c1c;background:#fff;border-color:#fecaca;box-shadow:0 1px 3px #dc262614}.step3-tab svg{flex-shrink:0;width:12px;height:12px}.step3-tab-badge{color:#fff;text-align:center;background:#ef4444;border-radius:10px;min-width:16px;padding:1px 5px;font-size:.65rem;font-weight:600}.step3-more-menu-wrapper{margin-left:auto;position:relative}.step3-btn-icon{color:#64748b;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;padding:0;transition:all .15s;display:inline-flex}.step3-btn-icon:hover{color:#1e293b;background:#f1f5f9;border-color:#cbd5e1}.step3-more-menu{z-index:100;background:#fff;border:1px solid #e5e7eb;border-radius:8px;min-width:140px;margin-top:4px;padding:4px 0;position:absolute;top:100%;right:0;box-shadow:0 4px 16px #0000001f}.step3-more-item{color:#374151;cursor:pointer;text-align:left;background:0 0;border:none;width:100%;padding:8px 14px;font-size:.82rem;transition:background .1s;display:block}.step3-more-item:hover{background:#f3f4f6}.step3-more-item.danger{color:#dc2626}.step3-more-item.danger:hover{background:#fef2f2}.step3-tab-content{flex:1;overflow-y:auto}.step3-tab-panel{flex-direction:column;height:100%;display:none}.step3-tab-panel.active{display:flex}.step3-tab-panel-actions{background:#fafbfd;border-bottom:1px solid #f1f3f5;flex-wrap:wrap;flex-shrink:0;align-items:center;gap:10px;padding:10px 16px;display:flex}.step3-tab-panel-actions .step3-more-menu-wrapper{margin-left:auto}.step3-tab-label{color:#6b7280;font-size:.82rem;font-weight:500}.step3-tab-status{color:#6b7280;background:#f3f4f6;border-radius:12px;padding:3px 10px;font-size:.78rem;font-weight:500}.step3-tab-status.loading{color:#ef4444;background:#fef2f2}.step3-tab-status.done{color:#10b981;background:#ecfdf5}.step3-tab-status.error{color:#ef4444;background:#fef2f2}.fd-status-indicator{white-space:nowrap;vertical-align:middle;border-radius:12px;align-items:center;gap:6px;padding:3px 10px;font-size:.78rem;font-weight:500;display:inline-flex}.fd-status-indicator .fd-status-dot{border-radius:50%;flex-shrink:0;width:6px;height:6px}.fd-status-indicator .fd-status-spinner{will-change:transform;border:1.5px solid #ef44444d;border-top-color:#ef4444;border-radius:50%;flex-shrink:0;width:12px;height:12px;animation:.8s linear infinite fd-status-spin;display:inline-block}.fd-status-indicator .fd-status-text{animation:none;display:inline-block}@keyframes fd-status-spin{to{transform:rotate(360deg)}}.fd-status-indicator.pending{color:#6b7280;background:#f3f4f6}.fd-status-indicator.pending .fd-status-dot{background:#9ca3af}.fd-status-indicator.loading{color:#ef4444;background:#fef2f2}.fd-status-indicator.loading .fd-status-text{animation:1.5s ease-in-out infinite fd-status-text-pulse}@keyframes fd-status-text-pulse{0%,to{opacity:1}50%{opacity:.6}}.fd-status-indicator.done{color:#10b981;background:#ecfdf5}.fd-status-indicator.done .fd-status-dot{background:#10b981}.fd-status-indicator.error{color:#ef4444;background:#fef2f2}.fd-status-indicator.error .fd-status-dot{background:#ef4444}.night-mode .fd-status-indicator.pending{color:#8b949e;background:#21262d}.night-mode .fd-status-indicator.loading{color:#58a6ff;background:#161b22}.night-mode .fd-status-indicator.loading .fd-status-spinner{border-color:#58a6ff #58a6ff4d #58a6ff4d}.night-mode .fd-status-indicator.done{color:#3fb950;background:#0d2818}.night-mode .fd-status-indicator.done .fd-status-dot{background:#3fb950}.night-mode .fd-status-indicator.error{color:#f85149;background:#2d1117}.night-mode .fd-status-indicator.error .fd-status-dot{background:#f85149}.step3-tab-panel-body{color:#1a1a1a;flex:1;padding:16px;font-size:.87rem;line-height:1.7;overflow-y:auto}.fd-bid-comp-wrap .fd-bid-comp-meta{color:#64748b;margin:0 0 14px;padding:0;font-size:.85rem}.fd-bid-comp-wrap .fd-bid-comp-meta strong{color:#334155;font-weight:600}.fd-bid-comp-list{background:#fff;border:1px solid #e8ecf1;border-radius:10px;flex-direction:column;gap:0;display:flex;overflow:hidden}.fd-bid-comp-row{border-bottom:1px solid #f1f3f5;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;font-size:.9rem;display:flex}.fd-bid-comp-row:last-child{border-bottom:none}.fd-bid-comp-row-main{color:#1e293b;flex:1;align-items:flex-start;gap:10px;min-width:0;line-height:1.5;display:flex}.fd-bid-comp-bullet{background:#2563eb;border-radius:50%;flex-shrink:0;width:8px;height:8px;margin-top:.45em}.fd-bid-comp-title-text{word-break:break-word;min-width:0}.fd-bid-comp-row-actions{white-space:nowrap;flex-shrink:0;align-items:center;gap:12px;display:flex}.fd-bid-comp-action{color:#2563eb;cursor:pointer;background:0 0;border:none;padding:0;font-size:.82rem;text-decoration:none}.fd-bid-comp-action:hover{color:#1d4ed8;text-decoration:underline}.step3-tab-panel-body .formatted-content h2{color:#dc3545;border-bottom:1px solid #f1f3f5;margin:16px 0 8px;padding-bottom:6px;font-size:1.05rem}.step3-tab-panel-body .formatted-content h3{color:#374151;margin:12px 0 6px;font-size:.92rem}.step3-tab-panel-body .formatted-content table{border-collapse:collapse;width:100%;margin:10px 0;font-size:.82rem}.step3-tab-panel-body .formatted-content table th,.step3-tab-panel-body .formatted-content table td{text-align:left;border:1px solid #e5e7eb;padding:6px 10px}.step3-tab-panel-body .formatted-content table th{color:#374151;background:#f9fafb;font-weight:600}.step3-tab-panel-body .formatted-content table td{color:#4b5563}.step3-empty-state{color:#94a3b8;text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:12px;padding:40px 20px;font-size:.86rem;display:flex}.step3-empty-icon{color:#cbd5e1;flex-shrink:0;width:40px;height:40px}.disqualify-item{color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;align-items:flex-start;gap:8px;margin-bottom:6px;padding:8px 12px;font-size:.84rem;display:flex}.disqualify-item-icon{color:#fff;background:#ef4444;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:18px;height:18px;margin-top:1px;font-size:.6rem;font-weight:700;display:flex}.checklist-item{color:#374151;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;align-items:center;gap:8px;margin-bottom:4px;padding:7px 12px;font-size:.84rem;display:flex}.checklist-item-marker{border:1.5px solid #d1d5db;border-radius:4px;flex-shrink:0;width:18px;height:18px;position:relative}.checklist-item.checked .checklist-item-marker{background:#10b981;border-color:#10b981}.checklist-item.checked .checklist-item-marker:after{content:"";border:2px solid #fff;border-width:0 2px 2px 0;width:5px;height:9px;position:absolute;top:2px;left:5px;transform:rotate(45deg)}.fd-strategy-meta-card{background:#f8f9fb;border:1px solid #e9ecef;border-radius:10px;margin-bottom:14px;padding:14px 16px}.fd-strategy-meta-title{color:#374151;margin-bottom:8px;font-size:.82rem;font-weight:600}.fd-strategy-dl{grid-template-columns:auto 1fr;gap:4px 12px;font-size:.82rem;display:grid}.fd-strategy-dl dt{color:#6b7280;white-space:nowrap;font-weight:500}.fd-strategy-dl dd{color:#1a1a1a;margin:0}.fd-strategy-chapter-list{flex-direction:column;gap:10px;display:flex}.fd-strategy-chapter-card{background:#fff;border:1px solid #e9ecef;border-radius:10px;transition:border-color .2s;overflow:hidden}.fd-strategy-chapter-card:hover{border-color:#dee2e6}.fd-strategy-chapter-head{background:#fafbfd;border-bottom:1px solid #f1f3f5;justify-content:space-between;align-items:center;padding:10px 14px;display:flex}.fd-strategy-chapter-seq{color:#dc3545;font-size:.86rem;font-weight:600}.sc-ch-strategy-chapter-seq{flex-wrap:wrap;align-items:baseline;gap:6px 8px;min-width:0;display:flex}.sc-ch-strategy-seq-num{color:#dc3545;flex-shrink:0;font-size:.86rem;font-weight:700}.sc-ch-strategy-seq-title{color:#334155;word-break:break-word;font-size:.86rem;font-weight:600}.fd-strategy-chapter-actions{gap:6px;display:flex}.fd-strategy-regen-btn{color:#4b5563;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:3px 10px;font-size:.75rem;transition:all .15s}.fd-strategy-regen-btn:hover{color:#3b82f6;background:#eff6ff;border-color:#3b82f6}.fd-strategy-regen-btn:disabled{opacity:.5;cursor:not-allowed}.fd-strategy-chapter-body{color:#374151;padding:12px 14px;font-size:.84rem;line-height:1.7}.fd-strategy-notes-card{background:#fffbeb;border:1px solid #fde68a;border-radius:10px;margin-top:14px;padding:14px 16px}.fd-strategy-notes-list{margin:0;padding:0;list-style:none}.fd-strategy-notes-list li{color:#92400e;margin-bottom:4px;padding-left:16px;font-size:.82rem;line-height:1.6;position:relative}.fd-strategy-notes-list li:before{content:"•";color:#d97706;position:absolute;left:0}.step3-tab-panel-doc-viewer{background:#f3f4f6;flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.step3-tab-panel-doc-viewer .doc-viewer-container{height:100%}.step3-tab-panel-doc-viewer>.fd-tender-file-preview{flex:1;min-height:0}.fd-strategy-streaming-placeholder{color:#64748b;flex-direction:row;justify-content:center;align-items:center;gap:12px;padding:40px 20px;font-size:.86rem;display:flex}.fd-strategy-streaming-spinner{border:3px solid #e2e8f0;border-top-color:#3b82f6;border-radius:50%;width:28px;height:28px;animation:.8s linear infinite fd-strategy-spin}@keyframes fd-strategy-spin{to{transform:rotate(360deg)}}.fd-strategy-chapter-body,.fd-dir-chapter-body{cursor:text;line-height:1.55}.fd-strategy-chapter-seq.sc-ch-strategy-chapter-seq,.fd-dir-chapter-title{cursor:text}.fd-strategy-chapter-body-editing,.fd-strategy-chapter-body[contenteditable=true],.fd-dir-chapter-card.fd-dir-chapter-editing .fd-dir-chapter-body{background:#fff;border:1px solid #bfdbfe;border-radius:8px;outline:none;min-height:48px;padding:8px 10px;box-shadow:0 0 0 2px #3b82f61f}.fd-dir-chapter-edit-btn,.fd-strategy-edit-btn{display:none!important}.fd-strategy-editor{color:#1a1a1a;resize:vertical;box-sizing:border-box;border:1px solid #d1d5db;border-radius:8px;width:100%;min-height:120px;padding:10px;font-family:inherit;font-size:.84rem;line-height:1.7}.fd-strategy-edit-footer{justify-content:flex-end;gap:8px;margin-top:8px;display:flex}.chapter-outline-title-row{margin-bottom:10px}.chapter-outline-field-label,.fd-strategy-field-label{color:#64748b;margin-bottom:4px;font-size:.72rem;font-weight:500;display:block}.chapter-outline-title-field{box-sizing:border-box;border:1px solid #d1d5db;border-radius:8px;width:100%;padding:8px 10px;font-family:inherit;font-size:.84rem}.fd-strategy-title-row{margin-bottom:8px}.fd-strategy-title-field{box-sizing:border-box;color:#1a1a1a;background:#fff;border:1px solid #d1d5db;border-radius:8px;width:100%;padding:8px 10px;font-family:inherit;font-size:.84rem}.chapter-outline-editor{color:#1a1a1a;resize:vertical;box-sizing:border-box;border:1px solid #d1d5db;border-radius:8px;width:100%;min-height:100px;padding:10px;font-family:inherit;font-size:.84rem;line-height:1.6}.chapter-outline-edit-footer{justify-content:flex-end;gap:8px;margin-top:8px;display:flex}.chapter-action-btn.chapter-action-edit{color:#4b5563;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:6px;align-items:center;gap:4px;padding:4px 10px;font-size:.75rem;transition:all .15s;display:inline-flex}.chapter-action-btn.chapter-action-edit:hover{color:#10b981;background:#ecfdf5;border-color:#10b981}.step3-tab-panel.editing .step3-tab-panel-body .formatted-content{display:none}.step3-tab-editor{resize:vertical;color:#1a1a1a;border:1px solid #e2e8f0;border-radius:8px;width:100%;min-height:200px;padding:12px;font-family:inherit;font-size:.85rem;line-height:1.6;display:none}.step3-tab-panel.editing .step3-tab-editor{display:block}.step3-tab-editor:focus{border-color:#dc3545;outline:none;box-shadow:0 0 0 3px #dc35451a}.step3-tab-edit-footer{background:#fafbfd;border-top:1px solid #f1f3f5;justify-content:flex-end;gap:8px;padding:8px 16px;display:none}.step3-tab-panel.editing .step3-tab-edit-footer{display:flex}.step3-readonly-content{-webkit-user-select:none;user-select:none;cursor:default;opacity:.85}.step3-readonly-content:after{content:"只读";color:#9ca3af;background:#f3f4f6;border-radius:4px;padding:1px 6px;font-size:.65rem;position:absolute;top:4px;right:8px}.step3-tab-panel-body .step3-readonly-content{position:relative}.bid-chapter-card .bid-chapter-head{background:#f8fafc;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:12px 18px;display:flex}.bid-chapter-card .bid-chapter-title{color:#0f172a;font-size:.95rem;font-weight:600}.bid-chapter-card .bid-chapter-actions{flex-shrink:0;align-items:center;gap:8px;display:flex}.bid-chapter-card .bid-chapter-edit-btn{color:#059669;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #10b981;border-radius:6px;padding:5px 14px;font-size:.8rem;font-weight:500}.bid-chapter-card .bid-chapter-edit-btn:hover{background:#ecfdf5}.bid-chapter-card.bid-chapter-editing .bid-chapter-edit-btn{color:#d97706;background:#fffbeb;border-color:#f59e0b}.bid-chapter-card .bid-chapter-body{color:#475569;white-space:pre-wrap;padding:14px 18px;font-size:.88rem;line-height:1.65}.bid-chapter-card .bid-chapter-edit-toolbar{gap:6px;margin-bottom:8px;display:flex}.bid-chapter-card .bid-chapter-preview-btn,.bid-chapter-card .bid-chapter-source-btn{color:#6b7280;cursor:pointer;background:#f9fafb;border:1px solid #d1d5db;border-radius:5px;padding:3px 12px;font-size:.78rem}.bid-chapter-card .bid-chapter-preview-btn.active,.bid-chapter-card .bid-chapter-source-btn.active{color:#fff;background:#2563eb;border-color:#2563eb}.bid-chapter-card .bid-chapter-edit-textarea{color:#1e293b;resize:vertical;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:6px;width:100%;min-height:120px;padding:10px;font-family:inherit;font-size:.85rem;line-height:1.6}.bid-chapter-card .bid-chapter-edit-textarea:focus{border-color:#3b82f6;outline:none;box-shadow:0 0 0 2px #3b82f626}.bid-chapter-card .bid-chapter-edit-preview{color:#334155;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;min-height:60px;padding:10px;font-size:.85rem;line-height:1.65}.bid-chapter-card .bid-chapter-edit-preview h2,.bid-chapter-card .bid-chapter-edit-preview h3,.bid-chapter-card .bid-chapter-edit-preview h4{color:#0f172a;margin:8px 0 4px}.bid-chapter-card .bid-chapter-edit-preview ul{margin:4px 0;padding-left:20px}.bid-chapter-card .bid-chapter-edit-preview li{margin:2px 0}.bid-chapter-card .bid-chapter-edit-preview strong{color:#0f172a}.bid-chapter-streaming .bid-chapter-cursor{vertical-align:text-bottom;background:#3b82f6;width:2px;height:1em;margin-left:2px;animation:.8s infinite bid-cursor-blink;display:inline-block}@keyframes bid-cursor-blink{0%,50%{opacity:1}51%,to{opacity:0}}.bid-chapter-card:not(.bid-chapter-streaming) .bid-chapter-cursor{display:none}.bid-chapter-streaming .bid-chapter-edit-btn{display:none!important}#scoring .sc-bid-title-field{box-sizing:border-box;width:100%;position:relative}#scoring #sc-bid-title-input.form-control-modern{box-sizing:border-box;width:100%;max-width:100%;padding-right:6.5rem}#scoring .sc-bid-title-suffix{pointer-events:none;align-items:center;gap:7px;display:inline-flex;position:absolute;top:50%;right:10px;transform:translateY(-50%)}#scoring .sc-bid-title-suffix .sc-bid-title-clear,#scoring .sc-bid-title-suffix .sc-bid-title-count{pointer-events:auto}#scoring .sc-bid-title-clear{cursor:pointer;color:#fff;background:#d1d5db;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:1.28rem;height:1.28rem;padding:0;font-size:.72rem;font-weight:700;line-height:1;transition:background .15s,transform .12s;display:inline-flex;box-shadow:inset 0 1px #ffffff59}#scoring .sc-bid-title-clear span{margin-top:-.5px;line-height:1;display:block}#scoring .sc-bid-title-clear:hover:not([hidden]){background:#9ca3af}#scoring .sc-bid-title-clear:active:not([hidden]){transform:scale(.94)}#scoring .sc-bid-title-clear[hidden]{display:none}#scoring .sc-bid-title-count{color:#64748b;white-space:nowrap;-webkit-user-select:none;user-select:none;font-size:.8rem;font-weight:500}#scoring .sc-bid-title-count-current{color:#334155;font-weight:600}.sc-auto-save-indicator{color:#64748b;white-space:nowrap;flex-shrink:0;min-width:60px;font-size:.78rem}#chapter .ch-bid-title-field{box-sizing:border-box;width:100%;position:relative}#chapter #chapter-document-title.form-control-modern{box-sizing:border-box;width:100%;max-width:100%;padding-right:6.5rem}#chapter .ch-bid-title-suffix{pointer-events:none;align-items:center;gap:7px;display:inline-flex;position:absolute;top:50%;right:10px;transform:translateY(-50%)}#chapter .ch-bid-title-suffix .ch-bid-title-clear,#chapter .ch-bid-title-suffix .ch-bid-title-count{pointer-events:auto}#chapter .ch-bid-title-clear{cursor:pointer;color:#fff;background:#d1d5db;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:1.28rem;height:1.28rem;padding:0;font-size:.72rem;font-weight:700;line-height:1;transition:background .15s,transform .12s;display:inline-flex;box-shadow:inset 0 1px #ffffff59}#chapter .ch-bid-title-clear span{margin-top:-.5px;line-height:1;display:block}#chapter .ch-bid-title-clear:hover:not([hidden]){background:#9ca3af}#chapter .ch-bid-title-clear:active:not([hidden]){transform:scale(.94)}#chapter .ch-bid-title-clear[hidden]{display:none}#chapter .ch-bid-title-count{color:#64748b;white-space:nowrap;-webkit-user-select:none;user-select:none;font-size:.8rem;font-weight:500}#chapter .ch-bid-title-count-current{color:#334155;font-weight:600}.ch-auto-save-indicator{color:#64748b;white-space:nowrap;flex-shrink:0;min-width:60px;font-size:.78rem}#chapter #chapter-step3.step-panel.active>.step-actions-modern{box-sizing:border-box;flex-shrink:0;width:100%}.fd-step3-right-subtabs{background:#fafbfd;border-bottom:1px solid #e2e8f0;flex-shrink:0;gap:0;padding:0 12px;display:flex}.fd-step3-right-subtab{color:#64748b;cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;margin-bottom:-1px;padding:10px 16px;font-size:.875rem;font-weight:500}.fd-step3-right-subtab:hover{color:#334155}.fd-step3-right-subtab.active{color:#1a3a5c;border-bottom-color:#2563eb;font-weight:600}.fd-step3-right-tab-panel{flex-direction:column;flex:1;min-height:0;display:none;overflow:hidden}.fd-step3-right-tab-panel.active{display:flex}#fd-step3-right-panel-outline{padding:12px;overflow-y:auto}#fd-step3-right-panel-composition{padding:12px;overflow:hidden}#fd-step3-right-panel-composition .fd-clause-binding-section{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.fd-clause-binding-empty{color:#64748b;text-align:center;flex:1;justify-content:center;align-items:center;padding:24px 16px;font-size:.875rem;line-height:1.6;display:flex}.fd-clause-binding-section{border-top:none;margin-top:0;padding-top:0}.fd-clause-binding-summary{color:#64748b;margin:8px 0;font-size:.875rem}.fd-clause-binding-summary-warn{color:#b45309}.fd-clause-binding-summary-ok{color:#047857}.fd-clause-binding-actions{gap:8px;margin-bottom:8px;display:flex}.fd-clause-binding-table-wrap{max-height:280px;overflow:auto}#fd-step3-right-panel-composition .fd-clause-binding-table-wrap{flex:1;min-height:0;max-height:none}.fd-clause-binding-table-compact .fd-binding-clause-select{width:100%;max-width:100%}.fd-clause-binding-table{border-collapse:collapse;width:100%;font-size:.8125rem}.fd-clause-binding-table th,.fd-clause-binding-table td{text-align:left;vertical-align:middle;border:1px solid #e2e8f0;padding:6px 8px}.fd-clause-binding-table th{background:#f8fafc;font-weight:600}.fd-binding-status-ok{color:#047857}.fd-binding-status-unbound{color:#b91c1c}.fd-binding-status-skip{color:var(--text-muted,#888)}.fd-binding-seq-cell{white-space:nowrap;font-variant-numeric:tabular-nums}.fd-binding-row-skip td{color:var(--text-muted,#888);background:#8080800f}.fd-binding-row-skip .fd-binding-skip-hint{color:var(--text-muted,#888);font-size:12px;font-style:italic}.fd-binding-status-ambiguous{color:#b45309}.fd-binding-method-tag{color:#64748b;font-size:.75rem}.fd-binding-clause-select{max-width:220px;font-size:.8125rem}.fd-clause-binding-banner{color:#92400e;background:#fffbeb;border:1px solid #fcd34d;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;margin:0 0 12px;padding:10px 14px;font-size:.875rem;display:flex}.fd-clause-binding-banner-text{flex:1}.fd-ref-zone-panel{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:12px 12px 14px}.fd-ref-zone-tabs{border-bottom:1px solid #eef0f4;gap:4px;margin-bottom:10px;padding-bottom:8px;display:flex;overflow-x:auto}.fd-ref-zone-tabs--compact{margin-bottom:8px;padding-bottom:6px}.fd-ref-zone-tab{color:#6b7280;cursor:pointer;background:0 0;border:none;flex:1 0 auto;min-width:52px;padding:6px 8px 8px;font-size:13px;font-weight:500;position:relative}.fd-ref-zone-tab.active{color:#2563eb}.fd-ref-zone-tab.active:after{content:"";background:#2563eb;border-radius:2px;height:2px;position:absolute;bottom:0;left:8px;right:8px}.fd-ref-zone-search-row{align-items:center;gap:8px;margin-bottom:10px;display:flex}.fd-ref-zone-search-wrap{background:#fafafa;border:1px solid #e5e7eb;border-radius:999px;flex:1;align-items:center;gap:8px;padding:6px 12px;display:flex}.fd-ref-zone-search-ico{color:#9ca3af;flex-shrink:0}.fd-ref-zone-search-input{background:0 0;border:none;outline:none;width:100%;font-size:13px}.fd-ref-zone-search-btn{color:#2563eb;cursor:pointer;white-space:nowrap;background:0 0;border:none;font-size:13px;font-weight:500}.fd-ref-zone-body{background:#fcfcfd;border:1px dashed #e5e7eb;border-radius:10px;min-height:120px;padding:10px}.fd-ref-zone-empty{color:#9ca3af;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:100px;font-size:13px;display:flex}.fd-ref-zone-empty-icon{opacity:.45}.fd-ref-zone-list{flex-direction:column;gap:6px;display:flex}.fd-ref-zone-file-item{background:#fff;border:1px solid #eef0f4;border-radius:8px;align-items:center;gap:8px;padding:6px 8px;display:flex}.fd-ref-zone-file-name{color:#374151;text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:13px;overflow:hidden}.fd-ref-zone-file-remove{color:#9ca3af;cursor:pointer;background:0 0;border:none;padding:0 4px;font-size:18px;line-height:1}.fd-ref-zone-file-remove:hover{color:#ef4444}.fd-ref-zone-pick-btn{color:#2563eb;cursor:pointer;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;width:100%;margin-top:10px;padding:8px 12px;font-size:13px;font-weight:500}.fd-ref-zone-pick-btn:hover{background:#dbeafe}.fd-fill-source-panel .fd-ref-zone-tabs{margin-top:4px}.fd-ref-zone-modal .fd-ref-zone-panel{background:0 0;border:none;padding:0}.fd-ref-zone-modal .modal-body{padding-top:.75rem}body.fd-ref-resource-picker-front .resource-picker-shell.modal{z-index:1075!important}body.fd-ref-resource-picker-front .modal-backdrop.show{z-index:1070!important}.fd-format-first-gate-wrap{background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;margin:0 0 12px;padding:12px 14px}.fd-format-first-gate-head{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.fd-format-first-gate-title{color:#374151;font-size:13px;font-weight:600}.fd-format-first-gate{flex-direction:column;gap:6px;display:flex}.fd-ff-gate-step{background:#fff;border:1px solid #eef0f4;border-radius:8px;grid-template-rows:auto auto;grid-template-columns:10px 1fr;align-items:start;gap:2px 8px;padding:6px 8px;display:grid}.fd-ff-gate-dot{background:#d1d5db;border-radius:50%;width:8px;height:8px;margin-top:5px}.fd-ff-gate-step-ok .fd-ff-gate-dot{background:#22c55e}.fd-ff-gate-step-pending .fd-ff-gate-dot{background:#f59e0b}.fd-ff-gate-label{color:#111827;font-size:13px;font-weight:500}.fd-ff-gate-hint{color:#6b7280;grid-column:2;font-size:12px;line-height:1.4}.fd-format-ssot-meta{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;margin-bottom:10px;padding:8px 10px;font-size:12px}.fd-format-ssot-preview{max-height:420px;overflow:auto}.fd-binding-dot{vertical-align:middle;border-radius:50%;width:8px;height:8px;margin-left:6px;display:inline-block}.fd-binding-dot-unbound{background:#ef4444}.fd-binding-dot-ambiguous{background:#f59e0b}.fd-legacy-format-upgrade-banner{display:none!important}.fd-legacy-format-upgrade-text{flex:1;line-height:1.5}#module-panel-new_bid .bid-workflow-mode-title{margin-bottom:8px;font-size:1rem}#module-panel-new_bid #bid-workflow-container.card,#module-panel-new_bid .bid-workflow-panel.rounded-lg.border.p-4{padding:12px 16px!important}#module-panel-new_bid .step-nav-modern{align-items:center;margin-top:0;margin-bottom:10px;padding:8px 12px}#module-panel-new_bid .step-nav-item{flex-direction:row;align-items:center;gap:6px;padding:4px 8px}#module-panel-new_bid .step-nav-text{text-align:left;align-items:flex-start;gap:1px}#module-panel-new_bid .step-nav-indicator{flex-shrink:0;width:32px;height:32px}#module-panel-new_bid .step-nav-num{font-size:.82rem}#module-panel-new_bid .step-nav-label{font-size:.78rem;line-height:1.2}#module-panel-new_bid .step-nav-desc{font-size:.65rem;line-height:1.15}#module-panel-new_bid .step-nav-connector{align-self:center;margin:0 4px;top:0}#bid-workflow-container .bid-tab-panel.active{box-sizing:border-box;width:100%;display:block!important}#full-document .step-panel,#scoring .step-panel,#chapter .step-panel,#reference .step-panel{display:none!important}#moduleContainer #module-panel-new_bid #full-document .step-panel.active,#moduleContainer #module-panel-new_bid #scoring .step-panel.active,#moduleContainer #module-panel-new_bid #chapter .step-panel.active,#moduleContainer #module-panel-new_bid #reference .step-panel.active{box-sizing:border-box;flex:none;width:100%;height:auto;min-height:0;max-height:none;overflow:visible;display:block!important}.step-panel .el-upload-dragger{border-radius:12px}.overview-sub-tabs .el-radio-group{flex-wrap:wrap;gap:6px;display:flex}.step3-split-layout .output-textarea{resize:vertical;width:100%}.outline-struct-editor .outline-struct-level,.outline-struct-editor .outline-struct-title{font-family:inherit}#full-document .fd-step2-project-type .compact-option input[type=radio]{opacity:0;pointer-events:none;position:absolute}#chapter .ch-bid-title-field .form-control-modern,#chapter #chapter-scoring-point.form-control-modern{width:100%}#chapter .compound-textarea,#chapter .form-control-modern{font-family:inherit}#reference .ref-bid-title-field .form-control-modern{width:100%}#reference .ref-upload-unified-card .form-control-modern,#reference #ref-outline-strategy-editor.output-textarea,#reference #ref-outline-editor.output-textarea{font-family:inherit}.outline-struct-empty{text-align:center;color:var(--ta-text-muted,#78716c);padding:24px 16px;font-size:14px}.new-bid-loading{text-align:center;color:var(--ta-text-muted,#78716c);padding:3rem}.bid-md-editor-host{min-height:320px;margin-bottom:12px}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}
