:root{--bg: #f5f7fb;--card: #fff;--ink: #17202a;--muted: #667085;--sub: #98a2b3;--line: #e2e8f0;--line-soft: #edf2f7;--nav: #173b63;--nav-2: #102d4d;--brand: #336cb1;--brand-2: #275c99;--brand-soft: #eaf2fb;--danger: #c2414b;--warning: #b7791f;--success: #157f3b;--shadow-sm: 0 4px 14px rgba(16, 24, 40, .05);--shadow-md: 0 12px 28px rgba(16, 24, 40, .08)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-size:13px;line-height:1.5;font-variant-numeric:tabular-nums}.boot,.login-page{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 18% 18%,rgba(51,108,177,.18),transparent 28%),radial-gradient(circle at 78% 16%,rgba(21,127,59,.12),transparent 24%),linear-gradient(135deg,#f8fbff,#edf3fb 56%,#e8f0fa);padding:28px}.login-shell{width:min(960px,100%);min-height:540px;display:grid;grid-template-columns:minmax(0,1fr) 420px;overflow:hidden;border:1px solid rgba(203,216,232,.9);border-radius:16px;background:#ffffffbd;box-shadow:0 24px 70px #18315329;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.login-hero{min-width:0;padding:48px;display:grid;align-content:center;gap:18px;background:linear-gradient(135deg,#173b63f5,#336cb1e0),linear-gradient(180deg,#173b63,#102d4d);color:#fff}.login-hero h2{margin:0;color:#fff;font-size:34px}.login-hero .ant-typography{margin:0;color:#d8e7f7;font-size:16px}.login-mark{width:58px;height:58px;border-radius:14px;display:grid;place-items:center;background:#fff;color:var(--brand);font-size:26px;font-weight:900;box-shadow:0 16px 28px #0000001f}.login-feature-list{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.login-feature-list span{padding:6px 10px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:#ffffff1a;color:#eef6ff;font-weight:650}.login-card{width:100%;align-self:center;border:0;border-radius:0;background:transparent;box-shadow:none}.login-card .ant-card-body{padding:42px}.login-brand{margin-bottom:6px;color:var(--brand);font-size:24px;font-weight:800}.login-hint{margin-bottom:24px!important;padding:10px 12px;border:1px solid #dbe7f6;border-radius:8px;background:#f8fbff;color:#667085!important}.app-shell{height:100vh;min-height:100vh;overflow:hidden}.app-shell>.ant-layout{min-width:0;height:100vh;overflow:hidden}.app-sider{background:linear-gradient(180deg,var(--nav),var(--nav-2))!important;padding:18px 14px;height:100vh;overflow-x:hidden;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.28) transparent}.app-sider::-webkit-scrollbar{width:6px}.app-sider::-webkit-scrollbar-thumb{border-radius:999px;background:#ffffff3d}.brand{display:flex;gap:10px;align-items:center;padding:2px 6px 16px;border-bottom:1px solid rgba(255,255,255,.14);color:#fff}.app-sider.is-collapsed{padding-inline:10px}.app-sider.is-collapsed .brand{justify-content:center;padding-inline:0}.app-sider.is-collapsed .brand-copy,.app-sider.is-collapsed .nav-title{display:none}.app-sider.is-collapsed .nav{justify-content:center;padding-inline:0}.app-sider.is-collapsed .nav span:not(.anticon),.app-sider.is-collapsed .nav small,.app-sider.is-collapsed .submenu{display:none}.brand h5{margin:0;color:#fff}.brand span,.nav-title{color:#bdd1e7;font-size:11px}.brand-mark{width:34px;height:34px;border-radius:8px;display:grid;place-items:center;background:#fff;color:var(--brand);font-weight:900}.nav-title{margin:14px 6px 8px}.nav-group{display:grid;gap:6px}.nav,.subnav,.work-tab{border:0;cursor:pointer;font:inherit}.nav{width:100%;min-height:38px;border-radius:8px;background:transparent;color:#e5eef8;display:flex;align-items:center;gap:9px;padding:9px 10px;text-align:left}.nav:hover,.nav.active{background:#ffffff24;color:#fff}.nav.has-sub.active{background:#ffffff2b}.nav i{width:22px;height:22px;border-radius:6px;background:#ffffff1f;display:grid;place-items:center;font-style:normal;color:#fff;flex:0 0 auto}.nav i .anticon{font-size:15px}.nav small{margin-left:auto;color:#bdd1e7;font-size:11px}.nav .caret{margin-left:auto;color:#bdd1e7;font-size:12px;transition:transform .16s ease}.nav.expanded .caret{transform:rotate(90deg)}.submenu{display:grid;gap:1px;margin:-2px 0 4px;padding:1px 0}.submenu.collapsed{display:none}.subnav{min-height:28px;border-radius:6px;background:transparent;color:#bfd2e7;text-align:left;padding:5px 9px 5px 41px;font-size:12px;position:relative}.subnav:hover{background:#ffffff0f;color:#fff}.subnav.active{background:#ffffff17;color:#fff;font-weight:700}.subnav.active:before{content:"";position:absolute;left:32px;top:8px;bottom:8px;width:2px;border-radius:99px;background:#d8e9fb}.app-header{position:sticky;top:0;z-index:10;flex:0 0 auto;height:52px;padding:0 18px;background:#fff;border-bottom:1px solid var(--line);display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;box-shadow:0 1px #10182805;line-height:1.5}.tab-strip{min-width:0;display:flex;align-items:flex-end;gap:8px;align-self:stretch}.sider-toggle.ant-btn{width:32px;height:32px;min-width:32px;margin-bottom:7px;border-radius:7px;color:var(--muted);display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}.sider-toggle.ant-btn:hover{background:#f3f7fc;color:var(--brand)}.sider-toggle.ant-btn:disabled{background:transparent;color:var(--sub);cursor:not-allowed}.sider-toggle .anticon{font-size:16px}.work-tabs{min-width:0;flex:1;display:flex;align-items:flex-end;gap:4px;overflow:hidden}.work-tab{position:relative;min-height:38px;border:1px solid transparent;border-bottom:0;border-radius:8px 8px 0 0;background:transparent;color:var(--muted);padding:9px 12px;display:inline-flex;align-items:center;gap:8px;white-space:nowrap;line-height:1.5;transition:background .16s ease,border-color .16s ease,color .16s ease}.work-tab:hover{background:#f4f7fb}.work-tab.active{background:var(--bg);border-color:var(--line);color:var(--brand);font-weight:800}.work-tab.active:before{content:"";position:absolute;left:10px;right:10px;top:0;height:3px;border-radius:0 0 99px 99px;background:var(--brand)}.work-tab .close{width:16px;height:16px;border-radius:50%;display:grid;place-items:center;color:var(--sub);line-height:1}.work-tab .close:hover{background:#e4ebf5;color:var(--brand)}.account-bar{align-self:center;display:flex;align-items:center;gap:8px;padding-bottom:7px}.account-identity{padding:0 4px 0 6px;color:var(--muted);font-size:12px;white-space:nowrap}.account-bar .ant-btn,.account-bar .btn-like{min-height:28px;height:28px;border-radius:7px;border-color:#d6deea;background:#fff;color:var(--ink);display:inline-flex;align-items:center;gap:6px;box-shadow:none}.account-bar .ant-btn:hover,.account-bar .btn-like:hover{border-color:#b8c8dc;background:#f9fbfe;color:var(--brand)}.workspace{flex:1 1 auto;min-height:0;overflow:auto;padding:18px 20px 24px;background:var(--bg)}.page-stack,.detail-stack{display:grid;gap:14px}.panel-card{border-radius:8px;border-color:var(--line);box-shadow:var(--shadow-sm);overflow:hidden}.panel-card>.ant-card-body>.ant-tabs>.ant-tabs-nav,.panel-card>.ant-tabs>.ant-tabs-nav{min-height:48px;margin:0;padding:9px 14px 0;background:#fbfcfe;border-bottom:1px solid var(--line)}.panel-card>.ant-card-body>.ant-tabs>.ant-tabs-nav:before,.panel-card>.ant-tabs>.ant-tabs-nav:before{border-bottom:0}.panel-card>.ant-card-body>.ant-tabs>.ant-tabs-nav .ant-tabs-nav-list,.panel-card>.ant-tabs>.ant-tabs-nav .ant-tabs-nav-list{gap:4px}.panel-card>.ant-card-body>.ant-tabs>.ant-tabs-nav .ant-tabs-tab,.panel-card>.ant-tabs>.ant-tabs-nav .ant-tabs-tab{min-height:32px;margin:0;padding:7px 10px;border:1px solid transparent;border-bottom:0;border-radius:7px 7px 0 0;color:var(--muted);font-size:13px}.panel-card>.ant-card-body>.ant-tabs>.ant-tabs-nav .ant-tabs-tab:hover,.panel-card>.ant-tabs>.ant-tabs-nav .ant-tabs-tab:hover{background:#f3f7fc;color:var(--brand)}.panel-card>.ant-card-body>.ant-tabs>.ant-tabs-nav .ant-tabs-tab-active,.panel-card>.ant-tabs>.ant-tabs-nav .ant-tabs-tab-active{background:#fff;border-color:var(--line)}.panel-card>.ant-card-body>.ant-tabs>.ant-tabs-nav .ant-tabs-tab-active .ant-tabs-tab-btn,.panel-card>.ant-tabs>.ant-tabs-nav .ant-tabs-tab-active .ant-tabs-tab-btn{color:var(--brand);font-weight:800}.panel-card>.ant-card-body>.ant-tabs>.ant-tabs-nav .ant-tabs-ink-bar,.panel-card>.ant-tabs>.ant-tabs-nav .ant-tabs-ink-bar{display:none}.filter-bar{min-height:57px;padding:12px 14px;background:#fbfdff;border-bottom:1px solid var(--line);display:flex;gap:10px;align-items:center;flex-wrap:wrap}.filter-search{width:min(320px,100%)}.filter-bar>.ant-select{min-width:150px}.result-meta{height:28px;display:inline-flex;align-items:center;padding:0 9px;border:1px solid var(--line-soft);border-radius:7px;background:#fff;color:var(--muted);font-size:12px;white-space:nowrap}.filter-actions{margin-left:auto;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.right-actions{display:flex;justify-content:flex-end;gap:8px;align-items:center}.modal-action-row{margin-top:12px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.table-scroll{width:100%;overflow-x:auto}.muted{color:var(--muted);font-size:12px}.full-width{width:100%}.mt12{margin-top:12px}.editor-head,.section-toolbar{min-height:56px;padding:12px 14px;border-bottom:1px solid var(--line);background:#fbfcfe;display:flex;align-items:center;justify-content:space-between;gap:12px}.editor-head strong,.section-toolbar strong{display:block;color:var(--ink);font-size:14px}.editor-head small,.section-toolbar small{display:block;margin-top:3px;color:var(--muted);line-height:1.45}.project-basic{padding:14px;display:grid;grid-template-columns:minmax(0,1.2fr) 180px;gap:12px}.project-basic .ant-form-item{margin-bottom:0}.project-basic .full{grid-column:1 / -1}.form-actions{display:flex;justify-content:flex-end}.flow-editor{padding:12px;display:grid;gap:10px}.flow-row{border:1px solid var(--line);border-radius:8px;background:#fff;overflow:hidden}.flow-row-head{min-height:58px;padding:10px 12px;display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:10px;align-items:center;background:#fbfcfe}.flow-expand{width:28px;height:28px;border:1px solid #d6deea;border-radius:7px;background:#fff;color:var(--brand);display:grid;place-items:center;cursor:pointer}.flow-title{min-width:0;display:grid;gap:4px}.flow-title strong{display:inline-flex;align-items:center;gap:6px}.flow-title small{color:var(--muted)}.detail-flow-card .ant-card-head-title{min-width:0}.project-instance-switcher{min-height:54px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px}.project-instance-select{min-width:0;display:flex;align-items:center;gap:8px}.project-instance-select .ant-select{min-width:220px}.project-instance-progress{padding:12px;border:1px solid var(--line);border-radius:8px;background:#fbfcfe}.project-instance-progress>strong{display:block;margin-bottom:8px}.project-important-notes{padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#fff;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.project-important-notes>strong{color:var(--text)}.project-important-notes .ant-tag{margin-inline-end:6px}.project-binding-preview{margin-bottom:12px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#fbfcfe;display:grid;gap:8px}.project-binding-preview-head,.project-binding-stats{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.project-binding-preview-head{justify-content:space-between}.project-binding-preview small{color:var(--muted)}.project-template-option{display:grid;gap:2px;min-width:0}.project-template-option strong,.project-template-option small,.project-binding-description{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-template-option small,.project-binding-description{color:var(--muted);font-size:12px}.project-binding-stats span{min-height:24px;padding:3px 8px;border:1px solid var(--line-soft);border-radius:999px;background:#fff;color:var(--muted);font-size:12px}.project-flow-check-grid{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.project-flow-check.ant-checkbox-wrapper{min-height:58px;margin-inline-start:0;padding:9px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;align-items:flex-start}.project-flow-check.ant-checkbox-wrapper:hover{border-color:#b8c8dc;background:#f8fbff}.project-flow-check strong,.project-flow-check small{display:block}.project-flow-check small,.project-binding-empty{margin-top:3px;color:var(--muted);font-size:12px}.project-binding-empty{padding:10px 12px;border:1px dashed var(--line);border-radius:8px;background:#fbfcfe}.detail-flow-title{display:flex;align-items:center;gap:8px;min-width:0}.detail-flow-title>span:not(.ant-tag){display:grid;gap:2px;overflow:hidden}.detail-flow-title strong,.detail-flow-title small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail-flow-title strong{color:var(--ink);font-weight:700}.detail-flow-title small{color:var(--muted);font-weight:400}.detail-flow-title .ant-tag{flex:0 0 auto;margin-inline-end:0}.flow-items{border-top:1px solid var(--line);background:#fff}.flow-items-toolbar{min-height:44px;padding:8px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px}.detail-flow-items{display:grid;gap:8px}.detail-flow-empty{padding:18px 12px;border:1px dashed var(--line);border-radius:8px;background:#fbfcfe;color:var(--muted);text-align:center}.student-flow-item{display:grid;grid-template-columns:minmax(200px,1fr) 116px 148px minmax(180px,.8fr) auto;gap:10px;align-items:center;min-height:58px;padding:9px 10px;border:1px solid var(--line);border-left-width:5px;border-radius:8px;background:#fff}.student-flow-item.normal{border-left-color:var(--brand);background:linear-gradient(90deg,#eaf2fbe6,#fff 48%)}.student-flow-item.pending{border-left-color:var(--warning);background:linear-gradient(90deg,#fff8e6,#fff 48%)}.student-flow-item.done{border-left-color:var(--success);background:linear-gradient(90deg,#effaf3,#fff 48%)}.student-flow-item.risk{border-left-color:var(--danger);background:linear-gradient(90deg,#fff1f3,#fff 48%)}.student-flow-item.disabled{border-left-color:#cbd5e1;background:#f8fafc;color:var(--muted)}.student-flow-main{min-width:0;display:grid;gap:3px}.student-flow-main strong,.student-flow-main small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.student-flow-main small,.student-flow-reminder{color:var(--muted)}.student-flow-record{min-width:0;display:grid;gap:4px}.student-flow-record .ant-tag{width:max-content;margin-inline-end:0}.student-flow-record small{overflow:hidden;color:var(--muted);text-overflow:ellipsis;white-space:nowrap}.project-record-files{display:flex;gap:6px;flex-wrap:wrap}.project-record-files .ant-btn{max-width:180px}.project-record-files .ant-btn>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.knowledge-include-option{margin-top:-2px;padding:10px 12px;border:1px solid #d9e6f6;border-radius:8px;background:#f7fbff}.knowledge-include-option .ant-checkbox-wrapper{color:var(--ink);font-weight:650}.communication-table{width:100%;overflow:hidden}.communication-table .ant-table,.communication-table .ant-table-container{max-width:100%}.communication-table .ant-table-cell{vertical-align:top}.communication-record-main{min-width:0;display:grid;gap:6px}.communication-record-main strong,.communication-record-main span,.communication-record-main small{min-width:0;max-width:100%;overflow:hidden;line-height:1.5;white-space:normal;word-break:break-word;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical}.communication-record-main strong{color:var(--ink);font-weight:750;-webkit-line-clamp:2}.communication-record-main span{color:#26364d;-webkit-line-clamp:3}.communication-record-main small{color:var(--muted);-webkit-line-clamp:2}.communication-meta,.communication-flags{min-width:0;display:grid;gap:5px}.communication-meta span{min-width:0;overflow:hidden;color:#334155;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.communication-flags .ant-tag{width:max-content;max-width:100%;margin-inline-end:0}.communication-actions{display:flex;flex-wrap:wrap}.timeline-reminder-box{padding:12px;border:1px solid var(--line);border-radius:8px;background:#fbfcff}.flow-state{display:inline-flex;align-items:center;gap:6px;font-weight:800;white-space:nowrap}.flow-state:before{width:8px;height:8px;border-radius:50%;background:var(--brand);content:""}.flow-state.pending,.flow-state.pending:before{color:var(--warning)}.flow-state.pending:before{background:var(--warning)}.flow-state.done,.flow-state.done:before{color:var(--success)}.flow-state.done:before{background:var(--success)}.flow-state.risk,.flow-state.risk:before{color:var(--danger)}.flow-state.risk:before{background:var(--danger)}.flow-state.disabled,.flow-state.disabled:before{color:var(--muted)}.flow-state.disabled:before{background:var(--sub)}.status-config{border:1px solid var(--line);border-radius:8px;background:#fbfcfe;padding:12px;display:grid;gap:10px}.status-config-head,.status-config-row{display:grid;gap:10px}.status-config-head{grid-template-columns:minmax(0,1fr) auto;align-items:center}.status-config-head div{min-width:0;display:grid;gap:3px}.status-config-head small{color:var(--muted)}.status-config-row{grid-template-columns:minmax(150px,1fr) 120px 96px minmax(150px,1fr) 34px;align-items:start}.status-config-row .ant-form-item{margin-bottom:0}.status-config-remove{width:32px}.status-config-remove.has-label{margin-top:30px}.empty-panel{padding:32px 12px}@media(max-width:820px){.student-flow-item{grid-template-columns:1fr;align-items:stretch}.student-flow-item .ant-tag,.student-flow-item .ant-btn{justify-self:start}}code{white-space:pre-wrap;word-break:break-all;color:#475467}.parsed-text{max-height:320px;margin:0;padding:12px;overflow:auto;border:1px solid var(--line);border-radius:8px;background:#fbfcfe;color:var(--ink);font:12px/1.6 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;white-space:pre-wrap;word-break:break-word}.settings-form{max-width:860px}.settings-grid,.template-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.template-form{padding:14px;background:#fbfdff;border:1px solid var(--line-soft);border-radius:8px}.table-toolbar{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:12px}.table-toolbar>div{display:grid;gap:2px}.table-toolbar strong{color:var(--ink);font-size:16px}.table-toolbar small{color:var(--muted)}.template-form-grid .ant-form-item:nth-child(4){grid-column:span 2}.template-form-grid .full{grid-column:span 2}.template-variable-guide{margin-top:-4px;margin-bottom:10px;padding:10px 12px;border:1px solid #dbe7f6;border-radius:8px;background:#f8fbff}.template-variable-guide strong{display:block;margin-bottom:7px;color:#26364d}.template-variable-guide .ant-tag{margin-bottom:6px;font-weight:650}.template-variable-guide.muted{color:var(--muted)}.ai-float-button{position:fixed;right:24px;bottom:24px;z-index:900;width:58px;height:58px;border:0;border-radius:18px;background:linear-gradient(135deg,#336cb1,#157f3b);color:#fff;cursor:pointer;display:grid;place-items:center;gap:0;box-shadow:0 16px 34px #1d4e8947;transition:transform .16s ease,box-shadow .16s ease}.ai-float-button:hover{transform:translateY(-2px);box-shadow:0 20px 40px #1d4e8957}.ai-float-button .anticon{font-size:22px}.ai-float-button span:last-child{font-size:11px;font-weight:800;line-height:1}.ai-chat-modal .ant-modal-body{padding:0}.ai-chat-modal .chat-shell{height:min(76vh,720px);min-height:560px;padding:0}.chat-shell{height:calc(100vh - 104px);min-height:640px;display:grid;grid-template-columns:300px minmax(0,1fr);gap:14px}.conversation-list{overflow:hidden}.conversation-search{padding:12px;border-bottom:1px solid var(--line);background:#fbfcfe;display:flex;gap:8px}.conversation-items{padding:8px;display:grid;gap:6px;align-content:start;overflow:auto}.conversation-item{width:100%;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--ink);padding:10px;text-align:left;display:grid;gap:5px;cursor:pointer;transition:background .16s ease,border-color .16s ease,transform .16s ease}.conversation-item:hover{background:#f4f8fd;border-color:#d8e6f5}.conversation-item.active{background:#eaf2fb;border-color:#bed4ee}.conversation-item:focus-visible{outline:3px solid rgba(47,111,182,.18);outline-offset:2px}.conversation-title{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.conversation-title strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-actions{display:flex;gap:6px;color:var(--muted);opacity:0;transition:opacity .16s ease}.conversation-item:hover .conversation-actions,.conversation-item.active .conversation-actions,.conversation-item:focus-within .conversation-actions{opacity:1}.conversation-actions .ant-btn{color:var(--muted)}.chat-panel{display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}.chat-toolbar,.chat-composer{padding:12px 14px;background:#fff}.chat-toolbar{border-bottom:1px solid var(--line)}.chat-toolbar small{display:block;margin-top:3px;color:var(--muted)}.chat-messages{overflow:auto;padding:18px;display:grid;align-content:start;gap:14px;background:linear-gradient(180deg,#fbfdff,#f6f8fc)}.chat-row{display:grid;grid-template-columns:32px minmax(0,680px);gap:9px;align-items:start}.chat-row.user{grid-template-columns:minmax(0,680px) 32px;justify-content:end}.chat-avatar{width:32px;height:32px;border-radius:8px;background:#eaf2fb;color:var(--brand);display:grid;place-items:center;font-weight:900}.chat-row.user .chat-avatar{background:var(--brand);color:#fff}.bubble{border:1px solid var(--line);border-radius:8px;padding:11px 12px;background:#fff;line-height:1.55}.chat-row.user .bubble{background:var(--brand);border-color:var(--brand);color:#fff}.bubble-head{margin-bottom:4px;font-size:11px;color:var(--muted)}.chat-row.user .bubble-head{color:#dbeafe}.bubble-sources{margin-top:10px;display:grid;gap:6px}.bubble-source{border:1px solid #dbe7f6;border-radius:7px;background:#f8fbff;padding:8px}.bubble-source strong,.bubble-source small{display:block}.bubble-source small{margin-top:3px;color:var(--muted)}.chat-composer{border-top:1px solid var(--line)}.collection-page{min-height:100vh;padding:36px 24px 64px;background:#eef3f8}.collection-shell{width:min(1080px,100%);margin:0 auto;overflow:hidden;border:1px solid #d9e3ef;border-radius:8px;background:#fff;box-shadow:0 18px 48px #1f31481c}.collection-header{padding:24px 34px 28px;border-bottom:1px solid #dfe7f0;background:#f9fbfd}.collection-brand-row,.collection-title-row,.collection-actions{display:flex;align-items:center;justify-content:space-between;gap:24px}.collection-brand-row{margin-bottom:28px}.collection-brand{display:flex;align-items:center;gap:11px}.collection-brand-mark{width:38px;height:38px;border-radius:8px;background:#173b63;color:#fff;font-size:18px;font-weight:850;display:grid;place-items:center}.collection-brand>span:last-child{display:grid;gap:1px}.collection-brand strong{color:#17304e;font-size:16px;font-weight:800}.collection-brand small,.collection-security,.collection-title-row p,.collection-progress-summary small{color:#66758a}.collection-security{display:inline-flex;align-items:center;gap:6px;font-size:12px}.collection-security .anticon,.collection-actions>div:first-child .anticon{color:#2d8a5b}.collection-title-row{align-items:flex-end}.collection-title-row h1{margin:0 0 8px;color:#172b45;font-size:28px;font-weight:820;letter-spacing:0;line-height:1.25}.collection-title-row p{margin:0;font-size:14px}.collection-title-row p strong{color:#2f6fb7}.collection-progress-summary{width:260px;flex:0 0 260px}.collection-progress-summary>div:first-child{margin-bottom:5px;color:#64748b;display:flex;justify-content:space-between}.collection-progress-summary strong{color:#1f3148;font-size:14px}.collection-progress-summary .ant-progress{margin:0 0 3px}.collection-form-body{padding:8px 34px 0}.collection-section{padding:28px 0 18px;border-bottom:1px solid #e7edf4}.collection-section:last-child{border-bottom:0}.collection-section-head{margin-bottom:20px;display:flex;align-items:center;gap:12px}.collection-section-index{width:36px;height:36px;border:1px solid #cddceb;border-radius:7px;background:#edf4fb;color:#2f6fb7;font-size:13px;font-weight:800;display:grid;place-items:center}.collection-section-head h2{margin:0;color:#1f3148;font-size:18px;font-weight:800;line-height:1.3}.collection-section-head small{color:#8290a3}.collection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 20px}.collection-grid .collection-field-wide{grid-column:1 / -1}.collection-grid .ant-form-item{margin-bottom:18px}.collection-grid .ant-form-item-label{padding-bottom:7px}.collection-grid .ant-form-item-label>label{height:auto;color:#2d3e55;font-size:13px;font-weight:720}.collection-grid .ant-form-item-required:before{margin-inline-end:5px!important}.collection-grid .ant-input,.collection-grid .ant-input-number,.collection-grid .ant-select-selector{border-color:#ccd8e6!important;border-radius:6px!important;background:#fcfdff!important;box-shadow:none!important}.collection-grid input.ant-input,.collection-grid .ant-input-number,.collection-grid .ant-select-single .ant-select-selector{min-height:42px}.collection-grid .ant-select-single .ant-select-selector{align-items:center}.collection-grid textarea.ant-input{min-height:108px;padding:11px 12px;line-height:1.65;resize:vertical}.collection-grid .ant-input:hover,.collection-grid .ant-input-number:hover,.collection-grid .ant-select-selector:hover{border-color:#93b2d5!important}.collection-grid .ant-input:focus,.collection-grid .ant-input-number-focused,.collection-grid .ant-select-focused .ant-select-selector{border-color:#4d83bf!important;box-shadow:0 0 0 3px #2f6fb71a!important}.collection-grid .ant-upload-wrapper .ant-btn{height:42px;border-color:#c9d7e6;color:#2d5f99}.collection-actions{position:sticky;bottom:0;z-index:5;margin-top:10px;padding:18px 34px;border-top:1px solid #dfe7f0;background:#fffffff5;box-shadow:0 -8px 24px #1f31480d;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.collection-actions>div:first-child{color:#66758a;display:inline-flex;align-items:center;gap:7px}.collection-action-buttons{display:flex;gap:10px}.collection-action-buttons .ant-btn{min-width:112px;height:42px;border-radius:6px;font-weight:700}.profile-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}.field-config-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.field-config-form .ant-form-item:nth-child(6),.field-config-form .ant-form-item:nth-child(7),.field-config-form .checkbox-row{grid-column:1 / -1}.checkbox-row{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.ant-table-wrapper .ant-table-thead>tr>th{color:#516174;font-size:12px;font-weight:650;background:#f7faff;border-bottom-color:var(--line)}.ant-table-wrapper .ant-table-tbody>tr>td{border-bottom-color:var(--line-soft)}.ant-table-wrapper .ant-table-tbody>tr:hover>td{background:#f8fbff!important}.ant-card-head{min-height:46px;border-bottom-color:var(--line-soft)}.ant-card-head-title{color:#26364d;font-weight:700}.ant-btn{font-weight:560;box-shadow:none}.ant-btn-primary{background:var(--brand);box-shadow:0 4px 10px #2f6fb633}.ant-btn-primary:hover{background:var(--brand-2)!important}.ant-btn:not(.ant-btn-primary):not(.ant-btn-link):not(.ant-btn-text){border-color:#cfd9e6}.ant-btn:not(.ant-btn-primary):not(.ant-btn-link):not(.ant-btn-text):hover{color:var(--brand);border-color:#9fc1e5;background:#f8fbff}.important-mark-button.is-marked,.important-mark-button.is-marked:hover{color:#fff!important;border-color:#d97706!important;background:#f59e0b!important;box-shadow:0 4px 10px #d9770638}.important-mark-tag.ant-tag{color:#fff;border-color:#d97706;background:#f59e0b;font-weight:700}.ant-input,.ant-input-affix-wrapper,.ant-select-selector,.ant-picker,.ant-input-number,.ant-transfer-list{border-color:#cfd9e6!important}.ant-input:hover,.ant-input-affix-wrapper:hover,.ant-select-selector:hover,.ant-picker:hover,.ant-input-number:hover{border-color:#9fc1e5!important}.ant-input:focus,.ant-input-affix-wrapper-focused,.ant-select-focused .ant-select-selector,.ant-picker-focused{border-color:var(--brand)!important;box-shadow:0 0 0 3px #2f6fb61f!important}.ant-form-item{margin-bottom:15px}.ant-form-item-label>label{color:#344054;font-weight:600}.ant-modal-content,.ant-drawer-content,.ant-popover-inner{border-radius:10px}.ant-modal{max-width:calc(100vw - 32px)}.ant-modal-body{max-height:min(72vh,760px);overflow:auto;padding-right:6px}.ant-modal-header{margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid var(--line-soft)}.ant-modal-footer{margin-top:18px;padding-top:12px;border-top:1px solid var(--line-soft)}.student-binding-modal .ant-modal-body{max-height:none;overflow:visible}.student-binding-modal .ant-transfer{width:100%;align-items:center;justify-content:center;gap:18px}.student-binding-modal .ant-transfer-list{flex:0 0 320px;height:360px!important}.student-binding-modal .ant-transfer-list-header{height:46px;padding-inline:14px}.student-binding-modal .ant-transfer-list-body-search-wrapper{padding:12px 14px 8px}.student-binding-modal .ant-transfer-list-content-item{min-height:38px;padding-inline:14px}.student-binding-modal .ant-transfer-operation{margin:0}.collection-link-modal .ant-modal-body{max-height:min(72vh,720px)}.collection-link-form-grid{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:0 14px}.collection-link-form-grid .full{grid-column:1 / -1}.collection-link-modal .ant-form-item-label>label{color:#1f3148;font-weight:750}.collection-field-panel{margin-top:2px;border:1px solid #cfdaea;border-radius:8px;background:#fbfdff;overflow:hidden}.collection-field-panel-head{min-height:46px;padding:9px 12px;border-bottom:1px solid #e5edf6;background:#f7faff;display:flex;align-items:center;justify-content:space-between;gap:12px}.collection-field-panel-head>div{min-width:0;display:flex;align-items:center;gap:8px}.collection-field-panel-head strong{color:#1f3148;font-weight:750}.collection-field-panel-head small{color:#6b7a90;font-size:12px}.required-mark{color:#c2414b;font-weight:800}.collection-field-preview{min-height:230px;max-height:320px;overflow:auto;padding:12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:8px}.collection-selected-field{min-width:0;min-height:38px;padding:5px 6px 5px 10px;border:1px solid #dbe4ef;border-radius:7px;background:#eef3f8;color:#1f3148;font-size:13px;font-weight:650;display:grid;grid-template-columns:minmax(0,1fr) auto 26px;align-items:center;gap:8px}.collection-selected-field>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.collection-selected-field label,.collection-field-check-row label{color:#66758a;font-size:12px;font-weight:650;display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.collection-selected-field .ant-btn{width:26px;height:26px;padding:0;color:#8190a3}.collection-field-picker-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.collection-field-picker-bar .ant-input-search{max-width:420px}.collection-field-check-group{width:100%;max-height:min(58vh,520px);overflow:auto;display:grid;gap:12px;padding-right:4px}.collection-field-check-section{border:1px solid #e1e9f3;border-radius:8px;background:#fff;overflow:hidden}.collection-field-check-title{padding:8px 12px;border-bottom:1px solid #edf2f7;background:#f8fbff;color:#334155;font-weight:750}.collection-field-check-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;padding:12px}.collection-field-check-row{min-width:0;min-height:34px;padding:5px 8px;border:1px solid #edf2f7;border-radius:6px;background:#fbfdff;display:flex;align-items:center;justify-content:space-between;gap:8px}.collection-field-check-row .ant-checkbox-wrapper{min-width:0;margin-inline-start:0;color:#26364d}.collection-field-check-row .ant-checkbox-wrapper>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.submission-review-modal .ant-modal-body{max-height:min(70vh,720px);overflow:auto}.submission-review-table{max-width:100%}.submission-review-table .ant-table{overflow:hidden}.submission-review-table .ant-table-cell{vertical-align:top;padding:12px;overflow:hidden}.submission-review-table .submission-meta-cell{vertical-align:middle}.submission-content-card{width:100%;height:152px;max-height:152px;overflow:auto;padding:8px;border:1px solid #dbe6f3;border-radius:8px;background:#fbfdff}.submission-content-summary{position:sticky;top:-8px;z-index:1;margin:-8px -8px 8px;padding:7px 9px;border-bottom:1px solid #e5edf6;background:#f7faff;color:#64748b;font-size:12px;font-weight:700}.submission-content-section+.submission-content-section{margin-top:7px;padding-top:7px;border-top:1px dashed #dbe6f3}.submission-content-group{margin-bottom:5px;color:#2f6fb7;font-size:13px;font-weight:800}.submission-content-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.submission-content-item{min-width:0;padding:5px 7px;border-radius:6px;background:#f1f5f9}.submission-content-item span{display:block;margin-bottom:2px;color:#6b7a90;font-size:12px;font-weight:700}.submission-content-item strong{display:block;overflow:hidden;color:#1f3148;font-size:13px;font-weight:750;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}@media(max-width:860px){.collection-field-preview,.collection-field-check-list{grid-template-columns:1fr}}.ant-tabs-card>.ant-tabs-nav .ant-tabs-tab{border-color:var(--line);background:#f7faff}.ant-tabs-card>.ant-tabs-nav .ant-tabs-tab-active{background:#fff;border-bottom-color:#fff}.ant-dropdown .ant-dropdown-menu{padding:6px;border:1px solid #d6deea;border-radius:8px;box-shadow:var(--shadow-md)}.ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-item{min-height:30px;border-radius:6px;font-size:13px}.ant-tag{border-radius:6px;font-weight:560}.dashboard-stat-card{min-height:104px;border-color:var(--line);border-radius:8px;box-shadow:var(--shadow-sm)}.dashboard-stat-card .ant-card-body{min-height:104px;padding:18px 20px}.dashboard-stat-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.dashboard-stat-content{min-width:0;display:flex;align-items:flex-start;gap:12px}.dashboard-stat-icon{flex:0 0 auto;width:36px;height:36px;border-radius:8px;display:grid;place-items:center;font-size:20px}.dashboard-stat-card .ant-btn-link{height:24px;padding-inline:0;color:var(--brand);font-weight:650}.dashboard-stat-main{display:grid;min-width:0;gap:9px}.dashboard-stat-title{color:var(--muted);font-size:16px;font-weight:700;line-height:1.2;white-space:nowrap}.dashboard-stat-main strong{color:#172033;font-size:30px;line-height:1}.dashboard-stat-card.tone-blue .dashboard-stat-icon{background:#e8f1ff;color:#2f6fb6}.dashboard-stat-card.tone-red .dashboard-stat-icon{background:#fff0f0;color:#c2414b}.dashboard-stat-card.tone-green .dashboard-stat-icon{background:#ebf8ef;color:#268653}.dashboard-stat-card.tone-indigo .dashboard-stat-icon{background:#eef2ff;color:#5366c7}.dashboard-distribution-toolbar{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:2px 2px 0}.dashboard-distribution-toolbar>div{display:grid;gap:3px}.dashboard-distribution-toolbar strong{color:#1f3148;font-size:18px;line-height:1.25}.dashboard-distribution-toolbar small{color:#6b7a90;font-size:13px}.dashboard-year-filter{width:168px}.dashboard-distribution-row{align-items:stretch}.dashboard-distribution-row>.ant-col{display:flex}.dashboard-distribution-card{width:100%;height:100%;border-color:#dbe4f0;border-radius:8px;box-shadow:0 8px 20px #1a304d0d;overflow:hidden}.dashboard-distribution-card.ant-card{display:flex;flex-direction:column}.dashboard-distribution-card .ant-card-head{min-height:50px;background:#fbfdff}.dashboard-distribution-card .ant-card-head-title{color:#1f3148;font-size:16px}.dashboard-distribution-card .ant-card-body{flex:1 1 auto;min-height:342px;background:linear-gradient(180deg,#fff,#fbfdff)}.dashboard-distribution-chart{height:292px;min-height:292px;display:grid;grid-template-columns:minmax(210px,280px) minmax(0,1fr);align-items:center;gap:34px;padding:14px 18px}.dashboard-empty-chart{min-height:292px;display:grid;place-items:center}.dashboard-donut-wrap{position:relative;justify-self:center;width:min(100%,230px)}.dashboard-donut{width:100%;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;position:relative;box-shadow:0 12px 30px #243f5e14,inset 0 0 0 1px #142c4e0a}.dashboard-donut svg{top:0;right:0;bottom:0;left:0;position:absolute;overflow:visible}.dashboard-donut-segment{cursor:pointer;transform-box:fill-box;transform-origin:center;transition:transform .16s ease,filter .16s ease,opacity .16s ease;stroke:#fff;stroke-width:1.5}.dashboard-donut-segment.active{filter:drop-shadow(0 10px 12px rgba(24,41,63,.22));transform:scale(1.07)}.dashboard-donut-empty{width:100%;height:100%;border-radius:50%;background:#e8eef6}.dashboard-donut:after{content:"";width:50%;aspect-ratio:1;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 1px #142c4e0d;position:absolute;z-index:1}.dashboard-donut-center{position:relative;z-index:2;display:grid;place-items:center;gap:6px}.dashboard-donut-tooltip{position:absolute;z-index:5;left:-18px;top:44px;min-width:170px;border:1px solid;border-radius:8px;background:#fff;box-shadow:0 12px 26px #17203326;padding:10px 12px;pointer-events:none}.dashboard-donut-tooltip strong{display:block;color:#697386;font-size:15px;line-height:1.4}.dashboard-donut-tooltip span{margin-top:6px;display:flex;align-items:center;gap:8px;color:#1f3148;font-size:18px;font-weight:800}.dashboard-donut-tooltip i{width:10px;height:10px;border-radius:50%}.dashboard-donut-center strong{color:#162235;font-size:30px;font-weight:800;line-height:1}.dashboard-donut-center span{color:#6b7a90;font-size:14px;font-weight:700;line-height:1}.dashboard-donut-legend{min-width:0;display:grid;grid-template-columns:repeat(2,minmax(170px,1fr));gap:10px 14px}.dashboard-donut-legend-item{min-width:0;min-height:40px;border:1px solid transparent;border-radius:8px;background:#f4f8fcb8;color:inherit;cursor:pointer;display:grid;grid-template-columns:12px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 10px;text-align:left;transition:border-color .16s,background .16s,box-shadow .16s}.dashboard-donut-legend-item:hover{border-color:#cbd8e8;background:#fff;box-shadow:0 6px 16px #1f31480f}.dashboard-donut-legend-item.active{border-color:#9fb8d6;background:#fff;box-shadow:0 8px 20px #1f314814}.dashboard-donut-legend-item:hover .dashboard-donut-label,.dashboard-donut-legend-item.active .dashboard-donut-label{color:var(--brand)}.dashboard-donut-color{width:12px;height:12px;border-radius:4px}.dashboard-donut-label{min-width:0;color:#26364d;font-size:16px;font-weight:700;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-donut-legend-item strong{color:#1f3148;font-size:16px;font-weight:800}.stat-card{border-color:var(--line);box-shadow:var(--shadow-sm)}.drilldown-card{cursor:pointer;transition:border-color .16s,box-shadow .16s,transform .16s}.drilldown-card:hover{border-color:#b8c8dc;box-shadow:var(--shadow-md);transform:translateY(-1px)}.stat-card .ant-statistic-title{color:var(--muted);font-size:12px}.stat-card .ant-statistic-content{color:#1d2939}.empty-hint{padding:22px;color:var(--muted);text-align:center;background:#fbfdff;border:1px dashed #cfd9e6;border-radius:8px}.section-note{color:var(--muted);font-size:12px}.danger-text{color:var(--danger)}.warning-text{color:var(--warning)}.success-text{color:var(--success)}@media(max-width:1100px){.app-header{grid-template-columns:minmax(0,1fr) auto;height:auto;min-height:52px;align-items:center;padding-block:8px}.account-bar{padding-bottom:0}.workspace{padding:14px}.chat-shell{min-height:720px;grid-template-columns:260px minmax(0,1fr)}.ai-chat-modal .chat-shell{min-height:560px;grid-template-columns:250px minmax(0,1fr)}}@media(max-width:820px){.app-sider{padding-inline:8px}.login-page{padding:16px}.login-shell{min-height:0;grid-template-columns:1fr}.login-hero,.login-card .ant-card-body{padding:28px}.filter-bar{align-items:stretch}.filter-search,.filter-bar>.ant-select,.filter-bar>.ant-tag{width:100%;min-width:0}.filter-actions,.right-actions,.modal-action-row{width:100%;margin-left:0;justify-content:flex-start}.filter-actions .ant-btn,.right-actions .ant-btn,.modal-action-row .ant-btn{flex:1 1 160px}.dashboard-distribution-toolbar{align-items:stretch;flex-direction:column}.dashboard-year-filter{width:100%}.dashboard-distribution-chart{grid-template-columns:1fr;gap:18px}.dashboard-donut-legend,.settings-grid,.template-form-grid,.collection-grid,.profile-edit-grid,.field-config-form,.project-basic,.status-config-row{grid-template-columns:1fr}.collection-page{padding:0;background:#fff}.collection-shell{border:0;border-radius:0;box-shadow:none}.collection-header,.collection-form-body,.collection-actions{padding-left:18px;padding-right:18px}.collection-brand-row{margin-bottom:22px}.collection-security{display:none}.collection-title-row{align-items:stretch;flex-direction:column}.collection-title-row h1{font-size:24px}.collection-progress-summary{width:100%;flex-basis:auto}.collection-actions{align-items:stretch;flex-direction:column}.collection-action-buttons,.collection-action-buttons .ant-btn{width:100%}.status-config-head{grid-template-columns:1fr}.status-config-remove,.status-config-remove.has-label{margin-top:0}.flow-row-head,.editor-head,.section-toolbar{align-items:stretch}.flow-row-head{grid-template-columns:30px minmax(0,1fr)}.flow-row-head>.ant-space{grid-column:1 / -1}.editor-head,.section-toolbar{flex-direction:column}.template-form-grid .ant-form-item:nth-child(4){grid-column:auto}.template-form-grid .full{grid-column:auto}.chat-shell{height:auto;min-height:0;grid-template-columns:1fr}.conversation-list{max-height:280px}.chat-panel{min-height:620px}.ai-float-button{right:16px;bottom:16px}.ai-chat-modal .chat-shell{height:78vh;min-height:0;grid-template-columns:1fr}.ai-chat-modal .conversation-list{max-height:220px}.table-toolbar{align-items:stretch;flex-direction:column}}
