:root{color:#1f2d3d;background:#f3f7fc;font-family:Inter,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{background:#f3f7fc;min-width:320px;margin:0}.app-shell{min-height:100vh}.page{width:100%;max-width:1480px;margin:0 auto;padding:24px}.page-heading{justify-content:space-between;align-items:flex-end;margin-bottom:20px;display:flex}.page-heading h1{color:#152a43;margin:0;font-size:25px}.page-heading p{color:#66788a;margin:5px 0 0}.amount-summary .ant-card-body{padding-top:16px}.amount-currency+.amount-currency{border-top:1px solid #e5edf7;margin-top:20px;padding-top:20px}.amount-currency-title{color:#0958d9;margin-bottom:12px;font-weight:700}.amount-metric{background:#f7fbff;border:1px solid #d9e8fb;border-radius:10px;height:100%;padding:16px 18px}.amount-metric-month{background:#eef6ff}.amount-metric-paid{background:#f4fff7;border-color:#b7ebc6}.amount-metric-outstanding{background:#fff7f6;border-color:#ffd1cf}.amount-metric-label{color:#66788a;font-size:13px}.amount-metric-value{color:#15395b;margin-top:7px;font-size:24px;font-weight:750;line-height:1.25}.amount-metric-paid .amount-metric-value{color:#237804}.amount-metric-outstanding .amount-metric-value{color:#cf1322}.status-pill{font-weight:600}.rich-editor{background:#fff;border:1px solid #d9d9d9;border-radius:8px;overflow:hidden}.rich-editor:focus-within{border-color:#1677ff;box-shadow:0 0 0 2px #0591ff1a}.rich-editor-toolbar{background:#f7faff;border-bottom:1px solid #edf1f5;flex-wrap:wrap;align-items:center;gap:6px;padding:8px 10px;display:flex}.rich-editor-content,.knowledge-content{white-space:pre-wrap;overflow-wrap:anywhere;outline:none;min-height:320px;padding:18px 20px;font-size:15px;line-height:1.8}.rich-editor-content:empty:before{content:attr(data-placeholder);color:#bfbfbf;pointer-events:none}.rich-editor-content img,.knowledge-content img{border-radius:6px;max-width:100%;height:auto;margin:14px auto;display:block;box-shadow:0 3px 14px #1f4f801f}.rich-editor-content h1,.rich-editor-content h2,.rich-editor-content h3,.knowledge-content h1,.knowledge-content h2,.knowledge-content h3{margin:1em 0 .55em;line-height:1.35}.rich-editor-content blockquote,.knowledge-content blockquote{color:#475c70;background:#f5faff;border-left:4px solid #91caff;margin:12px 0;padding:8px 14px}.rich-editor-content pre,.knowledge-content pre{background:#f5f7fa;border-radius:6px;padding:14px;overflow:auto}.knowledge-content{min-height:180px;padding:4px 2px}@media (width<=850px){.page{padding:16px}.amount-metric-value{font-size:20px}.rich-editor-content{min-height:260px;padding:14px}}.script-category-list{gap:18px;display:grid}.script-category .ant-card-head{font-size:18px;font-weight:700}.script-entries{gap:10px;display:grid}.script-entry{background:#fbfdff;border:1px solid #e5edf7;border-radius:10px;justify-content:space-between;align-items:center;gap:14px;padding:10px 12px;display:flex}.script-entry-content{flex:1;min-width:0}.script-entry-content .knowledge-content{overflow-wrap:anywhere;min-height:0;padding:0}.script-entry-content .knowledge-content p:first-child{margin-top:0}.script-entry-content .knowledge-content p:last-child{margin-bottom:0}.script-entry-actions{flex-shrink:0}.script-fullscreen{background:#f3f7fc;min-height:100vh;padding:32px max(24px,50vw - 590px)}.script-fullscreen-exit{z-index:5;position:fixed;top:18px;right:20px}.script-fullscreen .script-category .ant-card-head{font-size:22px}.script-fullscreen .script-entry{background:#fff;padding:16px 18px}.script-fullscreen .script-entry-content{font-size:17px}.page.project-page{width:100%;max-width:none;margin:0}.project-followup-preview.ant-btn{text-align:left;white-space:normal;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:4px;width:100%;height:auto;min-height:44px;padding:4px 0;display:flex}.project-followup-content{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;line-height:1.5;display:-webkit-box;overflow:hidden}.project-followup-meta{color:#7a8798;white-space:normal;font-size:12px}.app-sider .ant-layout-sider-children{scrollbar-width:thin;scrollbar-color:#405776 transparent;height:100dvh;padding:0 10px 16px;position:sticky;top:0;overflow-y:auto}.brand{color:#fff;letter-spacing:.06em;border-bottom:1px solid #ffffff21;align-items:center;gap:12px;height:72px;margin:0 8px 15px;font-size:19px;font-weight:700;display:flex}.brand-mark{color:#163d49;background:#a5e4dd;border-radius:11px;place-items:center;width:34px;height:34px;display:inline-grid}.app-header{z-index:3;border-bottom:1px solid #dde4ed;align-items:center;gap:12px;display:flex;position:sticky;top:0;padding-inline:clamp(12px,2vw,32px)!important}.module-nav{scrollbar-width:thin;flex:1;align-items:center;gap:4px;min-width:0;display:flex;overflow-x:auto}.module-nav .ant-btn{box-shadow:none;flex:none;font-weight:550}.module-nav .ant-btn-primary{color:#204eaa;background:#e8effc}.module-nav .ant-btn-primary:hover{color:#fff!important}.account-menu.ant-btn{flex:none;height:38px}.account-menu .ant-avatar{color:#216658;background:#e2f1ec}.mobile-trigger.ant-btn{display:none}.resource-card{box-shadow:0 2px 5px #21374f06;border:1px solid #e0e6ed!important}.workbench-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.workbench-metric{background:#fff;border:1px solid #dfe6ed;border-radius:12px;padding:17px 20px;position:relative}.metric-label{color:#55657b;font-weight:550}.metric-value{font-variant-numeric:tabular-nums;margin-top:10px;font-size:32px;font-weight:650;line-height:1.05}.metric-icon{color:#526d90;background:#eff3f8;border-radius:8px;place-items:center;width:28px;height:28px;display:grid;position:absolute;top:15px;right:16px}.metric-today{color:#fff;background:linear-gradient(106deg,#193b55,#226673);border-color:#0000;grid-column:span 2;overflow:hidden}.metric-today .metric-label{color:#d4ecec}.metric-today .metric-icon{color:#ccf5ec;background:#ffffff1c}.metric-overdue .metric-icon{color:#a94c35;background:#fbede7}.metric-projectRisks .metric-icon{color:#926523;background:#faf1de}.login-wrap{background:#eff3f7;grid-template-columns:minmax(230px,360px) minmax(320px,420px);place-content:center;min-height:100dvh;padding:36px 24px;display:grid}.login-story,.login-panel{padding:clamp(32px,4vw,58px)}.login-story{color:#fff;background:linear-gradient(145deg,#192d48 12%,#245963 100%);border-radius:18px 0 0 18px;flex-direction:column;justify-content:center;display:flex}.login-story .brand-mark{width:46px;height:46px;font-size:24px}.login-story h1{letter-spacing:.05em;margin:24px 0 5px;font-size:36px}.login-story p{color:#d3e7eb;margin:0;line-height:1.8}.login-panel{background:#fff;border-radius:0 18px 18px 0}.login-card.ant-card{box-shadow:none;border:0}.login-card .ant-card-body{padding:0}.login-card h2.ant-typography{margin:0;font-size:25px}.login-card .ant-input-prefix{color:#70839b;margin-inline-end:9px}@media (width<=1000px){.workbench-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=850px){.app-sider{display:none}.mobile-trigger.ant-btn{flex:none;display:inline-flex}.app-header{gap:4px}.account-name{display:none}.module-nav{scrollbar-width:none}.module-nav .ant-btn{padding-inline:10px}}@media (width<=640px){.login-wrap{grid-template-columns:minmax(0,420px)}.login-story{border-radius:16px 16px 0 0;flex-direction:row;justify-content:flex-start;align-items:center;gap:14px;padding:20px 26px}.login-story h1{margin:0;font-size:23px}.login-story .brand-mark{width:32px;height:32px;font-size:18px}.login-story p{display:none}.login-panel{border-radius:0 0 16px 16px;padding:26px}.workbench-metric{padding:15px}.metric-icon{top:13px;right:12px}}.rich-editor-content pre,.knowledge-content pre{white-space:normal;background:#f5f7fa;border:1px solid #e3e8ef;position:relative;padding:0!important;overflow:hidden!important}.rich-code-toolbar{color:#697586;background:#eef1f5;border-bottom:1px solid #e3e8ef;justify-content:space-between;align-items:center;height:42px;padding:0 14px;font:13px/1.2 Inter,PingFang SC,Microsoft YaHei,sans-serif;display:flex}.rich-code-toggle{width:24px;margin-right:2px;color:#4d5968!important;padding:2px 0!important;font-size:18px!important;line-height:1!important}.rich-code-toolbar button{color:#4d5968;cursor:pointer;font:inherit;background:0 0;border:0;border-radius:4px;padding:5px 7px}.rich-code-toolbar button:hover{color:#1677ff;background:#dfe5ec}.rich-code-toggle-label{min-width:64px}.rich-code-actions{align-items:center;gap:4px;display:inline-flex}.rich-code-collapsed>code{display:none!important}.rich-code-collapsed>.rich-code-toolbar{border-bottom:0}.rich-editor-content pre>code,.knowledge-content pre>code{white-space:pre;tab-size:4;color:#1f2937;background:#fafbfc;min-height:52px;padding:16px 18px;font:14px/1.45 Cascadia Code,JetBrains Mono,Consolas,monospace;display:block;overflow:auto}.rich-code-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:80px;margin-right:12px;overflow:hidden}.rich-code-name[contenteditable=true]{border-radius:4px;outline:none;padding:5px 8px}.rich-code-name[contenteditable=true]:focus{background:#fff;box-shadow:0 0 0 1px #1677ff}.rich-code-name[contenteditable=true]:empty:before{content:attr(data-placeholder);color:#9aa4b2}.rich-editor-content pre code p,.rich-editor-content pre code div,.knowledge-content pre code p,.knowledge-content pre code div{margin:0;padding:0;line-height:1.45}.rich-editor-content img.rich-image-selected{outline-offset:3px;outline:2px solid #1677ff}.rich-image-resize-control{color:#52657a;padding:0 6px;font-size:12px}.rich-image-resize-control .ant-slider{flex:none}.table-top-scrollbar{height:16px;margin:0 0 4px;overflow:auto hidden}.table-top-scrollbar>div{height:1px}.work-edit-modal .rich-editor-content{min-height:400px}.work-edit-modal .ant-modal-body{padding-right:8px}@media (width<=850px){.work-edit-modal .rich-editor-content{min-height:280px}}
