:root {
  --blue: oklch(0.52 0.18 255);
  --blue-weak: oklch(0.96 0.025 255);
  --ink: #303133;
  --text: #606266;
  --muted: #909399;
  --line: #ebeef5;
  --field-line: #dcdfe6;
  --paper: #fff;
  --canvas: #f5f7fa;
  --danger: #ff4949;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }

html, body, #app { width: 100%; min-width: 1160px; height: 100%; min-height: 640px; margin: 0; }
body { overflow: hidden; font-size: 14px; background: var(--paper); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.outer-shell { height: 100%; background: #fff; }

.side-rail {
  position: fixed; z-index: 20; inset: 0 auto 0 0; width: var(--sidebar-width);
  background: #fff; border-right: 1px solid #eef0f4; box-shadow: 1px 0 5px rgba(0,0,0,.04);
  display: flex; flex-direction: column; align-items: center;
}
.brand-mark {
  width: 24px; height: 24px; margin: 9px 0 11px; display: grid; place-items: center;
  border-radius: 50%; color: #fff; background: #d92626; font-size: 8px; font-weight: 800; letter-spacing: -.3px;
  transform: skew(-8deg);
}
.rail-list { width: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 3px; }
.rail-item { min-height: 61px; padding: 5px 2px; color: #666; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }
.rail-item:hover { background: #f5f8ff; color: var(--blue); }
.rail-glyph { width: 20px; height: 20px; display: grid; place-items: center; color: currentColor; font-size: 17px; line-height: 1; }
.rail-label { font-size: 11px; line-height: 15px; text-align: center; transform: scale(.92); white-space: nowrap; }
.rail-more { margin-top: auto; padding: 13px 0 17px; color: #909399; font-size: 21px; }

.topbar {
  position: fixed; z-index: 15; top: 0; right: 0; left: var(--sidebar-width); height: var(--topbar-height);
  display: flex; align-items: center; padding: 0 22px; background: #fff;
  border-bottom: 1px solid #f0f1f3; box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.top-search { width: 178px; color: #777; font-size: 14px; white-space: nowrap; }
.top-search::before { content: "⌕"; color: #b9bdc6; font-size: 17px; vertical-align: -1px; margin-right: 8px; }
.app-chip { align-self: stretch; display: flex; align-items: center; padding: 0 23px; margin-left: 2px; border-radius: 8px 8px 0 0; color: #315fbb; background: #e6edff; font-size: 14px; }
.app-chip .chip-close { margin-left: 7px; color: #5874ad; font-size: 17px; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 27px; color: #606266; white-space: nowrap; }
.small-search { width: 162px; height: 28px; padding: 0 15px; border: 0; border-radius: 18px; background: #f7f7f7; color: #bbb; font-size: 13px; }
.user-dot { width: 25px; height: 25px; display: inline-grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg,#342c2c,#e1d0b6); color:#fff; font-size: 11px; margin-right: -20px; }

.content-stage { position: absolute; inset: 0; overflow: hidden; background: #fff; }
.view { width: 100%; height: 100%; overflow: auto; }
.admin-view { padding: 0 24px; }

.tabs { position: sticky; z-index: 5; top: 0; height: 56px; background: #fff; display: flex; align-items: stretch; border-bottom: 1px solid #f3f4f6; }
.tab { position: relative; display: flex; align-items: center; height: 56px; padding: 0 20px; color: var(--ink); font-size: 14px; font-weight: 500; border: 0; background: transparent; }
.tab:first-child { padding-left: 0; padding-right: 20px; }
.tab.is-active { color: var(--blue); }
.tab.is-active::after { content: ""; position: absolute; height: 2px; bottom: -1px; left: 0; right: 20px; background: var(--blue); }
.tab:first-child.is-active::after { right: 20px; }

.page-pad { padding: 23px 24px 42px; }
.filter-panel { min-height: 80px; display: grid; grid-template-columns: 1.15fr 1.15fr 1.9fr 1.2fr auto; align-items: center; column-gap: 70px; padding: 16px 23px; background: #fafafa; }
.filter-panel.stats-filter { min-height: 112px; grid-template-columns: 1.35fr 1.1fr 1.1fr 1.1fr 1.35fr; gap: 15px 24px; align-content: center; }
.filter-item { display: flex; align-items: center; gap: 10px; min-width: 0; white-space: nowrap; }
.filter-item label { flex: 0 0 auto; color: #303133; font-size: 14px; }
.field, .date-range, .select-field, .pager-select { height: 32px; min-width: 0; border: 1px solid var(--field-line); border-radius: 4px; background: #fff; color: var(--text); }
.field { width: 100%; padding: 0 15px; outline: none; line-height: 30px; font-size: 13px; }
.field::placeholder, textarea::placeholder { color: #c0c4cc; }
.date-range { width: 100%; display: flex; align-items: center; padding: 0 10px; }
.date-range .calendar { color: #c0c4cc; margin-right: 8px; }
.date-range input { flex: 1; width: 45%; min-width: 0; border: 0; outline: 0; text-align: center; color: var(--text); font-size: 13px; }
.date-range input::placeholder { color:#c0c4cc; }
.date-range .dash { color:#606266; margin:0 6px; }
.select-wrap { position: relative; width: 100%; }
.select-field { width: 100%; padding: 0 30px 0 15px; outline: 0; cursor: pointer; font-size: 13px; }
.select-arrow { position: absolute; right: 13px; top: 8px; color: #c0c4cc; pointer-events: none; font-size: 13px; transition: transform .16s; }
.select-wrap.is-open .select-arrow { transform: rotate(180deg); color: #8a8f98; }
.select-menu { position: absolute; z-index: 50; top: calc(100% + 10px); right: 0; width: 100%; padding: 6px 0; background: #fff; border-radius: 2px; box-shadow: 0 3px 12px rgba(0,0,0,.15); }
.select-option { display: block; height: 34px; width: 100%; padding: 0 20px; border: 0; text-align: left; color: #606266; background: #fff; font-size: 14px; }
.select-option:hover, .select-option.is-selected { color: var(--blue); background: #f5f7fa; }
.filter-actions { display: flex; align-items: center; gap: 10px; }

.btn { min-width: 56px; height: 32px; padding: 0 15px; border: 1px solid var(--field-line); border-radius: 3px; background: #fff; color: var(--text); font-size: 12px; white-space: nowrap; }
.btn:hover { border-color: #9dbcf2; color: var(--blue); }
.btn.primary { border-color: var(--blue); background: var(--blue); color: #fff; }
.btn.primary:hover { background: oklch(0.44 0.16 255); color: #fff; }
.btn.danger-lite { border-color: #ffb6b6; color: var(--danger); background: #ffeded; }
.btn.small { min-width: 0; height: 28px; padding: 0 12px; }
.btn.text { min-width: 0; height: auto; padding: 0; border-color: transparent; background: transparent; color: var(--blue); }
.btn.text.danger { color: var(--danger); }
.btn:disabled { cursor: default; border-color: transparent; background: #f4f4f5; color: #c0c4cc; }

.tool-row { display: flex; gap: 10px; padding: 20px 0; }
.dispatch-trigger { position:relative; }
.dispatch-trigger [data-action="batch-open"] { display:none; position:absolute; top:100%; left:0; z-index:5; white-space:nowrap; color:#409eff; border-color:#b3d8ff; background:#ecf5ff; }
.dispatch-trigger:hover [data-action="batch-open"], .dispatch-trigger:focus-within [data-action="batch-open"] { display:block; }
.table-frame { position: relative; width: 100%; overflow: auto; border: 0; background: #fff; }
.data-table { width: 100%; min-width: 1450px; border-collapse: collapse; table-layout: fixed; font-size: 14px; }
.data-table th { height: 44px; padding: 10px 0; color:#333; background:#f5f5f5; text-align:left; font-weight:500; }
.data-table td { height: 35px; padding: 7px 0; color:#606266; border-bottom: 1px solid #f5f6f8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.data-table tbody tr:nth-child(odd) { background:#fff; }
.data-table tbody tr:nth-child(even) { background:#fafafa; }
.data-table tbody tr.is-selected { background:#edf5ff; }
.data-table th:first-child, .data-table td:first-child { padding-left: 24px; }
.data-table th:last-child, .data-table td:last-child { padding-right: 18px; }
.data-table .col-check { width: 52px; }
.data-table .col-name { width: 200px; }
.data-table .col-person { width: 100px; }
.data-table .col-id { width: 150px; }
.data-table .col-dep { width: 150px; }
.data-table .col-role { width: 120px; }
.data-table .col-mentor { width: 180px; }
.data-table .col-period { width: 220px; }
.data-table .col-date { width: 110px; }
.data-table .col-creator { width: 100px; }
.data-table .col-status { width: 84px; }
.data-table .col-actions { width: 185px; }
.row-name { display:block; overflow:hidden; text-overflow:ellipsis; }
.status-badge { color:#606266; }
.table-actions { display: flex; gap: 19px; align-items:center; }
.check { position: relative; display:inline-flex; width:14px; height:14px; vertical-align:-2px; }
.check input { position:absolute; opacity:0; inset:0; margin:0; cursor:pointer; }
.check span { width:14px; height:14px; border:1px solid #dcdfe6; background:#fff; }
.check input:checked + span { border-color:var(--blue); background:var(--blue); }
.check input:checked + span::after { content:"✓"; display:block; margin-top:-3px; color:#fff; text-align:center; font-size:13px; font-weight:700; }
.check.is-indeterminate span { border-color:var(--blue); background:var(--blue); }
.check.is-indeterminate span::after { content:"−"; display:block; margin-top:-4px; color:#fff; text-align:center; font-size:16px; font-weight:700; }

.pagination { display: flex; align-items:center; justify-content:flex-end; gap:10px; padding:22px 0 8px; color:#606266; font-size:13px; }
.page-btn { min-width:30px; height:28px; padding:0 7px; border:0; border-radius:2px; color:#606266; background:#f4f4f5; }
.page-btn.is-active { background:var(--blue); color:#fff; }
.page-btn:disabled { color:#c0c4cc; }
.page-ellipsis { padding:0 2px; font-weight:bold; }
.pager-select { width:100px; height:28px; padding:0 8px; font-size:13px; }
.page-input { width:46px; height:28px; border:1px solid var(--field-line); border-radius:4px; text-align:center; outline:0; }

.info-banner { min-height:36px; display:flex; align-items:center; margin:14px 0 20px; padding:0 15px; border:1px solid #a7d9ee; background:#e8f7fe; color:#606266; font-size:13px; }
.empty-block { height:204px; display:flex; flex-direction:column; align-items:center; justify-content:center; color:#c0c4cc; }
.empty-mascot { width:60px; height:60px; margin-bottom:10px; border:2px solid #e0e2e5; border-radius:50% 50% 45% 45%; color:#d2d5da; display:grid; place-items:center; font-size:29px; }
.empty-text { color:#c0c4cc; font-size:14px; }

.stats-top { height:452px; padding-top:0; }
.stats-charts { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px; height:404px; }
.stats-chart { position:relative; min-width:0; height:404px; background:#fff; }
.stats-finish-title, .stats-addition-header h2 { margin:0; color:#303133; font-size:16px; font-weight:500; }
.stats-finish-title { height:42px; padding:22px 0 0 4px; }
.stats-donut-stage { position:relative; height:330px; }
.stats-donut-svg { display:block; width:100%; height:348px; overflow:visible; font-family:inherit; }
.stats-donut-segment { stroke-linecap:butt; }
.stats-donut-center text { fill:#606266; font-size:15px; text-anchor:middle; }
.stats-donut-center .stats-donut-total { fill:#4c4f55; font-size:20px; }
.stats-donut-callouts path { fill:none; stroke:#aeb4bd; stroke-width:1; }
.stats-donut-callouts text { fill:#606266; font-size:13px; }
.stats-legend { position:absolute; right:0; bottom:0; left:0; display:flex; align-items:center; justify-content:center; gap:15px; color:#606266; font-size:13px; white-space:nowrap; }
.stats-legend-item { display:inline-flex; align-items:center; gap:8px; }
.stats-legend-item i { width:12px; height:12px; border-radius:50%; flex:0 0 auto; }
.stats-addition-header { display:flex; align-items:center; justify-content:space-between; height:56px; padding:0 0 0 24px; border-bottom:1px solid #ebeef5; }
.stats-period-wrap { position:relative; width:104px; margin:0 16px 0 0; }
.stats-period { width:104px; height:32px; padding:0 28px 0 15px; border:1px solid var(--field-line); border-radius:4px; background:#fff; color:#606266; font-size:13px; text-align:left; }
.stats-period-wrap.is-open .stats-period { border-color:var(--blue); }
.stats-period-arrow { position:absolute; top:7px; right:12px; color:#c0c4cc; pointer-events:none; font-size:13px; transition:transform .16s; }
.stats-period-wrap.is-open .stats-period-arrow { color:var(--blue); transform:rotate(180deg); }
.stats-period-menu { position:absolute; z-index:55; top:42px; left:0; width:104px; padding:6px 0; border-radius:2px; background:#fff; box-shadow:0 3px 12px rgba(0,0,0,.15); }
.stats-period-option { display:block; width:100%; height:34px; padding:0 15px; border:0; background:#fff; color:#606266; font-size:14px; text-align:left; }
.stats-period-option:hover, .stats-period-option.is-selected { background:#f5f7fa; color:var(--blue); }
.stats-line-stage { position:relative; height:348px; }
.stats-line-svg { display:block; width:100%; height:334px; overflow:visible; font-family:inherit; }
.stats-line-grid line { stroke:#e2e6ed; stroke-width:1; stroke-dasharray:3 3; }
.stats-line-grid text, .stats-line-months text { fill:#767b84; font-size:12px; }
.stats-line-path { fill:none; stroke:#4f68b5; stroke-width:2; stroke-linejoin:round; stroke-linecap:round; }
.stats-line-point { cursor:pointer; }
.stats-line-point .stats-point-hit { fill:transparent; stroke:transparent; }
.stats-line-point > circle:last-child { fill:#fff; stroke:#4f68b5; stroke-width:2; }
.stats-line-point.is-active > circle:last-child { fill:#4f68b5; stroke:#fff; stroke-width:2; }
.stats-line-tooltip { position:absolute; z-index:2; min-width:96px; padding:8px 10px; border-radius:2px; background:rgba(48,49,51,.92); color:#fff; font-size:12px; line-height:18px; transform:translate(-50%,-100%); pointer-events:none; box-shadow:0 2px 7px rgba(0,0,0,.15); }
.stats-line-tooltip b, .stats-line-tooltip span { display:block; font-weight:400; white-space:nowrap; }
.stats-static-select, .stats-status-picker { position:relative; width:100%; }
.stats-static-select .select-field { color:#c0c4cc; text-align:left; }
.stats-status-picker.is-open .select-arrow { transform:rotate(180deg); color:#8a8f98; }
.stats-status-menu { position:absolute; z-index:54; top:calc(100% + 10px); right:0; width:100%; padding:6px 0; border-radius:2px; background:#fff; box-shadow:0 3px 12px rgba(0,0,0,.15); }
.stats-table .data-table { min-width:1990px; }
.stats-table th:nth-child(1) { width:52px; }
.stats-table th:nth-child(2) { width:185px; }
.stats-table th:nth-child(3) { width:125px; }
.stats-table th:nth-child(4) { width:245px; }
.stats-table th:nth-child(5) { width:95px; }
.stats-table th:nth-child(6) { width:110px; }
.stats-table th:nth-child(7) { width:150px; }
.stats-table th:nth-child(8) { width:130px; }
.stats-table th:nth-child(9) { width:120px; }
.stats-table th:nth-child(10) { width:92px; }
.stats-table th:nth-child(11) { width:168px; }
.stats-table th:nth-child(12), .stats-table th:nth-child(13), .stats-table th:nth-child(14), .stats-table th:nth-child(15) { width:110px; }
.stats-status { display:inline-flex; align-items:center; gap:8px; }
.stats-status i { width:7px; height:7px; border-radius:50%; background:#f5a623; }
.stats-progress { display:flex; align-items:center; gap:8px; min-width:118px; }
.stats-progress i { display:block; width:94px; height:6px; border-radius:4px; background:#e8edf6; }
.stats-progress em { color:#606266; font-size:13px; font-style:normal; }
.stats-tool-row { padding-bottom:0; }

.settings-page { padding:0 48px 94px; }
.setting-section { padding:37px 0 25px; border-bottom:1px solid #ebeef5; }
.setting-title { margin:0 0 16px; padding-bottom:12px; border-bottom:1px solid #ebeef5; color:#303133; font-size:16px; font-weight:500; }
.setting-row { display:flex; align-items:center; min-height:42px; padding-left:40px; gap:12px; color:#606266; }
.setting-row > .row-label { flex:0 0 auto; min-width:106px; text-align:right; color:#303133; }
.setting-help { color:#909399; font-size:13px; }
.switch { position:relative; width:40px; height:20px; display:inline-block; vertical-align:middle; }
.switch input { opacity:0; width:0; height:0; }
.switch-track { position:absolute; inset:0; background:#dcdfe6; border-radius:12px; transition:.16s; }
.switch-track::after { content:""; position:absolute; width:16px; height:16px; top:2px; left:2px; border-radius:50%; background:#fff; box-shadow:0 1px 2px rgba(0,0,0,.18); transition:.16s; }
.switch input:checked + .switch-track { background:var(--blue); }
.switch input:checked + .switch-track::after { transform:translateX(20px); }
.mentor-toolbar { display:flex; gap:10px; margin:0 0 9px; }
.settings-mini-table { width:100%; border-collapse:collapse; margin-top:10px; color:#606266; font-size:14px; }
.settings-mini-table th, .settings-mini-table td { height:42px; border:1px solid #ebeef5; text-align:left; padding:0 14px; }
.settings-mini-table th { color:#333; background:#fafafa; font-weight:500; }
.small-pager { display:flex; justify-content:flex-end; align-items:center; gap:10px; padding-top:10px; color:#606266; font-size:13px; }
.notice-grid { display:grid; grid-template-columns: 152px repeat(7, max-content); gap:16px 32px; align-items:center; padding:17px 40px; }
.notice-label { text-align:right; color:#303133; white-space:nowrap; }
.notice-cell { display:flex; align-items:center; gap:8px; color:#606266; white-space:nowrap; }
.notice-cell input { appearance:none; width:14px; height:14px; margin:0; border:1px solid #dcdfe6; background:#fff; }
.notice-cell input:checked { border-color:var(--blue); background:var(--blue); box-shadow: inset 0 0 0 2px #fff; }
.radio-line { display:flex; gap:26px; align-items:center; }
.radio { display:inline-flex; align-items:center; gap:7px; cursor:pointer; color:#606266; }
.radio input { appearance:none; width:14px; height:14px; margin:0; border:1px solid #dcdfe6; border-radius:50%; }
.radio input:checked { border:4px solid var(--blue); }
.commit-field { width:520px; min-height:36px; padding:7px 10px; resize:vertical; border:1px solid var(--field-line); border-radius:4px; outline:0; color:#606266; }
.module-intro { margin:0 0 13px; color:#909399; font-size:13px; }
.module-state { display:inline-flex; align-items:center; gap:8px; }
.dot { width:8px; height:8px; border-radius:50%; background:#c0c4cc; }
.dot.on { background:#16c790; }
.settings-save { position:sticky; z-index:10; bottom:0; height:65px; margin:0 -48px -94px; padding:17px 48px; background:#fff; border-top:1px solid #ebeef5; display:flex; justify-content:flex-end; }

.plan-editor { overflow:hidden; background:#eff2f5; }
.plan-editor-header, .detail-header { height:56px; display:flex; align-items:center; padding:0 24px; background:#fff; border-bottom:1px solid #ebeef5; }
.plan-editor-title { font-size:16px; font-weight:500; color:#303133; }
.header-close { margin-left:auto; border:0; background:none; color:#606266; font-size:28px; line-height:1; font-weight:200; }
.editor-scroll { height:calc(100% - 56px); overflow:auto; padding:24px 0 74px; }
.editor-layout { width:min(1200px, calc(100% - 180px)); margin:0 auto; display:grid; grid-template-columns:178px 1fr; gap:16px; }
.editor-step-card { position:sticky; top:24px; align-self:start; height:max-content; padding:20px 22px; border-radius:8px; background:#fff; box-shadow:0 2px 10px rgba(0,0,0,.05); }
.step-title { color:var(--blue); font-size:16px; font-weight:600; }
.step-number { display:inline-grid; place-items:center; width:25px; height:25px; margin-right:10px; border:1px solid var(--blue); border-radius:50%; font-size:14px; font-weight:400; }
.step-line { width:2px; height:12px; margin:0 0 0 12px; background:var(--blue); }
.step-sub { margin-left:36px; color:#606266; line-height:24px; white-space:nowrap; }
.step-sub.is-active { color:var(--blue); }
.editor-main { display:flex; flex-direction:column; gap:18px; }
.editor-panel { padding:25px 24px; border-radius:8px; background:#fff; box-shadow:0 2px 10px rgba(0,0,0,.035); }
.panel-heading { margin:0 0 22px; padding:0 0 12px; border-bottom:1px solid #ebeef5; font-size:20px; font-weight:500; color:#303133; }
.panel-heading::before, .detail-section-title::before { content:""; display:inline-block; width:4px; height:24px; margin-right:10px; vertical-align:-5px; background:var(--blue); border-radius:2px; }
.person-summary { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)) auto; align-items:center; gap:18px; color:#606266; }
.person-summary strong { color:#303133; font-weight:400; }
.mentor-line { grid-column:1 / -1; }
.input-line { display:grid; grid-template-columns: 1fr 280px; gap:24px; align-items:start; }
.form-stack { display:flex; flex-direction:column; gap:22px; }
.editor-label { display:flex; align-items:flex-start; color:#606266; }
.editor-label > span:first-child { flex:0 0 88px; padding-top:8px; }
.required::before { content:"*"; padding-right:4px; color:#f56c6c; }
.editor-label .field, .editor-label .date-range, .editor-label textarea { flex:1; }
.counter-field { position:relative; flex:1; }
.counter-field .field { padding-right:52px; }
.counter { position:absolute; right:10px; top:8px; color:#909399; font-size:13px; }
.description { width:100%; min-height:130px; padding:12px 15px; border:1px solid var(--field-line); border-radius:4px; resize:vertical; outline:0; color:#606266; }
.editor-label .date-range { max-width:350px; }
.cover-area { display:grid; grid-template-columns:1fr; }
.cover-box { height:158px; overflow:hidden; background:#4b7ce7; border:1px solid #dcdfe6; }
.cover-art { display:block; width:100%; height:100%; object-fit:cover; }
.cover-controls { display:grid; grid-template-columns:1fr 1fr; }
.cover-controls.single { grid-template-columns:1fr; }
.cover-controls button { height:32px; border:1px solid #dcdfe6; border-top:0; background:#fff; color:#606266; font-size:13px; }
.editor-footer, .detail-footer { position:fixed; z-index:13; left:var(--sidebar-width); right:0; bottom:0; height:65px; padding:16px 17px; display:flex; justify-content:flex-end; gap:16px; background:#fff; border-top:1px solid #ebeef5; }
.calendar-pop { position:absolute; z-index:60; width:646px; padding:18px 0 0; background:#fff; box-shadow:0 2px 12px rgba(0,0,0,.18); display:grid; grid-template-columns:1fr 1fr; }
.calendar-month { padding:0 16px 18px; }
.calendar-month + .calendar-month { border-left:1px solid #ebeef5; }
.calendar-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; color:#606266; }
.calendar-head strong { color:#606266; font-size:16px; }
.calendar-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:0; }
.calendar-day { height:32px; display:grid; place-items:center; border:0; color:#606266; background:transparent; font-size:13px; }
.calendar-day.muted { color:#c0c4cc; }
.calendar-day.active { color:var(--blue); font-weight:600; background:#ecf5ff; }
.calendar-day.in-range { background:#f2f6fc; }

.plan-detail { background:#fff; overflow:hidden; }
.monitor-frame { width: 100%; height: 100%; border: 0; }
.empty-mascot-image { width: 127px; height: 150px; object-fit: contain; }
.detail-tabs { height:56px; padding-left:120px; display:flex; background:#fff; border-bottom:1px solid #dcdfe6; }
.detail-tab { height:56px; min-width:98px; padding:0 20px; border:1px solid #dcdfe6; border-bottom:0; color:#303133; background:#fff; font-size:14px; }
.detail-tab + .detail-tab { border-left:0; }
.detail-tab.is-active { color:var(--blue); font-weight:500; }
.detail-scroll { height:calc(100% - 112px); overflow:auto; padding:26px 0 90px; }
.detail-content { width:min(1130px, calc(100% - 310px)); margin:0 auto; }
.detail-hero { display:grid; grid-template-columns:330px 1fr; gap:24px; align-items:start; min-height:290px; }
.detail-cover { height:186px; border-radius:6px; overflow:hidden; }
.detail-head h1 { margin:0 0 18px; color:#303133; font-size:22px; font-weight:500; }
.detail-meta { display:grid; gap:13px; color:#606266; font-size:14px; }
.mentor-token { padding:3px 8px; border:1px solid #dcdfe6; border-radius:3px; background:#f5f7fa; color:#909399; }
.detail-section { margin-top:34px; }
.detail-section-title { margin:0 0 19px; padding-bottom:12px; border-bottom:1px solid #ebeef5; font-size:22px; font-weight:500; }
.info-capsule { overflow:hidden; margin:0 26px 28px; border-radius:20px; background:#fafafa; }
.capsule-head { min-height:40px; display:flex; align-items:center; gap:10px; padding:0 16px; color:#303133; font-size:15px; }
.capsule-icon { color:var(--blue); font-size:17px; }
.capsule-body { padding:0 42px 16px; color:#606266; line-height:1.75; }
.narrative-grid { display:grid; grid-template-columns:1fr; gap:14px; margin:0 26px; }
.narrative-card { padding:16px 20px; border:1px solid #f0f2f5; color:#606266; line-height:1.75; }
.narrative-card b { color:#303133; }
.catalog { display:flex; flex-direction:column; gap:22px; }
.stage-card { border:1px solid #eef0f3; border-radius:5px; overflow:hidden; }
.stage-head { min-height:72px; width:100%; padding:0 24px; border:0; display:flex; align-items:center; background:#fafafa; color:#303133; text-align:left; font-size:17px; font-weight:600; }
.stage-period { margin-left:auto; color:#303133; font-size:14px; font-weight:400; }
.stage-caret { margin-left:32px; color:#909399; }
.task-row { min-height:54px; display:flex; align-items:center; gap:14px; padding:0 40px; border-top:1px solid #f0f2f5; color:#606266; }
.task-icon { width:25px; height:25px; display:grid; place-items:center; border-radius:50%; background:#61b8ef; color:#fff; font-size:13px; }
.stage-review .task-icon { background:#5bd7e5; }

.overlay { position:fixed; z-index:100; inset:0; display:flex; align-items:center; justify-content:center; background:rgba(0,0,0,.52); }
.modal { position:relative; overflow:hidden; background:#fff; box-shadow:0 4px 16px rgba(0,0,0,.19); }
.modal.narrow { width:435px; }
.modal.medium { width:720px; }
.modal.wide { width:min(1000px, calc(100% - 160px)); }
.modal-head { height:58px; display:flex; align-items:center; padding:0 24px; border-bottom:1px solid #ebeef5; color:#303133; font-size:18px; font-weight:500; }
.modal-close { margin-left:auto; border:0; color:#909399; background:transparent; font-size:23px; line-height:1; }
.modal-body { min-height:245px; padding:28px 40px; }
.modal-foot { height:58px; padding:0 16px; display:flex; align-items:center; justify-content:flex-end; gap:16px; border-top:1px solid #ebeef5; }
.student-search { display:flex; gap:18px; align-items:center; }
.student-search .field { width:280px; }
.search-results { min-height:148px; margin-top:0; padding:5px 8px; border:1px solid #ebeef5; border-top:0; color:#606266; }
.search-result { display:block; width:100%; min-height:32px; padding:0 0; border:0; text-align:left; background:#fff; color:#606266; font-size:14px; }
.search-result:hover, .search-result.is-active { color:var(--blue); background:#f5f7fa; }
.modal-searchbar { display:flex; justify-content:flex-end; margin-bottom:15px; }
.modal-searchbar .field { width:330px; border-radius:4px 0 0 4px; }
.modal-searchbar .btn { border-radius:0 3px 3px 0; }
.mentor-picker { display:grid; grid-template-columns:260px 1fr; min-height:380px; gap:20px; }
.mentor-tree, .mentor-grid { border:1px solid #ebeef5; }
.mentor-tree { padding:18px; color:#606266; }
.tree-node { padding:8px 2px; }
.tree-node.indent { padding-left:23px; }
.mentor-grid table { width:100%; border-collapse:collapse; color:#909399; }
.mentor-grid th, .mentor-grid td { height:48px; text-align:left; border-bottom:1px solid #f0f2f5; padding:0 18px; }
.dialog-empty { height:220px; display:flex; align-items:center; justify-content:center; color:#c0c4cc; }

.module-drawer-mask { position:fixed; z-index:110; inset:0; background:rgba(0,0,0,.45); }
.batch-mask { position:fixed; z-index:100; inset:0; background:rgba(0,0,0,.45); }
.batch-drawer { position:absolute; right:0; top:0; width:min(900px, 90vw); height:100%; display:flex; flex-direction:column; background:#fff; }
.batch-header { height:56px; flex:0 0 56px; display:flex; align-items:center; padding:0 20px; border-bottom:1px solid #ebeef5; font-size:16px; }
.batch-body { flex:1; overflow:auto; padding:20px 24px; }
.batch-body .panel-heading::before { display:none; }
.batch-tools { display:flex; gap:10px; margin-bottom:30px; }
.batch-table table { width:100%; border-collapse:collapse; text-align:left; }
.batch-table th, .batch-table td { padding:12px; border-bottom:1px solid #ebeef5; }
.batch-table th { background:#f5f7fa; font-weight:500; }
.batch-empty { height:60px; text-align:center; color:#909399; }
.batch-pagination { padding:18px 0 32px; text-align:right; color:#606266; }
.batch-field { display:flex; flex-direction:column; gap:10px; margin:18px 0; }
.batch-field .description { min-height:128px; }
.batch-dates { display:flex; align-items:center; gap:12px; }
.batch-dates input { border:1px solid #dcdfe6; border-radius:4px; padding:7px; font:inherit; }
.batch-foot { display:flex; justify-content:flex-end; gap:10px; padding:10px 20px; border-top:1px solid #ebeef5; }
.batch-popup { z-index:120; }
.batch-tree { border:0; background:transparent; cursor:pointer; padding:8px; }
.batch-upload { padding:55px; text-align:center; color:#909399; border:1px dashed #dcdfe6; }
.picker-mask { position:fixed; z-index:120; inset:0; background:rgba(0,0,0,.45); }
.picker-drawer { position:absolute; right:0; top:0; width:min(1200px, 96vw); height:100%; display:flex; flex-direction:column; background:#fff; color:#303133; }
.picker-header { flex:0 0 56px; display:flex; align-items:center; padding:0 24px; border-bottom:1px solid #e8e8e8; font-size:17px; }
.picker-layout { flex:1; min-height:0; display:grid; grid-template-columns:250px minmax(0,1fr); gap:16px; padding:24px; }
.picker-sidebar { display:flex; flex-direction:column; min-height:0; border:1px solid #e7e7e7; }
.picker-category { display:flex; flex-direction:column; min-height:0; }
.picker-category:has(.picker-category-content) { flex:1; }
.picker-category-title { display:flex; justify-content:space-between; align-items:center; width:100%; min-height:44px; border:0; border-bottom:1px solid #e7e7e7; background:#f7f7f7; padding:0 12px; text-align:left; cursor:pointer; font-size:15px; }
.picker-category-content { flex:1; min-height:0; overflow:auto; padding:12px; }
.picker-category-content .field { width:100%; margin:10px 0; }
.picker-subtypes { display:flex; align-items:center; gap:6px; }
.picker-department { display:block; width:100%; padding:8px; text-align:left; border:0; background:#fff; cursor:pointer; }
.picker-department.active { background:#e9f1ff; color:#276fd2; }
.picker-unavailable { color:#909399; }
.picker-main { display:flex; flex-direction:column; min-width:0; min-height:0; gap:16px; }
.picker-search { display:flex; justify-content:flex-end; align-items:center; gap:0; padding:20px; background:#fafafa; border:1px solid #e8e8e8; }
.picker-search select, .picker-search .field { height:36px; border:1px solid #dcdfe6; padding:0 10px; background:#fff; font:inherit; }
.picker-search select { width:115px; }
.picker-search .field { width:180px; border-radius:0; }
.picker-search .btn { margin-left:12px; }
.picker-transfer { display:grid; grid-template-columns:minmax(0,1fr) 84px minmax(0,1fr); gap:14px; flex:1; min-height:0; }
.picker-list { display:flex; flex-direction:column; min-width:0; border:1px solid #e8e8e8; }
.picker-list header { min-height:44px; display:flex; align-items:center; justify-content:space-between; padding:0 12px; background:#fafafa; color:#606266; font-size:15px; }
.picker-list header button { border:0; background:none; color:#606266; cursor:pointer; }
.picker-list header button:disabled { color:#c0c4cc; }
.picker-columns, .picker-row { display:grid; grid-template-columns:18px minmax(0,1fr) minmax(0,1fr) minmax(0,1fr); align-items:center; gap:8px; padding:10px 12px; }
.picker-columns.selected, .picker-list:last-child .picker-row { grid-template-columns:18px minmax(0,1fr) minmax(0,1fr); }
.picker-columns { color:#909399; border-bottom:1px solid #e8e8e8; }
.picker-row span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.picker-list-body { flex:1; min-height:0; overflow:auto; }
.picker-empty { display:grid; place-items:center; height:100%; min-height:120px; color:#909399; }
.picker-list footer { flex:0 0 42px; padding:12px; text-align:right; border-top:1px solid #e8e8e8; }
.picker-actions { display:flex; flex-direction:column; justify-content:center; gap:8px; }
.picker-actions .btn:nth-child(3) { margin-top:24px; }
.picker-foot { display:flex; justify-content:flex-end; gap:10px; padding:12px 24px; border-top:1px solid #e8e8e8; }
@media (max-width:800px) { .picker-layout { grid-template-columns:170px minmax(0,1fr); padding:12px; gap:10px; } .picker-transfer { grid-template-columns:minmax(0,1fr) 62px minmax(0,1fr); gap:6px; } .picker-columns, .picker-row { gap:4px; padding:9px 5px; } .picker-actions .btn { padding:6px 2px; } }
.module-drawer { position:absolute; top:0; right:0; width:min(680px, 34vw); min-width:min(420px, 100vw); height:100%; display:flex; flex-direction:column; background:#fff; box-shadow:-4px 0 16px rgba(0,0,0,.18); }
.module-drawer-head { height:56px; flex:0 0 56px; display:flex; align-items:center; padding:0 20px; border-bottom:1px solid #ebeef5; }
.module-drawer-head h2 { margin:0; color:#303133; font-size:16px; font-weight:500; }
.module-drawer-head .modal-close { height:32px; width:32px; margin-right:-8px; }
.module-drawer-body { flex:1; min-height:0; overflow:auto; padding:48px 24px 18px; }
.module-form-row { display:grid; grid-template-columns:70px minmax(0,1fr); align-items:start; gap:12px; margin:0 0 20px; }
.module-form-label { padding-top:7px; color:#606266; line-height:20px; text-align:right; white-space:nowrap; font-size:13px; }
.module-form-label.required::before { content:"*"; padding-right:4px; color:#f56c6c; }
.module-help-mark { width:12px; height:12px; display:inline-grid; place-items:center; margin:0 2px; border:1px solid #c0c4cc; border-radius:50%; color:#909399; font-size:9px; line-height:1; vertical-align:1px; }
.module-counter-field { position:relative; min-width:0; }
.module-control { width:100%; }
.module-counter-field .field { padding-right:50px; }
.module-counter-field .counter { top:8px; right:10px; }
.module-counter-field.is-multiline .counter { top:auto; right:10px; bottom:8px; }
.module-textarea { display:block; width:100%; min-height:70px; max-height:220px; padding:8px 12px 23px; border:1px solid var(--field-line); border-radius:4px; outline:0; resize:vertical; color:#606266; font-size:13px; line-height:1.5; }
.module-textarea:focus, .module-control:focus { border-color:#80aef8; }
.module-field-card { margin:0 0 16px; padding:0 0 16px; border-bottom:1px solid #ebeef5; }
.module-field-heading { margin:0 0 10px; }
.module-field-controls { display:grid; grid-template-columns:minmax(0,1fr) 104px 94px; gap:8px; margin:0 0 18px; }
.module-field-hint { display:grid; grid-template-columns:70px minmax(0,1fr); align-items:start; gap:12px; }
.module-field-hint .module-form-label { padding-top:7px; }
.module-add-field { width:100%; height:34px; border:1px dashed #dcdfe6; padding:0 12px; color:#606266; background:#fff; font-size:14px; }
.module-add-field:hover { border-color:#9dbcf2; color:var(--blue); }
.module-drawer-foot { height:60px; flex:0 0 60px; display:flex; align-items:center; justify-content:flex-end; gap:10px; padding:0 20px; border-top:1px solid #ebeef5; background:#fff; }

.toast { position:fixed; z-index:200; top:72px; left:50%; transform:translateX(-50%); padding:10px 18px; border-radius:3px; color:#67c23a; background:#f0f9eb; border:1px solid #e1f3d8; box-shadow:0 2px 12px rgba(0,0,0,.11); font-size:14px; }
.confirm-copy { color:#606266; line-height:1.7; }

@media (max-width: 1300px) {
  .filter-panel { column-gap:24px; }
  .notice-grid { gap:16px 16px; }
  .editor-layout { width:calc(100% - 72px); }
  .detail-content { width:calc(100% - 120px); }
}

/* IDP 模板管理 */
html.template-active, html.template-active body, html.template-active #app { min-width:0; }
.tpl-breadcrumb { display:flex; align-items:center; color:var(--ink); font-weight:500; }
.tpl-list-main { max-width:1240px; margin:0 auto; padding:42px 24px; }
.tpl-list-title, .tpl-heading-row { display:flex; justify-content:space-between; align-items:flex-start; gap:24px; }
.tpl-list-title h1 { margin:0 0 10px; font-size:24px; font-weight:600; }
.tpl-list-title p, .tpl-intro { margin:0; color:#73777e; line-height:1.7; font-size:14px; }
.tpl-list-filter { display:flex; align-items:center; gap:12px; margin:32px 0 20px; padding:18px; background:#fafafa; }
.tpl-list-filter label { display:flex; align-items:center; gap:12px; }
.tpl-list-filter .field { width:240px; }
.tpl-table, .tpl-fields-table { width:100%; border-collapse:collapse; text-align:left; }
.tpl-table th, .tpl-table td { padding:15px 16px; border-bottom:1px solid var(--line); }
.tpl-table th, .tpl-fields-table th { background:#f7f7f7; color:#606266; font-weight:500; }
.tpl-table td p { margin:6px 0 0; color:#909399; }
.tpl-table th:first-child { width:30%; }
.tpl-empty { height:190px; text-align:center; color:#909399; }
.tpl-actions { display:flex; align-items:center; gap:16px; white-space:nowrap; }
.tpl-status { display:inline-block; padding:4px 9px; border-radius:3px; background:#f2f3f4; color:#666; font-size:13px; }
.tpl-status.published { background:#edf7f0; color:#39835a; }
.tpl-editor { height:100%; display:flex; flex-direction:column; background:#f5f6f8; }
.tpl-editor-head { height:64px; flex:0 0 64px; padding:0 30px; display:flex; justify-content:space-between; align-items:center; background:#fff; border-bottom:1px solid var(--line); }
.tpl-editor-head > div { display:flex; align-items:center; gap:12px; }
.tpl-editor-head strong { font-size:16px; }
.tpl-back { border:0; background:none; color:#606266; padding:8px 12px 8px 0; }
.tpl-editor-body { flex:1; min-height:0; overflow:auto; display:flex; gap:20px; padding:28px max(32px, calc((100% - 1260px)/2)); align-items:flex-start; }
.tpl-nav { display:flex; flex:0 0 210px; flex-direction:column; align-self:flex-start; padding:8px; background:#fff; border:1px solid #eceef1; border-radius:5px; position:sticky; top:0; }
.tpl-nav button { border:0; background:#fff; text-align:left; padding:13px 16px; color:#606266; border-radius:3px; }
.tpl-nav button.active { color:oklch(0.44 0.16 255); background:oklch(0.96 0.025 255); font-weight:600; }
.tpl-nav-group { display:flex; flex-direction:column; }
.tpl-nav-group > button { width:100%; }
.tpl-nav-children { display:flex; flex-direction:column; padding:2px 0 8px 16px; }
.tpl-nav .tpl-nav-child { display:flex; align-items:center; justify-content:space-between; gap:6px; width:100%; padding:10px 12px; }
.tpl-nav .tpl-nav-child:disabled { color:#a3a7ad; cursor:not-allowed; }
.tpl-nav-disabled { flex:none; color:#8a8e94; }
.tpl-content { flex:1; min-width:0; min-height:590px; height:max-content; padding:30px 36px 48px; background:#fff; border:1px solid #eceef1; border-radius:5px; }
.tpl-content h2 { margin:0 0 8px; font-size:20px; font-weight:600; }
.tpl-content h3 { margin:0 0 16px; font-size:16px; }
.tpl-form { display:flex; flex-direction:column; gap:24px; margin-top:28px; max-width:700px; }
.tpl-field { display:flex; flex-direction:column; gap:9px; color:#4d5055; }
.tpl-field em { font-style:normal; color:#f56c6c; }
.tpl-field .description { min-height:90px; }
.tpl-commit-input { position:relative; display:block; }
.tpl-commit-input .description { padding-bottom:28px; }
.tpl-commit-count { position:absolute; right:12px; bottom:10px; color:#909399; font-size:13px; }
.tpl-check { display:inline-flex; gap:7px; align-items:center; white-space:nowrap; color:#606266; }
.tpl-check input { accent-color:var(--blue); }
.tpl-check-row, .tpl-role-settings { display:flex; align-items:center; flex-wrap:wrap; gap:20px; }
.tpl-flow-list { margin-top:28px; border:1px solid var(--line); }
.tpl-flow-list > div { min-height:72px; display:grid; grid-template-columns:160px minmax(0,1fr) auto 48px; gap:18px; align-items:center; padding:14px 20px; border-bottom:1px solid var(--line); }
.tpl-flow-list > div:last-child { border-bottom:0; }
.tpl-flow-list span { color:#7b7f86; }
.tpl-flow-list .tpl-flow-config:disabled { color:#a3a7ad; cursor:not-allowed; }
@media (max-width:850px) { .tpl-flow-list > div { grid-template-columns:minmax(110px,1fr) auto 48px; gap:10px; } .tpl-flow-list > div > span { grid-column:1 / -1; grid-row:2; } }
.tpl-subsection { margin-top:32px; }
.tpl-note { padding:14px; background:#f7f7f7; color:#606266; margin-top:20px; }
.tpl-role-list, .tpl-sections { display:grid; gap:16px; margin-top:26px; }
.tpl-role, .tpl-form-section { border:1px solid var(--line); border-radius:4px; padding:20px; }
.tpl-form-section { min-width:0; }
.tpl-fixed-name { min-width:160px; font-weight:500; }
.tpl-system-options { display:flex; flex-wrap:wrap; gap:20px; margin-top:18px; }
.tpl-field-editor { padding:16px 0; border-top:1px solid var(--line); }
.tpl-field-controls { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.tpl-field-controls > input { flex:1 1 200px; }
.tpl-field-controls > select { flex:0 1 130px; width:130px; }
.tpl-field-prompt.description { flex:1; min-width:0; min-height:62px; }
.tpl-action-settings { display:grid; gap:20px; margin-top:26px; }
.tpl-action-section { margin-top:32px; padding-top:26px; border-top:1px solid var(--line); }
.tpl-action-section h3 { margin:0; font-size:16px; }
.tpl-action-form-main { margin-top:24px; }
.tpl-action-core { padding:20px 0; border-top:1px solid var(--line); }
.tpl-action-core-heading, .tpl-action-option-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.tpl-action-core-heading { margin-bottom:16px; }
.tpl-action-core-heading h3 { margin:0; font-size:15px; }
.tpl-action-core-heading > span { color:#737880; }
.tpl-action-options { max-width:520px; }
.tpl-action-option { display:flex; align-items:center; gap:12px; margin-top:10px; }
.tpl-action-option .field { flex:1; min-width:0; }
.tpl-action-core .tpl-compact-fields { margin-top:0; }
.tpl-custom-settings { margin-top:18px; border:1px solid var(--line); border-radius:4px; }
.tpl-custom-settings-toggle { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; padding:12px 14px; border:0; background:#fafafa; color:#303133; text-align:left; cursor:pointer; }
.tpl-custom-settings-toggle span { color:oklch(0.44 0.16 255); white-space:nowrap; }
.tpl-custom-settings-body { padding:0 14px 14px; }
.tpl-custom-settings-actions { display:flex; justify-content:flex-end; padding:10px 0; }
.tpl-self-study-hint { margin-top:18px; }
.tpl-self-study-hint .description { min-height:72px; }
.tpl-action-section .tpl-node-list { margin-top:18px; }
.tpl-compact-node-name { flex:1 1 250px; min-width:0; }
.tpl-compact-fields { margin-top:18px; border:1px solid var(--line); border-radius:4px; }
.tpl-compact-fields-head, .tpl-compact-field { display:grid; grid-template-columns:minmax(0,1fr) 70px 70px 110px; align-items:center; gap:10px; min-height:46px; padding:8px 14px; }
.tpl-compact-fields-head { background:#f7f7f7; color:#606266; }
.tpl-compact-field { border-top:1px solid var(--line); }
.tpl-compact-field input[type=checkbox] { accent-color:oklch(0.52 0.18 255); }
.tpl-compact-field-name { min-width:0; overflow-wrap:anywhere; }
.tpl-compact-type { margin-left:8px; color:#737880; }
.tpl-compact-actions { display:flex; gap:12px; white-space:nowrap; }
.tpl-compact-field-editor { display:grid; grid-template-columns:minmax(0,1fr) 130px; gap:10px; padding:0 14px 14px; }
.tpl-compact-field-editor > input:nth-of-type(2) { grid-column:1 / -1; }
.tpl-action-more { margin-top:26px; padding-top:18px; border-top:1px solid var(--line); }
.tpl-action-more-toggle { padding:0; border:0; background:none; color:#606266; cursor:pointer; }
@media (max-width:800px) { .tpl-compact-fields-head, .tpl-compact-field { grid-template-columns:minmax(0,1fr) 45px 45px 90px; gap:6px; } .tpl-compact-actions { gap:6px; } }
.tpl-reference-related { margin-top:24px; padding-top:18px; border-top:1px solid var(--line); }
.tpl-reference-related p { margin:8px 0 0; color:#737880; }
.tpl-action-settings .description, .tpl-custom-hint .description { min-height:72px; }
.tpl-node-list { display:grid; gap:16px; margin-top:28px; }
.tpl-node { min-width:0; border:1px solid var(--line); border-radius:4px; padding:20px; }
.tpl-node-heading { display:flex; align-items:end; flex-wrap:wrap; gap:14px; }
.tpl-node-name { flex:1 1 250px; display:grid; gap:8px; }
.tpl-node-heading .tpl-actions { margin-left:auto; padding-bottom:8px; }
.tpl-node-ways { display:grid; gap:12px; margin-top:20px; }
.tpl-custom-config { margin-top:22px; padding-top:20px; border-top:1px solid var(--line); }
.tpl-custom-config h3 { margin-bottom:12px; }
.tpl-task-fields { border:1px solid var(--line); }
.tpl-task-fields > div { display:flex; justify-content:space-between; align-items:center; gap:12px; min-height:44px; padding:10px 14px; border-bottom:1px solid var(--line); }
.tpl-task-fields > div:last-child { border-bottom:0; }
.tpl-task-fields strong { font-weight:400; }
.tpl-task-fields > div > span { color:#909399; }
.tpl-task-field-options { display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.tpl-custom-hint { margin-top:20px; }
.tpl-reference-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(270px,310px); gap:16px; margin-top:22px; align-items:start; }
.tpl-reference-preview, .tpl-reference-settings { min-width:0; border:1px solid var(--line); border-radius:4px; padding:20px; }
.tpl-reference-settings { background:#fafafa; }
.tpl-reference-preview h3, .tpl-reference-settings h3 { margin:0; font-size:15px; }
.tpl-reference-heading, .tpl-reference-row, .tpl-reference-custom-bottom { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.tpl-reference-group { margin-top:20px; }
.tpl-reference-group h4 { margin:0 0 8px; font-size:14px; font-weight:500; color:#606266; }
.tpl-reference-row { align-items:flex-start; padding:10px 0; border-bottom:1px solid var(--line); }
.tpl-reference-row > span:first-child { min-width:0; }
.tpl-reference-controls, .tpl-reference-ops { display:flex; gap:10px; flex-shrink:0; }
.tpl-reference-controls .tpl-check { white-space:nowrap; }
.tpl-reference-custom { display:grid; gap:8px; padding:12px 0; border-bottom:1px solid var(--line); }
.tpl-reference-custom .field { width:100%; min-width:0; }
.tpl-reference-ops { gap:6px; }
.tpl-reference-empty, .tpl-reference-hint { color:#737880; margin:10px 0; white-space:pre-wrap; }
.tpl-reference-task-hint { margin-top:20px; }
.tpl-reference-task-hint .description { min-height:70px; }
.tpl-reference-field { display:grid; gap:8px; margin-top:20px; }
.tpl-reference-field em { color:#e65a50; font-style:normal; }
.tpl-reference-field .description { min-height:80px; }
.tpl-reference-field .btn { justify-self:start; }
@media (max-width:1050px) { .tpl-reference-layout { grid-template-columns:1fr; } }
.tpl-node-summary { margin:12px 0 0; color:#737880; }
.tpl-custom-title { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.tpl-custom-title h3 { margin:0; }
.tpl-simple-fields { border:1px solid var(--line); border-radius:4px; }
.tpl-simple-field { display:grid; grid-template-columns:minmax(180px,1fr) 84px 84px 150px; align-items:center; gap:12px; min-height:46px; padding:8px 14px; border-bottom:1px solid var(--line); }
.tpl-simple-fields > .tpl-simple-field:last-child, .tpl-simple-custom:last-child { border-bottom:0; }
.tpl-simple-head { background:#f7f7f7; color:#606266; }
.tpl-field-check { display:flex; align-items:center; }
.tpl-field-check input { accent-color:oklch(0.52 0.18 255); }
.tpl-simple-custom { border-bottom:1px solid var(--line); }
.tpl-simple-custom .tpl-simple-field { border:0; }
.tpl-simple-custom-detail { display:flex; gap:10px; padding:0 14px 12px; }
.tpl-simple-custom-detail select { width:140px; }
.tpl-simple-custom-detail input { flex:1; min-width:0; }
.tpl-simple-operations { display:flex; gap:10px; }
@media (max-width:900px) { .tpl-simple-field { grid-template-columns:minmax(120px,1fr) 55px 55px 120px; gap:8px; } .tpl-simple-operations { gap:4px; } }
.tpl-node-empty { padding:42px 20px; border:1px dashed #dcdfe6; text-align:center; color:#909399; }
.tpl-action-columns { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px; margin-top:24px; align-items:start; }
.tpl-action-columns h4 { margin:0 0 12px; font-size:14px; font-weight:600; }
.tpl-action-columns .tpl-action-custom-title { margin-top:22px; }
.tpl-action-extra { display:grid; grid-template-columns:minmax(0,1fr) minmax(110px,.65fr); gap:10px; padding:12px 0; border-bottom:1px solid var(--line); }
.tpl-action-extra .tpl-actions { justify-content:flex-end; gap:10px; }
.tpl-action-field-hint { grid-column:1 / -1; }
.tpl-action-form-preview { min-width:0; padding:18px; border:1px solid var(--line); border-radius:4px; background:#fafafa; }
.tpl-action-preview-field { display:grid; gap:7px; margin-top:14px; }
.tpl-action-preview-field em { color:#e65a50; font-style:normal; }
.tpl-action-preview-field .description { min-height:64px; }
.tpl-action-preview-field .btn { justify-self:start; }
.tpl-action-preview-hint { color:#606266; white-space:pre-wrap; }
@media (max-width:1050px) { .tpl-action-columns { grid-template-columns:1fr; } }
.tpl-role-top, .tpl-section-header { display:flex; align-items:center; gap:16px; }
.tpl-drag-handle { flex:0 0 24px; padding:3px; border:0; background:transparent; color:#909399; font-size:20px; line-height:1; cursor:grab; }
.tpl-drag-handle:active { cursor:grabbing; }
.tpl-form-section.is-dragging { opacity:.5; }
.tpl-form-section.is-drop-target { outline:2px solid oklch(0.52 0.18 255); outline-offset:2px; }
.tpl-role-name, .tpl-section-name { max-width:240px; font-weight:500; }
.tpl-role-top .btn { margin-left:auto; }
.tpl-role-settings { margin-top:18px; }
.tpl-role-settings > label:first-child { display:flex; align-items:center; gap:10px; }
.tpl-role-settings select { width:180px; }
.tpl-section-header .tpl-actions { margin-left:auto; }
.tpl-hint { display:flex; align-items:center; gap:12px; margin:18px 0; color:#606266; }
.tpl-hint .field { flex:1; }
.tpl-fields-table { margin:12px 0 18px; table-layout:fixed; }
.tpl-fields-table th, .tpl-fields-table td { padding:10px; border-bottom:1px solid var(--line); }
.tpl-fields-table th:nth-child(1) { width:45%; } .tpl-fields-table th:nth-child(2) { width:30%; }
.tpl-fields-table th:nth-child(3) { width:12%; }
.tpl-editor :focus-visible, .template-list :focus-visible { outline:2px solid oklch(0.52 0.18 255); outline-offset:2px; }
.tpl-collapse { border:0; background:transparent; color:#606266; padding:4px 8px; font-size:18px; line-height:1; }
.tpl-action-sections .tpl-section-header { min-height:32px; }
.tpl-action-name { min-width:160px; font-weight:500; }
.tpl-action-detail { color:#606266; }
.tpl-action-section-body { margin-top:20px; }
.tpl-action-section-body > .tpl-hint:first-child { margin-top:0; }
.tpl-action-self-study { margin-top:20px; padding-top:18px; border-top:1px solid var(--line); }
.tpl-action-fields { margin-top:16px; }
.tpl-action-field-row { display:flex; align-items:center; flex-wrap:wrap; gap:16px; padding:14px 0; border-top:1px solid var(--line); }
.tpl-action-field-row > strong { flex:1 1 230px; font-weight:500; }
.tpl-action-field-row > input { flex:1 1 180px; min-width:0; }
.tpl-action-field-row > select { width:130px; }
.tpl-action-field-row .tpl-actions { margin-left:auto; gap:10px; }
.tpl-action-field-prompt { flex:1 0 100%; margin:0; }
.tpl-review-groups { display:grid; gap:18px; margin-top:28px; }
.tpl-review-group { min-width:0; padding:20px; border:1px solid var(--line); border-radius:4px; }
.tpl-review-group-head { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.tpl-content .tpl-review-group-head h3 { margin:0; font-size:16px; }
.tpl-review-group-head .tpl-actions { gap:14px; }
.tpl-review-group-body { padding-top:4px; }
.tpl-review-fields { display:grid; gap:16px; margin:16px 0 12px; }
.tpl-review-field .tpl-field-controls > input { flex:1 1 180px; min-width:0; }
.tpl-review-field .tpl-field-controls > select { flex:0 1 120px; }
.tpl-review-field .tpl-actions { margin-left:auto; gap:10px; }
.tpl-review-field .tpl-hint { margin-bottom:0; }
@media (max-width:800px) { .tpl-action-name { min-width:0; } .tpl-action-field-row .tpl-actions { margin-left:0; } }
.tpl-action-layout { display:grid; gap:30px; margin-top:28px; }
.tpl-action-group { min-width:0; }
.tpl-action-group-head { margin-bottom:14px; }
.tpl-content .tpl-action-group-head h3 { margin:0; font-size:16px; font-weight:600; }
.tpl-action-group-body { padding:0 22px; border:1px solid var(--line); border-radius:4px; }
.tpl-action-config-row { display:flex; align-items:center; gap:24px; min-height:62px; padding:14px 0; }
.tpl-action-config-row + .tpl-action-config-row, .tpl-action-prompt, .tpl-action-course-rule { border-top:1px solid var(--line); }
.tpl-action-config-row > strong, .tpl-action-config-title > strong { flex:0 0 160px; font-weight:500; }
.tpl-action-config-row > span, .tpl-action-config-title > span { color:#606266; }
.tpl-action-type-row { display:block; }
.tpl-action-config-title { display:flex; align-items:center; gap:24px; min-height:33px; }
.tpl-action-config-title .tpl-collapse { margin-left:auto; }
.tpl-action-type-options { max-width:650px; padding:16px 0 6px; }
.tpl-action-prompt { display:flex; align-items:flex-start; gap:24px; padding:18px 0; color:#4d5055; }
.tpl-action-prompt > span { flex:0 0 160px; padding-top:9px; }
.tpl-action-prompt .description { flex:1; }
.tpl-action-activity-picker, .tpl-action-course-rule { display:flex; align-items:center; gap:24px; padding:20px 0; }
.tpl-action-activity-picker > strong, .tpl-action-course-rule > strong { flex:0 0 160px; font-weight:500; }
.tpl-action-self-study { margin:0; padding:17px 0 20px; }
.tpl-action-self-study .tpl-section-header { min-height:28px; }
.tpl-action-self-study .tpl-section-header > strong { font-weight:500; }
@media (max-width:800px) {
  .tpl-action-config-row > strong, .tpl-action-config-title > strong, .tpl-action-prompt > span, .tpl-action-activity-picker > strong, .tpl-action-course-rule > strong { flex-basis:125px; }
}
@media (max-width:560px) {
  .tpl-action-group-body { padding:0 16px; }
  .tpl-action-config-row, .tpl-action-config-title, .tpl-action-activity-picker, .tpl-action-course-rule, .tpl-action-prompt { gap:10px; }
  .tpl-action-config-row > strong, .tpl-action-config-title > strong, .tpl-action-prompt > span, .tpl-action-activity-picker > strong, .tpl-action-course-rule > strong { flex-basis:110px; }
  .tpl-action-activity-picker, .tpl-action-course-rule { align-items:flex-start; flex-direction:column; }
  .tpl-action-activity-picker > strong, .tpl-action-course-rule > strong { flex-basis:auto; }
}

.dashboard { max-width: 1440px; margin: 0 auto; padding: 30px 24px 48px; color: #303133; }
.dashboard-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.dashboard-heading h1 { margin: 0; font-size: 24px; font-weight: 600; }
.dashboard-heading p, .dashboard-section-heading p { margin: 8px 0 0; color: #73777b; line-height: 1.6; }
.dashboard-snapshot { padding: 8px 12px; border: 1px solid #e8e5e2; border-radius: 4px; color: #68645f; white-space: nowrap; }
.dashboard-section { margin-bottom: 22px; }
.dashboard-section-heading { display: flex; justify-content: space-between; margin-bottom: 20px; }
.dashboard-section-heading h2 { margin: 0; font-size: 17px; font-weight: 600; }
.dashboard-metrics { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #ebe9e6; border-radius: 6px; background: #faf9f8; }
.dashboard-metric { padding: 22px 24px; }
.dashboard-metric + .dashboard-metric { border-left: 1px solid #e9e7e4; }
.dashboard-metric > span { color: #626466; }
.dashboard-metric strong { display: block; margin-top: 13px; font-size: 30px; line-height: 1.1; font-weight: 600; }
.dashboard-metric strong small, .dashboard-stage small { font-size: 13px; font-weight: 400; color: #777; }
.dashboard-metric p { margin: 10px 0 0; color: #777; }
.dashboard-columns { display: grid; grid-template-columns: 1.12fr 1fr; gap: 20px; }
.dashboard-panel { border: 1px solid #ebe9e6; border-radius: 6px; padding: 24px; background: #fff; }
.dashboard-stack { display: flex; width: 100%; height: 18px; overflow: hidden; border-radius: 3px; background: #f0efed; margin: 28px 0 22px; }
.dashboard-stage-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.dashboard-stage { display: grid; grid-template-columns: 1fr auto 58px; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid #f1f0ee; }
.dashboard-stage span { display: flex; align-items: center; gap: 9px; }
.dashboard-stage i { width: 9px; height: 9px; border-radius: 50%; }
.dashboard-stage strong { font-weight: 600; }
.dashboard-stage em { color: #777; text-align: right; font-style: normal; }
.dashboard-note { margin: 18px 0 0; color: #777; line-height: 1.6; }
.dashboard-insights > div { padding: 15px 0; border-bottom: 1px solid #f0efed; }
.dashboard-insights > div:first-child { padding-top: 2px; }
.dashboard-insights strong, .dashboard-pending strong { font-weight: 600; }
.dashboard-insights p, .dashboard-pending p { margin: 7px 0 0; color: #73777b; line-height: 1.6; }
.dashboard-link { margin-top: 20px; color: oklch(0.44 0.16 255); border-color: oklch(0.82 0.06 255); height: 36px; font-size: 14px; }
.dashboard-pending { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dashboard-pending > div { padding: 17px; background: #f8f8f7; border-radius: 4px; }
@media (max-width: 1250px) { .dashboard { padding-left: 8px; padding-right: 8px; } .dashboard-metric { padding: 20px 16px; } }

.executive-dashboard { max-width: 1440px; padding-top: 32px; }
.executive-dashboard .dashboard-heading { align-items: center; margin-bottom: 28px; }
.dashboard-period { display: flex; gap: 12px; align-items: center; color: #73777b; }
.dashboard-period strong { padding: 9px 15px; border: 1px solid #e6e3df; border-radius: 4px; color: #393b3d; font-weight: 500; background: #fff; }
.dashboard-demo { color: oklch(0.44 0.16 255); background: oklch(0.96 0.025 255); padding: 8px 10px; border-radius: 4px; }
.executive-overview { padding: 28px 30px 0; background: #f8f6f3; border: 1px solid #ebe7e1; border-radius: 6px; }
.executive-overview-top { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding-bottom: 24px; }
.executive-overview h2, .executive-title h2 { margin: 0; font-size: 19px; font-weight: 600; }
.executive-overview-top p { color: #6b6d6e; margin: 10px 0 0; line-height: 1.6; }
.overview-highlight { text-align: right; }
.overview-highlight strong { color: oklch(0.44 0.16 255); font-size: 38px; line-height: 1; }
.overview-highlight strong span { font-size: 20px; }
.overview-highlight p { margin-top: 5px; }
.executive-metrics { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #e5e1db; }
.executive-metrics > div { padding: 21px 20px 23px 0; }
.executive-metrics > div + div { padding-left: 26px; border-left: 1px solid #e5e1db; }
.executive-metrics span { color: #686b6e; }
.executive-metrics strong { display: block; font-size: 28px; margin-top: 11px; line-height: 1.1; }
.executive-metrics small, .plan-legend small { font-size: 14px; font-weight: 400; color: #707070; }
.executive-metrics p { color: #777; margin: 9px 0 0; }
.executive-section { margin-top: 38px; }
.executive-title { display: flex; align-items: baseline; gap: 20px; margin-bottom: 16px; }
.executive-title p { color: #74777a; margin: 0; }
.executive-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 18px; }
.executive-panel { border: 1px solid #eae8e5; border-radius: 6px; padding: 24px; background: #fff; }
.executive-panel h3 { margin: 0; font-size: 16px; font-weight: 600; }
.executive-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.executive-panel-head > span { color: #777; }
.department-list { margin-top: 22px; }
.department-row { display: grid; grid-template-columns: 82px 1fr 90px 42px; align-items: center; gap: 15px; margin-top: 20px; }
.department-row:first-child { margin-top: 0; }
.department-row strong { font-weight: 500; }
.department-row > span { color: #6c6e70; text-align: right; }
.department-row b { text-align: right; font-weight: 600; }
.executive-bar { height: 10px; background: #f0eeeb; border-radius: 5px; overflow: hidden; }
.executive-bar i { display: block; height: 100%; border-radius: inherit; background: oklch(0.52 0.18 255); }
.coverage-summary, .outcome-summary { background: #fbfaf8; }
.coverage-summary p, .outcome-summary p { line-height: 1.7; color: #686b6e; margin: 12px 0 0; }
.coverage-summary .summary-number { color: #343434; font-size: 30px; font-weight: 600; margin-top: 22px; }
.summary-number small { font-size: 14px; font-weight: 400; }
.summary-divider { height: 1px; background: #eae7e2; margin: 20px 0; }
.plan-stack { height: 18px; display: flex; overflow: hidden; border-radius: 3px; margin: 26px 0 22px; }
.plan-stack i:first-child, .plan-legend > div:first-child i { background: oklch(0.83 0.04 255); }
.plan-stack i:nth-child(2), .plan-legend > div:nth-child(2) i { background: oklch(0.52 0.18 255); }
.plan-stack i:nth-child(3), .plan-legend > div:nth-child(3) i { background: #718f80; }
.plan-legend { display: grid; grid-template-columns: repeat(3, 1fr); }
.plan-legend > div + div { border-left: 1px solid #efedeb; padding-left: 24px; }
.plan-legend span { color: #65686b; display: flex; align-items: center; gap: 8px; }
.plan-legend i, .ability-key i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.plan-legend strong { display: block; font-size: 23px; margin-top: 10px; }
.plan-legend p { margin: 4px 0 0; color: #777; }
.action-value { display: flex; justify-content: space-between; align-items: baseline; margin: 26px 0 15px; }
.action-value strong { font-size: 32px; }
.action-value strong span { font-size: 18px; }
.action-value > span, .action-progress > p { color: #73777b; }
.action-progress > p { margin: 14px 0 0; }
.attention-list { border: 1px solid #eae8e5; border-radius: 6px; }
.attention-list > div { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 18px; padding: 19px 24px; }
.attention-list > div + div { border-top: 1px solid #efedeb; }
.attention-count { font-size: 27px; font-weight: 600; color: oklch(0.44 0.16 255); }
.attention-list strong { font-size: 15px; }
.attention-list p { color: #73777b; margin: 7px 0 0; }
.attention-type { color: oklch(0.44 0.16 255); background: oklch(0.96 0.025 255); border-radius: 4px; padding: 6px 10px; }
.ability-key { display: flex; gap: 18px; justify-content: flex-end; color: #74777a; margin: 18px 0 20px; }
.ability-key span { display: flex; align-items: center; gap: 7px; }
.ability-key span:first-child i, .ability-bars i:first-child { background: oklch(0.83 0.04 255); }
.ability-key span:nth-child(2) i, .ability-bars i:nth-child(2) { background: oklch(0.52 0.18 255); }
.ability-row { display: grid; grid-template-columns: 80px 1fr 78px; gap: 15px; align-items: center; margin-top: 17px; }
.ability-bars { display: grid; gap: 4px; }
.ability-bars i { height: 7px; border-radius: 4px; }
.ability-row strong { font-weight: 500; text-align: right; }
.outcome-number { font-size: 34px; font-weight: 600; margin-top: 23px; }
.outcome-number small { font-size: 16px; font-weight: 400; color: #777; }
.executive-footer { margin-top: 30px; color: #777; line-height: 1.6; }

/* IDP 开展看板 */
.executive-dashboard { max-width: 1440px; padding: 34px 32px 72px; color: #252824; font-variant-numeric: tabular-nums; }
.executive-dashboard .dashboard-heading { align-items: center; margin-bottom: 30px; }
.executive-dashboard .dashboard-heading h1 { font-size: 26px; letter-spacing: -.02em; font-weight: 650; }
.executive-dashboard .dashboard-period { gap: 12px; color: #656a63; }
.executive-dashboard .dashboard-period strong { padding: 9px 14px; border-color: #deded9; color: #30352e; font-weight: 600; }
.executive-dashboard .executive-overview { padding: 30px 32px 0; border: 1px solid #e4e5df; border-radius: 10px; background: #f5f5f0; }
.executive-dashboard .executive-overview-top { align-items: end; padding-bottom: 25px; }
.executive-dashboard .executive-overview h2, .executive-dashboard .executive-title h2 { font-size: 20px; letter-spacing: -.01em; }
.executive-dashboard .executive-overview-top p { margin-top: 10px; color: #62685e; }
.executive-dashboard .overview-highlight { display: flex; align-items: baseline; gap: 16px; text-align: left; white-space: nowrap; }
.executive-dashboard .overview-highlight p { margin: 0; color: #62685e; }
.executive-dashboard .overview-highlight strong { color: #596f5d; font-size: 54px; letter-spacing: -.04em; }
.executive-dashboard .overview-highlight strong span { font-size: 24px; }
.executive-dashboard .executive-metrics { border-color: #dedfd8; }
.executive-dashboard .executive-metrics > div { padding: 23px 20px 25px 0; }
.executive-dashboard .executive-metrics > div + div { padding-left: 26px; border-color: #dedfd8; }
.executive-dashboard .executive-metrics span { color: #5f655d; }
.executive-dashboard .executive-metrics strong { margin-top: 10px; font-size: 32px; letter-spacing: -.025em; }
.executive-dashboard .executive-metrics p { color: #737970; }
.executive-dashboard .executive-section { margin-top: 46px; }
.executive-dashboard .executive-title { margin-bottom: 17px; }
.executive-dashboard .executive-grid { grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr); gap: 18px; }
.executive-dashboard .executive-panel { min-width: 0; padding: 27px 28px; border: 1px solid #e8e9e4; border-radius: 9px; background: #fff; }
.executive-dashboard .executive-panel h3 { font-size: 16px; color: #30342e; }
.executive-dashboard .executive-panel-head > span { color: #72786f; }
.executive-dashboard .department-list { margin-top: 26px; }
.executive-dashboard .department-row { grid-template-columns: 80px minmax(60px, 1fr) 92px 44px; gap: 16px; margin-top: 23px; }
.executive-dashboard .department-row:first-child { margin-top: 0; }
.executive-dashboard .department-row strong { font-weight: 600; }
.executive-dashboard .executive-bar { height: 9px; background: #eeefeb; }
.executive-dashboard .executive-bar i { background: #8a9f8c; }
.executive-dashboard .coverage-summary, .executive-dashboard .outcome-summary { background: #f8f9f6; }
.executive-dashboard .coverage-summary .summary-number { margin-top: 26px; font-size: 38px; letter-spacing: -.03em; }
.executive-dashboard .coverage-summary p, .executive-dashboard .outcome-summary p { color: #60675e; }
.executive-dashboard .summary-divider { background: #e3e7e0; }
.executive-dashboard .plan-stack { height: 13px; border-radius: 7px; margin: 30px 0 24px; }
.executive-dashboard .plan-stack i:first-child, .executive-dashboard .plan-legend > div:first-child i { background: #dedbd3; }
.executive-dashboard .plan-stack i:nth-child(2), .executive-dashboard .plan-legend > div:nth-child(2) i { background: oklch(0.52 0.18 255); }
.executive-dashboard .plan-stack i:nth-child(3), .executive-dashboard .plan-legend > div:nth-child(3) i { background: #7e9884; }
.executive-dashboard .plan-legend strong { font-size: 27px; }
.executive-dashboard .action-value { margin-top: 30px; }
.executive-dashboard .action-value strong { font-size: 40px; letter-spacing: -.03em; }
.executive-dashboard .attention-list { border-color: #e8e9e4; border-radius: 9px; overflow: hidden; }
.executive-dashboard .attention-list > div { grid-template-columns: 60px minmax(0, 1fr) auto; gap: 18px; padding: 21px 28px; }
.executive-dashboard .attention-count { color: oklch(0.44 0.16 255); font-size: 30px; }
.executive-dashboard .attention-type { background: #f4f5f1; color: #5d685c; }
.executive-dashboard .ability-key { margin-top: 20px; }
.executive-dashboard .ability-key span:first-child i, .executive-dashboard .ability-bars i:first-child { background: #dbded7; }
.executive-dashboard .ability-key span:nth-child(2) i, .executive-dashboard .ability-bars i:nth-child(2) { background: #8a9f8c; }
.executive-dashboard .ability-row { margin-top: 21px; }
.executive-dashboard .outcome-number { font-size: 40px; letter-spacing: -.03em; }
@media (max-width: 900px) {
  .executive-dashboard { padding: 26px 20px 56px; }
  .executive-dashboard .executive-grid { grid-template-columns: 1fr; }
  .executive-dashboard .executive-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .executive-dashboard .executive-metrics > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .executive-dashboard .executive-metrics > div:nth-child(n+3) { border-top: 1px solid #dedfd8; }
}
@media (max-width: 560px) {
  .executive-dashboard .dashboard-heading, .executive-dashboard .executive-overview-top { align-items: flex-start; flex-direction: column; }
  .executive-dashboard .executive-overview { padding: 24px 20px 0; }
  .executive-dashboard .overview-highlight strong { font-size: 46px; }
  .executive-dashboard .executive-panel { padding: 22px 18px; }
  .executive-dashboard .executive-panel-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .executive-dashboard .department-row { grid-template-columns: 70px minmax(35px, 1fr) 74px 40px; gap: 8px; }
  .executive-dashboard .attention-list > div { grid-template-columns: 42px minmax(0, 1fr); gap: 12px; padding: 18px; }
  .executive-dashboard .attention-type { grid-column: 2; justify-self: start; }
}

.settings-page .template-list .tpl-list-filter { margin:16px 0 10px; padding:0; background:transparent; }

.tpl-activity-item { padding:18px 0; }
.tpl-activity-item + .tpl-activity-item { border-top:1px solid var(--line); }
.tpl-activity-choice { font-weight:500; }
.tpl-activity-children { margin:14px 0 0 26px; padding:16px; background:#fafafa; border:1px solid var(--line); border-radius:4px; }
.tpl-activity-children.tpl-action-self-study { margin:14px 0 0 26px; padding:16px; }
.tpl-course-setting { display:flex; align-items:center; }

/* Keep native select behavior while aligning its indicator consistently. */
select.field, select.pager-select, .picker-search select {
  appearance:none;
  padding-right:36px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4.5 6.25 3.5 3.5 3.5-3.5' stroke='%23636b76' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 10px center;
  cursor:pointer;
}
select.field:hover, select.pager-select:hover { border-color:#aeb8c6; }
select.field:focus-visible, select.pager-select:focus-visible { outline:2px solid #697585; outline-offset:2px; }
.tpl-role { border-color:#e2e7ee; border-radius:6px; }
.tpl-role-top .btn { min-height:32px; padding:0 8px; }
.tpl-role-settings { gap:24px; }
.tpl-role-settings > label:first-child { color:#4d5055; }
.tpl-role-settings select { width:180px; }
.tpl-role-settings .tpl-check { min-height:32px; }
@media (max-width:560px) { .tpl-role-settings { gap:12px; } .tpl-role-settings > label:first-child { flex-wrap:wrap; } }

.dashboard-empty { min-height:280px; margin-top:24px; border:1px solid var(--line); border-radius:6px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:32px; }
.dashboard-empty h2 { margin:0 0 10px; font-size:16px; font-weight:600; color:#303133; }
.dashboard-empty p { margin:0; color:#606266; line-height:1.6; }

.dashboard-scope { margin:0 0 20px; color:#606266; line-height:1.6; }
.dashboard-real-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.dashboard-real-metrics > div { padding:22px 24px; border:1px solid var(--line); border-radius:6px; background:#fff; }
.dashboard-real-metrics span { color:#606266; }
.dashboard-real-metrics strong { display:block; margin-top:12px; font-size:28px; line-height:1.2; font-variant-numeric:tabular-nums; }
.dashboard-real-metrics small { font-size:14px; font-weight:400; color:#606266; }
.dashboard-real-metrics p { margin:8px 0 0; color:#606266; }
.dashboard-real-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-top:24px; }
.dashboard-real-grid h2 { margin:0; font-size:16px; font-weight:600; }
.dashboard-data-list { display:grid; gap:20px; margin-top:26px; }
.dashboard-data-row { display:grid; grid-template-columns:minmax(80px,1fr) minmax(80px,2fr) 60px 54px; gap:12px; align-items:center; }
.dashboard-data-row strong, .dashboard-data-row > span:last-child { text-align:right; font-variant-numeric:tabular-nums; }
.dashboard-data-row strong { font-weight:500; }
.dashboard-data-row > span:last-child { color:#606266; }
.dashboard-no-data { margin:28px 0 4px; color:#606266; }
@media (max-width:850px) { .dashboard-real-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); } .dashboard-real-grid { grid-template-columns:1fr; } }
@media (max-width:520px) { .dashboard-data-row { grid-template-columns:minmax(65px,1fr) minmax(45px,1fr) 50px 48px; gap:8px; } }
