:root{color:#1f2937;--component-chip-radius:8px;background:#f5f7fb;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;font-size:14px}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,select{font:inherit}button{color:#334155;cursor:pointer;background:#fff;border:1px solid #d8dee9;border-radius:6px;height:34px;padding:0 12px}button:hover{color:#2f6fed;border-color:#2f6fed}button:disabled{color:#94a3b8;cursor:not-allowed;opacity:1;background:#f1f5f9;border-color:#d8dee9}button:disabled:hover{color:#94a3b8;background:#f1f5f9;border-color:#d8dee9}.app-shell{height:100vh;display:flex;overflow:hidden}.sidebar{color:#334155;background:#fff;border-right:1px solid #e2e8f0;flex:0 0 248px;width:248px;height:100vh;padding:18px 14px;overflow-y:auto}.brand{border-bottom:1px solid #e2e8f0;margin-bottom:14px;padding:10px 8px 18px}.brand strong{color:#0f172a;font-size:16px;line-height:1.45;display:block}.brand span{color:#64748b;margin-top:4px;font-size:12px;display:block}.sidebar nav{flex-direction:column;gap:6px;display:flex}.nav-item{text-align:left;color:#334155;background:0 0;border-color:#0000;justify-content:space-between;align-items:center;gap:8px;width:100%;height:38px;padding:0 12px;display:flex}.nav-item:hover,.nav-item.active{color:#1d4ed8;background:#eff6ff;border-color:#dbeafe}.nav-block{gap:4px;display:grid}.nav-caret{color:currentColor;font-size:11px}.subnav{border-left:1px solid #e2e8f0;gap:2px;margin:0 0 4px 10px;padding-left:10px;display:grid}.subnav-item{color:#475569;text-align:left;background:0 0;border-color:#0000;height:28px;padding:0 10px;font-size:12px}.subnav-item:hover,.subnav-item.active{color:#1d4ed8;background:#eff6ff;border-color:#dbeafe}.workbench-flow-subnav{gap:2px}.workbench-flow-subnav-step{gap:2px;display:grid}.workbench-flow-subnav-button{white-space:normal;background:#fff;border:1px solid #e2e8f0;border-radius:8px;width:100%;height:auto;min-height:32px;line-height:1.25}.workbench-flow-subnav-button.pending{color:#334155;background:#fff;border-color:#e2e8f0}.workbench-flow-subnav-button.active{color:#1d4ed8;background:#eff6ff;border-color:#93c5fd}.workbench-flow-subnav-button.success{color:#166534;background:#f0fdf4;border-color:#bbf7d0}.workbench-flow-subnav-button.error{color:#b91c1c;background:#fef2f2;border-color:#fecaca}.workbench-flow-subnav-button:disabled{color:#64748b;cursor:not-allowed;background:#f8fafc;border-color:#e2e8f0}.workbench-flow-subnav-button.active:disabled{color:#fff;background:#2563eb;border-color:#2563eb}.workbench-flow-subnav-button.success:disabled{color:#166534;background:#f0fdf4;border-color:#bbf7d0}.workbench-flow-subnav-arrow{color:#cbd5e1;padding-left:10px;font-size:12px;line-height:1}.main{flex-direction:column;flex:1;min-width:0;height:100vh;display:flex;overflow:hidden}.topbar{background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;height:56px;padding:0 24px;display:flex}.topbar span{color:#64748b;margin-right:12px;font-size:12px}.topbar strong{color:#1f2937;font-weight:600}.content{flex-direction:column;gap:24px;padding:24px;display:flex;overflow-y:auto}.anchor-section{scroll-margin-top:18px}.page-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.page-header h1{margin:0;font-size:20px;line-height:1.35}.page-header p{color:#64748b;margin:6px 0 0;line-height:1.6}.section{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:16px}.section-heading{margin-bottom:14px}.section-heading-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.section-heading-action{flex:none}.section-title-line{flex-wrap:wrap;align-items:baseline;gap:12px;min-width:0;display:flex}.section h2{margin:0;font-size:16px}.section-title-line span,.section-heading p{color:#64748b;margin:0;font-size:12px;line-height:1.4}.stats-grid,.model-grid,.config-grid{gap:16px;display:grid}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.overview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.overview-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:14px}.overview-card h2{margin:0 0 12px;font-size:16px}.overview-items{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.overview-items div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;min-width:0;padding:10px}.overview-items span{color:#64748b;font-size:12px;display:block}.overview-items strong{color:#1f2937;text-overflow:ellipsis;white-space:nowrap;margin-top:4px;display:block;overflow:hidden}.compact-overview{grid-template-columns:1fr}.stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:16px}.stat-card span,.stat-card small{color:#64748b}.stat-card strong{color:#1f2937;margin:8px 0 4px;font-size:24px;display:block}.filters-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.filter-title{color:#475569;margin-bottom:8px;font-weight:600}.filter-options,.tag-list,.action-bar{flex-wrap:wrap;gap:8px;display:flex}.custom-count-field{align-items:center;gap:8px;display:inline-flex}.custom-count-field input{max-width:96px}.debug-actions{margin-bottom:12px}.global-tags-field{gap:6px;margin-bottom:12px;display:grid}.global-tags-field span{color:#475569;font-size:13px;font-weight:600}.global-tags-field input{color:#1f2937;background:#fff;border:1px solid #d8dee9;border-radius:8px;width:100%;height:38px;padding:0 12px}.global-tags-field input:focus{border-color:#60a5fa;outline:2px solid #bfdbfe}.rewrite-prompt-panel{gap:10px;margin-bottom:12px;display:grid}.rewrite-prompt-toggle{justify-self:start}.rewrite-prompt-body{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;gap:10px;padding:12px;display:grid}.rewrite-prompt-help{color:#64748b;margin:0;font-size:12px;line-height:1.6}.rewrite-prompt-current{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:9px 12px;font-size:13px;display:flex}.rewrite-prompt-current span{color:#475569;font-size:12px}.rewrite-prompt-current strong{font-weight:700}.rewrite-prompt-toolbar{flex-wrap:wrap;align-items:end;gap:8px;display:flex}.rewrite-prompt-toolbar label{gap:6px;display:grid}.rewrite-prompt-toolbar span{color:#475569;font-size:12px;font-weight:600}.rewrite-prompt-toolbar select{color:#334155;background:#fff;border:1px solid #d8dee9;border-radius:6px;min-width:180px;height:34px;padding:0 8px}.rewrite-prompt-body textarea{resize:vertical;color:#1f2937;background:#fff;border:1px solid #d8dee9;border-radius:8px;width:100%;min-height:300px;padding:12px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;font-size:13px;line-height:1.6}.rewrite-prompt-body textarea:focus{border-color:#60a5fa;outline:2px solid #bfdbfe}.m01-prompt-hint{color:#64748b;align-self:center;font-size:12px;line-height:1.5}#generation-action .workbench-flow-panel{grid-template-columns:minmax(280px,416px) minmax(0,1fr);align-items:end;gap:20px;margin-bottom:12px;display:grid}.workbench-title-row{background:0 0;border-bottom:1px solid #e5edf6;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;margin:0 0 12px;padding:0 0 12px;display:grid}.workbench-title-row .page-header{margin-bottom:0}.workbench-main-layout{display:block}.workbench-primary-column{gap:16px;min-width:0;display:grid}.workbench-steps-area{grid-template-columns:minmax(0,1fr);align-items:start;gap:6px;margin-bottom:8px;display:grid}.workspace-cache-status{color:#334155;background:0 0;border:0;border-radius:8px;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:0;padding:4px 0 8px;font-size:12px;display:flex}.workspace-cache-status p{color:#64748b;margin:0}.workspace-cache-stats{flex-wrap:wrap;gap:6px 10px;display:flex}.workspace-cache-stats span{color:#475569;font-size:12px}.workbench-steps{flex-wrap:nowrap;align-items:center;gap:6px;min-width:0;padding-bottom:2px;display:flex;overflow-x:auto}.workbench-config-actions{flex-wrap:nowrap;flex:none;justify-content:flex-end;display:flex}.workbench-steps{margin-bottom:0}.workbench-steps-area .workbench-steps{display:none}.workbench-steps button{color:#1d4ed8;white-space:nowrap;background:#eff6ff;border:1px solid #dbeafe;border-radius:7px;flex:none;justify-content:center;align-items:center;min-height:30px;padding:5px 10px;font-size:12px;line-height:1.2;display:inline-flex}.workbench-steps button strong,.workbench-steps button span{font-size:12px}.workbench-steps button.pending{color:#1d4ed8;background:#eff6ff;border-color:#dbeafe}.workbench-steps button.active{color:#92400e;background:#fffbeb;border-color:#f59e0b}.workbench-steps button.success{color:#166534;background:#f0fdf4;border-color:#86efac}.workbench-steps button.error{color:#b91c1c;background:#fef2f2;border-color:#fecaca}.workbench-steps button:disabled{color:#94a3b8;cursor:not-allowed;background:#f8fafc;border-color:#e2e8f0}.workbench-step-arrow{color:#94a3b8;align-self:center;font-weight:700}.workbench-model-select,.generate-count-control,.workbench-structure-preview{gap:6px;min-width:0;display:grid}#generation-action .workbench-count-structure-row{align-items:end;gap:20px;min-width:0;display:flex}#generation-action .generate-count-control{flex:none;grid-template-columns:max-content;align-items:end}.workbench-model-select span,.generate-count-control>span,.workbench-structure-preview>span{color:#475569;font-size:13px;font-weight:600}.generate-count-control>span{grid-column:1/-1}.generate-count-row{grid-template-columns:1fr;align-items:start;gap:8px;width:100%;display:grid}#generation-action .workbench-model-select select{color:#1f2937;text-overflow:ellipsis;background:#fff;border:1px solid #d8dee9;border-radius:8px;width:100%;min-width:0;max-width:416px;height:38px;padding:0 10px;overflow:hidden}.generate-count-row select{color:#1f2937;background:#fff;border:1px solid #d8dee9;border-radius:8px;width:100%;max-width:160px;height:38px;padding:0 10px}.segmented-control{flex-wrap:wrap;align-items:center;gap:6px;display:inline-flex}#generation-action .segmented-control button{justify-content:center;align-items:center;min-width:52px;height:38px;display:inline-flex}.segmented-control button.active{color:#fff;background:#1d4ed8;border-color:#1d4ed8}.generate-count-control input{border:1px solid #d8dee9;border-radius:6px;width:120px;max-width:140px;height:34px;padding:0 8px}#generation-action .workbench-structure-preview{flex:auto;align-content:start;min-width:0}#generation-action .workbench-structure-preview .sequence-preview{scrollbar-width:thin;flex-wrap:nowrap;align-items:center;max-width:100%;min-height:38px;overflow-x:auto}#generation-action .workbench-structure-preview .preview-chip{box-sizing:border-box;align-items:center;height:38px;min-height:38px;padding:0 10px}.workbench-structure-preview p{color:#64748b;margin:0}.fold-panel{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px;display:flex}.fold-panel .global-tags-field{flex:1 0 100%;margin-bottom:0}.rewrite-prompt-panel>.rewrite-prompt-toggle{display:none}.generation-preview-list{gap:12px;display:grid}.preview-title-meta{color:#64748b;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;font-size:12px;display:flex}.preview-expired-text{color:#dc2626}.workbench-settings-layer{z-index:40;justify-content:flex-end;display:flex;position:fixed;inset:0}.workbench-toast{z-index:60;border:1px solid #dbe3ef;border-radius:999px;max-width:min(520px,100vw - 32px);padding:9px 16px;font-size:14px;line-height:1.4;position:fixed;top:18px;left:50%;transform:translate(-50%);box-shadow:0 14px 30px #0f172a29}.workbench-toast-success{color:#166534;background:#ecfdf3;border-color:#bbf7d0}.workbench-toast-running{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.workbench-toast-error{color:#b91c1c;background:#fef2f2;border-color:#fecaca}.workbench-settings-backdrop{cursor:default;background:#0f172a47;border:0;border-radius:0;width:100%;height:100%;position:absolute;inset:0}.workbench-settings-backdrop:hover{color:inherit;border:0}.workbench-settings-drawer{z-index:1;background:#fff;border-left:1px solid #dbe3ef;width:min(640px,100vw - 32px);height:100%;position:relative;overflow:hidden;box-shadow:-18px 0 40px #0f172a29}.workbench-settings-header{border-bottom:1px solid #e5edf6;justify-content:space-between;align-items:flex-start;gap:16px;padding:18px 20px;display:flex}.workbench-settings-header h2{color:#1f2937;margin:0;font-size:18px}.workbench-settings-header p{color:#64748b;margin:6px 0 0;line-height:1.6}.workbench-settings-body{gap:16px;height:calc(100% - 142px);padding:18px 20px 24px;display:grid;overflow-y:auto}.workbench-settings-section{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;gap:8px;padding:14px;display:grid}.workbench-settings-section-toggle{color:#1f2937;text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;gap:12px;padding:0;display:flex}.workbench-settings-section-toggle:hover{color:#1d4ed8;border:0}.workbench-settings-section-toggle span:first-child{font-size:15px;font-weight:700}.workbench-settings-section-toggle span:last-child{color:#64748b;font-size:12px}.workbench-settings-section h3{color:#1f2937;margin:0;font-size:15px}.workbench-settings-section p{color:#64748b;margin:0;font-size:13px;line-height:1.6}.workbench-settings-section textarea,.workbench-settings-section input{color:#1f2937;background:#fff;border:1px solid #d8dee9;border-radius:8px;width:100%;padding:10px 12px;font-family:inherit;font-size:14px;line-height:1.6}.workbench-settings-section textarea{resize:vertical}.global-tags-textarea{min-height:56px;max-height:150px}.rewrite-version-control{flex-wrap:wrap;gap:8px;display:flex}.rewrite-version-current{color:#334155;margin:0;font-size:12px;font-weight:600}.rewrite-version-control button.active{color:#fff;background:#1d4ed8;border-color:#1d4ed8}.workbench-settings-footer{background:#fff;border-top:1px solid #e5edf6;justify-content:flex-end;align-items:center;padding:14px 20px;display:flex}.rewrite-preview-modal-layer{z-index:70;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.rewrite-preview-modal-backdrop{background:#0f172a57;border:0;border-radius:0;width:100%;height:100%;position:absolute;inset:0}.rewrite-preview-modal{z-index:1;background:#fff;border:1px solid #dbe3ef;border-radius:8px;width:min(1040px,100vw - 48px);max-height:calc(100vh - 48px);padding:18px;position:relative;overflow:auto;box-shadow:0 24px 60px #0f172a3d}.rewrite-preview-modal-header,.rewrite-preview-modal-actions{align-items:center;gap:12px;display:flex}.rewrite-preview-modal-header{justify-content:space-between}.rewrite-preview-modal-actions{justify-content:flex-end}.rewrite-preview-modal-header h2{align-items:baseline;gap:10px;margin:0;font-size:18px;display:flex}.rewrite-preview-modal-header h2 span{color:#64748b;font-size:13px;font-weight:600}.rewrite-preview-modal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0;display:grid}.rewrite-preview-pane{gap:8px;display:grid}.rewrite-preview-pane span{color:#334155;font-size:13px;font-weight:700}.rewrite-preview-pane textarea{resize:vertical;border:1px solid #d8dee9;border-radius:8px;width:100%;padding:10px 12px;font-family:inherit;font-size:14px;line-height:1.6}.generation-preview-group{gap:10px;display:grid}.generation-preview-group-header{background:#f8fafc;border:1px solid #dbe3ef;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.generation-preview-group-header strong{color:#1f2937}.generation-preview-group-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.generation-preview-card{background:#fff;border:1px solid #dbe3ef;border-radius:8px;overflow:hidden}.generation-preview-card summary,.generation-preview-card-header{flex-wrap:wrap;align-items:center;gap:10px;min-height:42px;padding:10px 12px;display:flex}.generation-preview-card summary{cursor:pointer}.generation-preview-card summary strong,.generation-preview-card-header strong{color:#1f2937}.generation-preview-card summary span,.generation-preview-card-header span{color:#64748b;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.generation-preview-body{background:#f8fafc;border-top:1px solid #e5edf6;gap:10px;padding:12px;display:grid}.generation-hit-preview{background:#fbfdff;border-top:1px solid #e5edf6;padding:10px 12px;display:grid}.generation-hit-list{gap:6px;display:grid}.generation-hit-row{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;min-width:0;display:grid}.generation-hit-row .preview-chip{min-height:22px;padding:1px 7px;font-size:12px}.generation-hit-row>span:last-child{color:#334155;white-space:normal;overflow-wrap:anywhere;min-width:0;font-size:12px;line-height:1.45}.enterprise-preview-editor{resize:vertical;color:#1f2937;background:#f8fafc;border:0;border-top:1px solid #e5edf6;width:100%;min-height:180px;max-height:1400px;padding:12px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;line-height:1.7}.enterprise-preview-editor:focus{outline-offset:-2px;outline:2px solid #bfdbfe}.preview-component-list{gap:10px;display:grid}.preview-component-block{background:#fff;border:1px solid #e2e8f0;border-radius:8px;min-width:0;padding:10px}.preview-component-header{justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px;display:flex}.preview-component-header strong{color:#334155}.preview-component-header span{color:#64748b;flex:none;font-size:12px}.preview-component-block p,.preview-component-block ul,.preview-component-block pre{color:#475569;margin:0;line-height:1.6}.preview-component-block ul{margin-top:6px;padding-left:18px}.preview-component-block pre{white-space:pre-wrap;font-family:inherit}.preview-component-block.structure>p{display:none}.preview-empty-text{color:#94a3b8;font-size:12px}.chip.active{color:#1d4ed8;background:#eaf1ff;border-color:#2f6fed}.table-wrap{border:1px solid #e5e7eb;border-radius:8px;width:100%;overflow:auto}.data-table{border-collapse:collapse;background:#fff;width:100%;min-width:980px}.data-table th,.data-table td{text-align:left;vertical-align:top;white-space:nowrap;border-bottom:1px solid #edf0f5;padding:11px 12px;line-height:1.5}.data-table th{color:#475569;background:#f8fafc;font-weight:600}.data-table td{color:#334155}.data-table tr:last-child td{border-bottom:0}.data-filter-preview-table{max-width:100%;overflow:hidden}.data-filter-preview-table .table-wrap{overflow-x:auto}.data-filter-preview-table .data-table{table-layout:fixed;min-width:1180px}.data-filter-preview-table .data-table th,.data-filter-preview-table .data-table td{overflow:hidden}.table-ellipsis{text-overflow:ellipsis;white-space:nowrap;max-width:100%;display:block;overflow:hidden}.data-filter-tag-list{white-space:nowrap;flex-wrap:nowrap;align-content:flex-start;max-width:166px;min-height:24px;overflow:visible}.filter-summary-line{color:#475569;background:#f8fbff;border:1px solid #dbeafe;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;margin:0 0 12px;padding:8px 10px;font-size:12px;line-height:1.5;display:flex}.filter-summary-line strong{color:#1d4ed8;white-space:nowrap}.pagination-bar{color:#64748b;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;font-size:12px;display:flex}.pagination-controls{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.pagination-controls label{align-items:center;gap:6px;display:inline-flex}.pagination-controls select{color:#334155;background:#fff;border:1px solid #d8dee9;border-radius:6px;height:32px;padding:0 8px}.pagination-controls button:disabled{color:#94a3b8;cursor:not-allowed;background:#f8fafc;border-color:#e2e8f0}.allocation-toolbar{grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:stretch;gap:12px;margin-bottom:14px;display:grid}.allocation-toolbar-expanded{grid-template-columns:repeat(6,minmax(112px,1fr))}.allocation-metric-wide{grid-column:span 2}.allocation-toolbar div,.allocation-summary div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:12px}.allocation-toolbar strong,.allocation-summary span{color:#64748b;font-size:12px}.allocation-toolbar p{color:#1f2937;margin:6px 0 0;font-weight:600}.allocation-header-btn{white-space:nowrap;min-height:34px}.allocation-action-panel{flex-direction:column;justify-content:center;gap:8px;display:flex}.allocation-action-panel button{width:100%;min-height:38px}.allocation-action-panel p{color:#64748b;margin:0;font-size:12px;font-weight:400;line-height:1.5}.allocation-read-status{color:#64748b;margin:-2px 0 12px;font-size:12px;line-height:1.5}.allocation-send-bar{align-items:center;margin-bottom:12px}.allocation-send-bar span{color:#64748b;font-size:12px}.allocation-package-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0;display:grid}.allocation-package-summary div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:10px}.allocation-package-summary strong,.allocation-package-summary span{display:block}.allocation-package-summary span{color:#64748b;margin-top:4px;font-size:12px;line-height:1.5}.workflow-card{background:#fff;border:1px solid #dbe3ef;border-radius:8px;padding:16px}.workflow-card h3{margin:0;font-size:15px}.workflow-card-header{gap:8px;display:grid}.workflow-meta-compact{color:#475569;flex-wrap:wrap;gap:6px 14px;font-size:12px;line-height:1.6;display:flex}.workflow-progress{grid-template-columns:repeat(5,minmax(120px,1fr));gap:0;margin-top:18px;padding:2px 0 4px;display:grid;overflow-x:auto}.workflow-progress-step{text-align:center;align-content:start;justify-items:center;gap:6px;min-width:120px;display:grid;position:relative}.workflow-progress-line{z-index:0;background:#dbe3ef;height:2px;position:absolute;top:9px;left:calc(50% + 10px);right:calc(10px - 50%)}.workflow-progress-dot{z-index:1;background:#fff;border:3px solid #d1d5db;border-radius:999px;width:18px;height:18px;position:relative}.workflow-progress-step.done .workflow-progress-dot,.workflow-progress-step.current .workflow-progress-dot{background:#2563eb;border-color:#2563eb}.workflow-progress-step.current .workflow-progress-dot{box-shadow:0 0 0 4px #dbeafe}.workflow-progress-step.done .workflow-progress-line{background:#2563eb}.workflow-progress-step strong{color:#1f2937;font-size:13px;line-height:1.4}.workflow-progress-step small{color:#64748b;font-size:12px}.workflow-progress-step.disabled .workflow-progress-dot{background:#cbd5e1;border-color:#cbd5e1}.workflow-progress-step.disabled strong,.workflow-progress-step.disabled small,.workflow-progress-step.waiting small{color:#94a3b8}.mock-article-list{gap:16px;display:grid}.result-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.generated-results-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mock-article-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:14px}.mock-article-card h3{margin:0;font-size:16px}.result-card-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.result-card-header>div{align-items:center;gap:8px;display:flex}.ai-warning-text{color:#b45309;background:#fff7ed;border:1px solid #fed7aa;border-radius:6px;margin:10px 0 0;padding:8px 10px;line-height:1.5}.result-field{gap:6px;margin-top:12px;display:grid}.result-field>span{color:#475569;font-size:13px;font-weight:600}.result-card-topline{justify-content:space-between;align-items:center;gap:12px;display:flex}.result-card-title-row{align-items:center;gap:8px;min-width:0;display:flex}.result-card-topline h3{margin:0;font-size:16px}.result-card-topline button{flex:none}.title-input-wrap{min-width:0;position:relative}.result-title-input{color:#1f2937;background:#f8fafc;border:1px solid #dbe3ef;border-radius:8px;width:100%;padding:10px 12px;font-size:15px;font-weight:600;line-height:1.5}.result-title-input:hover,.result-title-input:focus{background:#fff;border-color:#3b82f6;outline:none;box-shadow:0 0 0 2px #3b82f61f}.generated-card-meta-row{justify-content:space-between;align-items:center;gap:10px;margin-top:2px;display:flex}.article-inline-meta{color:#64748b;font-size:12px;line-height:1.5}.char-count{color:#64748b;white-space:nowrap;font-size:12px;font-weight:600;line-height:1.4}.title-input-wrap .char-count{pointer-events:none;position:absolute;top:50%;right:12px;transform:translateY(-50%)}.char-count.over-limit{color:#dc2626}.ai-validation-badge{white-space:nowrap;border-radius:999px;flex:none;padding:4px 10px;font-size:12px;font-weight:600;line-height:1.4}.ai-validation-badge.success{color:#15803d;background:#ecfdf3;border:1px solid #bbf7d0}.ai-validation-badge.error{color:#c2410c;background:#fff7ed;border:1px solid #fed7aa}.ai-batch-progress{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;align-items:center;gap:12px;margin-top:10px;padding:9px 12px;font-size:13px;display:flex}.ai-batch-progress strong{font-weight:600}.ai-batch-progress span{color:#475569}.ai-article-status{white-space:nowrap;border-radius:999px;flex:none;padding:3px 8px;font-size:12px;font-weight:600;line-height:1.4}.ai-article-status.pending{color:#64748b;background:#f8fafc;border:1px solid #e2e8f0}.ai-article-status.generating{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe}.ai-article-status.generated{color:#15803d;background:#ecfdf3;border:1px solid #bbf7d0}.ai-article-status.failed{color:#c2410c;background:#fff7ed;border:1px solid #fed7aa}.ai-article-error{color:#9a3412;background:#fff7ed;border-radius:8px;padding:8px 10px;font-size:12px;line-height:1.5}.textarea-block{margin-top:12px}.textarea-meta-row{color:#64748b;justify-content:space-between;align-items:center;gap:12px;margin-bottom:6px;font-size:12px;display:flex}@media (width<=720px){.generated-card-meta-row{flex-direction:column;align-items:flex-start}#generation-action .workbench-flow-panel,.generation-preview-list,.generation-preview-group-grid,.result-list,.generation-preview-body{grid-template-columns:1fr}.ai-batch-progress{flex-direction:column;align-items:flex-start}#generation-action .workbench-count-structure-row{flex-direction:column;align-items:stretch}}@media (width>=721px) and (width<=1180px){#generation-action .workbench-flow-panel,.generation-preview-list{grid-template-columns:1fr}.generation-preview-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.result-editor{resize:vertical;color:#1f2937;background:#f8fafc;border:1px solid #dbe3ef;border-radius:8px;width:100%;min-height:260px;max-height:1600px;padding:14px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;font-size:14px;line-height:1.7;overflow-y:auto}.result-editor:focus{background:#fff;border-color:#60a5fa;outline:2px solid #bfdbfe}.allocation-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:12px;display:grid}.allocation-summary strong{color:#1d4ed8;margin-top:6px;font-size:20px;display:block}.allocation-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px;display:grid}.allocation-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:14px}.allocation-card-header{border-bottom:1px solid #edf0f5;justify-content:space-between;gap:12px;padding-bottom:10px;display:flex}.allocation-card-header h3{margin:0;font-size:16px}.allocation-card-header span,.allocation-stats-line{color:#64748b;font-size:12px;line-height:1.6}.allocation-stats-line{margin-top:8px}.allocation-warning-line{color:#b45309;background:#fffbeb;border:1px solid #fde68a;border-radius:6px;margin-top:8px;padding:4px 8px;font-size:12px;line-height:1.5;display:inline-flex}.allocation-group{margin-top:12px}.allocation-group strong{color:#334155}.allocation-group ul{color:#475569;margin:8px 0 0;padding-left:18px;line-height:1.7}.allocation-group li{word-break:break-word}.allocation-group p{color:#94a3b8;margin:8px 0 0}.badge{white-space:nowrap;border:1px solid #0000;border-radius:6px;align-items:center;min-height:24px;padding:2px 8px;font-size:12px;display:inline-flex}.badge-blue{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.badge-green{color:#047857;background:#ecfdf5;border-color:#a7f3d0}.badge-orange{color:#b45309;background:#fffbeb;border-color:#fde68a}.badge-red{color:#b91c1c;background:#fef2f2;border-color:#fecaca}.badge-gray{color:#475569;background:#f8fafc;border-color:#e2e8f0}.link-text{color:#1d4ed8}.notice{color:#475569;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:12px;line-height:1.7}.page-toast{z-index:1000;color:#1d4ed8;text-align:center;pointer-events:none;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;max-width:min(520px,100vw - 32px);padding:7px 12px;font-size:12px;font-weight:600;line-height:1.5;position:fixed;top:18px;left:50%;transform:translate(-50%);box-shadow:0 8px 24px #0f172a1f}.model-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.model-sync-bar{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:12px;display:flex}.model-sync-bar span{color:#64748b;font-size:12px}.model-sync-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px;display:grid}.model-sync-grid div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:12px}.model-sync-grid span,.model-structure-preview p,.sequence-heading span{color:#64748b;font-size:12px;line-height:1.5}.model-sync-grid strong{color:#1f2937;margin-top:6px;display:block}.model-sync-action-row{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px 12px;display:flex}.model-sync-action-row span,.model-sync-action-row small{color:#64748b;white-space:nowrap;font-size:12px;line-height:1.5}.model-sync-action-row small{color:#94a3b8}.model-sync-action-row button{flex:none}.random-material-library{gap:14px;display:grid}.random-material-row-list{gap:12px;display:grid}.random-material-row{grid-template-columns:72px minmax(0,1fr);align-items:start;gap:8px;display:grid}.random-material-row-toggle{color:#1f2937;background:#f8fafc;border-color:#dbe3ef;justify-content:flex-start;justify-self:stretch;align-items:center;gap:6px;height:auto;min-height:34px;padding:0 8px;font-weight:700;display:inline-flex}.random-material-row.is-collapsed .random-material-row-toggle{gap:6px;min-height:34px;padding:0 8px}.random-material-row-toggle span{text-align:center;color:#2563eb;width:14px}.random-material-field-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:8px;min-width:0;display:grid}.random-material-row.is-collapsed .random-material-field-grid{gap:8px}.random-material-section-heading{justify-content:space-between;align-items:center;gap:12px;margin-top:4px;display:flex}.random-material-section-heading h3{color:#1f2937;margin:0;font-size:14px}.random-material-section-heading-with-action{margin-top:12px}.random-material-field{background:#fff;border:1px solid #dbe3ef;border-radius:8px;overflow:hidden}.random-material-card,.random-material-row.is-collapsed .random-material-card{min-height:34px}.random-material-card-header{color:#1f2937;justify-content:space-between;align-items:center;gap:8px;min-height:34px;padding:6px 8px;font-weight:700;display:flex}.random-material-row.is-collapsed .random-material-card-header{gap:8px;min-height:34px;padding:6px 8px}.random-material-card-header span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.random-material-card-header small{color:#64748b;white-space:nowrap;font-size:12px;font-weight:600}.random-material-lead-field{display:grid}.random-material-lead-field .random-material-card-header span{color:#1f2937;font-size:13px;font-weight:700}.random-material-lead-field .random-material-card-header small{color:#64748b;font-size:12px}.random-material-field textarea{color:#334155;resize:none;background:#f8fafc;border:0;border-top:1px solid #e5edf6;width:100%;height:220px;min-height:220px;max-height:220px;padding:10px 12px;overflow:auto}@media (width<=960px){.random-material-row{grid-template-columns:64px minmax(560px,1fr);padding-bottom:2px;overflow-x:auto}.random-material-row.is-collapsed{grid-template-columns:56px minmax(0,1fr);padding-bottom:0;overflow-x:visible}.random-material-field-grid{grid-template-columns:repeat(3,minmax(170px,1fr))}.random-material-row.is-collapsed .random-material-field-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.model-overview-grid{grid-template-columns:minmax(240px,300px) minmax(0,1fr);gap:14px;display:grid}.model-builder-grid{gap:12px;min-width:0;max-width:100%;display:grid;overflow-x:hidden}.model-overview-list,.component-sequence,.builder-panel,.model-structure-preview{gap:10px;display:grid}.model-select-panel{align-content:start;gap:8px;display:grid}.model-select-panel label{gap:6px;display:grid}.model-select-panel span{color:#475569;font-size:13px;font-weight:600}.model-overview-select{color:#1f2937;background:#fff;border:1px solid #bfdbfe;border-radius:8px;width:100%;height:42px;padding:0 12px;font-weight:600}.model-draft-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.model-draft-actions button{height:30px}.model-overview-item{text-align:left;background:#fff;border-radius:8px;justify-items:start;gap:2px;width:100%;height:auto;min-height:48px;padding:7px 10px;display:grid}.model-overview-item.active{background:#eff6ff;border-color:#2563eb}.model-overview-item span,.model-overview-item small{color:#64748b;font-size:12px}.model-overview-item strong{color:#1f2937;text-overflow:ellipsis;white-space:nowrap;max-width:100%;display:block;overflow:hidden}.sequence-preview,.draft-actions,.slot-actions{flex-wrap:wrap;gap:8px;display:flex}.sequence-preview{align-items:center}.model-structure-preview-row{justify-content:space-between;align-items:center;gap:12px;min-height:30px;display:flex}.model-structure-preview-row h3{flex:none}.preview-step{align-items:center;gap:8px;display:inline-flex}.preview-chip{cursor:default;border-radius:var(--component-chip-radius);color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;align-items:center;min-height:26px;padding:2px 8px;font-size:14px;font-weight:600;display:inline-flex}.preview-chip-q{color:#c2410c;background:#fff7ed;border-color:#fed7aa}.preview-arrow{color:#94a3b8}.builder-panel{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;grid-template-columns:minmax(150px,220px) minmax(180px,1fr) minmax(280px,420px);align-items:end;gap:12px;min-width:0;max-width:100%;padding:12px;display:grid}.builder-panel label{min-width:0}.builder-panel .inline-check{flex:none;min-width:92px;height:36px}.builder-panel .notice,.builder-panel .draft-list{grid-column:1/-1}.draft-actions{white-space:normal;justify-content:flex-end;align-items:center;min-width:0;max-width:100%;min-height:36px}.draft-actions button{white-space:nowrap}.draft-save-status{color:#94a3b8;font-size:12px;line-height:1.5}.duplicate-notice{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;flex:1 0 100%;padding:8px 10px;font-size:12px;line-height:1.5}.builder-panel label,.library-toolbar label{gap:6px;display:grid}.builder-panel label span,.library-toolbar span{color:#475569;font-size:12px;font-weight:600}.builder-panel input,.library-toolbar input,.library-toolbar select{color:#1f2937;background:#fff;border:1px solid #d8dee9;border-radius:6px;width:100%;height:36px;padding:0 10px}.inline-check{grid-template-columns:auto 1fr;align-items:center}.inline-check input{width:16px;height:16px}.draft-list{gap:6px;display:grid}.draft-row{background:#fff;border:1px solid #e2e8f0;border-radius:8px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:6px;padding:6px 8px;display:grid}.draft-row span{text-overflow:ellipsis;white-space:nowrap;color:#475569;min-width:0;font-size:12px;overflow:hidden}.draft-row button{height:28px;padding:0 8px}.component-sequence{background:#fff;border:1px dashed #cbd5e1;border-radius:8px;min-width:0;max-width:100%;min-height:96px;padding:10px;overflow-x:auto}.sequence-heading{justify-content:space-between;gap:10px;display:flex}.sequence-slot-grid{grid-template-columns:repeat(10,minmax(98px,1fr));gap:6px;min-width:max-content;display:grid}.sequence-slot{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;grid-template-rows:auto minmax(34px,auto);align-items:start;gap:4px;min-width:0;min-height:72px;padding:6px 26px 6px 7px;display:grid;position:relative}.sequence-slot strong,.sequence-slot span{display:block}.sequence-slot span{color:#64748b;text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:12px;overflow:hidden}.slot-index{color:#64748b;font-size:12px;font-weight:600;line-height:1.2}.slot-main{align-items:start;gap:3px;min-width:0;display:grid}.slot-component-label{color:#64748b;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:11px;font-weight:500;line-height:1.2;overflow:hidden}.slot-remove-btn{color:#b91c1c;background:#fff7f7;border-color:#fecaca;border-radius:999px;width:18px;min-width:18px;height:18px;padding:0;font-size:12px;line-height:1;position:absolute;top:5px;right:5px}.slot-remove-btn:disabled{visibility:hidden}.empty-slot{background:#fff7ed;border-style:dashed}.slot-chip{border-radius:var(--component-chip-radius);text-overflow:ellipsis;white-space:nowrap;align-items:center;width:fit-content;max-width:100%;min-height:22px;padding:2px 8px;font-size:12px;font-weight:700;line-height:1.2;display:inline-flex;overflow:hidden}.slot-chip-s{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe}.slot-chip-q{color:#c2410c;background:#fff7ed;border:1px solid #fed7aa}.slot-empty-title{color:#92400e;font-size:12px;line-height:1.2}.duplicate-label{color:#b91c1c;background:#fee2e2;border-radius:999px;width:fit-content;margin-top:4px;padding:1px 6px;font-size:12px;font-weight:600;display:inline-flex}.library-heading-controls{flex-wrap:wrap;justify-content:flex-end;align-items:end;gap:8px;max-width:100%;display:flex}.library-heading-controls label{gap:4px;display:grid}.library-heading-controls span{color:#64748b;font-size:12px;font-weight:600}.library-heading-controls select,.category-manager-trigger{color:#1d4ed8;background:#fff;border:1px solid #d8dee9;border-radius:6px;height:32px;padding:0 10px;font-size:13px;font-weight:600}.month-filter-select{display:block}.month-filter-select select{min-width:138px}.category-filter-panel{justify-items:start;max-width:100%;display:grid;position:relative}.category-manager-trigger{color:#1d4ed8;border-color:#bfdbfe;min-width:138px;font-weight:600}.category-manager-popover{z-index:10;background:#fff;border:1px solid #dbe3ef;border-radius:8px;gap:4px;width:min(420px,100vw - 64px);max-height:360px;padding:8px;display:grid;position:absolute;top:42px;right:0;overflow:auto;box-shadow:0 12px 28px #0f172a29}.category-manager-row{border-radius:6px;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:6px;min-height:32px;padding:3px 4px;display:grid}.category-manager-row:hover{background:#f8fafc}.category-manager-row.hidden{color:#94a3b8}.category-manager-name{text-overflow:ellipsis;white-space:nowrap;color:#334155;min-width:0;font-size:13px;overflow:hidden}.category-manager-row.hidden .category-manager-name{color:#94a3b8}.category-manager-row button{min-width:24px;height:24px;padding:0 5px;font-size:12px}.category-eye-btn{min-width:28px;padding:0 4px}.category-eye-btn.muted{color:#94a3b8;background:#f8fafc}.component-library-layout{grid-template-columns:minmax(0,1fr) 220px;align-items:start;gap:12px;min-width:0;max-width:100%;display:grid}.structure-board{grid-template-columns:repeat(8,minmax(108px,1fr));grid-auto-flow:row;align-items:start;gap:8px;min-width:0;max-width:100%;padding-bottom:4px;display:grid;overflow-x:auto}.component-column,.enterprise-library{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;align-content:start;gap:6px;min-width:0;height:fit-content;padding:8px;display:grid}.component-column h3,.enterprise-library h3,.model-structure-preview h3{margin:0;font-size:13px;line-height:1.4}.component-column h3,.enterprise-library h3{text-align:center}.library-component-card{text-align:center;border-radius:var(--component-chip-radius);background:#fff;border-color:#bfdbfe;place-items:center;width:100%;height:auto;min-height:24px;padding:2px 6px;display:grid}.component-hover-tooltip{z-index:80;color:#1f2937;white-space:pre-line;pointer-events:none;background:#fff;border:1px solid #cbd5e1;border-radius:8px;max-width:min(420px,100vw - 32px);padding:10px 12px;font-size:14px;line-height:1.6;position:fixed;box-shadow:0 12px 28px #0f172a29}.component-column-list{scrollbar-width:none;-ms-overflow-style:none;align-content:start;gap:4px;min-height:0;max-height:284px;padding-right:2px;display:grid;overflow-y:auto}.enterprise-library .component-column-list{max-height:584px}.component-column-list::-webkit-scrollbar{width:0;height:0}.library-component-card strong{color:#1d4ed8}.library-component-card span,.library-component-card small{color:#475569;white-space:normal;line-height:1.45}.library-component-card small{color:#94a3b8;font-size:12px}.library-component-card.used-component-card,.library-component-card:disabled{cursor:not-allowed;color:#94a3b8;background:#f1f5f9;border-color:#e2e8f0}.library-component-card.used-component-card strong,.library-component-card:disabled strong,.library-component-card.used-component-card span,.library-component-card:disabled span{color:#94a3b8}.enterprise-component-card{text-align:left;background:#fffaf0;border-color:#fed7aa;grid-template-columns:auto minmax(0,1fr);place-items:center start;gap:0;min-height:28px}.enterprise-component-card strong{color:#c2410c}.enterprise-component-card span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.model-preview-modal-layer{z-index:50;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.model-preview-backdrop{cursor:default;background:#0f172a75;border:0;border-radius:0;width:100%;height:100%;position:absolute;inset:0}.model-preview-backdrop:hover{border:0}.model-preview-modal{z-index:1;background:#fff;border:1px solid #dbe3ef;border-radius:8px;grid-template-rows:auto minmax(0,1fr);width:min(960px,100vw - 48px);max-height:min(760px,100vh - 48px);display:grid;position:relative;overflow:hidden;box-shadow:0 24px 60px #0f172a42}.model-preview-header{border-bottom:1px solid #e5edf6;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.model-preview-header h2{color:#1f2937;margin:0;font-size:18px}.model-preview-body{background:#f8fafc;gap:6px;padding:10px 16px;display:grid;overflow-y:auto}.model-preview-row{cursor:grab;background:#fff;border:1px solid #e2e8f0;border-radius:8px;grid-template-columns:116px minmax(0,1fr);align-items:stretch;gap:12px;padding:8px 10px;display:grid;position:relative}.model-preview-row.dragging{opacity:.58;background:#eff6ff;border-color:#93c5fd}.model-preview-row.drop-before:before,.model-preview-row.drop-after:after{content:"";background:#2563eb;border-radius:999px;height:3px;position:absolute;left:8px;right:8px;box-shadow:0 0 0 2px #dbeafe}.model-preview-row.drop-before:before{top:-5px}.model-preview-row.drop-after:after{bottom:-5px}.model-preview-left{align-items:center;gap:8px;min-width:0;display:flex}.model-preview-handle{color:#94a3b8;cursor:grab;font-weight:700;line-height:1}.model-preview-content{white-space:pre-wrap;word-break:break-word;color:#334155;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;min-height:0;margin:0;padding:6px 9px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;font-size:13px;line-height:1.5;overflow:auto}.enterprise-config-layout{display:block}.enterprise-config-form,.enterprise-config-section{gap:10px;display:grid}.enterprise-config-toolbar{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:8px;display:flex}.enterprise-config-toolbar-tail{gap:8px;margin-left:auto;display:flex}.enterprise-config-toolbar select{color:#1f2937;background:#fff;border:1px solid #d8dee9;border-radius:6px;width:min(360px,100%);min-width:220px;height:34px;padding:0 8px}.enterprise-config-row{background:#fff;border:1px solid #e2e8f0;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:10px;display:flex}.enterprise-config-row.active{background:#eff6ff;border-color:#2563eb}.enterprise-config-row div:first-child{gap:3px;min-width:0;display:grid}.enterprise-config-row strong,.enterprise-config-section h3{color:#1f2937}.enterprise-config-row span,.enterprise-config-row small{color:#64748b;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.enterprise-config-row-actions{flex:none;gap:6px;display:flex}.enterprise-config-section{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:12px}.enterprise-config-section h3{margin:0;font-size:14px}.enterprise-config-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.enterprise-config-grid.four-cols,.enterprise-config-grid-four{grid-template-columns:repeat(4,minmax(0,1fr))}.enterprise-config-grid-basic{grid-template-columns:minmax(160px,.9fr) minmax(220px,1.4fr) minmax(140px,.7fr) minmax(140px,.7fr)}.enterprise-config-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}.enterprise-config-grid-five{grid-template-columns:repeat(5,minmax(0,1fr))}.enterprise-config-grid-six{grid-template-columns:repeat(6,minmax(0,1fr))}.enterprise-config-row-space{margin-top:10px}.enterprise-config-grid label{gap:6px;display:grid}.enterprise-config-grid span{color:#475569;font-size:12px;font-weight:600}.enterprise-config-grid input,.enterprise-config-grid select,.enterprise-config-grid textarea{color:#1f2937;background:#fff;border:1px solid #d8dee9;border-radius:6px;width:100%;min-width:0;padding:0 8px}.enterprise-config-grid input,.enterprise-config-grid select{height:34px}.enterprise-config-grid textarea{resize:vertical;min-height:72px;padding:8px;line-height:1.6}.enterprise-template-textarea{min-height:120px!important}.enterprise-lead-textarea-field{align-self:stretch}.enterprise-lead-textarea{resize:vertical;min-height:180px!important}.enterprise-lead-textarea[readonly]{color:#475569;background:#f8fafc}.enterprise-template-button-field button{width:fit-content}.enterprise-template-modal-layer{z-index:70;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.enterprise-template-modal-backdrop{background:#0f172a5c;border:0;border-radius:0;width:100%;height:100%;position:absolute;inset:0}.enterprise-template-modal{z-index:1;background:#fff;border:1px solid #dbe3ef;border-radius:8px;gap:12px;width:min(640px,100vw - 48px);padding:16px;display:grid;position:relative;box-shadow:0 24px 60px #0f172a3d}.enterprise-template-modal-header h2{color:#1f2937;margin:0;font-size:18px}.enterprise-template-modal textarea{resize:vertical;color:#1f2937;background:#fff;border:1px solid #d8dee9;border-radius:8px;width:100%;min-height:240px;padding:10px 12px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;line-height:1.6}.enterprise-template-modal-actions{justify-content:flex-end;gap:8px;display:flex}.enterprise-advanced-details{background:#fff;border:1px solid #e2e8f0;border-radius:8px;margin-top:10px}.enterprise-advanced-details summary{cursor:pointer;color:#1f2937;-webkit-user-select:none;user-select:none;padding:10px 12px;font-size:13px;font-weight:600}.enterprise-advanced-details[open] summary{border-bottom:1px solid #e2e8f0}.enterprise-advanced-details .enterprise-config-grid{padding:12px}.enterprise-json-two-column{grid-template-columns:minmax(0,3fr) minmax(280px,2fr);align-items:stretch;gap:12px;display:grid}.enterprise-json-field{gap:6px;display:grid}.enterprise-json-field span,.enterprise-preview-controls span{color:#475569;font-size:12px;font-weight:600}.enterprise-json-field textarea{color:#1f2937;resize:vertical;background:#fff;border:1px solid #d8dee9;border-radius:6px;width:100%;min-height:260px;padding:10px;font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace;line-height:1.6}.enterprise-json-two-column .enterprise-json-field textarea{min-height:260px}.enterprise-json-summary-field textarea{color:#334155;resize:vertical;white-space:pre-wrap;background:#f8fafc}.enterprise-config-inline-actions,.enterprise-preview-controls{flex-wrap:wrap;align-items:end;gap:8px;display:flex}.enterprise-preview-cache-status{color:#64748b;flex:320px;font-size:12px}.enterprise-config-inline-actions span,.enterprise-preview-controls>span,.enterprise-preview-stats{color:#64748b;font-size:12px}.enterprise-preview-stats{display:block}.enterprise-preview-controls label{gap:6px;display:grid}.enterprise-preview-controls select{color:#1f2937;background:#fff;border:1px solid #d8dee9;border-radius:6px;min-width:120px;height:34px;padding:0 8px}.enterprise-preview-sample-textarea{tab-size:16;white-space:pre;font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace}.enterprise-preview-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.enterprise-preview-results textarea{color:#1f2937;resize:vertical;background:#fff;border:1px solid #d8dee9;border-radius:6px;width:100%;min-height:180px;padding:10px;line-height:1.6}.enterprise-config-wide{grid-column:1/-1}.enterprise-config-actions{margin-top:10px}.model-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:16px}.card-title-row{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.card-title-row h3{margin:0;font-size:16px}.card-title-row p,.card-block p,.card-meta{color:#64748b;margin:6px 0 0;line-height:1.6}.card-block{margin-top:14px}.card-block>span{color:#475569;margin-bottom:8px;font-weight:600;display:block}.card-meta{border-top:1px solid #edf0f5;justify-content:space-between;gap:12px;margin-top:14px;padding-top:12px;display:flex}.card-meta strong{color:#1d4ed8;white-space:nowrap}.rule-grid,.two-column{gap:16px;display:grid}.rule-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.rule-grid div{color:#475569;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:12px;line-height:1.6}.two-column{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}.strategy-panel{gap:12px;display:grid}.strategy-panel div{grid-template-columns:96px minmax(0,1fr);gap:10px;display:grid}.strategy-panel span{color:#64748b}.strategy-panel strong,.strategy-panel p{color:#1f2937;margin:0;line-height:1.6}.component-preview{gap:10px;display:grid}.component-row{border:1px solid #edf0f5;border-radius:8px;grid-template-columns:150px 160px minmax(0,1fr);align-items:start;gap:12px;padding:12px;display:grid}.component-row span{color:#64748b}.component-row p{color:#475569;margin:0;line-height:1.6}.primary-btn{color:#fff;background:#1d4ed8;border-color:#1d4ed8}.primary-btn:disabled{color:#94a3b8;background:#f1f5f9;border-color:#d8dee9}.disabled-btn{color:#94a3b8;cursor:not-allowed;background:#f1f5f9}.config-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.config-list{gap:12px;display:grid}.config-list label{gap:6px;display:grid}.config-list span{color:#475569;font-weight:600}.config-list input{color:#94a3b8;background:#f8fafc;border:1px solid #d8dee9;border-radius:6px;width:100%;height:36px;padding:0 10px}.compact{gap:4px}.result-preview{white-space:pre-wrap;word-break:break-word;color:#1f2937;background:#f8fafc;border:1px solid #dbe3ef;border-radius:8px;min-height:280px;margin:0;padding:16px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;line-height:1.7}@media (width<=1100px){.stats-grid,.overview-grid,.filters-grid,.model-grid,.model-sync-grid,.model-overview-grid,.model-builder-grid,.component-library-layout,.enterprise-config-layout,.enterprise-json-two-column,.rule-grid,.two-column,.config-grid,.allocation-toolbar,.allocation-summary,.allocation-grid,.generated-results-grid,.library-toolbar{grid-template-columns:1fr}.workbench-title-row{grid-template-columns:minmax(0,1fr) auto}.builder-panel{grid-template-columns:1fr}.draft-actions{justify-content:flex-start}.structure-board{grid-template-columns:repeat(8,minmax(120px,140px));grid-auto-flow:row;overflow-x:auto}.enterprise-library .component-column-list{max-height:360px}.sequence-slot-grid{grid-template-columns:repeat(10,minmax(98px,110px))}.overview-items{grid-template-columns:repeat(2,minmax(0,1fr))}.allocation-metric-wide{grid-column:auto}.allocation-package-summary,.enterprise-config-grid.four-cols,.enterprise-config-grid-basic,.enterprise-config-grid-four,.enterprise-config-grid-five,.enterprise-config-grid-six{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px){.app-shell{height:auto;display:block;overflow:visible}.sidebar{width:100%;height:auto;padding:12px;overflow:visible}.sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.nav-item{text-align:center}.topbar{height:auto;padding:12px 16px}.main{height:auto;overflow:visible}.content{padding:16px;overflow:visible}.component-row,.strategy-panel div,.overview-items,.pagination-bar,.allocation-package-summary,.enterprise-config-grid,.enterprise-config-grid.four-cols,.enterprise-config-grid-basic,.enterprise-config-grid-three,.enterprise-config-grid-four,.enterprise-config-grid-five,.enterprise-config-grid-six{grid-template-columns:1fr}.pagination-bar{flex-direction:column;align-items:flex-start}.sequence-slot-grid{grid-template-columns:repeat(10,minmax(92px,104px))}.structure-board{grid-template-columns:repeat(8,minmax(108px,128px))}}.system-config-inline-form{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.primary-button{color:#fff;background:#1d4ed8;border-color:#1d4ed8}.primary-button:hover{color:#fff;background:#1e40af;border-color:#1e40af}.system-config-inline-form input{width:260px}.feishu-config-table-wrap{background:#fff;border:1px solid #e2e8f0;border-radius:8px;overflow-x:auto}.feishu-config-table{border-collapse:collapse;width:max-content;min-width:100%}.feishu-config-table th,.feishu-config-table td{text-align:left;vertical-align:middle;white-space:nowrap;border-bottom:1px solid #e2e8f0;padding:8px}.feishu-config-table thead th{color:#475569;background:#f8fafc;font-size:12px;font-weight:700}.feishu-config-table tbody tr:last-child th,.feishu-config-table tbody tr:last-child td{border-bottom:0}.feishu-config-sticky-cell{z-index:2;background:#fff;min-width:150px;position:sticky;left:0;box-shadow:1px 0 #e2e8f0}.feishu-config-table thead .feishu-config-sticky-cell{z-index:3;background:#f8fafc}.feishu-config-sticky-cell strong,.feishu-config-sticky-cell span{display:block}.feishu-config-sticky-cell span{color:#64748b;margin-top:3px;font-size:12px;font-weight:500}.feishu-config-url-input{width:300px}.feishu-config-token-input{width:200px}.feishu-config-id-input{width:165px}.feishu-config-missing-cell{white-space:normal;overflow-wrap:anywhere;max-width:260px}@media (width<=1180px){.rewrite-preview-modal-grid{grid-template-columns:1fr}}
