:root{font-family:Inter,Segoe UI,Microsoft YaHei,PingFang SC,Arial,sans-serif;color:#16201c;background:#f5f7f6;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}.app-shell{min-height:100vh}.topbar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 28px;background:#fff}.module-menu{display:flex;flex-wrap:wrap;gap:8px;padding:0 28px 14px;border-bottom:1px solid #dde5e1;background:#fff}.module-menu button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:0 14px 0 12px;border:1px solid #cbd9d4;border-radius:8px;color:#23493e;background:#fff;font-size:14px;font-weight:800}.module-menu-icon{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border:1px solid #d8e6e0;border-radius:7px;color:#14755f;background:#eef8f4}.module-menu button:hover{border-color:#14755f;color:#0f5d4b;background:#f2faf7}.module-menu button.active{border-color:#176b55;color:#fff;background:#176b55}.module-menu button.active .module-menu-icon{border-color:#ffffff47;color:#fff;background:#ffffff29}.brand-lockup{display:flex;align-items:center;min-width:0;gap:18px}.brand-logo{display:block;width:clamp(220px,26vw,360px);max-height:54px;object-fit:contain}.brand-copy{min-width:0}.eyebrow{margin-bottom:4px;color:#527267;font-size:12px;font-weight:700;text-transform:uppercase}h1,h2{margin:0;letter-spacing:0}h1{font-size:24px;line-height:1.25}h2{font-size:18px}p{margin:0}.status-strip,.detail-actions,.panel-heading,.progress-band,.primary-action,.secondary-action,.translation-action,.danger-action,.utility-action,.icon-button{display:flex;align-items:center}.status-strip{gap:10px;color:#475b54;font-size:14px}.dot{width:9px;height:9px;border-radius:50%;background:#a7b2ad}.dot.ok{background:#148a5b}.icon-button{justify-content:center;width:32px;height:32px;border:1px solid #cfdbd6;border-radius:6px;color:#355149;background:#fff}.utility-action{gap:7px;justify-content:center;min-height:32px;padding:0 10px;border:1px solid #cbd9d4;border-radius:6px;color:#23493e;background:#fff;font-size:13px;font-weight:700}.utility-action.active,.help-entry.active{color:#fff;border-color:#176b55;background:#176b55}.spin{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:760px){.topbar{align-items:flex-start;flex-direction:column}.module-menu{padding:0 14px 14px}.module-menu button{flex:1 1 calc(50% - 8px)}.brand-lockup{align-items:flex-start;flex-direction:column;gap:10px}.brand-logo{width:min(280px,100%);max-height:44px}}.error-banner{margin:16px 28px 0;padding:10px 12px;border:1px solid #e2a6a2;border-radius:6px;color:#7f1d1d;background:#fff0ef}.workspace-grid{display:grid;grid-template-columns:300px minmax(420px,1fr);gap:18px;padding:18px 28px 28px}.workspace-grid.single-module{grid-template-columns:minmax(0,1fr)}.session-panel,.main-panel,.create-panel{min-height:calc(100vh - 168px);border:1px solid #dde5e1;border-radius:8px;background:#fff}.panel-heading{justify-content:space-between;gap:12px;padding:16px;border-bottom:1px solid #e5ece8}.panel-heading p{margin-top:3px;color:#687b73;font-size:13px}.session-list{display:grid;gap:8px;padding:12px}.session-actions{display:grid;gap:8px;padding:12px 12px 0}.session-actions .primary-action,.session-actions .secondary-action{width:100%}.session-row-shell{display:grid;grid-template-columns:1fr 34px;gap:6px;align-items:stretch}.session-row{display:grid;gap:6px;width:100%;padding:12px;border:1px solid transparent;border-radius:6px;text-align:left;color:#17241f;background:#f7faf8}.session-row-shell.active .session-row{border-color:#78a89a;background:#eef8f4}.session-delete{display:grid;place-items:center;border:1px solid #ead0cd;border-radius:6px;color:#8a2f2a;background:#fff8f7}.session-delete:hover{background:#ffeceb}.session-title{font-weight:700}.session-meta{color:#60766d;font-size:12px}.empty-state,.blank-detail{color:#667970;font-size:14px}.empty-state.compact{padding:8px 0;font-size:12px}.blank-detail{display:grid;place-items:center;align-content:center;gap:12px;height:100%}.project-detail{padding:18px}.detail-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:18px;border-bottom:1px solid #e5ece8}.detail-header p{margin-top:8px;color:#5c7168}.detail-actions{gap:8px;flex-wrap:wrap;justify-content:flex-end}.primary-action,.secondary-action,.translation-action,.danger-action{gap:8px;justify-content:center;min-height:36px;padding:0 12px;border-radius:6px;border:1px solid transparent;font-weight:700}.primary-action{color:#fff;background:#176b55}.primary-action:disabled{cursor:not-allowed;opacity:.45}.secondary-action{color:#23493e;border-color:#cbd9d4;background:#fff}.secondary-action:disabled{cursor:not-allowed;opacity:.5}.compact-action{min-height:26px;padding:0 9px;font-size:12px}.translation-action{color:#244564;border-color:#b9cbe2;background:#edf4fb}.translation-action:hover:not(:disabled){border-color:#6384ad;background:#e1edf8}.translation-action:disabled{cursor:not-allowed;opacity:.55}.danger-action{color:#fff;border-color:#a23a35;background:#a23a35}.danger-action:disabled{cursor:not-allowed;opacity:.55}.progress-band{gap:16px;margin-top:18px;padding:14px;border-radius:8px;background:#f1f6f3}.progress-label{display:block;color:#60766d;font-size:12px}.progress-meter{flex:1;height:10px;border-radius:999px;overflow:hidden;background:#d8e4df}.progress-meter span{display:block;height:100%;background:#176b55}.info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}.project-profile-editor{display:grid;gap:12px;margin-top:14px;padding:14px;border:1px solid #dce7e2;border-radius:8px;background:#fbfdfc}.project-profile-editor .section-header{align-items:flex-start}.profile-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.profile-form-grid .wide-field{grid-column:1 / -1}.info-block{display:flex;gap:10px;min-height:92px;padding:12px;border:1px solid #e1e9e5;border-radius:6px;background:#fff}.info-block span{color:#60766d;font-size:12px}.info-block p{margin-top:5px;color:#21362f;font-size:13px;line-height:1.45}.workflow-board{display:grid;grid-template-columns:minmax(360px,1fr) minmax(300px,420px);gap:12px;align-items:start;margin-top:18px}.workflow-list{display:grid;gap:0}.tabs{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px;border-bottom:1px solid #e1e9e5;padding-bottom:10px}.tabs button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:0 12px;border:1px solid #cbd9d4;border-radius:6px;color:#355149;background:#fff;font-weight:700}.tabs button.active{color:#fff;border-color:#176b55;background:#176b55}.tab-running-dot{--tab-dot-pulse: rgba(28, 166, 122, .45);width:8px;height:8px;border-radius:50%;background:#1ca67a;box-shadow:0 0 0 0 var(--tab-dot-pulse);animation:tabPulse 1.35s ease-out infinite}.tabs button.active .tab-running-dot{--tab-dot-pulse: rgba(255, 255, 255, .55);background:#fff}@keyframes tabPulse{0%{transform:scale(.92);box-shadow:0 0 0 0 var(--tab-dot-pulse)}70%{transform:scale(1);box-shadow:0 0 0 6px #1ca67a00}to{transform:scale(.92);box-shadow:0 0 #1ca67a00}}.tab-panel{display:grid;gap:14px;margin-top:16px}.inline-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.inline-tools input{max-width:360px}.evidence-guidance{display:grid;grid-template-columns:1fr minmax(280px,380px);gap:12px;align-items:center;padding:12px;border:1px solid #dce7e2;border-radius:6px;background:#f7faf8}.evidence-guidance p{margin-top:5px;color:#52685f;font-size:13px;line-height:1.5}.evidence-search-overview{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,360px);gap:12px;align-items:start;padding:12px;border:1px solid #dce7e2;border-radius:6px;background:#f7faf8}.evidence-overview-main{display:grid;gap:8px;min-width:0}.evidence-overview-main p{margin-top:5px;color:#52685f;font-size:13px;line-height:1.5}.quota-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.quota-grid.compact{align-self:stretch}.quota-item{display:grid;gap:3px;padding:9px;border:1px solid #d3e1dc;border-radius:6px;background:#fff}.quota-item span{color:#60766d;font-size:12px}.quota-item strong{color:#176b55;font-size:16px}.quota-item.full strong{color:#9a4f1b}.search-intent{display:grid;gap:8px;padding:12px;border:1px solid #dce7e2;border-radius:6px;background:#fbfdfc}.search-intent.compact{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:0;border:0;background:transparent}.search-intent.pending{border-color:#b8d9cc;background:#f1faf6}.search-intent div{display:flex;flex-wrap:wrap;gap:8px}.search-intent span{padding:4px 8px;border-radius:999px;color:#355149;background:#e8f0ec;font-size:12px}.search-intent .loading-chip{display:inline-flex;align-items:center;gap:5px;color:#176b55;background:#dff1eb}.search-intent p{margin:0;color:#60766d;font-size:13px;line-height:1.5}.search-intent-details{display:grid;gap:8px}.search-intent-details summary{width:fit-content;color:#176b55;font-size:13px;font-weight:800;cursor:pointer}.search-intent-details[open]{padding-top:4px}.card-list,.section-list{display:grid;gap:12px}.section-workbench{display:grid;grid-template-columns:minmax(260px,320px) minmax(0,1fr);gap:14px;align-items:start}.section-outline-panel{position:sticky;top:14px;display:grid;gap:10px;max-height:calc(100vh - 136px);overflow:auto;padding:12px;border:1px solid #dce7e2;border-radius:8px;background:#fbfdfc}.section-outline-heading{display:flex;align-items:center;justify-content:space-between;gap:7px;color:#123d32;font-size:14px}.section-outline-heading span{display:inline-flex;align-items:center;gap:7px}.section-outline-heading svg{color:#176b55}.section-outline-toggle-all{min-height:28px;padding:0 8px;border:1px solid #cbd9d4;border-radius:6px;color:#176b55;background:#fff;font-size:12px;font-weight:700}.section-outline-toggle-all:hover{border-color:#176b55;background:#f1faf6}.section-outline-note{display:grid;gap:4px;padding:9px 10px;border:1px solid #d9e7e2;border-radius:6px;background:#fff}.section-outline-note strong{color:#173d33;font-size:12px}.section-outline-note p{color:#60766d;font-size:12px;line-height:1.45}.section-outline-list,.section-outline-group,.section-outline-children,.section-outline-node,.section-outline-nested{display:grid;gap:5px}.section-outline-row{display:grid;grid-template-columns:minmax(0,1fr) 30px;gap:4px;align-items:start}.section-outline-children{margin-left:18px;padding-left:10px;border-left:1px solid #d7e4df}.section-outline-nested{margin-left:22px;padding-left:10px;border-left:1px solid #e2eee9}.section-outline-item{display:grid;grid-template-columns:auto minmax(0,1fr);gap:7px;align-items:start;width:100%;min-height:30px;padding:6px 8px;border:1px solid transparent;border-radius:6px;color:#355149;background:transparent;font-size:13px;line-height:1.35;text-align:left}.section-outline-toggle{display:grid;place-items:center;width:30px;height:30px;border:1px solid transparent;border-radius:6px;color:#60766d;background:transparent}.section-outline-toggle:hover{border-color:#cbd9d4;color:#176b55;background:#fff}.section-outline-item.level-2,.section-outline-item.level-3,.section-outline-item.level-4{grid-template-columns:minmax(0,1fr);color:#52685f;font-size:12px}.section-outline-item.level-2,.section-outline-item.level-3{padding-left:8px}.section-outline-item.level-4{padding-left:8px;color:#60766d}.section-outline-item:hover,.section-outline-item.active{border-color:#b8d2c9;color:#123d32;background:#eef8f3}.section-outline-index{color:#176b55;font-weight:800;white-space:nowrap}.section-outline-empty{color:#60766d;font-size:13px}.evidence-results{position:relative;min-height:180px}.evidence-results.loading .card-list{opacity:.45;pointer-events:none}.search-overlay{position:absolute;inset:0;z-index:2;display:flex;align-items:center;justify-content:center;gap:12px;min-height:180px;padding:20px;border:1px solid #dce7e2;border-radius:6px;color:#21362f;background:#fbfdfceb;text-align:left}.search-overlay svg{color:#176b55;flex:0 0 auto}.search-overlay p{margin-top:4px;color:#60766d;font-size:13px}.evidence-card,.section-editor{display:grid;gap:10px;padding:12px;border:1px solid #e1e9e5;border-radius:6px;background:#fff}.section-editor{scroll-margin-top:16px}.evidence-card h3{margin:0;font-size:15px;line-height:1.4}.evidence-card p{color:#536a61;font-size:13px;line-height:1.55;max-height:86px;overflow:auto}.source-chip{display:inline-flex;width:fit-content;margin-right:6px;padding:3px 7px;border-radius:999px;color:#355149;background:#e8f0ec;font-size:12px;font-weight:700}.source-chip.accepted,.source-chip.cited{color:#fff;background:#176b55}.source-chip.rejected{color:#7f1d1d;background:#ffe4e1}.source-chip.missing{color:#7a4300;background:#fff1d6}.source-link{display:inline-flex;align-items:center;min-height:34px;padding:0 10px;border:1px solid #cbd9d4;border-radius:6px;color:#176b55;background:#fff;font-size:13px;font-weight:700;text-decoration:none}.source-link.disabled{color:#87978f;background:#f4f7f5;cursor:not-allowed;pointer-events:none}.export-progress{display:grid;gap:6px;padding:9px 10px;border:1px solid #dce7e2;border-radius:6px;background:#fbfdfc;color:#536a61;font-size:12px}.export-progress.failed{border-color:#f4c7c3;background:#fff7f6;color:#7f1d1d}.source-link:hover{border-color:#176b55;background:#f1faf6}.export-format-grid{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:10px}.export-format-card{display:flex;flex-wrap:wrap;align-items:flex-start;gap:10px;min-height:86px;padding:14px;border:1px solid #cbd9d4;border-radius:8px;color:#173d33;background:#fff;text-align:left}.export-format-card:hover{border-color:#176b55;background:#f2faf6}.export-format-card svg{flex:0 0 auto;margin-top:2px;color:#176b55}.export-format-card span{display:grid;gap:5px}.export-format-card small{color:#60766d;font-size:12px;line-height:1.45}.export-language-actions{display:flex;flex-wrap:wrap;gap:8px;width:100%;margin-left:29px}.export-language-actions .primary-action,.export-language-actions .secondary-action{min-height:32px;padding:0 10px;font-size:13px}.export-record-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.export-record-title{display:inline-flex;align-items:center;gap:7px;color:#123d32}.export-record-title svg{color:#176b55}.export-delete-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:0 10px;border:1px solid #ead0cd;border-radius:6px;color:#8a2f2a;background:#fff8f7;font-size:13px;font-weight:700}.export-delete-button:hover{background:#ffeceb}.markdown-preview{min-height:180px;max-height:520px;overflow:auto;margin:0;padding:14px;border:1px solid #e1e9e5;border-radius:6px;white-space:pre-wrap;color:#17241f;background:#fbfdfc}.protocol-document{min-height:220px;padding:22px 26px;border:1px solid #d8e4de;border-radius:8px;color:#16201c;background:#fff;box-shadow:0 1px 2px #1428200d;line-height:1.68}.protocol-document h2,.protocol-document h3,.protocol-document h4,.protocol-document h5{scroll-margin-top:16px;margin:18px 0 8px;color:#123d32;letter-spacing:0}.protocol-document h2{padding-bottom:8px;border-bottom:1px solid #dce7e2;font-size:21px}.protocol-document h3{font-size:18px}.protocol-document h4,.protocol-document h5{font-size:15px}.protocol-document p,.protocol-document li{color:#273b34;font-size:14px}.protocol-document ul{margin:8px 0 14px;padding-left:20px}.table-scroll{overflow-x:auto;margin:12px 0}.protocol-document table{width:100%;border-collapse:collapse;font-size:13px}.protocol-document th,.protocol-document td{padding:8px 10px;border:1px solid #dce7e2;text-align:left;vertical-align:top}.protocol-document th{color:#123d32;background:#eef6f2}.translation-panel,.sample-result,.protocol-structure-note{display:grid;gap:10px;padding:14px;border:1px solid #dce7e2;border-radius:8px;background:#fbfdfc}.translation-panel{max-height:460px;overflow:auto;border-color:#c7d7eb;background:#f4f8fd;box-shadow:inset 3px 0 #6384ad}.translation-panel h4{margin:0;color:#1f3f66;font-size:15px}.translation-panel ul{margin:0;padding-left:20px}.summary-stack{display:grid;gap:16px}.summary-export-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.labeled-summary-list{display:grid;gap:8px;margin:10px 0 14px}.labeled-summary-list p{margin:0}.labeled-summary-list strong{color:#174d3f;margin-right:4px}.summary-document-card{display:grid;gap:10px}.summary-document-card>.section-header{align-items:flex-end;padding:0 2px}.summary-document-card h3{margin:0;color:#123d32;font-size:17px}.summary-document{min-height:0}.summary-translation-card{padding:14px 16px 16px;border:1px solid #c7d7eb;border-radius:8px;background:#f4f8fd;box-shadow:inset 3px 0 #6384ad}.summary-translation-card .section-header{gap:10px}.summary-translation-card .source-chip{max-width:100%;white-space:normal;text-align:right}.summary-translation-card .protocol-document{padding:18px 22px;border-color:#dbe6f2;box-shadow:none}.summary-translation-card .protocol-document h2:first-child,.summary-translation-card .protocol-document h3:first-child,.summary-translation-card .protocol-document h4:first-child{margin-top:0}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:10px}.metric-card{min-height:94px;padding:12px;border:1px solid #dce7e2;border-radius:8px;background:#fff}.metric-card span,.editor-label,.markdown-source span{color:#60766d;font-size:12px;font-weight:700}.metric-card strong{display:block;margin-top:6px;color:#123d32;font-size:26px}.metric-card p,.sample-explain p,.review-list p,.protocol-structure-note p{color:#60766d;font-size:13px}.metric-card.highlight{border-color:#176b55;background:#eef8f3}.technical-details summary{color:#355149;font-weight:700;cursor:pointer}.technical-details pre{max-height:260px;overflow:auto;padding:12px;border:1px solid #e1e9e5;border-radius:6px;background:#fff}.split-panel{grid-template-columns:minmax(260px,360px) 1fr;align-items:start}.sample-size-layout{display:grid;gap:14px}.sample-role-note{display:grid;grid-template-columns:minmax(220px,.75fr) minmax(360px,1.25fr);gap:14px;align-items:center;padding:14px;border:1px solid #dce7e2;border-radius:8px;background:#fbfdfc}.sample-role-note strong{color:#123d32}.sample-role-note p{margin-top:4px;color:#60766d;font-size:13px;line-height:1.5}.sample-role-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.sample-role-grid span{min-height:58px;padding:10px;border:1px solid #d3e1dc;border-radius:6px;color:#244b40;background:#fff;font-size:13px;font-weight:700;line-height:1.45}.project-form.compact{padding:0}.section-control-panel{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:stretch}.section-control-primary{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.section-generation-strip{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;align-items:center;min-height:42px;padding:9px 10px;border:1px solid #dce7e2;border-radius:8px;background:#fbfdfc}.section-generation-strip.failed{border-color:#e2a6a2;background:#fff8f7}.section-generation-copy{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:baseline;min-width:0}.section-generation-copy strong{color:#123d32;font-size:14px}.section-generation-copy span{min-width:0;color:#60766d;font-size:13px;line-height:1.4}.section-generation-meta{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;color:#60766d;font-size:13px;white-space:nowrap}.section-generation-strip .progress-meter{grid-column:1 / -1;height:6px}.section-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-header-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.section-header p{margin-top:4px;color:#60766d;font-size:13px}.generation-job{display:grid;gap:10px;padding:12px;border:1px solid #dce7e2;border-radius:6px;background:#f7faf8}.generation-job.failed{border-color:#e2a6a2;background:#fff0ef}.generation-history{display:grid;gap:8px;padding:8px 10px;border:1px solid #dce7e2;border-radius:8px;background:#fbfdfc}.generation-history summary{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#123d32;font-size:13px;font-weight:700;cursor:pointer}.generation-history summary small{color:#60766d;font-size:12px;font-weight:700}.generation-history[open] summary{margin-bottom:2px}.generation-history-list{display:grid;gap:7px}.generation-history-row{display:grid;grid-template-columns:90px minmax(180px,1fr) 90px 60px;gap:10px;align-items:center;min-height:36px;padding:8px 10px;border:1px solid #e1e9e5;border-radius:6px;color:#4d6259;background:#fff;font-size:13px}.generation-history-row strong{color:#123d32}.section-generation-hint{margin-top:-4px;color:#60766d;font-size:13px;line-height:1.55}.section-generation-hint.failed{color:#7f1d1d}.section-generation-gate{display:grid;gap:8px;padding:12px 14px;border:1px solid #ead0a1;border-radius:8px;color:#5c3d00;background:#fff8e8}.section-generation-gate strong{font-size:14px}.section-generation-gate ul{margin:0;padding-left:20px;color:#6f4d00;font-size:13px;line-height:1.55}.settings-panel{display:grid;gap:16px;padding:20px}.settings-shell{position:relative;min-height:520px}.settings-lock-overlay{position:absolute;inset:0;z-index:20;display:grid;place-items:center;min-height:520px;padding:24px;border-radius:12px;background:#f4faf775;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.settings-lock-dialog{display:grid;gap:14px;width:min(420px,100%);padding:22px;border:1px solid #c9ddd5;border-radius:10px;background:#fffffff5;box-shadow:0 18px 48px #101f192e}.settings-lock-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;color:#176b55;background:#e4f3ed}.settings-lock-dialog h3{margin:0;color:#123d32;font-size:18px}.settings-lock-dialog p{margin:6px 0 0;color:#60766d;font-size:13px;line-height:1.55}.settings-lock-dialog label{display:grid;gap:7px;color:#24483c;font-size:13px;font-weight:700}.settings-lock-dialog input{width:100%;border:1px solid #cbd9d4;border-radius:7px;padding:10px 11px;color:#123d32;background:#fff}.settings-lock-dialog input:focus{border-color:#176b55;outline:2px solid rgba(23,107,85,.14)}.settings-lock-error{padding:9px 10px;border:1px solid #ead0cd;border-radius:7px;color:#8a2f2a;background:#fff8f7;font-size:13px}.settings-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:14px;border-bottom:1px solid #dce7e2}.settings-header h2,.settings-section h3{margin:0;color:#123d32}.settings-header p,.settings-section p{margin:6px 0 0;color:#60766d;font-size:13px;line-height:1.55}.settings-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.danger-lite{border-color:#ead0cd;color:#8a2f2a;background:#fff8f7}.settings-status-grid,.settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.settings-status-grid>div{padding:12px;border:1px solid #dce7e2;border-radius:8px;background:#fbfdfc}.settings-status-grid span{display:block;color:#60766d;font-size:12px;font-weight:700}.settings-status-grid strong{display:block;margin-top:4px;color:#123d32;font-size:20px}.settings-history-layout{display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:14px;align-items:start}.settings-history-list{display:grid;gap:8px;max-height:430px;overflow:auto;padding-right:2px}.settings-history-item{display:grid;gap:4px;width:100%;padding:11px 12px;border:1px solid #dce7e2;border-radius:8px;color:#355149;background:#fff;text-align:left;cursor:pointer}.settings-history-item.active{border-color:#14755f;background:#eef8f4;box-shadow:inset 3px 0 #14755f}.settings-history-title{display:flex;flex-wrap:wrap;align-items:center;gap:8px;color:#123d32;font-weight:800}.settings-history-item span:not(.settings-history-title):not(.settings-history-status){color:#60766d;font-size:12px}.settings-history-status{padding:2px 7px;border-radius:999px;font-size:11px;font-weight:800}.settings-history-status.published{color:#11634f;background:#e5f4ef}.settings-history-status.archived{color:#5f6f68;background:#eaf0ed}.settings-history-detail{display:grid;gap:10px;min-width:0}.settings-history-detail-header{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;color:#60766d;font-size:13px}.settings-history-detail-header strong{color:#123d32}.settings-section,.settings-card{display:grid;gap:12px;padding:16px;border:1px solid #dce7e2;border-radius:8px;background:#fff}.settings-card{background:#fbfdfc}.settings-card-list{display:grid;gap:12px}.workflow-gate-selector{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px}.workflow-gate-chip{display:grid;gap:5px;min-height:116px;padding:12px;border:1px solid #dce7e2;border-radius:8px;color:#355149;background:#fff;text-align:left;cursor:pointer}.workflow-gate-chip.selected{border-color:#14755f;background:#eef8f4;box-shadow:inset 3px 0 #14755f}.workflow-gate-title{display:flex;flex-wrap:wrap;align-items:center;gap:8px;color:#123d32;font-size:14px;font-weight:800}.workflow-gate-key{color:#60766d;font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px}.workflow-gate-description{color:#60766d;font-size:12px;line-height:1.45}.workflow-gate-level{padding:2px 7px;border-radius:999px;font-size:11px;font-weight:800}.workflow-gate-level.required{color:#8a2f2a;background:#ffe8e4}.workflow-gate-level.optional{color:#355149;background:#eaf0ed}.workflow-gate-level.system{color:#11634f;background:#e5f4ef}.config-help-wrapper{position:relative;display:inline-flex;align-items:center}.config-help-button{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border:1px solid #cfded8;border-radius:999px;color:#60766d;background:#fff;cursor:pointer}.config-help-button:hover,.config-help-button.active{border-color:#14755f;color:#0f5d4b;background:#eef8f4}.config-help-popover{position:absolute;z-index:20;top:28px;left:0;display:grid;gap:6px;width:360px;max-width:min(360px,calc(100vw - 72px));padding:12px;border:1px solid #cfded8;border-radius:8px;color:#355149;background:#fff;box-shadow:0 14px 36px #0e2d2329;font-size:12px;font-weight:500;line-height:1.5}.config-help-popover strong{color:#123d32;font-size:13px;font-weight:800}.stage-config-layout{display:grid;grid-template-columns:minmax(240px,300px) minmax(0,1fr);gap:14px;align-items:start}.stage-list-panel,.stage-editor-panel{display:grid;gap:12px;min-width:0}.stage-list-panel{position:sticky;top:12px}.settings-note,.field-help{color:#60766d;font-size:12px;line-height:1.55}.settings-note{padding:10px 12px;border:1px solid #dce7e2;border-radius:6px;background:#f7faf8}.summary-config-layout{display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:14px;align-items:start}.summary-list-panel,.summary-editor-panel{display:grid;gap:12px;min-width:0}.summary-list-panel{position:sticky;top:12px}.summary-field-list{display:grid;gap:8px;max-height:620px;overflow:auto;padding-right:2px}.summary-field-item{display:grid;gap:4px;width:100%;padding:11px 12px;border:1px solid #dce7e2;border-radius:8px;color:#355149;background:#fff;text-align:left;cursor:pointer}.summary-field-item.active{border-color:#14755f;background:#eef8f4;box-shadow:inset 3px 0 #14755f}.summary-field-title{color:#123d32;font-weight:800;line-height:1.35}.summary-field-key{color:#60766d;font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px;overflow-wrap:anywhere}.summary-editor-panel,.summary-field-editor{display:grid;gap:12px;min-width:0}.summary-editor-panel{padding:14px;border:1px solid #dce7e2;border-radius:8px;background:#fbfdfc}.summary-field-editor{padding-top:12px;border-top:1px solid #dce7e2}.summary-field-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}.stage-list{display:grid;gap:8px}.stage-list-item{display:grid;gap:4px;width:100%;padding:11px 12px;border:1px solid #dce7e2;border-radius:8px;color:#355149;background:#fff;text-align:left;cursor:pointer}.stage-list-item.active{border-color:#14755f;background:#eef8f4;box-shadow:inset 3px 0 #14755f}.stage-list-title{color:#123d32;font-weight:800}.stage-list-key{color:#60766d;font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px;overflow-wrap:anywhere}.stage-effect{width:fit-content;padding:2px 7px;border-radius:999px;font-size:11px;font-weight:800}.stage-effect.success{color:#11634f;background:#e5f4ef}.stage-effect.warning{color:#7a4f00;background:#fff3d4}.stage-effect.danger{color:#8a2f2a;background:#ffe8e4}.stage-editor-panel{padding:14px;border:1px solid #dce7e2;border-radius:8px;background:#fbfdfc}.stage-editor-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:1px solid #dce7e2}.stage-editor-header h4{margin:0;color:#123d32;font-size:18px}.stage-editor-header p{margin:4px 0 0}.stage-title-translation{color:#527267;font-size:14px;font-weight:800}.stage-requirement-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.stage-requirement-grid>div{display:grid;gap:4px;padding:10px;border:1px solid #dce7e2;border-radius:6px;background:#fff}.stage-requirement-grid strong{color:#123d32;font-size:12px}.stage-requirement-grid span{color:#60766d;font-size:12px;line-height:1.45}.field-label-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.field-badge{padding:1px 6px;border-radius:999px;font-size:11px;font-weight:800}.field-badge.required{color:#8a2f2a;background:#ffe8e4}.field-badge.optional{color:#355149;background:#eaf0ed}.stage-section-tags{display:flex;flex-wrap:wrap;gap:6px}.source-option-tags{margin-top:8px}.section-key-chip{display:inline-grid;gap:2px;max-width:260px;padding:5px 8px;border:1px solid #cfded8;border-radius:999px;color:#355149;background:#fff;font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:11px;cursor:pointer}.section-key-chip small{overflow:hidden;color:#60766d;font-family:inherit;font-size:10px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.section-key-chip.selected{border-color:#14755f;color:#0f5d4b;background:#e5f4ef}.section-key-chip.selected small{color:#0f5d4b}.template-config-layout{display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:14px;align-items:start}.template-list-panel,.template-editor-panel{display:grid;gap:12px;min-width:0}.template-list-panel{position:sticky;top:12px}.template-list{display:grid;gap:8px;max-height:620px;overflow:auto;padding-right:2px}.template-list-item{display:grid;gap:4px;width:100%;padding:11px 12px;border:1px solid #dce7e2;border-radius:8px;color:#355149;background:#fff;text-align:left;cursor:pointer}.template-list-item.active{border-color:#14755f;background:#eef8f4;box-shadow:inset 3px 0 #14755f}.template-list-item.dragging{opacity:.55;border-style:dashed}.template-list-row{display:grid;grid-template-columns:18px minmax(0,1fr);gap:8px;align-items:start}.template-list-copy{display:grid;gap:4px;min-width:0}.drag-handle{color:#8aa098;font-size:14px;line-height:1;cursor:grab;-webkit-user-select:none;user-select:none}.template-list-item:active .drag-handle{cursor:grabbing}.template-list-title{color:#123d32;font-weight:800;line-height:1.35}.template-list-key{color:#60766d;font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px;overflow-wrap:anywhere}.template-editor-panel{padding:14px;border:1px solid #dce7e2;border-radius:8px;background:#fbfdfc}.template-stage-label{margin-bottom:6px;color:#355149;font-size:13px;font-weight:700}.settings-panel label{display:grid;gap:6px;color:#355149;font-size:13px;font-weight:700}.settings-panel input,.settings-panel select,.settings-panel textarea{width:100%;padding:9px 10px;border:1px solid #cfded8;border-radius:6px;color:#17241f;background:#fff;font:inherit;font-size:13px}.settings-panel textarea{min-height:44px;resize:vertical;line-height:1.5}.job-meta{display:flex;flex-wrap:wrap;gap:12px;color:#60766d;font-size:13px}.error-text{color:#7f1d1d;font-weight:700}.section-badges{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;align-items:center}.section-badges.business{max-width:720px}.section-state-chip,.section-missing-button,.section-note-button{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 9px;border:1px solid #cfded8;border-radius:6px;color:#355149;background:#fff;font-size:12px;font-weight:800;white-space:nowrap}.section-state-chip.done,.section-state-chip.ready,.section-missing-button.resolved{border-color:#9ccdbd;color:#176b55;background:#eef8f3}.section-state-chip.missing,.section-missing-button.needs-input{border-color:#e6bc64;color:#7a4f00;background:#fff7e6}.section-state-chip.running{border-color:#9ccdbd;color:#176b55;background:#eef8f3}.section-state-chip.empty{color:#60766d;background:#f6f8f7}.section-missing-button,.section-note-button{cursor:pointer}.section-missing-button span,.section-note-button span{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;color:#fff;background:#176b55;font-size:11px}.section-note-button{border-color:#b8d9cc;color:#176b55;background:#f7fcfa}.section-edit-button{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 12px;border:1px solid #176b55;border-radius:6px;color:#176b55;background:#fff;font-size:13px;font-weight:700}.section-edit-button:hover{background:#eef8f3}.section-edit-button:disabled{cursor:not-allowed;opacity:.58}.section-rewrite-prompt{display:grid;gap:6px;padding:10px 12px;border:1px solid #dce7e2;border-radius:8px;background:#fbfdfc}.section-rewrite-dialog{width:min(620px,calc(100vw - 32px))}.section-rewrite-dialog>p{margin:0;color:#60766d;font-size:13px}.section-rewrite-prompt span{color:#60766d;font-size:12px;font-weight:800}.section-rewrite-prompt textarea{min-height:58px;width:100%;resize:vertical;padding:9px 10px;border:1px solid #cfded8;border-radius:6px;color:#17241f;background:#fff;font:inherit;font-size:13px;line-height:1.5}.section-rewrite-progress{display:grid;gap:8px;padding:10px 12px;border:1px solid #b8d9cc;border-radius:8px;color:#355149;background:#f1faf6;font-size:13px}.section-rewrite-progress .progress-meter{height:6px}.source-chip.generator-kimi{color:#fff;background:#176b55}.source-chip.generator-fallback{color:#6f4d00;background:#fff4cf}.section-warning{margin:0;padding:8px 10px;border:1px solid #f0d18a;border-radius:6px;color:#6f4d00;background:#fff9e8;font-size:13px}.review-notes-panel{display:grid;gap:10px;padding:13px;border:1px solid #cfded8;border-radius:8px;color:#273b34;background:#f8fbfa}.review-notes-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.review-notes-header strong{color:#123d32;font-size:14px}.review-notes-panel ul{margin:0;padding-left:20px;font-size:13px;line-height:1.6}.missing-inputs-panel{display:grid;gap:12px;padding:13px;border:1px solid #e9c781;border-radius:8px;background:#fffaf0}.missing-inputs-panel.complete{border-color:#98cabb;background:#f1faf6}.missing-inputs-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.missing-inputs-header p,.missing-inputs-assessment{margin-top:4px;color:#60766d;font-size:13px;line-height:1.5}.missing-inputs-assessment.complete{color:#176b55;font-weight:700}.missing-inputs-panel ul{margin:0;padding-left:20px;color:#273b34;font-size:13px;line-height:1.6}.missing-inputs-group{display:grid;gap:8px}.missing-inputs-group>strong{color:#173d33;font-size:13px}.missing-inputs-item-list{display:grid;gap:8px}.missing-input-item{display:grid;gap:5px;padding:10px;border:1px solid #dbe7e2;border-radius:6px;background:#fff}.missing-input-item.editable textarea{min-height:74px;width:100%;resize:vertical;padding:9px 10px;border:1px solid #cfded8;border-radius:6px;color:#17241f;background:#fff;font:inherit;font-size:13px;line-height:1.5}.missing-input-item.ignored{background:#f6f8f7}.missing-input-item.ignored textarea{color:#7b8c84;background:#eef2f0}.missing-input-row-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.missing-input-item-header{display:flex;justify-content:space-between;gap:10px;color:#162820;font-size:13px;font-weight:700}.missing-input-item-header em{flex:0 0 auto;color:#60766d;font-size:12px;font-style:normal}.missing-input-item p{margin:0;color:#52685f;font-size:13px;line-height:1.5}.missing-input-evidence{display:flex;flex-wrap:wrap;gap:6px}.missing-input-evidence span{padding:3px 7px;border-radius:999px;color:#176b55;background:#e8f3ef;font-size:12px;font-weight:700}.missing-inputs-textarea{display:grid;gap:7px}.missing-inputs-textarea span{color:#60766d;font-size:12px;font-weight:700}.missing-inputs-textarea textarea{min-height:130px;width:100%;resize:vertical;padding:12px;border:1px solid #d9c08b;border-radius:8px;color:#17241f;background:#fff;line-height:1.55}.missing-inputs-unresolved{display:grid;gap:6px;padding:10px;border:1px solid #edd6a3;border-radius:6px;background:#fffdf7}.missing-inputs-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.export-missing-warning{display:grid;gap:12px;color:#273b34}.export-missing-warning p{margin:0;color:#5c3d00;line-height:1.55}.export-missing-list{display:grid;gap:8px;max-height:min(52vh,420px);overflow:auto}.export-missing-section{display:grid;gap:6px;padding:10px;border:1px solid #ead0a1;border-radius:6px;background:#fffaf0}.export-missing-section strong{color:#123d32}.export-missing-section ul{margin:0;padding-left:18px;font-size:13px;line-height:1.5}.document-editor{display:grid;grid-template-columns:minmax(320px,1.1fr) minmax(280px,.9fr);gap:14px;align-items:stretch}.document-editor.single{grid-template-columns:1fr}.document-preview,.markdown-source{display:grid;gap:8px}.markdown-source textarea{min-height:420px;width:100%;resize:vertical;padding:14px;border:1px solid #cddbd5;border-radius:8px;color:#17241f;background:#fff;font-family:Consolas,Courier New,monospace;line-height:1.55}.edit-actions{display:flex;justify-content:flex-end;gap:8px}.modal-backdrop{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:24px;background:#0e181461}.confirm-dialog{display:grid;gap:18px;width:min(460px,100%);padding:20px;border:1px solid #dce7e2;border-radius:10px;background:#fff;box-shadow:0 18px 50px #101f1933}.confirm-dialog.danger{border-color:#e3bbb8}.confirm-dialog h2{margin:0;font-size:18px}.confirm-dialog p{margin-top:8px;color:#5e7169;line-height:1.6}.confirm-actions{display:flex;justify-content:flex-end;gap:8px}.editor-toolbar{display:flex;gap:6px}.editor-toolbar button{min-width:34px;min-height:30px;border:1px solid #cbd9d4;border-radius:5px;color:#355149;background:#fff;font-weight:700}.rich-editor{min-height:260px;border:1px solid #cddbd5;border-radius:6px;padding:10px;background:#fff}.rich-editor .ProseMirror{min-height:238px;outline:none;line-height:1.55}.rich-editor pre{white-space:pre-wrap;font-family:Consolas,Courier New,monospace}.workflow-timeline-item{position:relative;display:grid;grid-template-columns:92px minmax(0,1fr);gap:12px;align-items:stretch}.workflow-timeline-item+.workflow-timeline-item{margin-top:10px}.timeline-rail{position:relative;display:grid;grid-template-rows:34px auto;justify-items:center;min-height:82px;padding-top:11px}.timeline-line{position:absolute;top:28px;bottom:-28px;left:50%;border-left:2px dashed #b8ccc4;transform:translate(-50%)}.workflow-timeline-item:last-child .timeline-line{display:none}.timeline-node{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;width:34px;height:34px;border:3px solid #f6faf8;border-radius:50%;color:#fff;background:#176b55;box-shadow:0 0 0 1px #c9ddd5}.workflow-timeline-item.current .timeline-node{background:#176b55;box-shadow:0 0 0 1px #86b6a7,0 0 0 6px #176b5514}.workflow-timeline-item.pending .timeline-node{color:#60766d;background:#e8f0ec}.timeline-time{position:relative;z-index:1;width:84px;margin-top:4px;padding:2px 4px;border-radius:999px;color:#60766d;background:#f6faf8;font-size:11px;line-height:1.35;text-align:center;white-space:normal}.workflow-timeline-item.completed .timeline-time{color:#176b55}.workflow-timeline-item.current .timeline-time{color:#176b55;font-weight:700}.workflow-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;width:100%;padding:12px;border:1px solid #e1e9e5;border-radius:6px;color:#17241f;text-align:left;background:#fff}.workflow-row.current{border-color:#86b6a7;background:#f1faf6}.workflow-row.selected{border-color:#176b55;box-shadow:inset 3px 0 #176b55}.workflow-row.completed{color:#2f5d4f;background:#f7faf8}.workflow-row p{margin-top:4px;color:#60766d;font-size:13px}.review-chip{padding:4px 8px;border-radius:999px;color:#355149;background:#e8f0ec;font-size:12px;white-space:nowrap}.review-chip.required{color:#7c3d00;background:#fff0d6}.review-chip.system{color:#1d4d63;background:#e3f3f8}.workflow-detail{display:grid;gap:12px;padding:14px;border:1px solid #dce7e2;border-radius:6px;background:#fbfdfc}.workflow-detail h3{margin:2px 0 0;font-size:17px}.workflow-detail p{color:#52685f;font-size:13px;line-height:1.55}.workflow-checks,.workflow-signals{display:grid;gap:8px}.workflow-blockers{display:grid;gap:6px;padding:10px;border:1px solid #f0c7a4;border-radius:6px;color:#7c3f12;background:#fff7ed}.workflow-blockers p{margin:0;color:#7c3f12;font-size:13px}.workflow-check{display:grid;grid-template-columns:18px 1fr;gap:8px;align-items:start;color:#21362f;font-size:13px;line-height:1.45}.workflow-check svg{margin-top:2px;color:#176b55}.signal-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px;border:1px solid #e1e9e5;border-radius:5px;color:#60766d;background:#fff;font-size:13px}.signal-row.ok b{color:#176b55}.signal-row.pending b{color:#9a4f1b}.helper-text{margin:0;color:#60766d;font-size:12px}.status-note{display:inline-flex;align-items:center;min-height:34px;padding:0 10px;border-radius:6px;color:#355149;background:#e8f0ec;font-size:13px;font-weight:700}.project-form{display:grid;gap:12px;padding:14px}.create-project-panel{padding:18px}.create-project-panel .project-form{margin-top:16px;padding:0;grid-template-columns:repeat(2,minmax(0,1fr))}.create-project-panel .project-form label:nth-last-of-type(-n+3){grid-column:1 / -1}.create-project-panel .project-form button{grid-column:1 / -1}label{display:grid;gap:6px;color:#41554d;font-size:13px;font-weight:700}input,select,textarea{width:100%;border:1px solid #cddbd5;border-radius:6px;padding:9px 10px;color:#17241f;background:#fff}input:disabled,select:disabled,textarea:disabled{cursor:not-allowed;background:#f2f6f4;opacity:.75}textarea{resize:vertical}.auth-shell{display:grid;place-items:center;min-height:100vh;padding:24px}.auth-panel{display:grid;gap:18px;width:min(520px,100%);padding:28px;border:1px solid #d9e5df;border-radius:8px;background:#fff;box-shadow:0 18px 40px #17241f14}.auth-panel h1{margin:4px 0 8px}.auth-panel p{margin:0;color:#62706a}.auth-actions{display:flex;flex-wrap:wrap;gap:10px}.auth-actions a{text-decoration:none}.help-doc{display:grid;gap:18px;padding:18px}.help-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,320px);gap:18px;align-items:start;padding-bottom:18px;border-bottom:1px solid #e5ece8}.help-hero h2{margin-top:3px;font-size:24px}.help-hero p,.help-section-copy p,.help-callout p,.help-quickstart li,.help-section-copy li{color:#52685f;font-size:14px;line-height:1.65}.help-hero-aside{display:flex;gap:10px;align-items:flex-start;padding:12px;border:1px solid #dce7e2;border-radius:8px;color:#244b40;background:#f1faf6;font-size:13px;line-height:1.55}.help-hero-aside svg,.help-callout svg{flex:0 0 auto;color:#176b55}.help-layout{display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:18px;align-items:start}.help-sidebar{position:sticky;top:18px;display:grid;gap:10px;max-height:calc(100vh - 190px);overflow:auto;padding:14px;border:1px solid #dce7e2;border-radius:8px;background:#fff}.help-content{display:grid;gap:18px;min-width:0}.help-content>section,.help-module-list>section{scroll-margin-top:18px}.help-nav{display:grid;gap:7px}.help-nav a{min-height:34px;padding:8px 10px;border:1px solid #cbd9d4;border-radius:6px;color:#176b55;background:#fff;font-size:13px;font-weight:700;text-decoration:none}.help-nav a:hover{border-color:#176b55;background:#f1faf6}.help-architecture{display:grid;gap:12px;padding:14px;border:1px solid #dce7e2;border-radius:8px;background:#fff}.help-architecture .section-header p{max-width:880px}.help-architecture-figure{margin:0}.help-architecture-figure img{display:block;width:100%;border:1px solid #d8e4de;border-radius:8px;background:#f7faf8}.help-architecture-figure figcaption{margin-top:8px;color:#60766d;font-size:12px;text-align:right}.stage-rationale{display:grid;gap:12px;padding-top:4px}.stage-rationale h4{margin:0;color:#123d32;font-size:18px}.stage-rationale-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.stage-rationale-card{display:grid;gap:7px;padding:12px;border:1px solid #dce7e2;border-radius:8px;background:#fbfdfc}.stage-rationale-card span{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;color:#fff;background:#176b55;font-size:12px;font-weight:800}.stage-rationale-card strong{color:#123d32;font-size:14px}.stage-rationale-card p{color:#52685f;font-size:13px;line-height:1.55}.help-quickstart,.help-callout{display:grid;gap:12px;padding:14px;border:1px solid #dce7e2;border-radius:8px;background:#fbfdfc}.help-quickstart{gap:16px;padding:18px 20px 20px;border-color:#a9cfc3;background:#f4fbf8;box-shadow:inset 4px 0 #176b55}.help-quickstart .section-header{align-items:flex-start}.help-quickstart .section-header svg{color:#176b55}.help-quickstart .section-header p{margin-top:5px;color:#52685f;font-size:14px;line-height:1.5}.help-quickstart ol{margin:0;padding-left:22px}.quickstart-content{display:grid;gap:16px;align-items:start}.quickstart-flow{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;align-items:stretch;position:relative}.quickstart-step{position:relative;z-index:1;display:grid;gap:6px;min-height:132px;padding:14px;border:1px solid #b7d8cf;border-radius:8px;background:#fff;box-shadow:0 1px 2px #1428200f}.quickstart-step-title{display:flex;align-items:center;gap:8px;min-width:0}.quickstart-step span{display:inline-grid;flex:0 0 auto;place-items:center;width:28px;height:28px;border-radius:50%;color:#fff;background:#176b55;font-size:13px;font-weight:800}.quickstart-step strong{min-width:0;color:#123d32;font-size:15px;line-height:1.25}.quickstart-step p{color:#60766d;font-size:12px;line-height:1.5}.quickstart-arrow{position:absolute;top:28px;width:24px;height:2px;background:#78a89a}.quickstart-arrow:after{content:"";position:absolute;right:-1px;top:50%;width:8px;height:8px;border-top:2px solid #78a89a;border-right:2px solid #78a89a;transform:translateY(-50%) rotate(45deg)}.quickstart-flow .quickstart-arrow:nth-of-type(2){left:calc(20% - 13px)}.quickstart-flow .quickstart-arrow:nth-of-type(4){left:calc(40% - 13px)}.quickstart-flow .quickstart-arrow:nth-of-type(6){left:calc(60% - 13px)}.quickstart-flow .quickstart-arrow:nth-of-type(8){left:calc(80% - 13px)}.help-module-list{display:grid;gap:18px}.help-section{display:grid;grid-template-columns:minmax(260px,.82fr) minmax(420px,1.18fr);gap:18px;align-items:start;padding-top:18px;border-top:1px solid #e5ece8}.help-section-copy{display:grid;gap:10px}.help-section-copy h3,.help-quickstart h3{margin:0;color:#123d32;font-size:18px}.help-section-copy ul{margin:0;padding-left:18px}.help-figure{margin:0}.help-figure img{display:block;width:100%;border:1px solid #d8e4de;border-radius:8px;background:#fff;box-shadow:0 1px 2px #1428200f}.help-figure figcaption{margin-top:7px;color:#60766d;font-size:12px;text-align:right}.help-callout{grid-template-columns:auto 1fr;align-items:start;background:#f1faf6}.help-callout strong{color:#123d32}@media(max-width:1180px){.workspace-grid{grid-template-columns:260px minmax(0,1fr)}.section-workbench{grid-template-columns:minmax(230px,280px) minmax(0,1fr)}}@media(max-width:760px){.topbar,.detail-header{flex-direction:column;align-items:stretch}.workspace-grid{grid-template-columns:1fr;padding:14px}.session-panel,.main-panel,.create-panel{min-height:auto}.create-project-panel .project-form,.info-grid,.profile-form-grid,.split-panel,.sample-role-note,.sample-role-grid,.workflow-board,.evidence-guidance,.evidence-search-overview,.section-control-panel,.document-editor,.section-workbench,.settings-history-layout,.summary-config-layout,.stage-config-layout,.template-config-layout,.metric-grid{grid-template-columns:1fr}.stage-list-panel,.summary-list-panel,.template-list-panel{position:static}.stage-editor-header{flex-direction:column;align-items:stretch}.stage-requirement-grid{grid-template-columns:1fr}.section-outline-panel{position:static;max-height:320px}.section-outline-list{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.workflow-timeline-item{grid-template-columns:68px minmax(0,1fr);gap:8px}.timeline-time{width:64px;font-size:10px}.workflow-row{grid-template-columns:1fr}.review-chip{width:fit-content}.status-strip{flex-wrap:wrap}.help-hero,.help-layout,.help-section{grid-template-columns:1fr}.help-sidebar{position:static;max-height:none}.quickstart-content,.quickstart-flow{grid-template-columns:1fr}.quickstart-flow{gap:12px}.quickstart-step{min-height:auto}.quickstart-arrow{position:relative;top:auto;left:14px!important;width:2px;height:18px}.quickstart-arrow:after{inset:auto auto -1px 50%;transform:translate(-50%) rotate(135deg)}}
