:root{color-scheme:light;font-family:Inter,Microsoft YaHei,PingFang SC,Arial,sans-serif;background:#eef2f6;color:#16202a}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-shell{display:grid;grid-template-columns:248px minmax(0,1fr);height:100vh;min-height:0;overflow:hidden;transition:grid-template-columns .18s ease}.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:#eef2f6}.login-panel{width:min(420px,100%);padding:32px;background:#fff;border:1px solid #d8e0e8;border-radius:8px;box-shadow:0 18px 50px #16202a1f}.login-panel h1{margin:8px 0 24px}.login-brand{color:#246bce;font-weight:700}.login-panel label{display:grid;gap:7px;margin:14px 0;font-weight:600}.login-panel input{width:100%;padding:10px 12px;border:1px solid #c9d4df;border-radius:6px}.topbar-user{display:flex;align-items:center;gap:10px;margin-left:auto}.admin-users-panel{margin:20px 24px 0}.admin-user-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.admin-user-form input,.admin-user-form select{min-width:0;padding:9px 10px;border:1px solid #c9d4df;border-radius:6px}.admin-user-row{display:grid;grid-template-columns:minmax(140px,1fr) minmax(120px,1fr) 120px minmax(120px,1fr) 80px auto auto auto;gap:10px;align-items:center;padding:12px 0;border-top:1px solid #e5eaf0}.admin-user-row input,.admin-user-row select{min-width:0;padding:8px 9px;border:1px solid #c9d4df;border-radius:6px}.permission-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px;padding:8px;border:1px solid #e0e6ed;border-radius:6px;background:#f8fafc}.permission-check-grid label{display:flex;align-items:center;gap:6px;min-width:0;font-size:12px;font-weight:500}.permission-check-grid input{accent-color:#246bce}.admin-user-form .permission-check-grid,.admin-user-row .permission-check-grid{grid-column:1 / -1}.admin-user-row small{display:block;margin-top:3px;color:#6b7886}.user-enabled{color:#287a4b}.user-disabled{color:#9c3b3b}@media(max-width:800px){.admin-user-form{grid-template-columns:1fr}.admin-user-row{grid-template-columns:1fr 1fr}.admin-user-row .permission-check-grid{grid-column:1 / -1}.topbar-user>span{display:none}}.app-shell.is-sidebar-collapsed{grid-template-columns:76px minmax(0,1fr)}.sidebar{position:relative;background:#17212d;color:#f7fafc;padding:22px 16px;display:flex;flex-direction:column;gap:24px}.brand{display:flex;align-items:center;gap:12px;padding:0 4px;min-height:44px}.brand-mark{width:40px;height:40px;flex:0 0 auto;overflow:hidden;background:#fff;border-radius:8px;display:grid;place-items:center}.brand-logo{display:block;width:100%;height:100%;object-fit:contain}.brand strong,.brand span{display:block}.brand strong{line-height:1.3}.brand span{margin-top:3px;color:#aebdcc;font-size:13px}.collapse-button{position:absolute;top:24px;right:-13px;width:26px;height:26px;border:1px solid #33475f;border-radius:999px;color:#dce7f2;background:#223143;display:grid;place-items:center;box-shadow:0 8px 16px #0a121c29}nav{display:grid;gap:6px}.nav-item{width:100%;height:42px;border:0;border-radius:8px;padding:0 12px;color:#cdd7e1;background:transparent;display:flex;align-items:center;gap:10px;text-align:left}.nav-item-label{flex:1}.nav-item-notice{flex:0 0 auto;padding:2px 6px;color:#ffdf8a;font-size:11px;font-style:normal;font-weight:800;background:#ffdf8a1f;border:1px solid rgba(255,223,138,.22);border-radius:999px}.nav-item:hover,.nav-item.active{background:#263544;color:#fff}.sidebar-footer{margin-top:auto;padding-top:16px;border-top:1px solid rgba(205,215,225,.12)}.settings-trigger{color:#f1f6fb}.sidebar.is-collapsed{padding-inline:12px}.sidebar.is-collapsed .brand{justify-content:center;padding-inline:0}.sidebar.is-collapsed .brand div:not(.brand-mark),.sidebar.is-collapsed .nav-item-label,.sidebar.is-collapsed .nav-item-notice,.sidebar.is-collapsed .nav-group-label{display:none}.sidebar.is-collapsed .nav-item{justify-content:center;padding-inline:0}.nav-group-label{margin:12px 8px 2px;color:#8191a4;font-size:12px;font-weight:800;letter-spacing:0}.main-area{min-width:0;display:flex;flex-direction:column;min-height:0}.topbar{height:64px;background:#fff;border-bottom:1px solid #dbe3ec;display:flex;justify-content:space-between;align-items:center;padding:0 28px}.topbar span{display:block;color:#637183;font-size:12px}.topbar strong{display:block;margin-top:3px}.runtime-task-status-bar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin:14px 28px 0;padding:12px 14px;color:#253344;background:#fff;border:1px solid #dbe3ec;border-radius:8px;box-shadow:0 8px 22px #1220300f}.runtime-task-status-dot{width:10px;height:10px;background:#2f7dd1;border-radius:999px;box-shadow:0 0 0 6px #2f7dd11f}.runtime-task-status-bar.is-running .runtime-task-status-dot{animation:runtime-task-pulse 1.2s ease-in-out infinite}.runtime-task-status-bar.is-warning .runtime-task-status-dot{background:#d97706;box-shadow:0 0 0 6px #d9770624}.runtime-task-status-bar.is-error .runtime-task-status-dot{background:#c2413d;box-shadow:0 0 0 6px #c2413d1f}.runtime-task-status-copy{display:grid;gap:3px;min-width:0}.runtime-task-status-copy strong,.runtime-task-status-copy span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.runtime-task-status-copy span{color:#637183;font-size:13px}.runtime-task-status-meta{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.runtime-task-status-meta em{padding:5px 8px;color:#425267;background:#edf3f8;border-radius:999px;font-size:12px;font-style:normal;font-weight:800}.agent-runtime-status-bar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin:14px 28px 0;padding:12px 14px;color:#253344;background:#fff;border:1px solid #dbe3ec;border-radius:8px;box-shadow:0 8px 22px #1220300f}.agent-runtime-status-dot{width:10px;height:10px;background:#2f7dd1;border-radius:999px;box-shadow:0 0 0 6px #2f7dd11f}.agent-runtime-status-bar.is-running .agent-runtime-status-dot{animation:runtime-task-pulse 1.2s ease-in-out infinite}.agent-runtime-status-bar.is-warning .agent-runtime-status-dot{background:#d97706;box-shadow:0 0 0 6px #d9770624}.agent-runtime-status-bar.is-error .agent-runtime-status-dot{background:#c2413d;box-shadow:0 0 0 6px #c2413d1f}.agent-runtime-status-copy{display:grid;gap:3px;min-width:0}.agent-runtime-status-copy strong,.agent-runtime-status-copy span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-runtime-status-copy span{color:#637183;font-size:13px}.agent-runtime-status-meta{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.agent-runtime-status-meta em{padding:5px 8px;color:#425267;background:#edf3f8;border-radius:999px;font-size:12px;font-style:normal;font-weight:800}@keyframes runtime-task-pulse{0%,to{transform:scale(1);opacity:1}50%{transform:scale(.72);opacity:.65}}.status-pill{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 10px;border-radius:999px;font-size:13px}.status-pill.ok{background:#e8f7ef;color:#167a50}.status-pill.warn{background:#fff5db;color:#916400}.workspace{width:min(1320px,100%);margin:0 auto;padding:28px}.workspace.narrow{width:min(900px,100%)}.page-stack{position:relative;display:flex;width:100%;height:100%;min-height:0;flex-direction:column;gap:22px;overflow:auto}.technical-workbench{flex:1 1 auto;height:auto}.technical-workbench>.plan-step-body{flex:1 1 auto;min-height:0}.demo-coming-page{position:relative;display:grid;min-height:calc(100vh - 56px);grid-template-rows:auto minmax(0,1fr);gap:18px}.feature-under-development-overlay{position:absolute;top:28px;left:50%;z-index:5;display:grid;width:min(620px,calc(100% - 48px));gap:8px;padding:20px 28px;color:#fff;text-align:center;background:#374151;border:1px solid rgba(255,255,255,.42);border-radius:8px;box-shadow:0 20px 48px #17203338;transform:translate(-50%);pointer-events:none}.feature-under-development-overlay strong{font-size:clamp(24px,3.4vw,38px);line-height:1.12}.feature-under-development-overlay span{color:#ffffffe6;font-size:clamp(15px,1.8vw,20px);font-weight:800}.expand-placeholder-panel{position:relative;min-height:360px;padding-top:160px}.demo-hero-card,.demo-panel,.demo-preview-card{background:#fff;border:1px solid #dbe3ec;border-radius:8px;box-shadow:0 10px 28px #12203012}.demo-hero-card{display:grid;min-height:236px;grid-template-columns:minmax(0,1fr) minmax(280px,420px);gap:24px;overflow:hidden;padding:30px;background:#f8fbff}.business-bid-demo .demo-hero-card{background:#f7f8ff}.opportunity-hero-card{background:#f7fbff}.demo-hero-copy{display:flex;min-width:0;flex-direction:column;justify-content:center}.demo-hero-copy h2{max-width:820px;margin:10px 0 14px;color:#16202a;font-size:clamp(28px,3.4vw,46px);line-height:1.12;letter-spacing:0}.demo-hero-copy p,.demo-preview-card p,.demo-step-list p,.demo-table-list p{margin:0;color:#637183;line-height:1.75}.demo-hero-copy p{max-width:680px;font-size:16px}.demo-hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:26px}.demo-hero-actions .primary-action:disabled{cursor:not-allowed;opacity:.72}.demo-soft-pill,.demo-status-pill{display:inline-flex;width:max-content;align-items:center;justify-content:center;font-weight:800;border-radius:999px}.demo-soft-pill{padding:8px 12px;color:#2f7dd1;background:#eef6ff;border:1px solid #dbe3ec}.demo-metric-stack{display:grid;align-content:center;gap:12px}.demo-metric-stack article,.demo-signal-grid article,.opportunity-radar-card{display:grid;gap:6px;min-width:0;padding:18px;background:#ffffffd1;border:1px solid #dbe3ec;border-radius:8px}.demo-metric-stack span,.demo-signal-grid span,.opportunity-radar-card span{color:#637183;font-size:13px}.demo-metric-stack strong,.demo-signal-grid strong,.opportunity-radar-card strong{color:#16202a;font-size:30px;line-height:1}.demo-metric-stack small,.opportunity-radar-card small{color:#637183;line-height:1.55}.demo-content-grid{display:grid;min-height:0;grid-template-columns:minmax(0,1fr) minmax(320px,.9fr) minmax(280px,.72fr);gap:18px}.demo-panel,.demo-preview-card{min-width:0;padding:24px}.demo-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}.demo-panel-head h3,.demo-preview-card h3{margin:8px 0 0;color:#16202a;font-size:20px}.demo-step-list,.demo-table-list,.opportunity-card-list,.demo-timeline{display:grid;gap:12px}.demo-step-list article{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:start;padding:14px;background:#f8fafc;border:1px solid #e5ebf1;border-radius:8px}.demo-step-list article>span{display:grid;width:34px;height:34px;place-items:center;color:#fff;font-weight:800;background:#2f7dd1;border-radius:8px}.demo-step-list strong,.demo-table-list strong,.opportunity-card-list strong,.demo-document-preview strong{color:#16202a}.demo-table-list article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:14px;background:#f8fafc;border:1px solid #e5ebf1;border-radius:8px}.demo-table-list p{grid-column:1 / -1}.demo-status-pill{min-height:26px;padding:0 10px;font-size:12px}.demo-status-pill.is-ok{color:#167a50;background:#e8f7ef}.demo-status-pill.is-warn{color:#916400;background:#fff5db}.demo-status-pill.is-danger{color:#a43434;background:#fdeaea}.demo-document-preview{display:grid;gap:10px;margin:18px 0}.demo-document-preview span,.demo-timeline span{min-width:0;padding:12px 14px;color:#637183;background:#f8fafc;border:1px solid #e5ebf1;border-radius:8px;overflow-wrap:anywhere}.opportunity-radar-card{align-content:center;justify-items:center;text-align:center}.opportunity-radar-ring{position:relative;width:124px;height:124px;border:12px solid #d8e9fb;border-top-color:#2f7dd1;border-radius:50%}.opportunity-radar-ring i{position:absolute;inset:28px;display:block;background:#fff;border:1px solid #dbe3ec;border-radius:50%}.opportunity-card-list article{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;background:#f8fafc;border:1px solid #e5ebf1;border-radius:8px}.opportunity-card-list article div{display:grid;gap:5px;min-width:0}.opportunity-card-list article span{color:#637183;font-size:13px}.opportunity-card-list em{display:grid;width:48px;height:48px;place-items:center;color:#fff;font-style:normal;font-weight:900;background:#2f7dd1;border-radius:8px}.demo-signal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:20px}.page-heading p{margin:0 0 6px;color:#637183}.page-heading h1{margin:0;font-size:30px;letter-spacing:0}.heading-actions,.form-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.split{display:grid;grid-template-columns:minmax(320px,.9fr) minmax(360px,1.1fr);gap:18px;margin-top:18px}.split.wide-left{grid-template-columns:minmax(320px,.75fr) minmax(420px,1.25fr)}.panel{background:#fff;border:1px solid #dbe3ec;border-radius:8px;padding:20px}.panel-title{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:18px}.panel-title h2{margin:0;font-size:18px}.panel-title p{margin:6px 0 0;color:#637183;font-size:14px}.section-kicker{display:inline-flex;margin-bottom:6px;color:#5d6b7c;font-size:12px;font-weight:800;letter-spacing:0;text-transform:uppercase}.primary-button,.secondary-button,.icon-button,.file-button{border:0;min-height:40px;border-radius:8px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}.primary-button{background:#2f7dd1;color:#fff}.primary-button:disabled,.secondary-button:disabled{opacity:.55;cursor:not-allowed}.secondary-button,.icon-button.secondary,.file-button{background:#edf3f8;color:#253344}.primary-button.wide{width:100%;margin-top:18px}.upload-row{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:14px}.file-button{position:relative;overflow:hidden}.file-button input{position:absolute;inset:0;opacity:0;cursor:pointer}.meta-grid{display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px 14px;padding:14px;background:#f6f9fc;border-radius:8px;margin-top:12px}.meta-grid span{color:#637183}.meta-grid strong{min-width:0;overflow-wrap:anywhere}.technical-document-page,.technical-document-upload-board{display:grid;gap:16px}.technical-document-page-title h2{margin:0;font-size:22px}.technical-document-page-title p{margin:6px 0 0;color:#637183}.technical-document-upload-stack{display:grid;gap:12px}.technical-document-upload-row{display:grid;grid-template-columns:120px minmax(0,1fr) auto;gap:14px;align-items:center;padding:14px;border:1px solid #e1e8f0;border-radius:8px;background:#fbfdff}.technical-document-upload-label{display:grid;gap:4px}.technical-document-upload-label span{color:#2f7dd1;font-size:12px;font-weight:800}.technical-document-upload-label strong{color:#182333}.technical-document-upload-content .meta-grid{margin:0}.technical-document-empty-upload{display:grid;gap:4px;color:#637183}.technical-document-empty-upload strong{color:#253344}.technical-document-upload-action{position:relative;overflow:hidden;cursor:pointer}.technical-document-upload-action input{position:absolute;inset:0;opacity:0;cursor:pointer}.analysis-section-hint{display:flex;flex-wrap:wrap;gap:6px;padding:10px 12px;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff;color:#1e3a8a}.technical-document-reader-card{border:1px solid #e1e8f0;border-radius:8px;overflow:hidden}.technical-document-reader-head{padding:12px 14px;border-bottom:1px solid #e1e8f0;background:#f8fbfe}.technical-document-reader-card .document-analysis-markdown-preview{min-height:260px;max-height:520px;overflow:auto;border:0;border-radius:0}.section-selection-panel{display:grid;gap:12px;margin-top:14px;padding:14px;border:1px solid #cfe0f1;border-radius:8px;background:#f6f9fc}.section-selection-panel .mini-heading{margin:0}.section-selection-panel p{margin:0;color:#637183;line-height:1.6;overflow-wrap:anywhere}.bid-section-selector-card{display:flex;flex-direction:column;width:min(680px,100%);max-height:calc(100vh - 36px);gap:18px;overflow:hidden;border:1px solid #dbe3ec;border-radius:8px;background:#fff;box-shadow:0 24px 60px #0f203438;padding:22px}.bid-section-selector-head{flex:0 0 auto;display:grid;gap:8px}.bid-section-selector-head h2{margin:0;color:#16202a;font-size:22px}.bid-section-selector-head p,.bid-section-selector-head small{margin:0;color:#637183;line-height:1.7;overflow-wrap:anywhere}.bid-section-selector-head strong{color:#16202a}.bid-section-selector-list{flex:1 1 auto;display:grid;gap:12px;min-height:0;max-height:none;overflow:auto;padding-right:4px}.bid-section-card{width:100%;min-width:0;display:grid;gap:8px;border:1px solid #e2e9f0;border-radius:8px;padding:14px;background:#f8fafc;color:#16202a;text-align:left}.bid-section-card:hover:not(:disabled){border-color:#9fc5ef;background:#f2f8ff}.bid-section-card.is-active{border-color:#2578c7;background:#eef6ff;box-shadow:0 12px 30px #2578c724}.bid-section-card:disabled{cursor:not-allowed;opacity:.72}.bid-section-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.bid-section-card-index{min-width:0;color:#16202a;font-size:15px;font-weight:700;overflow-wrap:anywhere}.bid-section-card-check{flex:0 0 auto;display:inline-flex;width:22px;height:22px;align-items:center;justify-content:center;border-radius:50%;background:#2578c7;color:#fff;font-size:13px;font-weight:800}.bid-section-card-headline,.bid-section-card-description{margin:0;color:#637183;font-size:13px;line-height:1.65;overflow-wrap:anywhere}.bid-section-card-description{color:#778496;display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3}.bid-section-selector-actions{flex:0 0 auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:12px}.section-options{display:grid;gap:8px;max-height:280px;overflow:auto;padding-right:4px}.section-option{width:100%;min-height:74px;border:1px solid #e2e9f0;border-radius:8px;padding:10px 12px;background:#fff;color:#16202a;text-align:left;display:grid;gap:5px}.section-option:hover{border-color:#9fc5ef;background:#f4f8fc}.section-option.is-active{border-color:#2578c7;background:#eef6ff;box-shadow:inset 0 0 0 1px #2578c729}.section-option:disabled{opacity:.58;cursor:not-allowed}.section-option strong,.section-option span,.section-option em{min-width:0;overflow-wrap:anywhere}.section-option span,.section-option em{color:#637183;font-size:13px;line-height:1.5;font-style:normal}.task-bar{margin-top:16px;padding:14px;background:#f8fafc;border-radius:8px}.task-main{display:flex;justify-content:space-between;gap:12px;margin-bottom:10px}.progress-track{height:8px;border-radius:999px;background:#dce6ef;overflow:hidden}.progress-fill{height:100%;background:#3aa981;transition:width .2s ease}.progress-fill.error{background:#c44949}.task-bar p,.message{margin:10px 0 0;color:#637183;line-height:1.5}.result-block{border-top:1px solid #e5ebf1;padding-top:16px;margin-top:16px}.result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.result-block.compact{border:1px solid #e5ebf1;border-radius:8px;margin:0;padding:14px;min-height:160px}.result-block:first-of-type{border-top:0;padding-top:0}.result-block h3{margin:0 0 8px;font-size:15px}.result-block p{margin:0;line-height:1.8;white-space:pre-wrap}.markdown-panel{margin-top:18px}.markdown-panel pre{margin:0;min-height:220px;max-height:440px;overflow:auto;padding:16px;background:#101820;color:#e9f0f6;border-radius:8px;white-space:pre-wrap;line-height:1.6}.markdown-panel .document-analysis-markdown-preview{min-height:220px;max-height:440px}.technical-document-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}.technical-document-tab{border:1px solid #d8e0ea;border-radius:8px;background:#fff;color:#16202a;padding:8px 14px;cursor:pointer}.technical-document-tab.is-active{border-color:#2563eb;background:#eff6ff;color:#1d4ed8}.form-panel{display:grid;gap:16px}.form-panel label{display:grid;gap:8px}.form-panel label span{color:#425267;font-weight:600}.form-panel input{min-height:42px;border:1px solid #ccd7e3;border-radius:8px;padding:0 12px}.step-strip{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}.step-pill{min-height:34px;border-radius:999px;padding:7px 12px;background:#fff;border:1px solid #dbe3ec;color:#5d6b7c;font-size:14px;cursor:pointer;display:inline-flex;align-items:center;gap:8px}.step-pill.active{background:#e8f7ef;border-color:#9bd5bb;color:#167a50;font-weight:700}.step-pill:disabled{cursor:not-allowed;opacity:.55}.step-pill span{color:inherit;font-size:12px;font-weight:800}.technical-step-toolbar{display:flex;justify-content:flex-end;gap:10px;margin:-6px 0 18px}.technical-plan-message{margin:-4px 0 18px}.app-shell-message,.app-shell-notice{margin:12px 28px 0}.reverse-icon{transform:rotate(180deg)}.segmented{display:inline-grid;grid-auto-flow:column;gap:4px;padding:4px;background:#edf3f8;border-radius:8px;margin-bottom:14px}.segmented button{min-height:34px;border:0;border-radius:6px;padding:0 12px;background:transparent;color:#425267}.segmented button.active{background:#fff;color:#1c2d3f;font-weight:700}.task-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:360px;overflow:auto;padding-right:4px}.check-row,.toggle-row{display:flex;align-items:flex-start;gap:10px;padding:10px;border:1px solid #e2e9f0;border-radius:8px;background:#f8fafc}.check-row input,.toggle-row input{margin-top:3px}.check-row span,.check-row em{display:block}.check-row strong{font-size:14px}.check-row em{margin-top:4px;color:#637183;font-size:12px;font-style:normal;line-height:1.45}.bid-analysis-page{display:grid;grid-template-rows:auto minmax(0,1fr);gap:16px;min-height:0;overflow:hidden}.bid-analysis-command-bar{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:18px;border:1px solid #dbe3ec;border-radius:8px;background:#fff}.bid-analysis-command-bar p,.bid-analysis-command-bar h2,.bid-analysis-command-bar span{margin:0}.bid-analysis-command-bar p{color:#637183;font-size:13px;font-weight:800}.bid-analysis-command-bar h2{margin-top:4px;font-size:22px}.bid-analysis-command-bar span{display:block;margin-top:6px;color:#637183;line-height:1.5}.bid-analysis-command-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}.bid-analysis-command-actions button{max-width:100%}.bid-analysis-config-chip{min-height:40px;border:1px solid #c9deef;border-radius:8px;padding:0 12px;background:#f4f9fd;color:#253344;display:inline-flex;align-items:center;gap:8px}.bid-analysis-config-chip span{margin:0;color:#253344;font-weight:800}.bid-analysis-config-chip small{color:#637183}.bid-analysis-config-chip:disabled{opacity:.58;cursor:not-allowed}.bid-analysis-progress-card{border:1px solid #dbe3ec;border-radius:8px;background:#f8fafc;overflow:hidden}.bid-analysis-progress-head{width:100%;min-height:46px;border:0;padding:10px 12px;background:transparent;color:#253344;display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:10px;text-align:left}.bid-analysis-progress-head span,.bid-analysis-progress-head strong,.bid-analysis-progress-head em{min-width:0}.bid-analysis-progress-head strong{color:#16202a}.bid-analysis-progress-head em{color:#637183;font-style:normal;font-weight:800}.bid-analysis-progress-body{display:grid;gap:10px;border-top:1px solid #dbe3ec;padding:12px}.bid-analysis-progress-body p{margin:0;color:#637183;line-height:1.6}.bid-analysis-workspace{display:grid;grid-template-columns:minmax(280px,330px) minmax(0,1fr);gap:0;min-width:0;min-height:0;overflow:hidden;border:1px solid #dbe3ec;border-radius:8px;background:#fff}.bid-analysis-task-pane{display:grid;grid-template-rows:auto auto minmax(0,1fr);min-width:0;border-right:1px solid #e1e8ef;background:#f8fafc;overflow:hidden}.bid-analysis-task-pane>.mini-heading{margin:0;padding:16px}.bid-analysis-progress-summary{border-width:1px 0;border-radius:0}.bid-analysis-task-list{display:grid;align-content:start;gap:14px;min-height:0;max-height:none;overflow:auto;padding:16px}.bid-analysis-task-group{display:grid;gap:8px}.bid-analysis-task-group h3{margin:0;color:#425267;font-size:13px}.bid-analysis-task-item{position:relative;width:100%;min-width:0;border:1px solid transparent;border-radius:16px;padding:13px 70px 13px 14px;background:transparent;color:#253344;text-align:left;display:grid;gap:5px}.bid-analysis-task-item:hover,.bid-analysis-task-item.active,.bid-analysis-task-item.is-active{border-color:#2f7dd12e;background:#fff;box-shadow:0 10px 28px #12203014}.bid-analysis-task-item.is-active:before{position:absolute;top:14px;bottom:14px;left:0;width:4px;content:"";background:#2f7dd1;border-radius:999px}.bid-analysis-task-item strong,.bid-analysis-task-item small,.bid-analysis-task-item em{min-width:0}.bid-analysis-task-item strong{color:#16202a;font-size:14px;overflow-wrap:anywhere}.bid-analysis-task-item small{overflow:hidden;color:#637183;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.bid-analysis-task-item em{position:absolute;top:13px;right:12px;color:#637183;font-size:12px;font-style:normal;font-weight:800;line-height:1.45;overflow-wrap:anywhere}.bid-analysis-task-item.is-running em{color:#2467a8}.bid-analysis-task-item.is-success em{color:#137a43}.bid-analysis-task-item.is-error em{color:#c83220}.bid-analysis-status{width:fit-content;border-radius:999px;padding:4px 8px;background:#eef3f7;color:#5d6b7c;font-size:12px;font-weight:800;line-height:1;white-space:nowrap}.bid-analysis-status.is-running{background:#eaf3ff;color:#2467a8}.bid-analysis-status.is-success{background:#e8f7ef;color:#167a50}.bid-analysis-status.is-error{background:#fff0ee;color:#b53a32}.bid-analysis-reader{min-width:0;display:grid;grid-template-rows:auto minmax(0,1fr);align-content:stretch;gap:14px;min-height:0;overflow:hidden;padding:18px}.bid-analysis-reader-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;border-bottom:1px solid #e1e8ef;padding-bottom:12px}.bid-analysis-reader-head p,.bid-analysis-reader-head h3,.bid-analysis-reader-head span{margin:0}.bid-analysis-reader-head p{color:#637183;font-size:13px;font-weight:800}.bid-analysis-reader-head h3{margin-top:4px;font-size:18px}.bid-analysis-reader-head span{display:block;margin-top:6px;color:#637183;line-height:1.55}.bid-analysis-reader-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;flex-wrap:wrap}.bid-analysis-output{margin:0;min-height:320px;max-height:none;overflow:auto;border-radius:8px;padding:16px;background:#101820;color:#eef5fb;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75}.bid-analysis-output.global-facts-markdown-preview{min-height:320px;max-height:none}.bid-analysis-json-table-wrap{max-height:680px;overflow:auto;border:1px solid #dbe3ec;border-radius:8px}.bid-analysis-json-table{width:100%;border-collapse:collapse;background:#fff}.bid-analysis-json-table th,.bid-analysis-json-table td{border-bottom:1px solid #e7edf3;padding:11px 12px;vertical-align:top;text-align:left;line-height:1.65;overflow-wrap:anywhere;white-space:pre-wrap}.bid-analysis-json-table th{width:180px;background:#f6f9fc;color:#425267;font-weight:800}.bid-analysis-json-table tr:last-child th,.bid-analysis-json-table tr:last-child td{border-bottom:0}.bid-analysis-error{margin:0;border:1px solid #f0b9b3;border-radius:8px;padding:10px 12px;background:#fff5f3;color:#99312a;line-height:1.6;overflow-wrap:anywhere}.bid-analysis-empty{min-height:300px;border:1px dashed #cfd9e4;border-radius:8px;background:#f8fafc;color:#637183;display:grid;place-items:center;align-content:center;gap:8px;padding:24px;text-align:center}.bid-analysis-empty strong{color:#253344}.bid-analysis-empty span{line-height:1.6}.bid-analysis-config-modal{position:fixed;inset:0;z-index:42;display:grid;place-items:center;padding:18px;background:#121d2b75}.bid-analysis-config-card{position:relative;width:min(760px,100%);max-height:calc(100vh - 36px);overflow:hidden;border-radius:26px;border:1px solid #dbe3ec;background:#fff;box-shadow:0 28px 72px #0f20333d;padding:22px;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:14px}.bid-analysis-config-head{display:grid;gap:5px}.bid-analysis-config-head p,.bid-analysis-config-head strong{margin:0}.bid-analysis-config-head strong{color:#16202a;font-size:21px}.bid-analysis-config-body{display:grid;gap:14px;min-height:0;overflow:auto;padding-right:4px}.bid-analysis-config-presets{display:inline-flex;gap:4px;width:fit-content;max-width:100%;padding:5px;border:1px solid rgba(47,125,209,.14);border-radius:999px;background:linear-gradient(135deg,#2f7dd11a,#7c3aed14);box-shadow:0 12px 28px #2f7dd11a}.bid-analysis-config-presets button{min-width:0;border:1px solid transparent;border-radius:999px;padding:8px 12px;background:transparent;color:#637183;text-align:center;display:inline-flex;align-items:center;justify-content:center;gap:8px}.bid-analysis-config-presets button.active,.bid-analysis-config-preset.is-active{color:#fff;background:linear-gradient(135deg,#2f7dd1,#6c56d8);box-shadow:0 10px 24px #2f7dd138}.bid-analysis-config-presets strong,.bid-analysis-config-presets span,.bid-analysis-config-presets small{overflow-wrap:anywhere;font-weight:800}.bid-analysis-config-presets small{font-size:13px;opacity:.82}.bid-analysis-config-section{display:grid;gap:8px;min-height:0}.bid-analysis-section-action{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-height:34px}.bid-analysis-section-label{color:#637183;font-size:13px;font-weight:700}.bid-analysis-section-chip{display:inline-flex;max-width:260px;align-items:center;padding:5px 11px;overflow:hidden;color:#2f7dd1;font-size:13px;font-weight:800;text-overflow:ellipsis;white-space:nowrap;background:linear-gradient(135deg,#2f7dd11f,#7c3aed14);border:1px solid rgba(47,125,209,.2);border-radius:999px}.bid-analysis-section-change{min-height:32px;padding:0 13px}.bid-analysis-config-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 2px}.bid-analysis-config-section-head strong{color:#16202a;font-size:15px}.bid-analysis-config-section-head span{color:#637183;font-size:13px}.bid-analysis-config-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.bid-analysis-config-group{min-width:0;border:1px solid #e1e8ef;border-radius:8px;padding:12px;background:#fff;display:grid;gap:8px;align-content:start}.bid-analysis-config-group h3{margin:0;color:#425267;font-size:14px}.bid-analysis-config-item{position:relative;min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;min-height:48px;border:1px solid #e1e8ef;border-radius:14px;padding:10px 12px;background:#f8fafddb;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,opacity .16s ease}.bid-analysis-config-item:hover:not(.is-required){border-color:#2f7dd138;background:#fff}.bid-analysis-config-item.required,.bid-analysis-config-item.is-selected{border-color:#2f7dd14d;background:linear-gradient(135deg,#2f7dd11a,#7c3aed14);box-shadow:0 10px 26px #2f7dd11a}.bid-analysis-config-item.is-required{cursor:default}.bid-analysis-config-item input{width:18px;height:18px;margin:0;accent-color:#2f7dd1}.bid-analysis-config-item span,.bid-analysis-config-item strong,.bid-analysis-config-item em{min-width:0;display:block;overflow-wrap:anywhere}.bid-analysis-config-item strong{display:block;overflow:hidden;color:#16202a;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.bid-analysis-config-item em{margin:0;padding:3px 7px;color:#2f7dd1;font-size:12px;font-style:normal;font-weight:800;line-height:1;background:#2f7dd11a;border-radius:999px}.bid-analysis-config-actions{justify-content:flex-end;flex-wrap:wrap}.outline-generation-page{display:grid;grid-template-rows:auto minmax(0,1fr);gap:16px;min-height:0;overflow:hidden}.outline-command-bar,.outline-generation-workspace{border:1px solid #e1e8f0;border-radius:8px;background:#fff;overflow:hidden}.outline-command-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;padding:18px}.outline-command-bar strong{display:block;color:#16202a;font-size:20px}.outline-command-bar p{margin:6px 0 0;color:#637183;line-height:1.6}.outline-command-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.outline-config-action{width:40px;min-height:40px;border:1px solid #d8e0ea;border-radius:8px;background:#fff;color:#253344;display:inline-flex;align-items:center;justify-content:center}.outline-generation-workspace{display:grid;grid-template-columns:minmax(240px,300px) minmax(360px,1fr) minmax(260px,.8fr);gap:0;align-items:stretch;min-height:0}.outline-progress-panel,.outline-tree-panel,.outline-detail-panel{min-width:0;min-height:0;overflow:hidden}.outline-progress-panel,.outline-tree-panel{border-right:1px solid #e1e8ef}.outline-progress-panel .outline-generation-progress{margin:14px}.outline-tree-panel>.outline-tree,.outline-tree-panel>.outline-empty-state,.outline-detail-body,.outline-detail-panel>.outline-empty-state{margin:14px}.outline-tree-head{align-items:flex-start;gap:12px}.outline-detail-body{display:grid;gap:12px}.outline-generation-config-card{width:min(1080px,calc(100vw - 32px))}.outline-generation-config-body{display:grid;gap:16px;max-height:min(66vh,680px);overflow:auto;padding:0 2px 2px}.outline-tree,.outline-node{display:grid;gap:8px}.outline-node-row{display:grid;grid-template-columns:30px minmax(0,1fr);gap:8px;align-items:start}.outline-node .outline-tree{margin-left:38px;padding-left:12px;border-left:2px solid #e5ebf1}.outline-node-toggle,.outline-node-toggle-spacer{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center}.outline-node-toggle{border:1px solid #dbe3ec;border-radius:8px;background:#fff;color:#425267}.outline-node-select{width:100%;border:1px solid #e5ebf1;border-radius:8px;background:#f8fafc;padding:10px 12px;text-align:left}.outline-node-select.active{border-color:#7db5ee;background:#edf6ff}.outline-node strong,.outline-node span{display:block}.outline-node span{margin-top:5px;color:#637183;line-height:1.5}.outline-tree-list.is-sorting{-webkit-user-select:none;user-select:none}.outline-tree-node{margin-left:calc(var(--outline-level, 0) * 18px)}.outline-tree-item{position:relative}.outline-tree-item.is-sorting{grid-template-columns:24px 34px minmax(0,1fr)}.outline-tree-drag-handle{width:24px;height:34px;display:inline-flex;align-items:center;justify-content:center;color:#7a8798;font-weight:900;letter-spacing:-.18em}.outline-tree-item.is-active .outline-tree-content,.outline-tree-content.active{border-color:#7db5ee;background:#edf6ff}.outline-tree-toggle{width:34px;height:34px;border-radius:12px;color:#2f7dd1;background:#2f7dd11a;border-color:#2f7dd124;transition:transform .16s ease,background .16s ease}.outline-tree-toggle.is-expanded{transform:rotate(90deg)}.outline-tree-toggle.is-leaf{color:#9aa6b8;background:#9aa6b81a;border-color:transparent}.outline-tree-toggle:disabled{cursor:default}.outline-tree-content{display:grid;min-width:0;gap:4px;padding:9px 12px}.outline-tree-content small{min-width:0;overflow:hidden;color:#637183;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.outline-tree-tools{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.outline-detail-card{display:grid;gap:12px;margin-top:16px;border:1px solid #e2e9f0;border-radius:8px;padding:14px;background:#fff}.outline-detail-copy{display:grid;gap:6px}.outline-detail-copy strong{color:#16202a;font-size:16px;line-height:1.4}.outline-detail-copy p{margin:0;color:#637183;line-height:1.6;overflow-wrap:anywhere}.outline-edit-form{display:grid;gap:10px}.outline-edit-form label,.outline-edit-form span{display:grid;gap:6px}.outline-edit-form span{color:#425267;font-size:13px;font-weight:700}.outline-edit-form input,.outline-edit-form textarea{width:100%;min-width:0;border:1px solid #ccd7e3;border-radius:8px;padding:10px 12px;background:#fff;color:#16202a}.outline-edit-form textarea{min-height:96px;resize:vertical}.danger-inline{border-color:#f2c8c2;color:#b24536}.fact-list,.chapter-list{display:grid;gap:14px}.fact-list label{display:grid;gap:8px}.fact-stats{margin:0 0 12px;color:#627186;font-size:13px}.fact-list span,.option-grid span{color:#425267;font-weight:700}.fact-title-input{width:100%;min-height:40px;border:1px solid #ccd7e3;border-radius:8px;padding:0 10px;color:#16202a;background:#fff}.fact-list textarea,.chapter-editor textarea{width:100%;min-height:110px;resize:vertical;border:1px solid #ccd7e3;border-radius:8px;padding:10px 12px;line-height:1.65}.global-facts-page{display:grid;grid-template-rows:auto minmax(0,1fr);gap:16px;min-height:0;overflow:hidden}.global-facts-command-bar{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:16px;align-items:start;padding:18px;border:1px solid #dbe3ec;border-radius:8px;background:#fff}.global-facts-command-bar p,.global-facts-command-bar h2,.global-facts-command-bar span{margin:0}.global-facts-command-bar p{color:#637183;font-size:13px;font-weight:800}.global-facts-command-bar h2{margin-top:4px;font-size:22px}.global-facts-command-bar span{display:block;margin-top:6px;color:#637183;line-height:1.55}.global-facts-stats{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.global-facts-stats span{min-height:40px;border:1px solid #dbe3ec;border-radius:8px;padding:8px 10px;background:#f8fafc;color:#637183;display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.global-facts-stats strong{color:#16202a}.global-facts-progress{border:1px solid #dbe3ec;border-radius:8px;background:#f8fafc;overflow:hidden}.global-facts-progress-head{width:100%;min-height:46px;border:0;padding:10px 12px;background:transparent;color:#253344;display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:10px;text-align:left}.global-facts-progress-head strong{color:#16202a}.global-facts-status{border-radius:999px;padding:4px 8px;background:#eef3f7;color:#5d6b7c;font-size:12px;font-style:normal;font-weight:800;line-height:1;white-space:nowrap}.global-facts-status.is-running{background:#eaf3ff;color:#2467a8}.global-facts-status.is-success{background:#e8f7ef;color:#167a50}.global-facts-status.is-error{background:#fff0ee;color:#b53a32}.global-facts-progress-body{display:grid;gap:10px;border-top:1px solid #dbe3ec;padding:12px}.global-facts-progress-body p,.global-facts-progress-body small{margin:0;color:#637183;line-height:1.6}.global-facts-workspace{display:grid;grid-template-columns:minmax(240px,var(--global-facts-list-width, 340px)) 8px minmax(0,1fr);gap:0;min-width:0;min-height:0;overflow:hidden;border:1px solid #dbe3ec;border-radius:8px;background:#fff}.global-facts-list-pane{min-width:0;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;align-content:stretch;gap:12px;border-right:0;padding:16px;overflow:hidden;background:#f8fafc}.global-facts-panel-actions{display:flex;justify-content:stretch}.global-facts-panel-actions>button{width:100%}.secondary-button.wide{width:100%}.global-facts-list{display:grid;align-content:start;gap:8px;min-height:0;max-height:none;overflow:auto}.global-facts-item{width:100%;min-width:0;border:1px solid #e1e8ef;border-radius:8px;padding:10px;background:#fff;color:#253344;text-align:left;display:grid;gap:6px}.global-facts-item:hover,.global-facts-item.is-active{border-color:#7db5ee;background:#f2f8ff}.global-facts-item strong,.global-facts-item small{min-width:0;overflow-wrap:anywhere}.global-facts-item small{color:#637183;font-size:12px;line-height:1.45}.global-facts-empty-list,.global-facts-empty{border:1px dashed #cfd9e4;border-radius:8px;background:#f8fafc;color:#637183;padding:18px;display:grid;gap:8px}.global-facts-empty-list strong,.global-facts-empty strong{color:#253344}.global-facts-empty-list p,.global-facts-empty p{margin:0;line-height:1.6}.global-facts-reader{min-width:0;display:grid;grid-template-rows:auto minmax(0,1fr);align-content:stretch;gap:14px;min-height:0;overflow:hidden;padding:18px}.global-facts-reader-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;border-bottom:1px solid #e1e8ef;padding-bottom:12px}.global-facts-reader-head p,.global-facts-reader-head h3,.global-facts-reader-head span{margin:0}.global-facts-reader-head p{color:#637183;font-size:13px;font-weight:800}.global-facts-reader-head h3{margin-top:4px;font-size:18px;overflow-wrap:anywhere}.global-facts-reader-head span{display:block;margin-top:6px;color:#637183;line-height:1.55}.global-facts-reader-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;flex-wrap:wrap}.global-facts-editor-grid{display:grid;grid-template-columns:minmax(300px,var(--global-facts-editor-width, 55%)) 8px minmax(260px,1fr);gap:0;min-width:0;min-height:0;overflow:hidden}.global-facts-edit-pane{display:grid;gap:12px;min-width:0;min-height:0}.global-facts-edit-pane label,.global-facts-edit-pane span{display:grid;gap:6px}.global-facts-edit-pane span{color:#425267;font-size:13px;font-weight:800}.global-facts-edit-pane input,.global-facts-edit-pane textarea{width:100%;min-width:0;border:1px solid #ccd7e3;border-radius:8px;background:#fff;color:#16202a}.global-facts-edit-pane input{min-height:40px;padding:0 10px}.global-facts-edit-pane textarea{min-height:300px;max-height:100%;resize:vertical;padding:10px 12px;line-height:1.65}.global-facts-preview-pane{min-width:0;min-height:0;overflow:auto;border:1px solid #e1e8ef;border-radius:8px;padding:12px;background:#f8fafc}.global-facts-preview-pane .mini-heading{margin-top:0}.global-facts-markdown-preview{margin:0;min-height:250px;max-height:520px;overflow:auto;border-radius:8px;padding:12px;background:#fff;color:#253344;overflow-wrap:anywhere;line-height:1.7}.global-facts-markdown-preview>*:first-child{margin-top:0}.global-facts-markdown-preview>*:last-child{margin-bottom:0}.global-facts-markdown-preview h1,.global-facts-markdown-preview h2,.global-facts-markdown-preview h3,.global-facts-markdown-preview h4,.global-facts-markdown-preview h5,.global-facts-markdown-preview h6{margin:14px 0 8px;color:#16202a;line-height:1.35}.global-facts-markdown-preview p,.global-facts-markdown-preview ul,.global-facts-markdown-preview ol,.global-facts-markdown-preview blockquote,.global-facts-markdown-preview table{margin:0 0 12px}.global-facts-markdown-preview ul,.global-facts-markdown-preview ol{padding-left:22px}.global-facts-markdown-preview blockquote{padding:8px 12px;border-left:3px solid #9bb7d3;background:#f1f6fb}.global-facts-markdown-preview table{width:100%;border-collapse:collapse;font-size:13px}.global-facts-markdown-preview th,.global-facts-markdown-preview td{border:1px solid #dbe3ec;padding:8px;text-align:left;vertical-align:top}.global-facts-markdown-preview th{background:#edf3f8;color:#253344}.global-facts-markdown-preview pre{margin:0 0 12px;overflow:auto;border-radius:8px;padding:12px;background:#101820;color:#e9f0f6;white-space:pre-wrap}.global-facts-markdown-preview code{font-family:Cascadia Code,Consolas,monospace;font-size:13px}.global-facts-markdown-preview figure{margin:0 0 12px}.markdown-image-button{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in}.global-facts-markdown-preview img{max-width:100%;height:auto;border-radius:6px;border:1px solid #dbe3ec}.markdown-mermaid-figure img{display:block;margin:0 auto;background:#fff}.global-facts-markdown-preview figcaption{margin-top:6px;color:#637183;font-size:12px;text-align:center}.image-preview-modal{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:24px;background:#0a121eb8}.image-preview-card{position:relative;display:grid;gap:14px;width:min(960px,calc(100vw - 48px));max-height:calc(100vh - 48px);overflow:auto;padding:22px;border-radius:8px;background:#fff;box-shadow:0 28px 70px #00000047}.image-preview-card h2{margin:0;padding-right:42px;color:#16202a;font-size:18px}.image-preview-card img{max-width:100%;height:auto;justify-self:center;border-radius:6px;border:1px solid #dbe3ec}.image-preview-close{position:absolute;top:16px;right:16px;display:inline-grid;width:34px;height:34px;place-items:center;border:1px solid #dbe3ec;border-radius:999px;background:#fff;color:#253344;cursor:pointer}.option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:14px}.option-grid label:not(.toggle-row){display:grid;gap:8px}.option-grid input,.option-grid select{min-height:40px;border:1px solid #ccd7e3;border-radius:8px;padding:0 10px;background:#fff}.selected-node{margin-top:14px;padding:12px;background:#f6f9fc;border-radius:8px;display:grid;gap:6px}.selected-node span{color:#637183;line-height:1.5}.mini-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:12px 0 8px}.mini-heading span{color:#637183;font-size:13px}.knowledge-picker{margin-top:4px}.knowledge-checks{display:grid;gap:8px;max-height:220px;overflow:auto}.outline-knowledge-picker{display:grid;gap:10px}.outline-knowledge-mode-note{margin:0;padding:8px 10px;border:1px solid #ead58f;border-radius:8px;background:#fff8df;color:#6f5514;line-height:1.5}.outline-expansion-mode-section{display:grid;gap:10px;margin-bottom:14px}.outline-expansion-mode-switch{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.outline-expansion-mode-switch button{min-height:92px;border:1px solid #d8e2ef;border-radius:8px;background:#f8fbff;padding:12px;color:#263445;text-align:left;cursor:pointer}.outline-expansion-mode-switch button.is-active{border-color:#2f78d6;background:#eef5ff}.outline-expansion-mode-switch strong,.outline-expansion-mode-switch span{display:block}.outline-expansion-mode-switch strong{margin-bottom:6px;font-size:14px}.outline-expansion-mode-switch span{color:#637083;font-size:12px;line-height:1.5}.outline-generation-progress{display:grid;gap:10px;margin-top:14px;padding:12px;border:1px solid #d8e2ef;border-radius:8px;background:#f8fbff}.outline-generation-progress.is-error{border-color:#f2b7b7;background:#fff7f7}.outline-generation-progress-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.outline-generation-progress-head div{display:grid;gap:3px}.outline-generation-progress-head span,.outline-generation-progress p,.outline-generation-progress small,.outline-generation-progress-log p{margin:0;color:#637083;font-size:12px;line-height:1.5}.outline-generation-progress-head strong{color:#243048;font-size:15px}.outline-generation-progress-head em{color:#2f78d6;font-style:normal;font-weight:700}.outline-generation-progress small{color:#b42318}.outline-generation-progress-log{display:grid;gap:6px;max-height:120px;overflow:auto;padding-top:4px;border-top:1px dashed #d8e2ef}.outline-generation-progress-log p.is-latest{color:#243048;font-weight:600}.outline-knowledge-compact{display:grid;gap:10px;min-width:0}.outline-knowledge-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}.outline-knowledge-search{min-width:0;min-height:38px;border:1px solid #ccd7e3;border-radius:8px;padding:0 10px;background:#fff}.outline-knowledge-search-row span,.outline-knowledge-pane-head span,.outline-knowledge-folder-head small,.outline-knowledge-document small{color:#637183;font-size:13px}.outline-knowledge-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,.42fr);gap:12px;align-items:start;min-width:0}.outline-knowledge-browser,.outline-knowledge-selected-pane{min-width:0;border:1px solid #dfe7ef;border-radius:8px;background:#fbfdff;overflow:hidden}.outline-knowledge-pane-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid #e7edf4}.outline-knowledge-pane-head button,.outline-knowledge-folder-actions button,.outline-knowledge-selected-item button{min-height:30px;border:1px solid #cbd8e5;border-radius:7px;background:#fff;color:#1f344d;cursor:pointer}.outline-knowledge-pane-head button,.outline-knowledge-selected-item button{display:inline-flex;align-items:center;gap:4px;padding:0 8px}.outline-knowledge-folder-list,.outline-knowledge-selected-list{display:grid;gap:8px;max-height:260px;overflow:auto;padding:10px}.outline-knowledge-folder{min-width:0;border:1px solid #e2e9f0;border-radius:8px;background:#fff}.outline-knowledge-folder-head{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center;padding:8px}.outline-knowledge-folder-head>button{min-width:0;border:0;background:transparent;color:#1b2d42;display:inline-flex;align-items:center;gap:6px;padding:4px 0;cursor:pointer;text-align:left}.outline-knowledge-folder-head strong,.outline-knowledge-document strong,.outline-knowledge-selected-item strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.outline-knowledge-folder-actions{display:flex;gap:6px;justify-content:flex-end}.outline-knowledge-folder-actions button{padding:0 8px}.outline-knowledge-document-list{display:grid;gap:6px;padding:0 8px 8px}.outline-knowledge-document{display:grid;grid-template-columns:18px minmax(0,1fr) auto;gap:8px;align-items:center;min-width:0;padding:8px;border-radius:7px;background:#f6f9fc}.outline-knowledge-document.is-selected{background:#eaf3ff;color:#143f70}.outline-knowledge-selected-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;min-width:0;padding:8px;border-radius:7px;background:#f6f9fc}.outline-knowledge-empty{color:#637183;line-height:1.7;padding:10px}.outline-knowledge-empty.compact{padding:8px}.outline-knowledge-picker button:disabled,.outline-knowledge-picker input:disabled{cursor:not-allowed;opacity:.58}.knowledge-layout{display:grid;grid-template-columns:minmax(280px,.35fr) minmax(480px,1fr);gap:18px}.knowledge-sidebar,.knowledge-main{min-width:0}.inline-form{display:flex;gap:8px;margin-bottom:14px}.inline-form input,.batch-size input,.move-select select{min-height:38px;border:1px solid #ccd7e3;border-radius:8px;padding:0 10px;background:#fff;min-width:0}.folder-list,.document-list,.knowledge-items{display:grid;gap:10px}.folder-row{border:1px solid #e2e9f0;border-radius:8px;background:#f8fafc;padding:10px;display:grid;gap:8px}.folder-row.active{border-color:#9bd5bb;background:#f0fbf5}.folder-row>button{border:0;padding:0;background:transparent;display:grid;gap:4px;text-align:left}.folder-row span{color:#637183;font-size:13px}.folder-rename{margin-bottom:0}.row-actions,.document-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.row-actions .icon-button{min-height:32px;min-width:32px;padding:0}.document-row{border:1px solid #e2e9f0;border-radius:8px;padding:14px;background:#f8fafc;display:grid;gap:10px}.document-summary{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.document-summary strong,.document-summary span{display:block}.document-summary strong{overflow-wrap:anywhere}.document-summary span,.document-summary em{color:#637183;font-size:13px;line-height:1.5;font-style:normal}.status-chip{min-height:34px;display:inline-flex;align-items:center;padding:0 10px;border-radius:999px;background:#edf3f8;color:#425267;font-size:13px}.status-chip.ok{background:#e8f7ef;color:#167a50}.status-chip.error{background:#fdecec;color:#b42318}.batch-size,.move-select{display:inline-flex;align-items:center;gap:8px;color:#637183}.batch-size input{width:74px}.move-select{min-height:40px;padding:0 10px;background:#edf3f8;border-radius:8px}.move-select select{min-height:30px;border:0;padding:0;background:transparent;color:#253344}.knowledge-viewer{margin-top:18px}.viewer-pre,.knowledge-items pre{margin:0;max-height:520px;overflow:auto;padding:16px;background:#101820;color:#e9f0f6;border-radius:8px;white-space:pre-wrap;line-height:1.6}.knowledge-items{grid-template-columns:repeat(2,minmax(0,1fr))}.knowledge-items .result-block{display:grid;gap:10px}.knowledge-items pre{max-height:220px;font-size:13px}.analysis-grid{display:grid;gap:16px}.knowledge-page{display:grid;gap:14px;align-content:start}.knowledge-workspace-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;background:#fff;border:1px solid #dbe3ec;border-radius:8px;box-shadow:0 8px 22px #1220300f}.knowledge-breadcrumb{min-width:0;display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.knowledge-breadcrumb span,.knowledge-breadcrumb small{color:#637183;font-size:13px}.knowledge-breadcrumb strong{min-width:0;max-width:min(620px,52vw);overflow:hidden;color:#16202a;font-size:18px;text-overflow:ellipsis;white-space:nowrap}.knowledge-toolbar-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.knowledge-toolbar-actions .secondary-button.active{background:#2f7dd1;color:#fff}.knowledge-upload-button{min-width:122px}.knowledge-create-folder-bar{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#fff;border:1px solid #dbe3ec;border-radius:8px;box-shadow:0 8px 22px #1220300f}.knowledge-create-folder-bar input{flex:1;min-width:160px;height:40px;padding:0 12px;color:#253344;background:#fff;border:1px solid #ccd7e3;border-radius:8px;outline:none}.knowledge-create-folder-bar input:focus{border-color:#7db5ee;box-shadow:0 0 0 3px #2f7dd11f}.knowledge-search-bar{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:10px 12px;background:#fff;border:1px solid #dbe3ec;border-radius:8px;box-shadow:0 8px 22px #1220300f}.knowledge-search-bar input{min-width:0;height:40px;padding:0 12px;color:#253344;background:#fff;border:1px solid #ccd7e3;border-radius:8px;outline:none}.knowledge-search-bar input:focus{border-color:#7db5ee;box-shadow:0 0 0 3px #2f7dd11f}.knowledge-layout{display:grid;grid-template-columns:264px minmax(0,1fr);gap:14px;min-height:560px}.knowledge-folder-panel,.knowledge-document-panel,.knowledge-qa-panel,.knowledge-viewer-panel{min-width:0;display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;background:#fff;border:1px solid #dbe3ec;border-radius:8px;box-shadow:0 8px 22px #1220300f}.knowledge-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:12px 14px;border-bottom:1px solid #e5ebf1}.knowledge-panel-head strong{min-width:0;overflow:hidden;color:#16202a;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.knowledge-panel-head span{color:#637183;font-size:13px;white-space:nowrap}.knowledge-panel-head.compact{padding:10px 12px}.knowledge-folder-list,.knowledge-document-list,.knowledge-item-list{display:grid;align-content:start;gap:10px;min-height:0;overflow:auto;padding:12px}.knowledge-folder-card,.knowledge-document-card,.knowledge-item-card,.knowledge-empty-box{position:relative;display:grid;gap:12px;min-width:0;padding:14px;background:#f8fafc;border:1px solid #e2e9f0;border-radius:8px}.knowledge-folder-card{padding:12px}.knowledge-folder-card.is-active{background:#f0fbf5;border-color:#9bd5bb}.knowledge-folder-card.is-dragging,.knowledge-document-card.is-dragging{opacity:.55}.knowledge-folder-card.is-drop-target{background:#edf6ff;border-color:#7db5ee;box-shadow:0 10px 24px #2f7dd124}.knowledge-folder-row,.knowledge-document-title-main{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;min-width:0}.knowledge-drag-handle{display:inline-grid;place-items:center;width:24px;height:32px;color:#637183;font-size:16px;font-weight:800;line-height:1;background:#edf3f8;border:1px solid #dbe3ec;border-radius:8px;cursor:grab;-webkit-user-select:none;user-select:none}.knowledge-drag-handle:hover{color:#2f7dd1;background:#e6f1fc;border-color:#b9d7f2}.knowledge-drag-handle[draggable=false]{cursor:not-allowed;opacity:.45}.knowledge-folder-main{width:100%;min-width:0;display:grid;grid-template-columns:34px minmax(0,1fr);gap:3px 10px;padding:0;text-align:left;background:transparent;border:0}.knowledge-folder-main>span{display:grid;grid-row:span 2;place-items:center;width:34px;height:34px;color:#2f7dd1;font-weight:800;background:#e6f1fc;border-radius:8px}.knowledge-folder-main strong,.knowledge-document-name strong,.knowledge-item-card strong{min-width:0;overflow-wrap:anywhere;color:#16202a}.knowledge-document-name small{min-width:0;overflow-wrap:anywhere;color:#637183;font-size:12px}.knowledge-folder-main small,.knowledge-document-meta,.knowledge-empty-box p,.knowledge-item-card p,.knowledge-item-meta{color:#637183;font-size:13px;line-height:1.6}.knowledge-folder-actions,.knowledge-document-actions,.knowledge-document-title,.knowledge-document-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.knowledge-document-title{justify-content:space-between}.knowledge-document-meta{justify-content:flex-start}.knowledge-folder-actions{justify-content:flex-end}.knowledge-folder-actions button,.knowledge-document-actions button,.knowledge-item-source-action{min-height:34px;padding:0 10px;border:1px solid #dbe3ec;border-radius:8px;background:#fff;color:#253344;font-size:13px;font-weight:700;display:inline-flex;align-items:center;gap:6px}.knowledge-folder-actions button.is-danger,.knowledge-document-actions button.is-danger{color:#b42318;background:#fff4f4;border-color:#ffd2d2}.knowledge-document-actions button.is-retry{color:#916400;background:#fff8e8;border-color:#f6d58b}.knowledge-folder-actions button:disabled,.knowledge-document-actions button:disabled,.knowledge-item-source-action:disabled{cursor:not-allowed;opacity:.55}.knowledge-document-card.is-drop-before:before,.knowledge-document-card.is-drop-after:after{position:absolute;right:12px;left:12px;height:3px;content:"";background:#2f7dd1;border-radius:999px;box-shadow:0 0 0 4px #2f7dd11f}.knowledge-document-card.is-drop-before:before{top:-3px}.knowledge-document-card.is-drop-after:after{bottom:-3px}.knowledge-document-name{display:grid;gap:4px;min-width:0}.knowledge-entity-id{width:fit-content;max-width:100%;overflow-wrap:anywhere;color:#475569;font-size:12px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;background:#0f172a0d;border:1px solid rgba(148,163,184,.22);border-radius:8px;padding:3px 7px}.knowledge-status{padding:4px 10px;border-radius:999px;background:#edf3f8;color:#637183;font-size:12px;font-weight:800;white-space:nowrap}.knowledge-status.is-success{color:#167a50;background:#e8f7ef}.knowledge-status.is-error{color:#b42318;background:#fdecec}.knowledge-status.is-analyzing,.knowledge-status.is-converting,.knowledge-status.is-copying,.knowledge-status.is-extracting,.knowledge-status.is-matching,.knowledge-status.is-recovering,.knowledge-status.is-ready_for_matching,.knowledge-status.is-saving{color:#2f7dd1;background:#e6f1fc}.knowledge-progress-track{height:8px;overflow:hidden;background:#e9f1f8;border-radius:999px}.knowledge-progress-track span{display:block;height:100%;background:linear-gradient(90deg,#2f7dd1,#3aa981);border-radius:inherit;transition:width .2s ease}.knowledge-search-results{display:grid;gap:8px;padding:10px 12px;border-bottom:1px solid #e5ebf1}.knowledge-search-result,.knowledge-source-list button{display:grid;gap:4px;width:100%;min-width:0;padding:10px;text-align:left;background:#f8fafc;border:1px solid #e2e9f0;border-radius:8px}.knowledge-search-result strong,.knowledge-source-list strong{min-width:0;overflow-wrap:anywhere;color:#16202a}.knowledge-search-result small,.knowledge-source-list small,.knowledge-search-result span,.knowledge-source-list span{min-width:0;overflow-wrap:anywhere;color:#637183;font-size:12px;line-height:1.55}.knowledge-search-result mark{padding:0 2px;color:#7a4b00;background:#fff2ba;border-radius:3px}.knowledge-qa-panel{grid-template-rows:auto auto auto auto auto minmax(0,1fr)}.knowledge-qa-selected,.knowledge-qa-actions,.knowledge-qa-answer{padding:12px;border-bottom:1px solid #e5ebf1}.knowledge-qa-selected{display:flex;flex-wrap:wrap;gap:8px;align-content:start}.knowledge-qa-chip{display:inline-flex;align-items:center;max-width:100%;gap:6px;padding:5px 8px;color:#253344;font-size:12px;font-weight:700;background:#edf6ff;border:1px solid #c9e0f5;border-radius:999px}.knowledge-qa-chip button{display:inline-grid;place-items:center;width:18px;height:18px;padding:0;color:#475569;background:#fff;border:1px solid #dbe3ec;border-radius:999px}.knowledge-qa-actions{display:flex;flex-wrap:wrap;gap:8px}.knowledge-qa-panel textarea{min-height:122px;margin:12px;padding:10px 12px;resize:vertical;color:#253344;line-height:1.65;background:#fff;border:1px solid #ccd7e3;border-radius:8px;outline:none}.knowledge-qa-panel textarea:focus{border-color:#7db5ee;box-shadow:0 0 0 3px #2f7dd11f}.knowledge-qa-answer{min-height:0;overflow:auto;border-bottom:0}.knowledge-qa-answer-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.knowledge-qa-answer-head span{color:#637183;font-size:12px}.knowledge-qa-note{margin:0 0 8px;color:#8a5b12;font-size:12px}.knowledge-qa-answer-content{max-height:none;background:#f8fafc;border-color:#e2e9f0}.knowledge-source-list{display:grid;gap:8px;margin-top:10px}.knowledge-empty-box.large{min-height:220px;place-content:center;text-align:center}.knowledge-viewer-page{min-width:0;display:grid;gap:14px}.knowledge-viewer-bar .knowledge-breadcrumb strong{max-width:min(680px,50vw)}.knowledge-viewer-panel{min-height:620px}.knowledge-viewer-item-list{grid-template-columns:repeat(2,minmax(0,1fr))}.knowledge-item-meta{display:flex;flex-wrap:wrap;gap:8px}.knowledge-item-meta span{padding:4px 8px;background:#edf3f8;border-radius:999px}.knowledge-item-source-action{width:fit-content;color:#2f7dd1;background:#edf6ff;border-color:#c9e0f5}.knowledge-markdown-preview{margin:12px;max-height:584px}.knowledge-source-content{margin:0;min-height:0;max-height:min(70vh,720px);border-radius:0;background:#fff;color:#253344;overflow:auto}.knowledge-viewer-markdown{min-height:0;overflow:auto}.knowledge-source-modal{position:fixed;inset:0;z-index:60;background:#121d2b7a;display:grid;place-items:center;padding:18px}.knowledge-source-dialog-card,.knowledge-migration-card{width:min(1040px,100%);max-height:calc(100vh - 36px);overflow:hidden;background:#fff;border:1px solid #dbe3ec;border-radius:8px;box-shadow:0 24px 60px #0f20343d}.knowledge-source-viewer,.knowledge-assets-dialog,.knowledge-graph-dialog{height:min(820px,calc(100vh - 36px));display:grid;grid-template-rows:auto minmax(0,1fr)}.knowledge-assets-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-height:0;overflow:auto;padding:14px}.knowledge-asset-card{display:grid;grid-template-columns:120px minmax(0,1fr);gap:12px;min-width:0;padding:12px;background:#f8fafc;border:1px solid #e2e9f0;border-radius:8px}.knowledge-asset-preview{display:grid;place-items:center;min-height:96px;background:#fff;border:1px solid #dbe3ec;border-radius:8px;overflow:hidden}.knowledge-asset-preview img{max-width:100%;max-height:120px;object-fit:contain}.knowledge-asset-preview span{color:#2f7dd1;font-size:26px;font-weight:800}.knowledge-asset-card strong,.knowledge-asset-card p,.knowledge-asset-card small{min-width:0;overflow-wrap:anywhere}.knowledge-asset-card p,.knowledge-asset-card small{color:#637183;font-size:12px;line-height:1.55}.knowledge-graph-body{display:grid;grid-template-columns:minmax(0,1fr) 260px;min-height:0}.knowledge-graph-stage{position:relative;min-width:0;min-height:0;overflow:hidden;background:#f8fafb}.knowledge-graph-tools{position:absolute;top:12px;right:12px;z-index:2;display:flex;gap:6px}.knowledge-graph-svg{width:100%;height:100%;min-height:520px;background:#f8fafc;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.knowledge-graph-svg:active{cursor:grabbing}.knowledge-graph-edge{stroke:#aab6c2;stroke-width:1.2;vector-effect:non-scaling-stroke;opacity:.62}.knowledge-graph-edge.is-mentions{stroke:#d37a35;opacity:.56}.knowledge-graph-edge.is-selected{stroke:#2f7dd1;opacity:.95}.knowledge-graph-node{cursor:pointer}.knowledge-graph-node circle{fill:#3867b7;stroke:#fff;stroke-width:2}.knowledge-graph-node.is-document circle{fill:#0f766e}.knowledge-graph-node.is-item circle{fill:#7c3aed}.knowledge-graph-node.is-concept circle{fill:#a96713}.knowledge-graph-node.is-selected circle{stroke:#111827;stroke-width:2.5}.knowledge-graph-node text{fill:#253344;font-size:12px;pointer-events:none;paint-order:stroke;stroke:#f8fafc;stroke-width:3px;stroke-linejoin:round}.knowledge-graph-detail{display:grid;align-content:start;gap:10px;min-width:0;padding:14px;border-left:1px solid #e5ebf1;overflow:auto}.knowledge-graph-detail strong,.knowledge-graph-detail p{min-width:0;overflow-wrap:anywhere}.knowledge-graph-detail span{width:fit-content;padding:4px 8px;color:#2f7dd1;font-size:12px;font-weight:800;background:#edf6ff;border-radius:999px}.knowledge-source-head,.knowledge-migration-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:16px;border-bottom:1px solid #e5ebf1}.knowledge-source-head>div,.knowledge-migration-head{min-width:0}.knowledge-source-head span,.knowledge-source-head p,.knowledge-migration-head p{margin:0;color:#637183;font-size:13px;line-height:1.6}.knowledge-source-head h2,.knowledge-migration-head h2{margin:2px 0;color:#16202a;font-size:18px;overflow-wrap:anywhere}.knowledge-analysis-view{min-height:0;display:flex;flex-direction:column;overflow:hidden}.knowledge-analysis-command{display:grid;grid-template-columns:minmax(0,1fr) 140px auto auto;align-items:center;gap:12px;padding:16px;border-bottom:1px solid #e5ebf1}.knowledge-analysis-command strong{color:#16202a;font-size:17px}.knowledge-analysis-command p{margin:6px 0 0;color:#637183;font-size:13px;line-height:1.6}.knowledge-analysis-command label{display:grid;gap:6px;color:#637183;font-size:12px;font-weight:800}.knowledge-analysis-command input{width:100%;min-height:40px;border:1px solid #ccd7e3;border-radius:8px;padding:0 10px}.knowledge-analysis-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:12px 16px;border-bottom:1px solid #e5ebf1}.knowledge-stat-card{display:grid;gap:6px;padding:12px;background:#f8fafc;border:1px solid #e2e9f0;border-radius:8px}.knowledge-stat-card span{color:#637183;font-size:12px}.knowledge-stat-card strong{color:#2f7dd1;font-size:20px}.knowledge-analysis-report,.knowledge-analysis-debug-log{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:12px 16px;border-bottom:1px solid #e5ebf1}.knowledge-analysis-report strong,.knowledge-analysis-report span,.knowledge-analysis-debug-log code{padding:6px 10px;border-radius:999px;background:#edf6ff;color:#425267;font-size:12px}.knowledge-analysis-report strong,.knowledge-analysis-debug-log strong{color:#2f7dd1}.knowledge-analysis-grid{min-height:0;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);flex:1 1 0}.knowledge-analysis-section{min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden}.knowledge-analysis-section+.knowledge-analysis-section{border-left:1px solid #e5ebf1}.knowledge-candidate-list{display:grid;align-content:start;gap:10px;min-height:0;overflow:auto;padding:12px}.knowledge-candidate-card{display:grid;gap:8px;padding:14px;background:#f8fafc;border:1px solid #e2e9f0;border-radius:8px}.knowledge-candidate-card small{color:#2f7dd1;font-size:12px;font-weight:800}.knowledge-candidate-card strong{color:#16202a}.knowledge-candidate-card p{margin:0;color:#637183;font-size:13px;line-height:1.7}.knowledge-migration-card{width:min(720px,100%);display:flex;flex-direction:column}.knowledge-migration-head{flex:0 0 auto;display:grid;gap:4px}.knowledge-migration-body{flex:1 1 auto;display:grid;gap:12px;min-height:0;overflow:auto;padding:16px}.knowledge-migration-warning{display:grid;gap:6px;padding:12px;background:#edf6ff;border:1px solid #c9e0f5;border-radius:8px}.knowledge-migration-warning.is-warning{background:#fff8e8;border-color:#f6d58b}.knowledge-migration-warning p{margin:0;color:#637183;line-height:1.6}.knowledge-migration-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.knowledge-migration-stats>div{display:grid;gap:6px;padding:12px;background:#f8fafc;border:1px solid #e2e9f0;border-radius:8px}.knowledge-migration-stats span{color:#637183;font-size:12px}.knowledge-migration-stats strong{color:#2f7dd1;font-size:22px}.knowledge-migration-actions{flex:0 0 auto;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;padding:0 16px 16px}.content-editor{min-width:0}.chapter-editor{border:1px solid #e5ebf1;border-radius:8px;padding:14px;display:grid;gap:10px}.chapter-editor>div:first-child{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.chapter-editor>div:first-child span{color:#637183;font-size:13px;white-space:nowrap}.chapter-editor textarea{min-height:180px}.content-generation-page{display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:16px;min-height:0;overflow:hidden}.content-generation-command-bar{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:start;gap:16px;padding:18px;border:1px solid #dbe3ec;border-radius:8px;background:#fff}.content-generation-command-bar p,.content-generation-command-bar h2,.content-generation-command-bar span{margin:0}.content-generation-command-bar p{color:#637183;font-size:13px;font-weight:800}.content-generation-command-bar h2{margin-top:4px;font-size:22px}.content-generation-command-bar span{display:block;margin-top:6px;color:#637183;line-height:1.55}.content-generation-stats{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px}.content-generation-stats span{min-height:40px;border:1px solid #dbe3ec;border-radius:8px;padding:8px 10px;background:#f8fafc;color:#637183;display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.content-generation-stats strong{color:#16202a}.content-generation-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}.content-generation-actions button{max-width:100%}.content-outline-stats{display:grid;gap:10px;border:1px solid #dbe3ec;border-radius:8px;background:#f8fafc;overflow:hidden}.content-outline-stats.is-collapsed{gap:0}.content-outline-stats>button{width:100%;min-height:46px;border:0;padding:10px 12px;background:transparent;color:#253344;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;text-align:left}.content-outline-stats>button span{color:#637183;font-size:13px;font-weight:800}.content-outline-stats>button strong{color:#2f7dd1;font-size:14px}.content-outline-stats>button em{padding:4px 8px;color:#637183;font-size:12px;font-style:normal;font-weight:800;background:#2533440f;border-radius:999px}.content-outline-stats-body{display:grid;gap:8px;border-top:1px solid #dbe3ec;padding:12px}.content-outline-stats-body p,.content-outline-stats-body small{margin:0;color:#637183;font-size:12px;line-height:1.55}.content-outline-stats-body small{color:#b42318;font-weight:800}.content-generation-progress{border:1px solid #dbe3ec;border-radius:8px;background:#f8fafc;overflow:hidden}.content-generation-progress-head{width:100%;min-height:46px;border:0;padding:10px 12px;background:transparent;color:#253344;display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:10px;text-align:left}.content-generation-progress-head strong{color:#16202a}.content-generation-progress-head em{color:#637183;font-style:normal;font-weight:800}.content-generation-progress-body{display:grid;gap:10px;border-top:1px solid #dbe3ec;padding:12px}.content-generation-progress-body p{margin:0;color:#637183;line-height:1.6}.content-generation-workspace{display:grid;grid-template-columns:minmax(240px,var(--content-outline-width, 340px)) 8px minmax(0,1fr);gap:0;min-width:0;min-height:0;overflow:hidden;border:1px solid #dbe3ec;border-radius:8px;background:#fff}.content-generation-workspace.is-resizing,.global-facts-workspace.is-resizing{-webkit-user-select:none;user-select:none}.content-outline-resizer,.global-facts-resizer{position:relative;z-index:1;min-width:8px;cursor:col-resize;touch-action:none;background:#eef3f7;border-left:1px solid #dbe3ec;border-right:1px solid #dbe3ec}.content-outline-resizer:after,.global-facts-resizer:after{content:"";position:absolute;top:50%;left:50%;width:3px;height:42px;border-radius:999px;background:#aebdcb;transform:translate(-50%,-50%)}.content-outline-resizer:hover,.content-outline-resizer:focus-visible,.content-outline-resizer.is-dragging,.global-facts-resizer:hover,.global-facts-resizer:focus-visible,.global-facts-resizer.is-dragging{background:#dceafa;outline:none}.content-outline-resizer:hover:after,.content-outline-resizer:focus-visible:after,.content-outline-resizer.is-dragging:after,.global-facts-resizer:hover:after,.global-facts-resizer:focus-visible:after,.global-facts-resizer.is-dragging:after{background:#2f7dd1}.content-outline-panel{min-width:0;display:grid;grid-template-rows:auto minmax(0,1fr);align-content:stretch;gap:12px;border-right:1px solid #e1e8ef;padding:16px;overflow:hidden;background:#f8fafc}.content-outline-list{display:grid;align-content:start;gap:6px;min-height:0;max-height:none;overflow:auto;scrollbar-gutter:stable;scrollbar-color:#aebdcb #eef3f7;scrollbar-width:thin}.content-outline-list::-webkit-scrollbar{width:8px}.content-outline-list::-webkit-scrollbar-track{border-radius:999px;background:#eef3f7}.content-outline-list::-webkit-scrollbar-thumb{border:2px solid #eef3f7;border-radius:999px;background:#aebdcb}.content-outline-node{display:grid;gap:6px}.content-outline-row{display:grid;min-width:0}.content-outline-row.has-toggle{grid-template-columns:auto minmax(0,1fr);align-items:start;gap:4px}.content-outline-toggle{width:28px;min-height:40px;border:1px solid transparent;border-radius:6px;padding:0;display:inline-flex;align-items:center;justify-content:center;background:transparent;color:#637183}.content-outline-toggle:hover{border-color:#c5d7e9;background:#edf5fd;color:#2467a8}.content-outline-item{width:100%;min-width:0;border:1px solid #e1e8ef;border-radius:8px;padding:10px;background:#fff;color:#253344;text-align:left;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px}.content-outline-item:hover,.content-outline-item.active{border-color:#7db5ee;background:#f2f8ff}.content-outline-dot{width:9px;height:9px;border-radius:999px;background:#9aa6b8}.content-outline-item.is-running .content-outline-dot{background:#2f7dd1}.content-outline-item.is-planning .content-outline-dot{background:#5a6fd6}.content-outline-item.is-success .content-outline-dot{background:#167a50}.content-outline-item.is-error .content-outline-dot{background:#b53a32}.content-outline-item.is-partial .content-outline-dot{background:#b7791f}.content-outline-text{display:grid;gap:4px;min-width:0}.content-outline-text strong,.content-outline-text small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.content-outline-text small{color:#637183;font-size:12px}.content-outline-item em,.content-status-badge{width:fit-content;border-radius:999px;padding:4px 8px;background:#eef3f7;color:#5d6b7c;font-size:12px;font-style:normal;font-weight:800;line-height:1;white-space:nowrap}.content-outline-item em.is-clickable{cursor:pointer;box-shadow:inset 0 0 0 1px currentColor}.content-outline-item em.is-clickable:hover{filter:brightness(.96)}.content-outline-item.is-running em,.content-status-badge.is-running{background:#eaf3ff;color:#2467a8}.content-outline-item.is-planning em,.content-status-badge.is-planning{background:#edf0ff;color:#3d4fa3}.content-outline-item.is-success em,.content-status-badge.is-success{background:#e8f7ef;color:#167a50}.content-outline-item.is-error em,.content-status-badge.is-error{background:#fff0ee;color:#b53a32}.content-outline-item.is-partial em,.content-status-badge.is-partial{background:#fff5db;color:#916400}.content-reader-panel{min-width:0;display:grid;grid-template-rows:auto minmax(0,1fr);align-content:stretch;gap:14px;min-height:0;overflow:hidden;padding:18px}.content-reader-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;border-bottom:1px solid #e1e8ef;padding-bottom:12px}.content-reader-head p,.content-reader-head h3,.content-reader-head span{margin:0}.content-reader-head p{color:#637183;font-size:13px;font-weight:800}.content-reader-head h3{margin-top:4px;font-size:18px;overflow-wrap:anywhere}.content-reader-head span{display:block;margin-top:6px;color:#637183;line-height:1.55}.content-reader-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;flex-wrap:wrap}.content-reader-body{display:grid;gap:12px;align-content:start;min-width:0;min-height:0;overflow:auto}.content-reader-meta{display:flex;align-items:flex-start;gap:8px;flex-wrap:wrap}.content-reader-meta span,.content-reader-meta em{min-height:30px;border-radius:999px;padding:6px 10px;background:#edf3f8;color:#637183;font-size:12px;font-style:normal;font-weight:800}.content-reader-error{margin:0;border:1px solid #f0b9b3;border-radius:8px;padding:10px 12px;background:#fff5f3;color:#99312a;line-height:1.6;overflow-wrap:anywhere}.content-editor-textarea{width:100%;min-width:0;min-height:100%;resize:vertical;border:1px solid #ccd7e3;border-radius:8px;padding:12px;background:#fff;color:#16202a;line-height:1.7}.content-reader-markdown{min-height:100%;max-height:none;border:1px solid #dbe3ec}.content-preview-pre{margin:0;min-height:480px;max-height:760px;overflow:auto;border:1px solid #dbe3ec;border-radius:8px;padding:14px;background:#fff;color:#253344;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.content-generation-empty{min-height:240px;border:1px dashed #cfd9e4;border-radius:8px;background:#f8fafc;color:#637183;padding:24px;display:grid;place-items:center;align-content:center;gap:8px;text-align:center}.content-generation-empty strong{color:#253344}.content-generation-empty p{margin:0;line-height:1.6}.content-generation-config-modal{position:fixed;inset:0;z-index:42;display:grid;place-items:center;padding:18px;background:#121d2b75}.content-generation-config-card{position:relative;display:flex;flex-direction:column;width:min(780px,100%);max-height:calc(100vh - 36px);overflow:hidden;border-radius:8px;border:1px solid #dbe3ec;background:#fff;box-shadow:0 24px 60px #0f203438;padding:22px;gap:14px}.content-generation-config-close{position:absolute;top:14px;right:14px;min-width:34px;min-height:34px;padding:0}.content-generation-config-list{display:grid;flex:1 1 auto;gap:12px;min-height:0;overflow:auto}.content-generation-config-description{display:block;margin-top:6px;color:#637083;font-size:13px;line-height:1.5}.content-generation-config-card>.content-regenerate-card-head,.content-generation-config-card>.content-regenerate-actions,.content-generation-config-card>.content-generation-config-actions{flex:0 0 auto}.content-generation-config-card>.content-generation-config-list,.content-generation-config-card>.content-generation-config-note{min-height:0}.content-generation-config-card>.content-generation-config-note{overflow:auto}.content-generation-config-row{display:grid;grid-template-columns:minmax(220px,.9fr) minmax(220px,1fr);gap:14px;align-items:center;border-bottom:1px solid #e5ebf1;padding-bottom:12px}.content-generation-config-row:last-child{border-bottom:0;padding-bottom:0}.content-generation-config-row.toggle-row,.content-generation-config-row.content-image-config-row{grid-template-columns:minmax(0,1fr) auto;align-items:center}.content-generation-config-control{display:inline-flex;align-items:center;justify-content:flex-end;gap:10px}.content-generation-switch-native{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.content-generation-switch{position:relative;width:44px;height:24px;flex:0 0 auto;border:1px solid #ccd7e3;border-radius:999px;background:#e9eef5;transition:background .16s ease,border-color .16s ease}.content-generation-switch.is-checked{border-color:#2f7dd1;background:#2f7dd1}.content-generation-switch-thumb{position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:999px;background:#fff;box-shadow:0 2px 6px #14223433;transition:transform .16s ease}.content-generation-switch.is-checked .content-generation-switch-thumb{transform:translate(20px)}.content-generation-switch-native:focus-visible+.content-generation-switch{outline:2px solid rgba(47,125,209,.35);outline-offset:2px}.content-generation-config-row>span{display:grid;gap:5px;min-width:0}.content-generation-config-row strong{color:#253344}.content-generation-config-row small,.content-generation-config-note{color:#637183;font-size:13px;line-height:1.55}.content-generation-config-row input:not([type=checkbox]),.content-generation-config-row select{width:100%;min-width:0;min-height:40px;border:1px solid #ccd7e3;border-radius:8px;padding:0 10px;background:#fff;color:#16202a}.content-generation-config-row input:disabled,.content-generation-config-row select:disabled{cursor:not-allowed;opacity:.58}.content-image-status{min-width:54px;border-radius:999px;padding:5px 9px;background:#eef3f7;color:#5d6b7c;font-size:12px;font-style:normal;font-weight:800;text-align:center;white-space:nowrap}.content-image-status.is-available{background:#e8f7ef;color:#167a50}.content-image-status.is-unavailable{background:#fff0ee;color:#b53a32}.content-generation-config-note{min-height:0;overflow:auto;margin:0;border:1px solid #dbe3ec;border-radius:8px;padding:10px 12px;background:#f8fafc}.content-generation-config-actions{flex:0 0 auto;justify-content:flex-end;flex-wrap:wrap}.duplicate-check-page{display:grid;gap:18px;min-height:0}.duplicate-upload-board,.duplicate-guide-panel,.duplicate-analysis-panel{border:1px solid #dbe3ec;border-radius:8px;background:#fff;padding:20px}.duplicate-upload-board{display:grid;gap:16px}.duplicate-page-title,.duplicate-guide-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.duplicate-page-title h2{margin:0;color:#253344;font-size:22px}.duplicate-page-title p{margin:6px 0 0;color:#637183;line-height:1.6}.duplicate-upload-summary{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;align-items:center;color:#637183}.duplicate-upload-summary span,.duplicate-upload-summary strong,.duplicate-upload-summary small{min-height:30px;border:1px solid #dbe3ec;border-radius:8px;background:#f6f9fc;padding:5px 9px;display:inline-flex;align-items:center}.duplicate-upload-summary strong{color:#1f5fa4}.duplicate-upload-stack{display:grid;gap:12px}.duplicate-upload-row{display:grid;grid-template-columns:160px minmax(0,1fr) 116px;gap:14px;align-items:center;border:1px solid #e2e9f0;border-radius:8px;background:#f8fafc;padding:14px}.duplicate-upload-label{display:grid;gap:5px;min-width:0}.duplicate-upload-label span{width:max-content;border-radius:999px;background:#edf3f8;color:#2f6fae;padding:3px 8px;font-size:12px;font-weight:800}.duplicate-upload-label strong{color:#253344;font-size:16px}.duplicate-upload-label small{color:#637183}.duplicate-upload-content{min-width:0}.duplicate-empty-upload{min-height:46px;border:1px dashed #cfd9e4;border-radius:8px;background:#fff;color:#637183;display:grid;place-items:center start;padding:0 12px}.duplicate-upload-content .duplicate-file-list{max-height:190px;overflow:auto;padding-right:2px}.duplicate-upload-button{width:100%}.duplicate-upload-button:has(input:disabled){cursor:not-allowed;opacity:.58}.duplicate-guide-panel{display:grid;gap:16px;margin-top:18px}.duplicate-guide-head strong{display:block;color:#253344;font-size:18px}.duplicate-dimension-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.duplicate-dimension-grid article,.duplicate-guide-list li{border:1px solid #e2e9f0;border-radius:8px;background:#f8fafc;padding:14px}.duplicate-dimension-grid strong{color:#253344}.duplicate-dimension-grid p{margin:8px 0 0;color:#637183;line-height:1.6}.duplicate-guide-list{display:grid;gap:10px;margin:0;padding:0;list-style:none;color:#637183;line-height:1.6}.duplicate-file-list{display:grid;gap:10px}.duplicate-file-pill{min-width:0;border:1px solid #e2e9f0;border-radius:8px;background:#f8fafc;padding:10px;display:grid;grid-template-columns:44px minmax(0,1fr) 38px;gap:10px;align-items:center}.duplicate-file-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:8px;background:#dfeaf3;color:#253344;font-size:12px;font-weight:800}.duplicate-file-info{min-width:0;display:grid;gap:4px}.duplicate-file-info strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.duplicate-file-info span{color:#637183;font-size:13px}.duplicate-file-pill .icon-button{min-width:34px;min-height:34px;padding:0}.duplicate-analysis-panel{display:grid;gap:18px;min-height:0}.duplicate-analysis-title{min-height:58px}.duplicate-tabs{margin-bottom:18px}.duplicate-analysis-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:18px}.duplicate-analysis-tab{min-width:0;border:1px solid #dbe3ec;border-radius:8px;padding:10px;background:#fff;color:#253344;text-align:left;display:grid;gap:8px}.duplicate-analysis-tab:hover,.duplicate-analysis-tab.active,.duplicate-analysis-tab.is-active{border-color:#7db5ee;background:#f2f8ff}.duplicate-analysis-tab-main{display:flex;justify-content:space-between;gap:8px;align-items:center}.duplicate-analysis-tab-main strong,.duplicate-analysis-tab-main em{min-width:0}.duplicate-analysis-tab-main em{border-radius:999px;padding:4px 8px;background:#eef3f7;color:#5d6b7c;font-size:12px;font-style:normal;font-weight:800;white-space:nowrap}.duplicate-analysis-tab.is-running .duplicate-analysis-tab-main em{background:#eaf3ff;color:#2467a8}.duplicate-analysis-tab.is-success .duplicate-analysis-tab-main em{background:#e8f7ef;color:#167a50}.duplicate-analysis-tab.is-error .duplicate-analysis-tab-main em{background:#fff0ee;color:#b53a32}.duplicate-analysis-progress{height:6px;overflow:hidden;border-radius:999px;background:#edf3f8}.duplicate-analysis-progress span{display:block;height:100%;border-radius:inherit;background:#2f7dd1}.duplicate-analysis-content{min-height:0;border:1px solid #e2e9f0;border-radius:8px;background:#f8fafc;padding:16px}.duplicate-analysis-content:has(.duplicate-metadata-panel),.duplicate-analysis-content:has(.duplicate-outline-panel),.duplicate-analysis-content:has(.duplicate-match-panel){overflow:hidden;padding:0}.duplicate-pane{display:grid;gap:16px}.duplicate-metadata-panel,.duplicate-match-panel{min-height:0;overflow:hidden;padding:18px}.duplicate-metadata-panel{grid-template-rows:auto minmax(0,1fr) auto;gap:14px}.duplicate-match-panel{grid-template-rows:auto minmax(0,1fr);gap:14px}.duplicate-metadata-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.duplicate-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.duplicate-summary-grid.duplicate-metadata-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.duplicate-summary-grid article{border:1px solid #e2e9f0;border-radius:8px;padding:12px;background:#f8fafc;display:grid;gap:6px}.duplicate-summary-grid span,.duplicate-summary-grid small{color:#637183}.duplicate-summary-grid strong{font-size:22px}.table-wrap{width:100%;overflow-x:auto}.data-table{width:100%;min-width:680px;border-collapse:collapse;font-size:14px}.data-table th,.data-table td{border-bottom:1px solid #e5ebf1;padding:10px 12px;text-align:left;vertical-align:top}.data-table th{background:#f6f9fc;color:#425267;font-weight:800}.duplicate-table th:first-child,.duplicate-table td:first-child{position:sticky;left:0;z-index:1;min-width:180px;background:#fff}.duplicate-table th:first-child{background:#f6f9fc}.duplicate-table td{min-width:220px;overflow-wrap:anywhere}.duplicate-metadata-table-wrap{min-height:0;overflow:auto;border:1px solid #dbe3ec;border-radius:8px;background:#fff}.duplicate-metadata-table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0}.duplicate-metadata-table th,.duplicate-metadata-table td{max-width:320px;min-width:220px;border-right:1px solid #e2e9f0;border-bottom:1px solid #e2e9f0;white-space:pre-wrap;word-break:break-word}.duplicate-metadata-table th:first-child{min-width:160px}.duplicate-metadata-table thead th{position:sticky;top:0;z-index:2;background:#f6f9fc}.duplicate-metadata-table thead th:first-child{z-index:3}.duplicate-metadata-table td.is-duplicate{background:#ffe7e6;color:#b42318;font-weight:800}.duplicate-metadata-table td.is-same-day{background:#fff0d5;color:#9a4d00;font-weight:800}.duplicate-cell-risk{background:#fff5db;color:#7a4d00}.risk-dot{display:inline-flex;align-items:center;min-height:22px;margin-left:8px;padding:0 7px;border-radius:999px;background:#fdecec;color:#b42318;font-size:12px;font-weight:700}.table-empty{color:#637183;text-align:center}.inline-pre{margin:10px 0 0;max-height:120px;overflow:auto;padding:10px;background:#f6f9fc;border-radius:8px;white-space:pre-wrap;color:#425267;line-height:1.5}.duplicate-match-card{min-width:0;border:1px solid #dbe3ec;border-radius:8px;background:#fff;padding:14px;display:grid;gap:12px}.duplicate-match-panel .duplicate-match-card{grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;padding:0}.duplicate-match-card-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;border-bottom:1px solid #e5ebf1;padding-bottom:10px}.duplicate-match-panel .duplicate-match-card-head{align-items:center;padding:14px 16px}.duplicate-match-card-head strong{color:#253344;font-size:16px}.duplicate-match-card-head span{color:#637183;line-height:1.55}.duplicate-sentence-list{display:grid;gap:10px}.duplicate-match-panel .duplicate-sentence-list,.duplicate-match-panel .duplicate-image-grid{min-height:0;overflow:auto;padding:12px}.duplicate-sentence{border:1px solid #e2e9f0;border-radius:8px;background:#f8fafc;padding:12px;display:grid;gap:8px}.duplicate-sentence-content{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.duplicate-outline-list p{font-weight:800}.duplicate-sentence-copy{height:28px;margin-left:10px;border-color:#dbe3ec;background:#fff;box-shadow:0 6px 14px #0f20340f}.duplicate-sentence-copy:hover:not(:disabled){border-color:#9fc7ef;background:#eef6fd;color:#1f66b2}.duplicate-sentence span{color:#637183}.duplicate-sentence p{margin:0;line-height:1.75;overflow-wrap:anywhere}.duplicate-file-codebar{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px}.duplicate-file-codebar span{min-width:0;max-width:280px;flex:0 0 auto;border:1px solid #dbe3ec;border-radius:999px;background:#fff;color:#637183;padding:6px 10px;display:inline-flex;align-items:center;gap:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.duplicate-file-codebar strong{min-width:26px;border-radius:999px;background:#2f7dd1;color:#fff;padding:3px 7px;text-align:center;font-size:12px}.duplicate-file-badges{display:flex;flex-wrap:wrap;gap:6px}.duplicate-file-badges span{border-radius:999px;padding:4px 8px;background:#2f7dd1;color:#fff;font-size:12px;font-weight:800}.compact-button{min-height:30px;padding:0 9px;font-size:12px;flex:0 0 auto}.duplicate-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #e5ebf1;padding-top:10px}.duplicate-pagination span{color:#637183;font-size:13px;font-weight:800}.duplicate-pagination div{display:flex;gap:8px;flex-wrap:wrap}.duplicate-analysis-empty{min-height:180px;border:1px dashed #cfd9e4;border-radius:8px;background:#f8fafc;color:#637183;padding:24px;display:grid;place-items:center;align-content:center;gap:8px;text-align:center}.duplicate-analysis-empty strong{color:#253344}.duplicate-analysis-empty p{margin:0;line-height:1.6}.duplicate-image-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}.duplicate-image-item{min-width:0;border:1px solid #e2e9f0;border-radius:8px;background:#f8fafc;padding:10px;display:grid;grid-template-columns:92px minmax(0,1fr);gap:10px;align-items:start}.duplicate-match-panel .duplicate-image-item{grid-template-columns:1fr}.duplicate-image-preview{display:grid;overflow:hidden;aspect-ratio:4 / 3;place-items:center;border:1px solid #e2e9f0;border-radius:8px;background:#fff}.duplicate-image-item img,.image-placeholder{width:92px;height:92px;border-radius:8px;object-fit:cover;background:#dfeaf3}.duplicate-image-preview img,.duplicate-image-preview .image-placeholder{width:100%;height:100%;border-radius:0;object-fit:contain;background:transparent}.image-placeholder{display:grid;place-items:center;color:#425267;font-weight:800}.duplicate-image-item div{min-width:0;display:grid;gap:4px}.duplicate-image-item span,.duplicate-image-item small{color:#637183;overflow-wrap:anywhere}.duplicate-image-locations{display:grid;gap:8px;margin-top:4px}.duplicate-image-location{border:1px solid #dbe3ec;border-radius:8px;background:#fff;padding:8px;display:grid;gap:6px}.duplicate-image-location p{margin:0;color:#637183;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.step-button{border:1px solid #dbe3ec}.step-button:disabled{cursor:not-allowed;opacity:.55}.rejection-check-page{display:grid;gap:18px}.rejection-upload-board,.rejection-reader-card,.rejection-result-command-bar{border:1px solid #dbe3ec;border-radius:8px;background:#fff;padding:20px}.rejection-upload-board{display:grid;gap:16px}.rejection-page-title{align-items:flex-start}.rejection-upload-summary{min-width:max-content}.rejection-upload-stack{display:grid;gap:12px}.rejection-upload-row{display:grid;grid-template-columns:160px minmax(0,1fr) minmax(160px,auto);gap:14px;align-items:center;border:1px solid #e2e9f0;border-radius:8px;background:#f8fafc;padding:14px}.rejection-upload-label{display:grid;gap:5px;min-width:0}.rejection-upload-label span,.rejection-bid-file-entry>span{width:max-content;border-radius:999px;background:#edf3f8;color:#2f6fae;padding:3px 8px;font-size:12px;font-weight:800}.rejection-upload-label strong{color:#253344;font-size:16px}.rejection-upload-label small,.rejection-empty-upload span{color:#637183}.rejection-upload-content{min-width:0}.rejection-empty-upload{min-height:52px;border:1px dashed #cfd9e4;border-radius:8px;background:#fff;display:grid;align-content:center;gap:4px;padding:10px 12px}.rejection-empty-upload strong{color:#253344}.rejection-upload-actions{min-width:0;display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.rejection-upload-actions.single-action{min-width:116px}.rejection-file-button:has(input:disabled){cursor:not-allowed;opacity:.58}.rejection-bid-file-list{max-height:240px;overflow:auto;padding-right:2px}.rejection-bid-file-entry{display:grid;gap:6px}.rejection-document-tabs{display:inline-flex;width:max-content;max-width:100%;align-items:center;gap:4px;overflow-x:auto;border:1px solid #dbe3ec;border-radius:8px;background:#fff;padding:4px}.rejection-document-tab{min-width:116px;min-height:38px;border:0;border-radius:6px;background:transparent;color:#425267;padding:8px 14px;text-align:center}.rejection-document-tab.is-active{background:#2f7dd1;color:#fff}.rejection-document-tab strong{color:inherit}.rejection-reader,.rejection-items-panel,.rejection-results-panel{margin-top:0}.rejection-file-pill{grid-template-columns:44px minmax(0,1fr) 38px}.rejection-reader-card{display:grid;gap:14px}.rejection-reader-head{min-width:0;display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.rejection-reader-head strong{color:#253344;font-size:18px}.rejection-reader-head span{min-width:0;color:#637183;font-size:13px;line-height:1.5;overflow-wrap:anywhere;text-align:right}.rejection-document-pre{min-height:280px;max-height:560px}.rejection-document-markdown{min-height:280px;max-height:560px;overflow:auto}.rejection-result-command-bar{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:16px;align-items:center}.rejection-result-command-bar strong{display:block;margin:0 0 6px;color:#253344;font-size:22px}.rejection-result-command-bar p{margin:0;color:#637183;line-height:1.6}.rejection-result-status-grid{display:grid;grid-template-columns:repeat(3,minmax(112px,1fr));gap:8px}.rejection-result-status{display:grid;gap:4px;min-width:150px;border:1px solid #dbe3ec;border-radius:8px;background:#f8fafc;padding:9px 12px}.rejection-result-status span{color:#253344;font-weight:800}.rejection-result-status small{color:#637183;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rejection-result-status.is-running{border-color:#b9d8f5;background:#eef6ff}.rejection-result-status.is-success{border-color:#b9dec9;background:#eef9f3}.rejection-result-status.is-error{border-color:#f0b8b8;background:#fff4f4}.rejection-result-status.is-disabled{color:#8794a3;background:#f3f5f7}.rejection-custom-editor{display:grid;gap:12px}.rejection-custom-editor textarea{width:100%;min-height:280px;resize:vertical;border:1px solid #ccd7e3;border-radius:8px;padding:12px;line-height:1.7}.rejection-check-result-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}.rejection-check-result-tab{min-width:0;display:grid;gap:8px;border:1px solid #dbe3ec;border-radius:8px;background:#fff;color:#253344;padding:10px;text-align:left}.rejection-check-result-tab:hover,.rejection-check-result-tab.is-active{border-color:#7db5ee;background:#f2f8ff}.rejection-check-result-tab.is-disabled{background:#f6f8fa;color:#8794a3}.rejection-check-result-tab.is-running .duplicate-analysis-tab-main em{background:#eaf3ff;color:#2467a8}.rejection-check-result-tab.is-success .duplicate-analysis-tab-main em{background:#e8f7ef;color:#167a50}.rejection-check-result-tab.is-error .duplicate-analysis-tab-main em{background:#fff0ee;color:#b53a32}.rejection-result-headline{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}.rejection-result-headline>span:last-child{color:#637183;line-height:1.6}.rejection-bid-result-filter{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}.rejection-bid-result-filter button{border:1px solid #dbe5ef;border-radius:8px;background:#fff;color:#425267;font:inherit;font-weight:700;min-height:34px;padding:0 10px}.rejection-bid-result-filter button.active,.rejection-bid-result-filter button.is-active{border-color:#2f7dd1;background:#eaf3ff;color:#1f5fa4}.rejection-bid-result-filter span{color:#637183;font-weight:800}.rejection-finding-list{display:grid;gap:12px}.rejection-finding-group{display:grid;gap:10px}.rejection-finding-group-head{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#425267}.rejection-finding-group-head span{color:#637183;font-size:13px;overflow-wrap:anywhere}.rejection-finding-item{overflow:hidden;background:#fffffff5;border:1px solid rgba(27,50,92,.12);border-radius:20px;box-shadow:0 14px 32px #2174fd14}.rejection-finding-item.is-expanded{border-color:#2174fd3d}.rejection-finding-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:10px;padding:12px}.rejection-finding-toggle{display:flex;min-width:0;align-items:center;gap:12px;padding:10px 12px;color:inherit;text-align:left;background:transparent;border:0;border-radius:16px}.rejection-finding-toggle:hover{background:#2174fd0f}.rejection-finding-chevron{display:grid;width:28px;height:28px;flex:0 0 28px;place-items:center;color:#2563eb;font-size:18px;font-weight:900;background:#2174fd1a;border-radius:999px}.rejection-finding-title-wrap{display:grid;min-width:0;gap:6px}.rejection-finding-title-wrap>span{display:flex;min-width:0;align-items:center;gap:8px}.rejection-finding-title-wrap strong{overflow:hidden;color:#243048;font-size:16px;text-overflow:ellipsis;white-space:nowrap}.rejection-finding-title-wrap small{overflow:hidden;color:#637183;font-size:13px;line-height:1.55;text-overflow:ellipsis;white-space:nowrap}.rejection-finding-tag,.rejection-finding-file-tag,.rejection-finding-severity{flex:0 0 auto;padding:4px 8px;font-size:12px;font-style:normal;font-weight:900;border-radius:999px}.rejection-finding-file-tag{color:#2563eb;background:#2174fd1a}.rejection-finding-tag.is-invalidBid{color:#b42318;background:#c832201a}.rejection-finding-tag.is-rejectionItem{color:#4f46b8;background:#5b54d31c}.rejection-finding-tag.is-typo{color:#9a5b00;background:#f59e0b21}.rejection-finding-tag.is-logic{color:#0f6674;background:#0e74901c}.rejection-finding-severity.is-high{color:#b42318;background:#c832201a}.rejection-finding-severity.is-medium{color:#9a5b00;background:#f59e0b21}.rejection-finding-severity.is-low{color:#14825b;background:#14825b1a}.rejection-finding-actions{display:flex;align-items:center;gap:8px}.rejection-finding-delete,.rejection-finding-copy{align-self:center;padding:8px 12px;font-weight:800;border:0;border-radius:999px}.rejection-finding-delete{color:#c83220;background:#c8322014}.rejection-finding-copy{color:#2563eb;background:#2174fd1a}.rejection-finding-delete:hover{background:#c8322024}.rejection-finding-copy:hover{background:#2174fd29}.typo-finding-title{display:inline-flex;min-width:0;align-items:center;gap:6px}.typo-finding-title i{color:#7a8699;font-style:normal}.rejection-finding-detail{border-top:1px solid rgba(27,50,92,.08);padding:14px 18px 18px}.typo-original-excerpt{margin:0;color:#425267;font-size:13px}.rejection-detail-grid{display:grid;grid-template-columns:96px minmax(0,1fr);gap:8px 12px;margin:0;line-height:1.65}.rejection-detail-grid dt{color:#637183;font-weight:700}.rejection-detail-grid dd{margin:0;overflow-wrap:anywhere}.rejection-markdown-detail{display:grid;gap:8px}.rejection-markdown-detail>*{margin:0}.rejection-markdown-detail h1,.rejection-markdown-detail h2,.rejection-markdown-detail h3,.rejection-markdown-detail h4,.rejection-markdown-detail h5,.rejection-markdown-detail h6{color:#243048;font-size:14px;line-height:1.5}.rejection-markdown-detail ul,.rejection-markdown-detail ol{padding-left:20px}.rejection-markdown-detail table{width:100%;border-collapse:collapse;font-size:13px}.rejection-markdown-detail th,.rejection-markdown-detail td{border:1px solid #dbe4ef;padding:6px 8px;text-align:left;vertical-align:top}.rejection-markdown-detail th{background:#f3f7fb;color:#243048}.rejection-result-empty{border:1px dashed #d4deea;border-radius:8px;background:#f8fafc;padding:16px;display:grid;gap:8px;color:#425267;line-height:1.7}.rejection-result-empty p{margin:0;color:#637183}.inline-pre mark{border-radius:4px;background:#ffe9a6;color:#503800;padding:0 2px}.empty-copy{color:#637183;line-height:1.7}.empty-state{line-height:1.8;color:#425267}.development-notice-action{width:fit-content;margin-top:12px;text-decoration:none}.export-format-message{margin:-8px 0 18px}.settings-page.export-template-page{position:relative;display:flex;width:100%;min-width:0;min-height:0;flex:1 1 auto;flex-direction:column}.export-template-page .settings-page-scroll{display:grid;align-content:start;gap:18px;min-width:0;overflow:auto;padding:28px 28px 128px}.export-template-page .settings-page-section{background:#ffffffeb;border:1px solid rgba(220,223,230,.88);border-radius:28px;box-shadow:0 18px 52px #2f7dd114}.export-template-page .settings-tab-shell{display:flex;box-sizing:border-box;width:max-content;max-width:100%;min-height:50px;justify-self:center;gap:8px;overflow-x:auto;overflow-y:hidden;padding:10px;border:1px solid rgba(220,223,230,.8);border-radius:999px;background:#ffffffdb;box-shadow:0 18px 44px #17203314}.export-template-page .settings-tab{min-width:92px;padding:14px 18px;border:0;border-radius:22px;background:transparent;color:#364153;font-weight:800;white-space:nowrap}.export-template-page .settings-tab.is-active{background:#2f7dd11f;color:#1f66b2}.export-template-page.template-editor-workspace{padding-bottom:0}.template-editor-workspace .settings-page-scroll{padding-bottom:128px}.template-editor-workspace{padding-bottom:104px}.secondary-menu-page{overflow:auto}.secondary-menu-list-panel{width:min(920px,100%);margin:0 auto;overflow:hidden;padding:24px;border-radius:24px;background:#fffffff5;box-shadow:0 18px 52px #2f7dd114}.secondary-menu-list-head{position:relative;display:flex;align-items:flex-end;justify-content:space-between;gap:18px;overflow:hidden;padding:24px 26px 22px 28px;border:1px solid #dbe3ec;border-radius:20px;background:radial-gradient(circle at 92% 0%,rgba(47,125,209,.1),transparent 34%),linear-gradient(135deg,#fffffffa,#f8fafdb8)}.secondary-menu-list-head:before{position:absolute;top:24px;bottom:22px;left:0;width:4px;content:"";background:linear-gradient(180deg,#2f7dd1,#6654d9);border-radius:999px}.secondary-menu-list-head:after{position:absolute;right:28px;bottom:0;width:132px;height:1px;content:"";background:linear-gradient(90deg,transparent,rgba(47,125,209,.28))}.secondary-menu-list-head>div{position:relative;display:grid;gap:8px;min-width:0}.secondary-menu-list-head span{color:#16202a;font-size:22px;font-weight:900;line-height:1.15}.secondary-menu-list-head p{max-width:660px;margin:0;color:#637183;font-size:13px;line-height:1.75}.secondary-menu-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;padding:12px 16px;color:#5f4300;background:#fff6d9d1;border:1px solid rgba(190,145,35,.22);border-radius:14px}.secondary-menu-notice span{line-height:1.6}.secondary-menu-notice a{flex:0 0 auto;color:#1f66b2;font-weight:800;text-decoration:none}.secondary-menu-list{display:grid;margin-top:10px;overflow:hidden;border:1px solid #dbe3ec;border-radius:20px}.secondary-menu-row{display:grid;grid-template-columns:42px minmax(0,1fr) 30px;align-items:center;gap:16px;min-height:86px;width:100%;padding:18px 24px;border:0;border-bottom:1px solid #dbe3ec;background:transparent;color:#253344;text-align:left;transition:background .14s ease,color .14s ease}.secondary-menu-row:last-child{border-bottom:0}.secondary-menu-row:hover{background:#2f7dd10a}.secondary-menu-row-icon{display:grid;width:38px;height:38px;place-items:center;border:1px solid rgba(47,125,209,.1);border-radius:14px;background:#2f7dd112;color:#1f66b2}.secondary-menu-row-icon svg{width:20px;height:20px}.secondary-menu-row-copy{display:grid;min-width:0;gap:6px}.secondary-menu-row-copy strong,.secondary-menu-row-copy small{min-width:0;overflow-wrap:anywhere}.secondary-menu-row-copy strong{display:flex;align-items:center;gap:8px;color:#16202a;font-size:16px}.secondary-menu-row-notice{display:inline-flex;flex:0 0 auto;align-items:center;padding:3px 8px;color:#9a6600;font-size:12px;font-style:normal;background:#be91231f;border-radius:999px}.secondary-menu-row-copy small{overflow:hidden;color:#637183;font-size:13px;line-height:1.65;text-overflow:ellipsis;white-space:nowrap}.secondary-menu-row-arrow{display:grid;width:17px;height:17px;place-items:center;justify-self:center;color:#637183;transition:color .14s ease,transform .14s ease}.secondary-menu-row:hover .secondary-menu-row-arrow{color:#2f7dd1;transform:translate(2px)}.export-template-workbench{display:grid;grid-template-columns:minmax(0,6fr) minmax(360px,4fr);gap:18px;align-items:start}.export-template-workspace{display:grid;grid-template-columns:minmax(0,6fr) minmax(320px,4fr);align-items:start;gap:18px;width:100%}.export-template-scroll{gap:20px}.export-template-error-state{display:grid;min-height:320px;place-items:center;align-content:center;gap:12px;padding:32px;color:var(--yb-text-soft);text-align:center;background:#fffffff0;border:1px solid rgba(220,223,230,.88);border-radius:28px;box-shadow:var(--yb-shadow)}.export-template-error-state strong{color:var(--yb-text);font-size:22px}.template-library-page{display:grid;width:100%;height:100%;min-height:0;grid-template-columns:minmax(340px,.8fr) minmax(0,1.2fr);gap:18px;overflow:hidden}.template-library-panel,.template-library-preview-shell{min-width:0;min-height:0;overflow:hidden;background:#fffffff0;border:1px solid rgba(220,223,230,.88);border-radius:30px;box-shadow:var(--yb-shadow, 0 18px 52px rgba(47, 125, 209, .08))}.template-library-panel{display:grid;grid-template-rows:auto minmax(0,1fr)}.template-library-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:26px 28px 18px;border-bottom:1px solid #e5ebf1}.template-library-head .primary-action{flex:0 0 auto;white-space:nowrap}.template-library-head h2{margin:8px 0 0;color:#16202a;font-size:28px}.template-library-head p{margin:8px 0 0;color:#637183;line-height:1.7}.primary-action,.secondary-action{display:inline-flex;align-items:center;justify-content:center;min-height:38px;border-radius:999px;padding:0 16px;border:1px solid transparent;font-weight:800;white-space:nowrap}.primary-action{background:#2f7dd1;color:#fff}.secondary-action{border-color:#2f7dd133;background:#2f7dd114;color:#1f66b2}.danger-action{display:inline-flex;align-items:center;justify-content:center;min-height:38px;gap:8px;padding:0 16px;border:1px solid rgba(200,50,32,.16);border-radius:999px;background:#c8322014;color:#c83220;font-weight:800;white-space:nowrap}.danger-action:disabled{cursor:not-allowed;opacity:.52}.template-library-list{display:grid;align-content:start;gap:12px;min-height:0;overflow:auto;padding:18px}.template-library-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px;background:linear-gradient(135deg,#f8fafde6,#fffffffa);border:1px solid #e2e9f0;border-radius:20px}.template-library-card.active,.template-library-card.is-active{background:linear-gradient(135deg,#2f7dd11a,#fffffffa);border-color:#2f7dd157}.template-library-card-main{min-width:0;border:0;background:transparent;padding:4px;display:grid;gap:6px;color:#253344;text-align:left;cursor:pointer}.template-library-card-main strong,.template-library-card-main span,.template-library-card-main small{min-width:0;overflow-wrap:anywhere}.template-library-card-main span{color:#16202a;font-size:16px;font-weight:800}.template-library-card-main small{color:#637183;font-size:13px}.template-library-card-actions{display:flex;gap:8px}.template-library-card-actions button{padding:7px 10px;border:1px solid rgba(47,125,209,.14);border-radius:999px;background:#2f7dd114;color:#1f66b2;font-size:12px;font-weight:800;cursor:pointer}.template-library-card-actions button.is-danger{border-color:#c2413d29;background:#c2413d14;color:#c2413d}.template-library-empty,.template-library-preview-empty{display:grid;place-items:center;align-content:center;gap:10px;min-height:240px;padding:28px;color:#637183;text-align:center;background:#f8fafdc7;border:1px dashed rgba(148,163,184,.45);border-radius:22px}.template-library-empty p,.template-library-empty span,.template-library-preview-empty span{margin:0;color:#637183;line-height:1.6}.template-library-preview-shell{display:grid;grid-template-rows:auto minmax(0,1fr)}.template-library-preview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;min-width:0;padding:24px 26px 16px;border-bottom:1px solid #e5ebf1}.template-library-preview-head>div{display:grid;gap:4px;min-width:0}.template-library-preview-head span{color:#637183;font-size:13px}.template-library-preview-head strong,.template-library-preview-head h3{min-width:0;color:#16202a;font-size:18px;overflow-wrap:anywhere}.template-library-preview-head h3{margin:0;font-size:22px}.template-library-preview-shell .export-template-preview-panel{position:relative;top:auto;height:100%;max-height:none;min-height:0;border:0;border-radius:0;box-shadow:none}.template-delete-dialog{position:fixed;top:50%;left:50%;z-index:1000;display:flex;flex-direction:column;width:min(440px,calc(100vw - 32px));max-height:min(640px,calc(100vh - 32px));gap:14px;padding:24px;overflow:hidden;border:1px solid #dbe3ec;border-radius:24px;background:#fff;box-shadow:0 24px 72px #0f172a38;transform:translate(-50%,-50%)}.template-delete-dialog h2,.template-delete-dialog p{margin:0}.template-delete-dialog h2{flex:0 0 auto;color:#16202a;font-size:22px}.template-delete-dialog p{flex:1 1 auto;min-height:0;overflow:auto;color:#637183;line-height:1.7}.template-delete-actions{flex:0 0 auto;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:6px}.export-template-editor{min-width:0}.export-template-workbench .export-template-editor{overflow:hidden;border:1px solid #dbe3ec;border-radius:8px;background:#fff;box-shadow:0 8px 22px #1220300f}.export-format-tabs{display:flex;flex-wrap:nowrap;gap:6px;overflow-x:auto;padding:10px;border:1px solid #dbe3ec;border-radius:8px;background:#fff;box-shadow:0 8px 22px #1220300f}.export-format-tabs button{flex:0 0 auto;min-width:70px;min-height:36px;border:1px solid transparent;border-radius:8px;padding:0 10px;background:#edf3f8;color:#425267;font-weight:700;white-space:nowrap;cursor:pointer}.export-format-tabs button.active{border-color:#2f7dd1;background:#2f7dd1;color:#fff}.export-template-preview{position:sticky;top:18px;display:grid;grid-template-rows:auto minmax(0,1fr);min-width:0;max-height:calc(100vh - 36px);overflow:hidden;border:1px solid #dbe3ec;border-radius:8px;background:#fff;box-shadow:0 8px 22px #1220300f}.export-template-preview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0;border-bottom:1px solid #e5ebf1;padding:14px}.export-template-preview-head>div{display:grid;gap:4px;min-width:0}.export-template-preview-head span,.export-template-preview-head small{color:#637183;font-size:13px}.export-template-preview-head strong{min-width:0;color:#16202a;font-size:16px;overflow-wrap:anywhere}.export-template-preview-stage{min-height:0;overflow:auto;padding:14px;background:#edf3f8}.export-template-preview-panel{position:sticky;top:0;display:flex;flex-direction:column;min-width:0;height:calc(100vh - 160px);max-height:calc(100vh - 160px);overflow:hidden;background:transparent;border:0;border-radius:0;box-shadow:none}.export-template-preview-scroll{display:flex;flex:1 1 auto;width:100%;min-height:0;align-items:flex-start;justify-content:center;overflow:auto;padding:0 0 18px;background:transparent;box-sizing:border-box}.export-template-preview-scale-box{position:relative;flex:0 0 auto;margin:0 auto}.export-template-preview-page-stack{display:flex;flex-direction:column;gap:18px;align-items:center;justify-items:center}.export-template-preview-page-shell{position:relative;flex:0 0 auto}.export-format-paper{position:relative;width:var(--ef-page-width, 210mm);max-width:none;min-height:var(--ef-page-height, 297mm);aspect-ratio:var(--ef-page-aspect, 210 / 297);box-sizing:border-box}.export-template-preview-paper{min-height:0;margin:0 auto;padding:var(--ef-page-padding-top) var(--ef-page-padding-right) var(--ef-page-padding-bottom) var(--ef-page-padding-left);background:#fff;color:#243048;box-shadow:0 18px 46px #1220302e;font-family:var(--ef-body-font);font-size:var(--ef-body-size);line-height:var(--ef-body-line-height);overflow:hidden;display:flex;flex-direction:column;transform-origin:top left}.export-template-page-header{flex:0 0 auto;margin-bottom:18px;padding-bottom:8px;color:var(--ef-header-color, #536176);font-family:var(--ef-header-font, "SimSun", serif);font-size:var(--ef-header-size, 9pt);text-align:var(--ef-header-align, center);border-bottom:1px solid rgba(220,223,246,.82)}.export-template-page-footer{flex:0 0 auto;margin-top:24px;padding-top:8px;color:var(--ef-footer-color, #536176);font-family:var(--ef-footer-font, "SimSun", serif);font-size:var(--ef-footer-size, 9pt);text-align:var(--ef-footer-align, center);border-top:1px solid rgba(220,223,246,.82)}.export-template-page-footer span+span{margin-left:18px}.export-template-preview-paper header,.export-template-preview-paper footer{display:flex;justify-content:space-between;gap:10px;color:#536176;font-size:12px}.export-template-preview-paper header{margin-bottom:16px;text-align:center;flex:0 0 auto}.export-template-preview-paper footer{margin-top:16px;border-top:1px solid #e5ebf1;padding-top:8px;flex:0 0 auto}.export-template-preview-paper main{display:grid;gap:10px;align-content:start;flex:1 1 auto;min-height:0;overflow:hidden}.export-template-page-body{display:grid;gap:10px;align-content:start;flex:1 1 auto;min-height:0;overflow:hidden}.export-template-preview-block{display:flow-root}.export-template-image-figure{display:block;margin:18px 0;text-align:var(--ef-image-align, center)}.export-template-image-placeholder{display:inline-grid;width:var(--ef-image-max-width, 90%);max-width:100%;height:108px;place-items:center;color:#536176e0;background:linear-gradient(135deg,#2174fd1c,#7c5cff1a);border:1px dashed rgba(33,116,253,.34);border-radius:12px}.export-template-image-figure figcaption{margin-top:8px;font-family:var(--ef-image-caption-font, "SimSun", serif);font-size:var(--ef-image-caption-size, 9pt);font-weight:var(--ef-image-caption-weight, 400);font-style:var(--ef-image-caption-style, normal);text-align:var(--ef-image-caption-align, center)}.export-template-preview-measure{position:absolute;top:0;left:-100000px;z-index:-1;width:var(--ef-page-width, 210mm);visibility:hidden;pointer-events:none}.export-template-preview-measure .export-template-preview-paper{transform:none}.export-template-chapter-frame{margin:0 0 16pt;overflow:hidden;background:#fff;border:var(--ef-chapter-frame-border, none)}.export-template-chapter-frame.is-fragment{margin:0;overflow:visible}.export-template-preview-block+.export-template-preview-block .export-template-chapter-frame.is-fragment{border-top:0}.export-template-page-body>.export-template-chapter-frame+.export-template-chapter-frame{margin-top:10px}.export-template-chapter-heading-row{display:grid;align-items:center;box-sizing:border-box;border-bottom:var(--ef-chapter-row-border, none)}.export-template-chapter-heading-row h1,.export-template-chapter-heading-row h2,.export-template-chapter-heading-row h3,.export-template-chapter-heading-row h4,.export-template-chapter-heading-row h5,.export-template-chapter-heading-row h6{margin:0;padding:0;border:0;background:transparent;box-shadow:none;text-indent:0}.export-template-chapter-heading-row.is-level-1{min-height:36pt;padding:7pt 0;background:var(--ef-chapter-row-1-background, transparent)}.export-template-chapter-heading-row.is-level-2{min-height:30pt;padding:6pt 0;background:var(--ef-chapter-row-2-background, transparent)}.export-template-chapter-heading-row.is-level-3{min-height:26pt;padding:5pt 0;background:var(--ef-chapter-row-3-background, transparent)}.export-template-chapter-heading-row.is-level-4{min-height:23pt;padding:4pt 0;background:var(--ef-chapter-row-4-background, transparent)}.export-template-chapter-heading-row.is-level-5{min-height:21pt;padding:3pt 0;background:var(--ef-chapter-row-5-background, transparent)}.export-template-chapter-heading-row.is-level-6{min-height:20pt;padding:3pt 0;background:var(--ef-chapter-row-6-background, transparent)}.export-template-chapter-content-row{padding:10pt 16pt 12pt;border-bottom:var(--ef-chapter-row-border, none)}.export-template-chapter-frame.is-fragment>.export-template-chapter-heading-row,.export-template-chapter-frame.is-fragment>.export-template-chapter-content-row,.export-template-chapter-frame.is-fragment>.export-template-chapter-leaf-row{border-bottom:0}.export-template-chapter-content-row:last-child,.export-template-chapter-frame>:last-child{border-bottom:0}.export-template-chapter-leaf-row{display:grid;grid-template-columns:minmax(88pt,24%) minmax(0,1fr);align-items:stretch;background:#fff;border-bottom:var(--ef-chapter-row-border, none)}.export-template-chapter-leaf-title{display:grid;align-items:center;min-width:0;padding:8pt 10pt;border-right:var(--ef-chapter-row-border, none)}.export-template-chapter-leaf-row.is-level-1 .export-template-chapter-leaf-title{background:var(--ef-chapter-row-1-background, transparent)}.export-template-chapter-leaf-row.is-level-2 .export-template-chapter-leaf-title{background:var(--ef-chapter-row-2-background, transparent)}.export-template-chapter-leaf-row.is-level-3 .export-template-chapter-leaf-title{background:var(--ef-chapter-row-3-background, transparent)}.export-template-chapter-leaf-row.is-level-4 .export-template-chapter-leaf-title{background:var(--ef-chapter-row-4-background, transparent)}.export-template-chapter-leaf-row.is-level-5 .export-template-chapter-leaf-title{background:var(--ef-chapter-row-5-background, transparent)}.export-template-chapter-leaf-row.is-level-6 .export-template-chapter-leaf-title{background:var(--ef-chapter-row-6-background, transparent)}.export-template-chapter-leaf-title h1,.export-template-chapter-leaf-title h2,.export-template-chapter-leaf-title h3,.export-template-chapter-leaf-title h4,.export-template-chapter-leaf-title h5,.export-template-chapter-leaf-title h6{margin:0;padding:0;border:0;background:transparent;box-shadow:none;text-indent:0;text-align:left}.export-template-chapter-leaf-content{min-width:0;padding:10pt 16pt 12pt}.export-template-chapter-leaf-content>:first-child{margin-top:0}.export-template-chapter-leaf-content>:last-child{margin-bottom:0}.export-template-preview-paper h1,.export-template-preview-paper h2,.export-template-preview-paper h3{margin:0;font-weight:700}.export-template-preview-paper h1{color:var(--ef-h1-color);font-family:var(--ef-h1-font);font-size:var(--ef-h1-size);line-height:var(--ef-h1-line-height);text-align:var(--ef-h1-align)}.export-template-preview-paper h2{color:var(--ef-h2-color);font-family:var(--ef-h2-font);font-size:var(--ef-h2-size);line-height:var(--ef-h2-line-height);text-align:var(--ef-h2-align)}.export-template-preview-paper h3{color:var(--ef-h3-color);font-family:var(--ef-h3-font);font-size:var(--ef-h3-size);line-height:var(--ef-h3-line-height);text-align:var(--ef-h3-align)}.export-template-preview-paper h4{color:var(--ef-h4-color);font-family:var(--ef-h4-font);font-size:var(--ef-h4-size);line-height:var(--ef-h4-line-height);text-align:var(--ef-h4-align)}.export-template-preview-paper h5{color:var(--ef-h5-color);font-family:var(--ef-h5-font);font-size:var(--ef-h5-size);line-height:var(--ef-h5-line-height);text-align:var(--ef-h5-align)}.export-template-preview-paper h6{color:var(--ef-h6-color);font-family:var(--ef-h6-font);font-size:var(--ef-h6-size);line-height:var(--ef-h6-line-height);text-align:var(--ef-h6-align)}.export-template-preview-paper p,.export-template-preview-paper li,.export-template-preview-paper td{color:#243048;text-align:var(--ef-body-align)}.export-template-preview-paper p{margin:var(--ef-body-spacing-before, 0) 0 var(--ef-body-spacing-after, 0);text-indent:var(--ef-body-indent, 2em)}.export-template-preview-paper ul,.export-template-preview-paper ol{margin-top:var(--ef-body-spacing-before, 0pt);margin-bottom:var(--ef-body-spacing-after, 0pt);font-family:var(--ef-body-font, "SimSun", serif);font-size:var(--ef-body-size, 12pt);line-height:var(--ef-body-line-height, 1.5)}.export-template-preview-paper ul{padding-left:var(--ef-unordered-list-indent, var(--ef-list-indent, 2em));list-style:none}.export-template-preview-paper ol{padding-left:var(--ef-list-indent, 2em);counter-reset:ef-ordered-list;list-style:none}.export-template-preview-paper li{position:relative;margin:0 0 4pt;text-align:var(--ef-body-align, justify)}.export-template-preview-paper ol>li{counter-increment:ef-ordered-list}.export-template-preview-paper ul>li:before{position:absolute;left:calc(var(--ef-unordered-list-indent, var(--ef-list-indent, 2em)) * -1);display:var(--ef-unordered-list-marker-display, inline-block);width:calc(var(--ef-unordered-list-indent, var(--ef-list-indent, 2em)) - .25em);font-family:var(--ef-unordered-list-marker-font, Symbol, Arial, sans-serif);font-size:var(--ef-unordered-list-marker-size, .9em);text-align:right;text-indent:0;content:var(--ef-unordered-list-marker, "•")}.export-template-preview-paper ol>li:before{position:absolute;left:calc(var(--ef-list-indent, 2em) * -1);width:calc(var(--ef-list-indent, 2em) - .25em);text-align:right;text-indent:0;content:var(--ef-ordered-list-prefix, "") counter(ef-ordered-list,var(--ef-ordered-list-counter-style, decimal)) var(--ef-ordered-list-suffix, ". ")}.export-template-preview-paper table{width:var(--ef-table-width, 100%);border-collapse:collapse;font-size:.92em}.export-template-preview-paper th,.export-template-preview-paper td{border:var(--ef-table-border-width) solid var(--ef-table-border-color);padding:var(--ef-table-cell-padding)}.export-template-preview-paper th{background:var(--ef-table-header-bg);color:var(--ef-table-header-color);font-family:var(--ef-table-header-font);font-size:var(--ef-table-header-size);text-align:var(--ef-table-header-align)}.export-template-preview-paper td{background:var(--ef-table-body-bg);color:var(--ef-table-body-color);font-family:var(--ef-table-body-font);font-size:var(--ef-table-body-size);text-align:var(--ef-table-body-align)}.export-template-preview-paper tbody td:first-child{background:var(--ef-table-first-column-bg, var(--ef-table-body-bg));color:var(--ef-table-first-column-color, var(--ef-table-body-color));font-family:var(--ef-table-first-column-font, var(--ef-table-body-font));font-size:var(--ef-table-first-column-size, var(--ef-table-body-size));text-align:var(--ef-table-first-column-align, var(--ef-table-body-align))}.export-template-preview-paper figure{margin:0;text-align:var(--ef-image-align)}.export-template-preview-paper figure div{display:inline-grid;width:var(--ef-image-max-width);min-height:86px;place-items:center;border:1px dashed #a8b7c8;border-radius:8px;background:#f8fafc;color:#637183;font-weight:700}.export-template-preview-paper figcaption{margin-top:6px;color:#637183;font-family:var(--ef-image-caption-font);font-size:var(--ef-image-caption-size);font-style:var(--ef-image-caption-style);font-weight:var(--ef-image-caption-weight);text-align:var(--ef-image-caption-align, center)}.export-template-fullscreen-overlay{position:fixed;inset:0;z-index:1000;background:#0f172a5c}.export-template-fullscreen-dialog{position:fixed;inset:0;z-index:1001;overflow:hidden;padding:0;border:0;outline:none;background:radial-gradient(circle at 20% 0%,#e5f0ffe0,#f7fbff 42%,#eef5ff)}.export-template-fullscreen-title,.export-template-fullscreen-description{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;white-space:nowrap}.export-template-fullscreen-close{position:absolute;top:18px;right:20px;z-index:2;height:38px;padding:0 16px;border:1px solid rgba(22,138,74,.24);border-radius:999px;background:#ffffffe0;color:#168a4a;font-size:14px;font-weight:800}.export-template-fullscreen-close:hover{background:#fff;border-color:#168a4a61}.export-template-fullscreen-dialog .export-template-preview-panel{position:relative;top:auto;width:100%;height:100vh;max-height:none;min-height:0}.export-template-fullscreen-dialog .export-template-preview-scroll{width:100%;height:100%}.export-format-panel{margin-top:18px}.export-format-template-tools{display:grid;grid-template-columns:minmax(240px,1fr) auto;gap:12px;align-items:end}.export-format-template-tools label{min-width:0;display:grid;gap:8px}.export-format-template-tools span{color:#425267;font-weight:700}.export-format-template-tools input{width:100%;min-height:40px;border:1px solid #ccd7e3;border-radius:8px;padding:0 10px;background:#fff;color:#16202a}.export-format-template-list{display:grid;gap:10px;margin-top:14px}.export-format-template-card{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:10px;border:1px solid #e2e9f0;border-radius:8px;background:#f8fafc}.export-format-template-main{min-width:0;border:0;background:transparent;padding:0;display:grid;gap:4px;text-align:left}.export-format-template-main strong,.export-format-template-main span{min-width:0;overflow-wrap:anywhere}.export-format-template-main span{color:#637183;font-size:13px}.danger-text{color:#c2413d}.export-format-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.export-format-grid.compact{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:12px}.export-format-grid label:not(.toggle-row){min-width:0;display:grid;gap:8px}.export-format-grid span{color:#425267;font-weight:700}.export-format-grid input,.export-format-grid select{width:100%;min-width:0;min-height:40px;border:1px solid #ccd7e3;border-radius:8px;padding:0 10px;background:#fff;color:#16202a}.font-picker{position:relative;min-width:0}.font-picker-input{width:100%}.font-picker-menu{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:20;max-height:260px;overflow:auto;border:1px solid #ccd7e3;border-radius:8px;background:#fff;box-shadow:0 16px 36px #12203029;padding:6px}.font-picker-summary,.font-picker-empty{padding:8px 10px;color:#637183;font-size:12px}.font-picker-option{display:block;width:100%;min-height:34px;border:0;border-radius:6px;background:transparent;color:#253344;padding:0 10px;text-align:left}.font-picker-option:hover,.font-picker-option.is-selected{background:#eef6fd;color:#1d5f9f}.export-bullet-library{display:flex;flex-wrap:wrap;gap:8px;min-width:0}.export-bullet-option{width:38px;height:38px;border:1px solid #ccd7e3;border-radius:8px;background:#fff;color:#253344;display:inline-grid;place-items:center;font-weight:800}.export-bullet-option:hover,.export-bullet-option.is-active{border-color:#2f7dd1;background:#eef6fd;color:#1d5f9f}.export-format-toggle{align-content:center;min-height:40px}.export-format-toggle input[type=checkbox]{appearance:none;width:38px;height:22px;margin:0;border:1px solid #b8c5d4;border-radius:999px;background:#dbe3ec;position:relative}.export-format-toggle input[type=checkbox]:after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:999px;background:#fff;box-shadow:0 1px 4px #12203038;transition:transform .16s ease}.export-format-toggle input[type=checkbox]:checked{border-color:#2f7dd1;background:#2f7dd1}.export-format-toggle input[type=checkbox]:checked:after{transform:translate(16px)}.export-format-grid input:disabled,.export-format-grid select:disabled{background:#edf3f8;color:#8b98a7;cursor:not-allowed}.export-format-preset-cards,.export-format-level-colors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.export-format-preset-cards article{display:grid;gap:6px;min-width:0;padding:12px;background:#f8fafc;border:1px solid #e2e9f0;border-radius:8px}.export-format-preset-cards strong{color:#16202a}.export-format-preset-cards span{color:#637183;font-size:13px;line-height:1.5}.export-format-swatches{display:flex;gap:6px}.export-format-swatches i{width:22px;height:22px;border:1px solid rgba(22,32,42,.14);border-radius:999px}.export-format-level-colors label{display:grid;grid-template-columns:minmax(72px,1fr) 42px;align-items:center;gap:8px;min-width:0;padding:8px 10px;background:#f8fafc;border:1px solid #e2e9f0;border-radius:8px}.export-format-level-colors span{color:#425267;font-size:13px;font-weight:700}.export-format-level-colors input{width:42px;min-width:42px;padding:0}.export-format-toggle{min-height:40px;align-items:center;margin:0}.export-format-heading-list{display:grid;gap:12px}.export-format-heading-card{border:1px solid #e2e9f0;border-radius:8px;background:#f8fafc;padding:12px}.export-format-heading-header{width:100%;min-height:40px;border:0;padding:0;background:transparent;display:grid;grid-template-columns:minmax(120px,1fr) auto 24px;align-items:center;gap:12px;text-align:left}.export-format-heading-header strong{min-width:0;overflow-wrap:anywhere}.export-format-heading-header span{color:#637183;font-weight:700}.export-format-heading-header svg{color:#637183;transition:transform .18s ease}.export-format-heading-header svg.open{transform:rotate(90deg)}.floating-toolbar{position:fixed;right:42px;bottom:28px;left:290px;z-index:45;display:flex;width:max-content;max-width:calc(100% - 84px);align-items:center;justify-content:center;gap:0;padding:8px;border:1px solid rgba(220,227,236,.92);border-radius:999px;background:#ffffffe6;box-shadow:0 20px 54px #17203324,0 6px 18px #2f7dd11a;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.floating-toolbar.is-dragging{-webkit-user-select:none;user-select:none}.floating-toolbar-drag-handle{display:inline-grid;width:26px;height:38px;flex:0 0 26px;place-items:center;border:0;background:transparent;color:#637183;cursor:grab;touch-action:none}.floating-toolbar-drag-handle:hover,.floating-toolbar.is-dragging .floating-toolbar-drag-handle{background:transparent;color:#2f7dd1}.floating-toolbar.is-dragging .floating-toolbar-drag-handle{cursor:grabbing}.floating-toolbar-drag-handle svg{width:18px;height:18px}.floating-toolbar-group{display:inline-flex;align-items:center;gap:6px}.floating-toolbar-separator{display:block;width:1px;height:28px;margin:0 8px;background:#e5ebf1}.floating-toolbar-button{display:inline-flex;min-height:38px;align-items:center;gap:7px;padding:9px 14px;border:1px solid transparent;border-radius:999px;background:transparent;color:#425267;white-space:nowrap}.floating-toolbar-button:hover:not(:disabled){border-color:#2f7dd11f;background:#2f7dd112;color:#1f66b2}.floating-toolbar-button:disabled{cursor:not-allowed;opacity:.46}.floating-toolbar-button.is-primary{border-color:#2f7dd133;background:linear-gradient(135deg,#2f7dd1,#6c56d8);color:#fff;box-shadow:0 10px 22px #2f7dd133}.floating-toolbar-button.is-primary:hover:not(:disabled){color:#fff}.floating-toolbar-button.is-ghost{color:#637183}.floating-toolbar-button.is-ghost:disabled{cursor:default;opacity:.82}.floating-toolbar-button.is-danger{color:#c2413d}.floating-toolbar-button.is-danger:hover:not(:disabled){border-color:#c2413d29;background:#c2413d14;color:#c2413d}.floating-toolbar-button.is-warning{color:#b87500}.floating-toolbar-button.is-warning:hover:not(:disabled){border-color:#b875002e;background:#b8750017;color:#b87500}.floating-toolbar-button.is-success{color:#16804f}.floating-toolbar-button.is-success:hover:not(:disabled){border-color:#16804f33;background:#16804f1a;color:#16804f}.floating-toolbar-icon{display:inline-grid;width:18px;height:18px;place-items:center}.export-template-workbench{grid-template-columns:minmax(0,6fr) minmax(320px,4fr);align-items:start;gap:18px}.export-template-workbench .export-template-editor{display:grid;gap:0;overflow:hidden;border:1px solid #dbe3ec;border-radius:8px;background:#fff;box-shadow:0 8px 22px #1220300f}.export-format-tabs{display:flex;width:max-content;max-width:100%;justify-self:center;gap:8px;flex-wrap:nowrap;overflow-x:auto;margin:0 auto 20px;padding:10px;border:1px solid rgba(220,223,230,.8);border-radius:999px;background:#ffffffdb;box-shadow:0 18px 44px #17203314}.export-format-tabs button{flex:0 0 auto;min-width:92px;min-height:46px;border:0;border-radius:22px;padding:0 18px;background:transparent;color:#364153;font-weight:800;white-space:nowrap}.export-format-tabs button.active,.export-format-tabs button.is-active{background:#2174fd1f;color:#1f66b2}.export-format-panel{margin-top:0;border:0;border-radius:0;box-shadow:none}.export-format-panel[hidden]{display:none!important}.export-format-loading{display:flex;align-items:center;justify-content:center;min-height:280px;color:#637183}.export-template-subsection{display:grid;gap:14px;padding:24px 36px 18px;border-top:1px solid #e5ebf1}.export-template-subsection>strong{color:#16202a;font-size:17px}.export-template-subsection .export-format-heading-grid{padding:0}.settings-section-title{display:flex;align-items:center;gap:12px;padding:24px 36px;color:#16202a;font-size:22px}.settings-section-title span{width:5px;height:24px;border-radius:999px;background:#2f7dd1}.settings-section-title strong{color:#16202a}.export-template-editor .settings-list{gap:0;border-top:1px solid #e5ebf1}.export-template-editor .settings-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(240px,360px);align-items:center;gap:24px;min-height:0;padding:28px;border-bottom:0}.export-template-editor .settings-row+.settings-row{border-top:1px solid #e5ebf1}.export-template-editor .settings-row:last-child{padding-bottom:28px}.export-template-editor .settings-row-copy{display:grid;gap:8px}.export-template-editor .settings-row-copy strong{color:#16202a;font-size:16px}.export-template-editor .settings-row-copy span{color:#637183;font-size:13px;line-height:1.6}.export-template-editor .settings-row input:not([type=checkbox]),.export-template-editor .settings-row select,.export-template-editor .font-picker-input{min-height:44px;border-color:#ccd7e3;border-radius:14px;background:#eef3fa}.export-template-editor .settings-row input:not([type=checkbox]):focus,.export-template-editor .settings-row select:focus,.export-template-editor .font-picker-input:focus{border-color:#2f7dd194;background:#fff;outline:3px solid rgba(47,125,209,.14)}.settings-switch-control{position:relative;display:inline-flex;width:58px;height:34px;justify-self:end;align-items:center}.settings-switch-control input{position:absolute;inset:0;width:100%;height:100%;margin:0;cursor:pointer;opacity:0}.settings-switch-track{display:block;width:58px;height:34px;padding:3px;border:1px solid rgba(180,194,214,.9);border-radius:999px;background:#dfe7f3;box-shadow:inset 0 1px 2px #17203314;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease}.settings-switch-thumb{display:block;width:26px;height:26px;border-radius:999px;background:#fff;box-shadow:0 4px 12px #1720332e;transition:transform .18s ease}.settings-switch-control input:checked+.settings-switch-track{border-color:#2f7dd159;background:linear-gradient(135deg,#2f7dd1,#6c56d8);box-shadow:0 10px 24px #2f7dd12e}.settings-switch-control input:checked+.settings-switch-track .settings-switch-thumb{transform:translate(24px)}.settings-switch-control input:focus-visible+.settings-switch-track{outline:3px solid rgba(47,125,209,.18);outline-offset:3px}.export-format-preset-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0 36px 8px}.export-format-preset-card{display:flex;flex-direction:column;gap:6px;min-width:0;padding:16px 18px;border:2px solid transparent;border-radius:14px;background:#2f7dd10a;color:#253344;text-align:left;cursor:pointer;transition:border-color .15s,background .15s}.export-format-preset-card:hover{background:#2f7dd114}.export-format-preset-card.is-active{border-color:#2f7dd1;background:#2f7dd10f}.export-format-preset-card strong{color:#16202a;font-size:16px}.export-format-preset-hint{color:#637183;font-size:13px;line-height:1.5}.export-format-preset-panel{display:grid;gap:12px;padding:22px 0 0;border-top:1px solid #e5ebf1}.export-format-preset-panel-head{display:grid;gap:5px;padding:0 36px}.export-format-preset-panel-head strong{color:#16202a;font-size:16px}.export-format-preset-panel-head span{color:#637183;font-size:13px;line-height:1.6}.export-format-preset-list.is-theme{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.export-format-preset-card.is-static{cursor:default}.export-format-preset-card.is-static:hover{background:#2f7dd10a}.export-format-theme-card{min-height:132px}.export-format-theme-swatches{display:flex;align-items:center;gap:6px;margin-top:auto}.export-format-theme-swatches span{width:22px;height:22px;border:1px solid rgba(15,23,42,.12);border-radius:999px;box-shadow:inset 0 1px 1px #ffffff9e}.export-format-margin-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.export-format-margin-grid input{text-align:center}.export-format-panel>.panel-title{position:relative;display:flex;align-items:flex-start;gap:14px;margin:0;padding:24px 36px;border-bottom:1px solid #e5ebf1}.export-format-panel>.panel-title:before{content:"";flex:0 0 auto;width:5px;height:24px;margin-top:2px;border-radius:999px;background:#2f7dd1}.export-format-panel>.panel-title h2{margin:0;color:#16202a;font-size:22px}.export-format-panel>.panel-title p{margin:6px 0 0;color:#637183;line-height:1.6}.export-format-panel>.export-format-grid{grid-template-columns:1fr;gap:0}.export-format-panel>.export-format-grid>label{display:grid;grid-template-columns:minmax(220px,1fr) minmax(320px,420px);align-items:center;gap:24px;min-height:76px;padding:16px 36px;border-bottom:1px solid #e5ebf1}.export-format-panel>.export-format-grid>label>span{color:#253344;font-size:17px;font-weight:700}.export-format-panel>.export-format-grid>label.toggle-row{display:flex;flex-direction:row-reverse;justify-content:space-between;gap:24px;color:#253344;font-size:17px;font-weight:800}.export-format-panel>.export-format-grid>label.toggle-row input{flex:0 0 auto;width:42px;min-width:42px;height:24px;min-height:24px}.export-format-panel>.export-format-grid input,.export-format-panel>.export-format-grid select,.export-format-heading-grid input,.export-format-heading-grid select{min-height:44px;border-color:#ccd7e3;border-radius:14px;background:#eef3fa}.export-format-panel>.export-format-grid input:focus,.export-format-panel>.export-format-grid select:focus,.export-format-heading-grid input:focus,.export-format-heading-grid select:focus{border-color:#2f7dd194;background:#fff;outline:3px solid rgba(47,125,209,.14)}.export-format-grid.compact{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px}.export-format-preset-cards,.export-format-level-colors{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));padding:16px 36px 22px;margin-top:0}.export-format-preset-cards article{border-radius:14px;background:#f8fafc}.export-format-heading-list{display:flex;flex-direction:column;gap:8px;padding:0 36px 18px}.export-format-heading-card{overflow:hidden;border-radius:14px;background:#2f7dd105}.export-format-heading-header{display:flex;min-height:50px;padding:14px 18px;cursor:pointer}.export-format-heading-label{flex:0 0 auto;min-width:86px;color:#16202a;font-size:15px;font-weight:800}.export-format-heading-example{flex:1;color:#637183;font-size:13px}.export-format-heading-chevron{flex:0 0 auto;color:#637183;transition:transform .18s ease}.export-format-heading-chevron.is-open{transform:rotate(90deg)}.export-format-heading-body{padding:0 18px 18px;border-top:1px solid #e5ebf1}.export-format-heading-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;padding-top:16px}.export-format-heading-grid label{display:grid;gap:8px;min-width:0}.export-format-heading-grid span{color:#425267;font-size:13px;font-weight:700}.export-format-heading-switch{align-content:start}.export-format-heading-cell-colors{display:grid;gap:14px;padding:22px 36px 26px;border-top:1px solid #e5ebf1}.export-format-heading-cell-colors-title{display:grid;gap:6px}.export-format-heading-cell-colors-title strong{color:#16202a;font-size:16px}.export-format-heading-cell-colors-title span{color:#637183;font-size:13px;line-height:1.6}.export-format-heading-cell-color-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}.export-format-heading-cell-color-grid label{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:10px 12px;border:1px solid #e2e9f0;border-radius:14px;background:#2f7dd109}.export-format-heading-cell-color-grid label>span{color:#637183;font-size:13px}.export-format-heading-cell-color-grid input{flex:0 0 auto;width:46px;height:34px;padding:4px;border:1px solid #ccd7e3;border-radius:12px;background:#eef3fa}.export-format-heading-note{display:flex;align-items:flex-start;gap:12px;margin:0 36px 12px;padding:12px 14px;border:1px solid rgba(47,125,209,.24);border-radius:14px;background:linear-gradient(135deg,#2f7dd11a,#2f7dd109);color:#1c4f9c}.export-format-heading-note strong{flex:0 0 auto;color:#153f82;font-size:13px;font-weight:700}.export-format-heading-note span{min-width:0;font-size:13px;line-height:1.6}.export-format-heading-note code{padding:1px 5px;border:1px solid rgba(47,125,209,.18);border-radius:6px;background:#ffffffb8;color:#0f4fbf;font-family:Consolas,SFMono-Regular,monospace;font-size:12px}.export-template-preview{top:0;max-height:calc(100vh - 120px);border:0;background:transparent;box-shadow:none}.export-template-preview-head{padding:0 0 12px;border-bottom:0}.export-template-preview-stage{padding:0 0 18px;background:transparent}.settings-page{position:relative;display:grid;min-height:100%}.settings-page-scroll{display:grid;align-content:start;gap:18px;min-width:0;padding-bottom:128px}.settings-tab-shell{display:flex;width:max-content;max-width:100%;justify-self:center;gap:8px;overflow-x:auto;padding:10px;border:1px solid #dbe3ec;border-radius:999px;background:#ffffffeb;box-shadow:0 12px 30px #1720330f}.settings-tab{min-width:92px;border:0;border-radius:18px;background:transparent;color:#364153;padding:12px 16px;font-weight:800;white-space:nowrap}.settings-tab.is-active{background:#eaf3ff;color:#1f66b2}.settings-panel{display:grid;gap:18px;border:1px solid #dbe3ec;border-radius:8px;background:#fff;padding:20px}.settings-list{display:grid;gap:14px}.settings-row{display:grid;grid-template-columns:minmax(220px,.9fr) minmax(260px,1.1fr);gap:16px;align-items:center;border-bottom:1px solid #e5ebf1;padding-bottom:14px}.settings-row:last-child{border-bottom:0;padding-bottom:0}.settings-row>div,.settings-row>span{display:grid;gap:5px;min-width:0}.settings-row strong{color:#253344}.settings-row span,.settings-row em{color:#637183;font-size:13px;font-style:normal;line-height:1.55}.settings-row input:not([type=checkbox]),.settings-row select{width:100%;min-width:0;min-height:40px;border:1px solid #ccd7e3;border-radius:8px;padding:0 10px;background:#fff;color:#16202a}.settings-row input:focus,.settings-row select:focus{border-color:#2f7dd1;outline:3px solid rgba(47,125,209,.14)}.settings-control-with-action{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center;min-width:0}.inline-action{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #ccd7e3;border-radius:8px;padding:0 12px;background:#f8fafc;color:#253344;font-size:13px;font-weight:700;cursor:pointer;white-space:nowrap}.inline-action:hover:not(:disabled){border-color:#2f7dd1;background:#eef6fd;color:#1d64b8}.inline-action:disabled{cursor:not-allowed;opacity:.64}.settings-row.toggle-row{grid-template-columns:auto minmax(0,1fr);align-items:flex-start}.settings-row.toggle-row input{margin-top:3px}.token-stats-row{grid-template-columns:minmax(220px,1fr) auto}.token-stats-row .secondary-button{justify-self:end}.token-stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;border-bottom:1px solid #e5ebf1;padding-bottom:14px}.token-stat-card{min-width:0;min-height:96px;display:grid;align-content:space-between;gap:8px;border:1px solid #dbe3ec;border-radius:8px;padding:12px;background:#f8fafc}.token-stat-card svg{color:#637183}.token-stat-card span{color:#637183;font-size:12px;font-weight:700}.token-stat-card strong{min-width:0;color:#182536;font-size:22px;overflow-wrap:anywhere}.token-stat-card.is-primary{border-color:#b8d6f2;background:#eef6fd}.token-stat-card.is-violet{border-color:#d4c7f4;background:#f4f0fd}.token-stat-card.is-dark{border-color:#c6d0dc;background:#f3f6f9}.token-stat-card.is-green{border-color:#b9dfcf;background:#effaf5}.token-stat-card.is-amber{border-color:#ead098;background:#fff8e8}.token-stat-card.is-muted{border-color:#dbe3ec;background:#fbfcfe}.settings-status{display:flex;justify-content:space-between;gap:14px;border:1px solid #dbe3ec;border-radius:8px;padding:12px;background:#f8fafc}.settings-status strong,.settings-status span{display:block}.settings-status span{margin-top:5px;color:#637183;font-size:13px}.settings-status.is-ok{border-color:#b9d8c8;background:#f1faf5}.settings-status.is-error{border-color:#f0b8b8;background:#fff8f8}.image-test-preview{display:grid;grid-template-columns:minmax(220px,.9fr) minmax(160px,1.1fr);gap:16px;align-items:center;border:1px solid #dbe3ec;border-radius:8px;padding:12px;background:#f8fafc}.image-test-preview>div{display:grid;gap:5px;min-width:0}.image-test-preview strong{color:#253344}.image-test-preview span{color:#637183;font-size:13px;line-height:1.55}.image-test-preview img{width:min(180px,100%);aspect-ratio:1;justify-self:end;object-fit:contain;border:1px solid #e2e9f0;border-radius:8px;background:#fff}.parser-compare{display:grid;grid-template-columns:1.12fr 1fr 1fr;gap:16px}.parser-card{display:flex;min-height:100%;flex-direction:column;gap:20px;padding:22px;background:#fff;border:1px solid #e2e9f0;border-radius:18px}.parser-card-primary{background:linear-gradient(180deg,#2174fd1a,#fff 62%);border-color:#2174fd47;box-shadow:0 18px 48px #2174fd1f}.parser-card-accent{background:linear-gradient(180deg,#5b54d314,#fff 62%)}.parser-card-muted{background:#fbfcff}.parser-card-head{display:grid;gap:14px}.parser-card-head strong{display:block;color:#16202a;font-size:20px}.parser-card-head p{margin:8px 0 0;color:#516174;line-height:1.65}.parser-card-head>span{width:max-content;padding:6px 10px;color:#2467a8;font-size:12px;font-weight:800;background:#2174fd1a;border:1px solid rgba(33,116,253,.14);border-radius:999px}.parser-metrics{display:grid;gap:0;margin:0;overflow:hidden;border:1px solid #e2e9f0;border-radius:14px}.parser-metrics div{display:grid;grid-template-columns:86px minmax(0,1fr);gap:12px;padding:12px 14px;background:#f8fafdb3}.parser-metrics div+div{border-top:1px solid #e2e9f0}.parser-metrics dt{color:#637183;font-size:13px}.parser-metrics dd{margin:0;color:#253344;font-weight:700;line-height:1.45;overflow-wrap:anywhere}.parser-note{padding:14px 16px;color:#516174;line-height:1.7;background:#2174fd0f;border:1px solid rgba(33,116,253,.12);border-radius:14px}.settings-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.settings-mini-card{border:1px solid #e2e9f0;border-radius:8px;background:#f8fafc;padding:14px}.settings-mini-card dl{display:grid;gap:8px;margin:12px 0 0}.settings-mini-card dl>div{display:grid;grid-template-columns:54px minmax(0,1fr);gap:8px}.settings-mini-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.settings-mini-card-head span{border-radius:999px;background:#eaf3ff;color:#2467a8;padding:3px 8px;font-size:12px;font-weight:800;white-space:nowrap}.settings-mini-card p{margin:8px 0 0;color:#516174;line-height:1.55}.settings-mini-card dt{color:#637183;font-weight:700}.settings-mini-card dd{margin:0;color:#253344;line-height:1.55;overflow-wrap:anywhere}.settings-mini-card>span{display:block;margin-top:8px;color:#253344;line-height:1.55;overflow-wrap:anywhere}.agent-self-check-status{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px;border:1px solid #dbe3ec;border-radius:8px;background:#fff}.agent-self-check-status div{display:grid;min-width:0;gap:6px}.agent-self-check-status strong{color:#253344;font-size:15px}.agent-self-check-status span{color:#637183;line-height:1.55}.agent-self-check-status em{flex:0 0 auto;padding:7px 12px;border-radius:999px;font-style:normal;font-weight:800}.agent-self-check-status.is-untested em{color:#637183;background:#f2f5f9}.agent-self-check-status.is-checking em{color:#1f66b2;background:#2f7dd11a}.agent-self-check-status.is-normal em{color:#16804f;background:#16804f1f}.agent-self-check-status.is-busy em{color:#b87500;background:#b8750024}.agent-self-check-status.is-error em{color:#c2413d;background:#c2413d1a}.agent-self-check-steps{display:grid;gap:10px}.agent-self-check-result{display:grid;gap:14px;padding:16px;border:1px solid #dbe3ec;border-radius:8px;background:#fff}.agent-self-check-result.is-normal{border-color:#16a34a52;background:#16a34a0f}.agent-self-check-result.is-busy{border-color:#d9770652;background:#d977060f}.agent-self-check-result.is-error{border-color:#dc262652;background:#dc26260f}.agent-self-check-result-head,.agent-self-check-result-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.agent-self-check-result-head>div:first-child{display:grid;gap:4px;min-width:0}.agent-self-check-result-head strong{color:#253344;font-size:15px}.agent-self-check-result-head span,.agent-self-check-result-actions small{color:#637183;font-size:13px}.agent-self-check-result pre{max-height:220px;margin:0;padding:12px;overflow:auto;color:#253344;background:#f8fafcdb;border:1px solid #dbe3ec;border-radius:8px;white-space:pre-wrap}.agent-self-check-step{display:grid;gap:4px;padding:12px 14px;border:1px solid #e2e9f0;border-radius:8px;background:#fff}.agent-self-check-step strong{color:#253344;font-size:14px}.agent-self-check-step span{color:#637183;font-size:13px}.agent-self-check-step.is-success{border-color:#16a34a52;background:#16a34a14}.agent-self-check-step.is-error{border-color:#dc262652;background:#dc262614}.agent-self-check-step.is-running{border-color:#2563eb52;background:#2563eb14}.settings-about-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.settings-about-grid article{border:1px solid #e2e9f0;border-radius:8px;background:#f8fafc;padding:14px}.settings-about-grid span,.settings-about-grid strong,.settings-about-grid a{display:block}.settings-about-grid span{color:#637183;font-size:13px}.settings-about-grid strong,.settings-about-grid a{margin-top:6px;color:#253344;font-weight:800;overflow-wrap:anywhere}.settings-about-grid a{color:#2f7dd1}.privacy-statement{display:grid;gap:16px;margin-top:18px;padding-top:18px;border-top:1px solid #e5ebf1}.privacy-statement-head{display:grid;gap:6px}.privacy-statement-head span{color:#637183;font-size:12px;font-weight:800;text-transform:uppercase}.privacy-statement-head strong{color:#16202a;font-size:20px}.privacy-statement-head p{margin:0;color:#637183;line-height:1.7}.privacy-list{display:grid;gap:12px}.privacy-item{display:grid;grid-template-columns:42px minmax(0,1fr);gap:6px 14px;padding:14px;border:1px solid #dbe3ec;border-radius:8px;background:#f8fafc}.privacy-item>span{grid-row:span 2;display:grid;width:36px;height:36px;place-items:center;border-radius:8px;background:#eef6fd;color:#2f7dd1;font-weight:900}.privacy-item strong{color:#16202a}.privacy-item p{margin:0;color:#637183;line-height:1.7}.content-runtime-notice{margin-top:12px;border:1px solid #dbe3ec;border-radius:8px;padding:10px 12px;background:#f8fafc;color:#425267;font-size:13px;line-height:1.6}.content-runtime-notice.warn{border-color:#f1c27d;background:#fff8ec;color:#7c4a12}.minimum-words-modal{position:fixed;inset:0;z-index:40;display:grid;place-items:center;padding:18px;background:#121d2b75}.minimum-words-card{position:relative;display:flex;flex-direction:column;width:min(560px,100%);max-height:calc(100vh - 36px);overflow:hidden;border-radius:8px;border:1px solid #dbe3ec;background:#fff;box-shadow:0 24px 60px #0f203438;padding:22px;gap:14px}.export-progress-modal{position:fixed;inset:0;z-index:42;display:grid;place-items:center;padding:18px;background:#121d2b75}.content-regenerate-modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:18px;background:#0f172a57;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.export-template-select-modal{position:fixed;inset:0;z-index:42;display:grid;place-items:center;padding:18px;background:#121d2b75}.export-template-select-card,.export-template-select-dialog{position:relative;display:flex;flex-direction:column;width:min(1120px,100%);max-height:calc(100vh - 36px);overflow:hidden;border:1px solid #dbe3ec;border-radius:8px;background:#fff;box-shadow:0 24px 60px #0f203438;padding:22px;gap:14px}.export-template-select-head{margin-bottom:0;align-items:flex-start}.export-template-select-head h2{margin:5px 0 3px;font-size:22px}.export-template-select-head p{margin:0;line-height:1.6}.export-template-select-close{position:absolute;top:14px;right:14px}.export-template-select-search{flex:0 0 auto;min-height:40px;border:1px solid #ccd7e3;border-radius:8px;padding:0 12px;background:#fff;color:#16202a}.export-template-select-body{display:grid;flex:1 1 auto;grid-template-columns:minmax(220px,260px) minmax(0,1fr);gap:14px;min-height:0;overflow:hidden}.export-template-select-list-panel,.export-template-select-preview{min-width:0;min-height:0;border:1px solid #e2e9f0;border-radius:8px;background:#f8fafc}.export-template-select-list-panel{display:grid;grid-template-rows:auto minmax(0,1fr);gap:10px;padding:10px}.export-template-select-list{display:grid;align-content:start;gap:8px;min-height:0;overflow:auto}.export-template-select-row{display:grid;gap:4px;min-height:58px;border:1px solid #dbe3ec;border-radius:8px;padding:10px 12px;background:#fff;color:#253344;text-align:left;cursor:pointer}.export-template-select-row.active,.export-template-select-row.is-active{border-color:#2f7dd1;background:#eef6fd}.export-template-select-row strong,.export-template-select-row span,.export-template-select-empty strong,.export-template-select-empty span,.export-template-select-preview strong,.export-template-select-preview span{min-width:0;overflow-wrap:anywhere}.export-template-select-row span,.export-template-select-empty span,.export-template-select-preview span{color:#637183;font-size:13px;line-height:1.5}.export-template-select-empty,.export-template-select-preview-empty{display:grid;align-content:start;gap:8px;padding:14px}.export-template-select-preview{display:grid;grid-template-rows:auto minmax(0,1fr);gap:10px;overflow:hidden;background:#fff}.export-template-select-preview-head{display:grid;gap:4px;padding:12px 12px 0}.export-template-select-preview-head strong,.export-template-select-preview-empty strong{color:#253344;font-size:18px}.export-template-select-preview .export-template-preview-panel{max-height:none;min-height:0;overflow:hidden;padding:0 12px 12px}.export-template-select-preview .export-template-preview-scroll{min-height:0;overflow:auto}.export-template-select-actions{flex:0 0 auto}.export-progress-card{position:relative;display:flex;flex-direction:column;width:min(620px,100%);max-height:calc(100vh - 36px);overflow:hidden;border-radius:8px;border:1px solid #dbe3ec;background:#fff;box-shadow:0 24px 60px #0f203438;padding:22px;gap:14px}.export-progress-close{position:absolute;top:14px;right:14px}.content-regenerate-card-head{display:grid;flex:0 0 auto;gap:6px}.content-regenerate-card>[data-radix-dialog-title],.content-regenerate-card>.content-regenerate-title,.content-regenerate-card>.content-regenerate-card-head{flex:0 0 auto}.content-regenerate-card>[data-radix-dialog-description],.content-regenerate-card>.content-regenerate-description,.content-regenerate-card>textarea{flex:1 1 auto;min-height:0;overflow:auto}.content-regenerate-card-head h2{margin:0;color:#16202a;font-size:24px}.content-regenerate-card-head p{margin:0;color:#637183;font-size:13px;line-height:1.7}.export-progress-copy,.export-progress-message{margin:0;color:#637183;line-height:1.6}.export-progress-message.error{color:#9f1d1d}.export-progress-body{display:grid;flex:1 1 auto;gap:12px;min-height:0;overflow:auto}.export-progress-card>.panel-title,.export-progress-card>.content-regenerate-card-head,.export-progress-card>.form-actions,.export-progress-card>.content-regenerate-actions{flex:0 0 auto}.export-progress-body p{margin:0;color:#637183;font-size:13px;line-height:1.7}.export-progress-body p.error{color:#9f1d1d}.content-generation-progress-track{position:relative;height:10px;overflow:hidden;border-radius:999px;background:#2f7dd11a}.content-generation-progress-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2f7dd1,#6c56d8);transition:width .18s ease}.content-generation-progress-track span.error{background:linear-gradient(90deg,#d45245,#a43434)}.content-generation-progress-track.is-active:after{position:absolute;inset:0;content:"";background:linear-gradient(90deg,transparent,rgba(255,255,255,.42),transparent);animation:content-progress-sweep 1.35s linear infinite}@keyframes content-progress-sweep{0%{transform:translate(-100%)}to{transform:translate(100%)}}.export-progress-track{flex:0 0 auto;height:10px;overflow:hidden;border-radius:999px;background:#e6edf5}.export-progress-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2563eb,#16a34a);transition:width .18s ease}.export-warning-list{display:grid;flex:1 1 auto;gap:6px;min-height:0;overflow:auto;padding:10px 12px;border:1px solid #f1c27d;border-radius:8px;background:#fff8ec;color:#7c4a12}.export-warning-list strong,.export-warning-list small{min-width:0;overflow-wrap:anywhere}.content-regenerate-actions{display:flex;flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end;gap:10px}.workflow-switch-card{width:min(560px,100%)}.workflow-switch-summary{display:grid;gap:8px;padding:12px;border:1px solid #dbe3ec;border-radius:8px;background:#f8fafc;color:#425267;line-height:1.6}.export-progress-actions{flex:0 0 auto;justify-content:flex-end;flex-wrap:wrap}.minimum-words-close{position:absolute;top:14px;right:14px;min-width:34px;min-height:34px;padding:0}.minimum-words-card>.panel-title,.minimum-words-actions{flex:0 0 auto}.minimum-words-copy,.minimum-words-hint{margin:0;line-height:1.7;color:#425267}.minimum-words-copy{flex:1 1 auto;min-height:0;overflow:auto}.minimum-words-hint{flex:0 0 auto;border:1px solid #dbe3ec;border-radius:8px;padding:10px 12px;background:#f8fafc;color:#637183;font-size:13px}.minimum-words-actions{justify-content:flex-end;flex-wrap:wrap}.content-runtime-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:8px;margin-top:12px}.content-runtime-stats div{min-width:0;border:1px solid #dbe3ec;border-radius:8px;padding:10px;background:#fff}.content-runtime-stats span{display:block;color:#637183;font-size:12px;font-weight:700}.content-runtime-stats strong{display:block;margin-top:3px;color:#16202a;font-size:14px;overflow-wrap:anywhere}.chapter-requirement-input{width:100%;min-width:0;border:1px solid #ccd7e3;border-radius:8px;padding:9px 10px;color:#253344;font:inherit}.spin{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(max-width:920px){.app-shell{grid-template-columns:1fr;height:auto;min-height:100vh;overflow:visible}.sidebar{position:static}nav{grid-template-columns:repeat(2,minmax(0,1fr))}.split,.split.wide-left,.knowledge-search-bar,.knowledge-layout,.knowledge-assets-grid,.knowledge-graph-body,.outline-knowledge-grid,.duplicate-upload-row,.rejection-upload-row,.rejection-result-command-bar,.rejection-result-status-grid,.duplicate-dimension-grid,.technical-document-upload-row,.bid-analysis-workspace,.bid-analysis-config-grid,.bid-analysis-config-presets,.content-generation-command-bar,.content-generation-workspace,.content-generation-config-row,.global-facts-command-bar,.global-facts-workspace,.global-facts-editor-grid,.outline-generation-workspace,.result-grid,.settings-row,.token-stats-row,.token-stats-grid,.image-test-preview,.parser-compare,.settings-card-grid,.settings-about-grid,.template-library-page,.duplicate-summary-grid,.duplicate-analysis-tabs,.rejection-check-result-tabs,.duplicate-image-grid,.task-grid,.option-grid,.export-template-workbench,.export-template-workspace,.export-format-grid,.export-format-grid.compact,.export-format-preset-cards,.export-format-level-colors,.export-template-select-body,.knowledge-items,.rejection-detail-grid{grid-template-columns:1fr}.outline-command-bar{align-items:stretch;flex-direction:column}.outline-command-actions{justify-content:flex-start}.export-template-preview,.export-template-preview-panel{position:static;max-height:none}.knowledge-graph-detail{border-left:0;border-top:1px solid #e5ebf1}.segmented{grid-auto-flow:row;width:100%}.duplicate-page-title,.rejection-page-title{flex-direction:column}.duplicate-upload-summary,.rejection-upload-summary{width:100%;justify-content:flex-start}.duplicate-upload-button,.rejection-file-button{min-height:42px}.rejection-upload-actions,.rejection-upload-actions.single-action{justify-content:flex-start;min-width:0}.rejection-document-tabs{width:100%}.rejection-document-tab{flex:1 0 auto}.rejection-reader-head{flex-direction:column}.rejection-reader-head span{text-align:left}.rejection-result-status,.rejection-result-command-bar .primary-button{width:100%}.bid-analysis-command-bar,.content-reader-head,.duplicate-match-card-head,.bid-analysis-reader-head{flex-direction:column}.bid-analysis-command-actions,.content-generation-actions,.content-reader-actions,.bid-analysis-reader-actions{width:100%;justify-content:flex-start}.bid-analysis-task-pane,.global-facts-list-pane,.content-outline-panel{border-right:0;border-bottom:1px solid #e1e8ef;padding-right:0;padding-bottom:14px}.content-outline-resizer,.global-facts-resizer{display:none}.bid-analysis-task-list,.content-outline-list,.global-facts-list{max-height:none}.content-generation-stats,.global-facts-stats,.content-reader-actions,.global-facts-reader-actions{justify-content:flex-start}.duplicate-pagination{align-items:stretch;flex-direction:column}.duplicate-pagination div{display:grid;grid-template-columns:1fr}.duplicate-pagination button{width:100%}.duplicate-sentence-content{flex-direction:column}.duplicate-sentence-content .compact-button{width:100%}.duplicate-image-item{grid-template-columns:1fr}.duplicate-image-item img,.image-placeholder{width:100%;height:auto;aspect-ratio:4 / 3}.global-facts-reader-head{flex-direction:column}.bid-analysis-json-table th{width:42%}.bid-analysis-config-modal,.content-generation-config-modal{align-items:end;padding:12px}.bid-analysis-config-card,.content-generation-config-card{max-height:calc(100vh - 24px);padding:18px}.bid-analysis-config-actions,.content-generation-config-actions{display:grid;grid-template-columns:1fr}.bid-analysis-config-actions button,.content-generation-config-actions button{width:100%}.content-generation-config-row.toggle-row{grid-template-columns:auto minmax(0,1fr)}.topbar,.page-heading{align-items:flex-start;flex-direction:column}.runtime-task-status-bar,.agent-runtime-status-bar{grid-template-columns:auto minmax(0,1fr);margin:12px 20px 0}.runtime-task-status-meta,.agent-runtime-status-meta{grid-column:2;justify-content:flex-start}.agent-self-check-status,.agent-self-check-result-head,.agent-self-check-result-actions{align-items:flex-start;flex-direction:column}.workspace{padding:20px}.template-editor-workspace{padding-bottom:150px}.export-template-page.template-editor-workspace{padding-bottom:0}.floating-toolbar{left:12px;right:12px;bottom:12px;max-width:calc(100vw - 24px);flex-wrap:wrap;border-radius:18px}.floating-toolbar-separator{display:none}.minimum-words-modal{align-items:end;padding:12px}.minimum-words-card{max-height:calc(100vh - 24px);padding:18px}.minimum-words-actions{display:grid;grid-template-columns:1fr}.minimum-words-actions button{width:100%}.outline-knowledge-search-row,.outline-knowledge-folder-head{grid-template-columns:1fr}.outline-knowledge-search-row span,.outline-knowledge-folder-head small{justify-self:start}.outline-knowledge-folder-actions{justify-content:stretch}.outline-knowledge-folder-actions button{flex:1}.outline-knowledge-pane-head{align-items:flex-start;flex-direction:column}.knowledge-workspace-bar,.knowledge-source-head{align-items:stretch;flex-direction:column}.demo-coming-page{min-height:0}.feature-under-development-overlay{position:relative;top:auto;left:auto;width:100%;transform:none}.demo-hero-card,.demo-content-grid,.demo-signal-grid{grid-template-columns:1fr}.knowledge-toolbar-actions,.knowledge-document-actions,.knowledge-folder-actions,.knowledge-migration-actions{justify-content:flex-start}.knowledge-toolbar-actions button,.knowledge-toolbar-actions .file-button,.knowledge-create-folder-bar button,.knowledge-document-actions button,.knowledge-migration-actions button{width:100%}.knowledge-create-folder-bar,.knowledge-analysis-command,.knowledge-analysis-grid,.knowledge-viewer-item-list,.knowledge-migration-stats{grid-template-columns:1fr}.knowledge-create-folder-bar{align-items:stretch;flex-direction:column}.knowledge-analysis-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.knowledge-analysis-section+.knowledge-analysis-section{border-top:1px solid #e5ebf1;border-left:0}.knowledge-source-modal{align-items:end;padding:12px}.knowledge-source-dialog-card,.knowledge-migration-card{max-height:calc(100vh - 24px)}.knowledge-source-viewer{height:calc(100vh - 24px)}.knowledge-breadcrumb strong,.knowledge-viewer-bar .knowledge-breadcrumb strong{max-width:100%}}.technical-document-reader-actions{display:flex;justify-content:flex-end;padding:0 18px 12px}.markdown-fullscreen-overlay{position:fixed;inset:0;z-index:1200;display:flex;padding:24px;background:#0f172ab8}.markdown-fullscreen-dialog{display:flex;flex:1;min-height:0;flex-direction:column;overflow:hidden;border:1px solid var(--line, #d7dee8);border-radius:8px;background:var(--surface, #fff);box-shadow:0 24px 80px #0f172a3d}.markdown-fullscreen-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;border-bottom:1px solid var(--line, #d7dee8)}.markdown-fullscreen-body{min-height:0;flex:1;overflow:auto;padding:24px}.markdown-fullscreen-editor{width:100%;height:100%;min-height:60vh;resize:none}
