:root {
  --navy: #102a43;
  --navy-2: #163d5c;
  --teal: #0f8b8d;
  --cyan: #27b8ba;
  --blue: #2d6cdf;
  --orange: #e87924;
  --red: #d64545;
  --green: #2d936c;
  --ink: #203040;
  --muted: #6b7c8f;
  --line: #dfe7ef;
  --surface: #ffffff;
  --bg: #f3f7fa;
  --shadow: 0 12px 35px rgba(16, 42, 67, 0.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--ink); font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 240px 1fr; }
.environment-banner { position: sticky; top: 0; z-index: 40; min-height: 30px; padding: 6px 18px; display: flex; align-items: center; justify-content: center; gap: 10px; color: #fff; background: #607080; font-size: 12px; font-weight: 800; letter-spacing: .2px; box-shadow: 0 1px 0 rgba(16,42,67,.12); }
.environment-banner span { font-weight: 700; opacity: .86; }
.environment-banner.test { color: #4f2d00; background: #ffbd59; }
.environment-banner.production { background: #1d9a68; }
.environment-banner.development { background: #607080; }
.sidebar { position: sticky; top: 30px; height: calc(100vh - 30px); background: linear-gradient(175deg, var(--navy) 0%, #0a2137 100%); color: #fff; padding: 24px 16px; display: flex; flex-direction: column; z-index: 20; }
.brand { display: flex; gap: 12px; align-items: center; padding: 0 10px 28px; }
.brand-mark { width: 46px; height: 46px; flex:0 0 auto; border:2px solid rgba(255,255,255,.7); border-radius:14px; overflow:hidden; display:grid; place-items:center; background:#fff; box-shadow:0 8px 22px rgba(39,184,186,.25); }
.brand-mark img { width:100%; height:100%; display:block; object-fit:cover; }
.brand strong { display: block; font-size: 17px; }
.brand span { color: #9fb5c8; font-size: 12px; }
.sidebar nav { display:block; overflow-y:auto; padding-right:3px; scrollbar-width:thin; scrollbar-color:rgba(255,255,255,.18) transparent; }
.nav-primary-list { display:grid; gap:5px; }
.nav-button { border: 0; color: #b9cad8; background: transparent; border-radius: 10px; padding: 11px 12px; display: flex; align-items: center; gap: 11px; text-align: left; transition: .2s ease; }
.nav-button:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav-button.active { background: linear-gradient(90deg, rgba(39,184,186,.25), rgba(45,108,223,.14)); color: #fff; box-shadow: inset 3px 0 var(--cyan); }
.nav-icon { width: 23px; text-align: center; font-size: 16px; }
.nav-primary { min-height:48px; padding:12px; color:#dce9f2; font-size:14px; font-weight:700; }
.nav-primary .nav-icon { width:30px; height:30px; display:grid; place-items:center; border-radius:9px; color:#7ce4df; background:rgba(39,184,186,.12); font-size:19px; }
.nav-primary.active .nav-icon { color:#fff; background:linear-gradient(145deg,var(--cyan),var(--blue)); box-shadow:0 5px 14px rgba(39,184,186,.2); }
.nav-divider { height:1px; margin:14px 8px 10px; background:rgba(255,255,255,.12); }
.nav-group { margin-bottom:4px; }
.nav-group-title { width:100%; padding:9px 10px 7px; border:0; display:flex; align-items:center; justify-content:space-between; color:#7f9aaf; background:transparent; font-size:10px; font-weight:800; letter-spacing:1.1px; text-align:left; }
.nav-group-title:hover { color:#c8d9e5; }
.nav-group-title i { font-size:14px; font-style:normal; transition:.2s ease; }
.nav-group.collapsed .nav-group-title i { transform:rotate(-90deg); }
.nav-group-items { display:grid; gap:2px; }
.nav-group.collapsed .nav-group-items { display:none; }
.nav-group-items .nav-button { width:100%; min-height:37px; padding:8px 11px; font-size:13px; }
.nav-group-items .nav-icon { width:20px; color:#89a7ba; font-size:13px; }
.sidebar-footer { margin-top: auto; padding: 14px 10px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; color: #9fb5c8; display: flex; gap: 8px; align-items: center; }
.save-dot { width: 8px; height: 8px; border-radius: 50%; background: #4cd19c; box-shadow: 0 0 0 4px rgba(76,209,156,.12); }

.main-area { min-width: 0; }
.topbar { height: 92px; padding: 18px 30px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 16px; position: sticky; top: 30px; z-index: 15; }
.topbar h1 { margin: 3px 0 0; font-size: 25px; line-height: 1.1; letter-spacing: -.4px; }
.eyebrow { color: var(--teal); font-size: 10px; font-weight: 800; letter-spacing: 1.7px; }
.topbar-actions { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.topbar-page-actions { display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
.date-chip { color: var(--muted); font-size: 13px; padding: 9px 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 9px; }
.save-time { display:flex; flex-direction:column; align-items:flex-end; color:var(--muted); font-size:12px; }
.save-time small { margin-top:3px; color:#14867d; font-size:10px; }
.page-root { padding: 28px 30px 48px; max-width: 1600px; margin: 0 auto; }
.mobile-only { display: none !important; }

.button { border: 1px solid transparent; border-radius: 9px; padding: 9px 14px; font-weight: 700; color: var(--ink); background: #fff; transition: .18s ease; }
.button:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(16,42,67,.1); }
.button:disabled { opacity:.42; cursor:not-allowed; transform:none !important; box-shadow:none; }
.button.primary { color: #fff; background: linear-gradient(135deg, var(--teal), #1674c9); }
.button.secondary { color: var(--navy); background: #eaf2f7; border-color: #d6e2ea; }
.button.ghost { border-color: var(--line); color: var(--muted); }
.button.danger { color: var(--red); background: #fff5f5; border-color: #ffd6d6; }
.button.small { padding: 6px 10px; font-size: 12px; }
.icon-button { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 20px; color: var(--muted); }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 12px; }
.section-head h2 { margin: 0; font-size: 20px; }
.section-head p { margin: 0; color: var(--muted); font-size: 13px; }
.section-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.stats-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 14px; margin-bottom: 22px; }
.stat-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 17px 18px; box-shadow: 0 5px 20px rgba(16,42,67,.04); position: relative; overflow: hidden; }
.stat-card.clickable { cursor:pointer; }
.stat-card.clickable:hover { transform:translateY(-2px); box-shadow:var(--shadow); }
.stat-card::after { content:""; position:absolute; width:60px; height:60px; border-radius:50%; right:-20px; top:-24px; background: var(--accent-soft, #edf4f8); }
.stat-label { color: var(--muted); font-size: 12px; }
.stat-value { font-size: 28px; font-weight: 800; margin: 8px 0 3px; letter-spacing: -.7px; }
.stat-note { color: var(--muted); font-size: 11px; }

.dashboard-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.ops-strip { display:flex; flex-wrap:wrap; gap:8px; margin:-4px 0 16px; }
.overview-label { display:flex; align-items:center; justify-content:space-between; margin:0 0 10px; color:var(--navy); }
.overview-label span { color:var(--muted); font-size:11px; }
.ops-strip span { padding:8px 11px; border:1px solid var(--line); border-radius:999px; color:var(--muted); background:#fff; font-size:11px; }
.ops-strip strong { margin-left:4px; color:var(--navy); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 20px; min-width: 0; }
.panel + .panel { margin-top: 0; }
.panel-title { display:flex; justify-content:space-between; align-items:center; margin-bottom: 17px; }
.panel-title h3 { margin: 0; font-size: 16px; }
.panel-title span { color: var(--muted); font-size: 12px; }
.chart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.bar-list { display: grid; gap: 12px; }
.bar-row { display: grid; grid-template-columns: minmax(72px, 120px) 1fr 38px; gap: 10px; align-items: center; font-size: 12px; }
.bar-track { height: 8px; border-radius: 99px; background: #eaf0f4; overflow: hidden; }
.bar-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--teal), var(--blue)); }
.bar-value { font-weight: 800; text-align: right; }
.list-stack { display: grid; gap: 10px; }
.attention-item { display: grid; grid-template-columns: 8px 1fr auto; gap: 11px; align-items: start; padding: 11px 0; border-bottom: 1px solid #edf1f4; }
.attention-item:last-child { border: 0; }
.attention-dot { width:8px; height:8px; border-radius:50%; margin-top:6px; background:var(--orange); }
.attention-item.risk .attention-dot { background: var(--red); }
.attention-title { font-size: 13px; font-weight: 700; line-height:1.45; }
.attention-meta { color: var(--muted); font-size: 11px; margin-top: 3px; }

.filters { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 13px; display: grid; grid-template-columns: repeat(5, minmax(120px,1fr)) auto; gap: 9px; margin-bottom: 14px; }
.filters.advanced { grid-template-columns:repeat(4,minmax(130px,1fr)) auto; }
.filters input, .filters select, .field-input { width: 100%; border: 1px solid #d7e1e9; background:#fbfdfe; border-radius:8px; padding: 9px 10px; color:var(--ink); }
.date-filter-block { grid-column:span 2; display:grid; grid-template-columns:minmax(150px,.9fr) minmax(250px,1.5fr); gap:8px; align-items:center; }
.date-filter-block small { grid-column:1/-1; color:#587080; font-size:10px; }
.date-quick-actions { display:grid; grid-template-columns:repeat(4,1fr); gap:5px; }
.date-quick { min-height:38px; padding:6px 8px; border:1px solid #d5e1e8; border-radius:8px; color:#526a7c; background:#fff; font-size:11px; font-weight:600; font-family:inherit; cursor:pointer; transition:.15s; }
.date-quick:hover { border-color:#68bfc1; color:var(--teal); }.date-quick.active { border-color:var(--teal); color:#fff; background:var(--teal); box-shadow:0 5px 12px rgba(15,139,141,.18); }
.bulk-bar { display:flex; gap:8px; align-items:center; flex-wrap:wrap; padding: 10px 12px; margin-bottom: 12px; background: #eef8f8; border: 1px solid #d4eeee; border-radius: 10px; }
.bulk-bar span { margin-right:auto; font-size:12px; color:var(--teal); font-weight:700; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.data-table { width:100%; border-collapse:collapse; min-width:1100px; }
.data-table th { position:sticky; top:0; z-index:1; background:#edf3f7; color:#52677a; text-align:left; font-size:11px; padding:11px 12px; border-bottom:1px solid var(--line); white-space:nowrap; }
.data-table td { padding:12px; border-bottom:1px solid #edf1f4; font-size:12px; vertical-align:top; }
.data-table tr:hover td { background:#fbfdfe; }
.mobile-task-list { display:none; }
.task-main { font-weight:700; line-height:1.5; max-width:340px; }
.value-tag { display:inline-flex; align-items:center; justify-content:center; width:max-content; max-width:100%; padding:3px 8px; border-radius:999px; color:#087f6b; background:#e5f7f1; font-size:10px; font-weight:800; white-space:nowrap; }
.value-收入 { color:#147a50; background:#ddf7e9; }.value-战略 { color:#6c48a8; background:#f0e8ff; }.value-PR { color:#a15b16; background:#fff0d9; }.value-政府 { color:#3c61a6; background:#e8f0ff; }.value-研发 { color:#245fa3; background:#e4f1ff; }.value-招聘 { color:#a04974; background:#fbe7f1; }.value-管理 { color:#5b6470; background:#edf0f3; }.value-运营 { color:#087f6b; background:#e5f7f1; }
.board-task-line .value-tag { flex:0 0 auto; padding:2px 6px; font-size:8px; }
.board-workload .value-tag { justify-self:center; padding:2px 6px; font-size:8px; }
.task-sub { color:var(--muted); font-size:11px; margin-top:4px; }
.tree-title { padding-left:calc(var(--tree-depth) * 24px); }
.tree-toggle { width:22px; height:22px; margin-right:6px; padding:0; border:1px solid var(--line); border-radius:6px; color:var(--teal-dark); background:#fff; font-weight:800; }
.tree-spacer { display:inline-block; width:28px; }
.child-row td { background:#fbfdfe; }
.progress-tag,.leader-tag,.project-tag { display:inline-flex; margin-left:6px; padding:2px 6px; border-radius:6px; font-size:10px; font-weight:700; }
.progress-tag { color:#245b91; background:#e8f2ff; }
.leader-tag { color:#7a3ea1; background:#f4e9ff; }
.project-tag { margin:4px 4px 0 0; color:#27636c; background:#e7f7f6; }
.badge { display:inline-flex; align-items:center; border-radius:99px; padding:4px 8px; font-size:10px; font-weight:800; white-space:nowrap; }
.badge.P0, .badge.暂停, .badge.取消 { color:#ad2525; background:#fde8e8; }
.badge.P1, .badge.推进中, .badge.等待合同, .badge.等待领导决策 { color:#a3570f; background:#fff1d7; }
.badge.P2, .badge.待开始, .badge.等待客户, .badge.等待研发 { color:#2864a3; background:#e8f2ff; }
.badge.P3, .badge.完成 { color:#257454; background:#e4f6ed; }
.row-actions { display:flex; gap:6px; white-space:nowrap; }
.button.wechat-button { color:#12865d; background:#eefbf5; border-color:#bfe8d5; }
.button.wechat-button:hover { color:#fff; background:#18a76f; border-color:#18a76f; }
.button.image-button { color:#0b6f88; background:#eef9fc; border-color:#bee8f0; }
.button.image-button:hover { color:#fff; background:#0f8fa8; border-color:#0f8fa8; }
.empty-state { padding:56px 20px; text-align:center; color:var(--muted); }

.project-owner-layout { display:grid; gap:16px; }
.project-owner-section { display:grid; gap:10px; }
.project-owner-head { display:flex; align-items:flex-end; justify-content:space-between; gap:14px; padding:0 2px 2px; border-bottom:1px solid var(--line); }
.project-owner-head h3 { margin:2px 0 0; color:var(--navy); font-size:18px; }
.project-owner-stats { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:6px; color:var(--muted); font-size:12px; }
.project-owner-stats span { padding:5px 8px; border-radius:999px; background:#eef5f8; font-weight:700; }
.project-owner-stats .risk-count { color:#ad2525; background:#fde8e8; }
.project-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; }
.duplicate-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.duplicate-card { padding:16px; border:1px solid var(--line); border-radius:14px; background:#fff; box-shadow:0 6px 20px rgba(16,42,67,.04); }
.duplicate-task { display:flex; flex-direction:column; gap:4px; margin:8px 0; padding:10px 12px; border-radius:9px; background:#f7fafc; }
.duplicate-task strong { font-size:13px; }
.duplicate-task span { color:var(--muted); font-size:11px; }
.duplicate-card .button { margin-top:8px; width:100%; }
.project-card { min-width:0; background:#fff; border:1px solid var(--line); border-radius:14px; padding:14px; box-shadow:0 6px 20px rgba(16,42,67,.04); }
.project-attention { display:inline-flex; align-items:center; justify-content:center; min-width:72px; height:34px; padding:0 10px; border-radius:999px; font-size:11px; font-weight:800; white-space:nowrap; }
.project-attention.attention-normal { color:#64748b; background:#f1f5f9; }
.project-attention.attention-dept { color:#7c3aed; background:#f3e8ff; }
.project-attention.attention-scarlett { color:#be123c; background:#ffe4e6; }
.project-attention.attention-joanna { color:#c2410c; background:#ffedd5; }
.project-attention.attention-jams { color:#9f1239; background:#fecdd3; }
.project-description { display:grid; gap:5px; margin-top:12px; padding:10px 12px; border-radius:10px; color:#3f5870; background:#f7fafc; font-size:12px; line-height:1.6; }
.project-description strong { color:#102a43; font-size:12px; }
.project-description span { display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:3; }
.project-task-names { margin-top:10px; padding:11px 12px; border:1px solid #cdeeea; border-radius:12px; background:linear-gradient(180deg,#f4fffd,#fbfdff); }
.project-task-names-head { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:8px; color:#102a43; font-size:12px; }
.project-task-names-head strong { color:#0f766e; font-size:13px; }
.project-task-names-head span { color:#0f766e; font-weight:800; }
.project-task-names ul { display:grid; gap:7px; margin:0; padding:0; list-style:none; }
.project-task-names li { display:grid; grid-template-columns:20px minmax(0,1fr) auto; align-items:center; gap:8px; color:#243b53; font-size:12px; line-height:1.45; }
.project-task-names li b { display:inline-flex; align-items:center; justify-content:center; width:18px; height:18px; border-radius:999px; background:#dff8f4; color:#0f766e; font-size:11px; }
.project-task-names li span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-weight:700; }
.project-task-names li em { padding:2px 7px; border-radius:999px; background:#fff4df; color:#9a5a00; font-style:normal; font-size:11px; white-space:nowrap; }
.project-task-names li em.done { background:#e7f8ef; color:#168a4a; }
.project-task-names small,.project-task-empty { display:block; margin-top:7px; color:#7b8fa4; font-size:11px; }
.project-menu{position:relative;display:inline-block;margin-left:8px}.project-menu summary{list-style:none;cursor:pointer;padding:4px 8px;border-radius:8px}.project-menu summary::-webkit-details-marker{display:none}.project-menu>div{position:absolute;right:0;top:28px;z-index:5;min-width:140px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 24px rgba(16,42,67,.14);padding:6px}.project-menu button{display:block;width:100%;border:0;background:none;text-align:left;padding:9px 10px;cursor:pointer;border-radius:7px}.project-menu button:hover{background:var(--surface)}
.score-detail{margin:12px 0;border-top:1px dashed var(--line);padding-top:10px}.score-detail summary{cursor:pointer;color:var(--teal);font-weight:700}.score-detail div{display:flex;justify-content:space-between;padding:5px 0;font-size:12px;color:var(--muted)}.score-detail b{color:var(--red)}
.archived-projects{margin-top:18px}.archived-projects>summary{cursor:pointer;font-weight:700}.archived-project-list{display:grid;gap:8px;margin-top:14px}.archived-project-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid var(--line)}.archived-project-row:first-child{border-top:0}.archived-project-row>div{display:grid;gap:4px}.archived-project-row span{color:var(--muted);font-size:12px}
.person-master{margin-top:12px}.person-table{display:grid}.person-row{display:flex;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--line)}.person-row>div:first-child{display:grid;gap:4px}.person-row span,.person-row small{color:var(--muted);font-size:12px}.person-row em{font-style:normal;margin-left:8px}.person-row>div:last-child{display:flex;gap:8px;align-items:center}
.project-actions{display:flex;align-items:center;gap:3px;flex-wrap:nowrap;margin:8px 0 3px;padding-bottom:7px;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none}.project-actions::-webkit-scrollbar{display:none}.project-actions .button.small{flex:0 0 auto;height:25px;padding:0 8px;border:1px solid #d8e5ed;border-radius:8px;background:#fbfdfe;color:#52697a;font-size:11px;line-height:1;font-weight:800;box-shadow:none;white-space:nowrap}.project-actions .button.small:hover{transform:none;box-shadow:none;background:#eef7f8;border-color:#bcd9e2;color:#0f6f79}.project-actions .button.small.secondary,.project-actions .button.small.ghost{background:#fbfdfe;color:#52697a;border-color:#d8e5ed}.project-actions .button.small.image-button,.project-actions .button.small.wechat-button{color:#12865d;background:#eefbf5;border-color:#bfe8d5}.project-actions .button.small.image-button:hover,.project-actions .button.small.wechat-button:hover{color:#0b6f4c;background:#e3f8ee;border-color:#9fdbc2}.project-actions .button.small.danger{color:#b4232f;background:#fff7f7;border-color:#ffd8dc}.project-actions .button.small.danger:hover{color:#9f1d28;background:#ffecee;border-color:#ffc7ce}
.people-summary{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px;padding:9px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;color:#607589;font-size:12px}.people-summary span{white-space:nowrap}.people-summary b{color:var(--navy);font-size:14px}
.person-actions{display:flex;flex-wrap:wrap;justify-content:flex-end}.alias-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}.alias-chips i{font-style:normal;background:#eef6f8;border-radius:999px;padding:4px 8px;color:#466477}.alias-chips button{border:0;background:none;color:#9b4f55;cursor:pointer;padding:0 0 0 4px}
@media(max-width:760px){.person-row{display:grid}.person-actions{justify-content:flex-start}.project-actions{flex-wrap:wrap;overflow:visible}.project-actions .button{flex:1 1 auto}}
.raw-fields{border:1px dashed var(--line);border-radius:10px;padding:10px 12px}.raw-fields summary{cursor:pointer;font-weight:700;color:var(--teal)}.raw-fields .form-grid{margin-top:12px}.raw-fields input{background:#f3f6f8;color:var(--muted)}
.ai-person-review{margin-bottom:10px;border-color:#b9e4e4;background:linear-gradient(135deg,#f5ffff,#fff)}.ai-person-review>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none}.ai-person-review>summary::-webkit-details-marker{display:none}.ai-person-review>summary strong{color:#0f766e;font-size:14px}.ai-person-review>summary span{color:var(--muted);font-size:12px}.ai-person-review-body{display:grid;gap:12px;margin-top:12px}.ai-person-list{display:grid;border-top:1px solid var(--line)}.ai-person-row{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--line)}.ai-person-row>div:first-child{display:grid;gap:4px}.ai-person-row span,.ai-person-row small,.ai-person-row em{font-size:12px;color:var(--muted);font-style:normal}.ai-person-row em{color:var(--teal);font-weight:700}.ai-person-row>div:last-child{display:flex;gap:8px;align-items:center}.ai-person-empty{padding:16px;text-align:center;color:var(--muted);border-top:1px solid var(--line)}
.task-person-review{border-color:#f1d59b;background:linear-gradient(135deg,#fffaf0,#fff)}.person-review-tag{display:inline-flex;margin-left:6px;padding:2px 6px;border-radius:6px;color:#8a5a00;background:#fff0cc;font-size:10px;font-weight:800}.person-type-picker{display:flex!important;flex-direction:row!important;align-items:center;gap:14px;padding:11px 12px;border:1px solid #d5e0e8;border-radius:10px;background:#fbfdfe}.person-type-picker>span{margin-right:auto;color:#17324d;font-size:12px;font-weight:900}.person-type-picker label{display:flex!important;grid-template-columns:none!important;align-items:center;gap:6px;color:#40566b;font-weight:800}.person-type-picker input{width:auto!important}.person-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:0!important}.person-fields label{display:grid;gap:6px}.person-fields-non-person{display:none}.person-form-internal .person-fields-external,.person-form-internal .person-fields-non-person,.person-form-external .person-fields-internal,.person-form-external .person-fields-non-person,.person-form-non-person .person-fields-internal,.person-form-non-person .person-fields-external{display:none}.person-form-internal .person-fields-internal,.person-form-external .person-fields-external,.person-form-non-person .person-fields-non-person{display:grid}
@media(max-width:760px){.ai-person-review .panel-title,.ai-person-row{display:grid}.ai-person-row>div:last-child{justify-content:flex-start}}
@media(max-width:760px){.person-type-picker{display:grid!important;grid-template-columns:1fr 1fr}.person-type-picker>span{grid-column:1/-1}.person-fields{grid-template-columns:1fr}}
.people-sections{display:grid;gap:12px}.person-section .panel-title{margin-bottom:10px}.inactive-people{display:grid;gap:10px;margin-top:4px}.inactive-people-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:46px;border:1px dashed #cbd6df;border-radius:10px;background:#fbfcfd;padding:0 13px;color:#607589;cursor:pointer;font:inherit}.inactive-people-toggle span{color:#52697a;font-size:13px;font-weight:900}.inactive-people-toggle small{color:#8ca0b2;font-size:11px;font-weight:800}.inactive-people.expanded{border-color:#d6e0e8;background:#fcfdfe}.inactive-person-grid .person-card.inactive{border-color:#cfd8e0;background:#f8fafc;box-shadow:none}.inactive-person-grid .person-card.inactive h3{color:#6b7f90}.inactive-person-grid .person-card.inactive:hover{border-color:#aebdca;box-shadow:0 5px 12px rgba(16,42,67,.045)}
.people-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) 180px auto;align-items:center;gap:8px;margin-bottom:10px}.people-toolbar input,.people-toolbar select{height:36px;min-width:0;border:1px solid var(--line);border-radius:10px;background:#fff;padding:0 11px;color:#243b53;font-size:12px}.people-toolbar span{justify-self:end;color:var(--muted);font-size:12px;font-weight:800}.person-card-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px}.person-card{position:relative;display:grid;gap:8px;min-width:0;min-height:138px;padding:10px;border:1px solid #dce7ef;border-radius:12px;background:#fff;box-shadow:0 5px 16px rgba(16,42,67,.035);cursor:pointer}.person-card:hover{border-color:#c7e6e5;box-shadow:0 8px 22px rgba(16,42,67,.055)}.person-card.inactive{opacity:.72;background:#fbfcfd}.person-card.inactive .team-tag.inactive::after{content:"";}.person-card header{display:flex;align-items:center;justify-content:space-between;gap:7px;min-width:0}.person-card-main{min-width:0}.person-card:hover h3{color:#0f766e}.person-card h3{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#102a43;font-size:13px;line-height:1.3}.person-card header span{display:block;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#7b8fa4;font-size:9px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.button.tiny{height:22px;padding:0 7px;border-radius:7px;font-size:10px;line-height:1;flex:0 0 auto}.person-card-tags{display:flex;flex-wrap:wrap;gap:4px}.person-card-tags span{padding:3px 6px;border-radius:999px;background:#eef6f8;color:#496274;font-size:10px;font-weight:800}.person-card-tags span:first-child{color:#0f766e;background:#e8f8f5}.person-card dl{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin:0}.person-card dl>div{padding:6px 4px;border-radius:8px;background:#f6f9fb;text-align:center}.person-card dt{color:#7b8fa4;font-size:9px}.person-card dd{margin:2px 0 0;color:#17324d;font-size:14px;font-weight:800}.person-card footer{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:auto;color:#7b8fa4;font-size:10px}.person-card button,.person-more{cursor:auto}.person-more{position:relative}.person-more summary{height:24px;padding:0 8px;border:1px solid #d8e5ed;border-radius:7px;background:#fbfdfe;color:#52697a;cursor:pointer;list-style:none;font-size:11px;font-weight:800;line-height:22px}.person-more summary::-webkit-details-marker{display:none}.person-more>div{position:absolute;right:0;top:28px;z-index:20;display:grid;gap:3px;min-width:130px;padding:6px;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:0 12px 28px rgba(16,42,67,.16)}.person-more button{width:100%;border:0;border-radius:7px;background:transparent;padding:7px 8px;color:#40566b;text-align:left;cursor:pointer;font-size:11px;font-weight:700}.person-more button:hover{background:#f3f8fa;color:#0f766e}.person-more small{display:block;max-width:170px;padding:6px 8px;color:#7b8fa4;font-size:10px;line-height:1.4}.person-merge-history>summary{cursor:pointer;font-weight:800;color:#52697a}
.person-card.team-core{border-color:#f97316;box-shadow:0 5px 16px rgba(249,115,22,.08)}.person-card.team-core:hover{border-color:#ea580c;box-shadow:0 8px 22px rgba(249,115,22,.13)}.person-card-tags span.team-tag.external{color:#5b4bc4;background:#f0edff}.person-card-tags span.team-tag.mt{color:#52697a;background:#edf2f7}.person-card-tags span.team-tag.pending{color:#8a5a00;background:#fff6dc}.person-card-tags span.team-tag.inactive{color:#7b8fa4;background:#eef1f4}.person-merge-badge{position:absolute;right:10px;top:38px;height:20px;border:1px solid #f6c28b;border-radius:999px;background:#fff7ed;color:#c2410c;padding:0 7px;font-size:10px;font-weight:900;cursor:pointer}.person-merge-wizard{margin:10px 0 12px;border-color:#cfe4e7;background:#fbfefe}.person-merge-steps{display:grid;grid-template-columns:1.2fr 1fr 1fr .8fr;gap:10px}.person-merge-steps section{display:grid;align-content:start;gap:8px;min-width:0;padding:10px;border:1px solid var(--line);border-radius:10px;background:#fff}.person-merge-steps h4{margin:0;color:#17324d;font-size:12px}.person-merge-steps p{margin:0;color:var(--muted);font-size:11px}.person-merge-steps input[type=text],.person-merge-steps input[data-person-merge-filter]{height:32px;border:1px solid var(--line);border-radius:9px;padding:0 9px;font-size:12px}.person-merge-options{display:grid;gap:5px;max-height:220px;overflow:auto}.person-merge-options.compact{max-height:170px}.person-merge-option{display:flex;align-items:center;gap:7px;min-width:0;padding:7px;border:1px solid #e2ebf0;border-radius:9px;background:#fbfdfe;cursor:pointer}.person-merge-option.checked{border-color:#9edbd6;background:#f0fbfa}.person-merge-option input{flex:0 0 auto}.person-merge-option span{display:grid;min-width:0}.person-merge-option strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#17324d;font-size:12px}.person-merge-option small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#7b8fa4;font-size:10px}.person-merge-preview{display:grid;gap:7px}.person-merge-preview div{display:grid;gap:3px;padding:8px;border-radius:9px;background:#f6f9fb}.person-merge-preview b{color:#17324d;font-size:11px}.person-merge-preview span{color:#52697a;font-size:11px;line-height:1.45}
.person-avatar{width:38px;height:38px;flex:0 0 38px;border-radius:50%;object-fit:cover;background:#eef4f7;box-shadow:inset 0 0 0 1px rgba(16,42,67,.08)}.person-avatar.fallback{display:grid;place-items:center;color:#fff;font-size:13px;font-weight:900}.person-avatar.fallback.teal{background:#0f766e}.person-avatar.fallback.blue{background:#2f6fae}.person-avatar.fallback.green{background:#16845f}.person-avatar.fallback.amber{background:#b7791f}.person-avatar.fallback.slate{background:#52697a}.person-card-main{display:flex;align-items:center;gap:7px;flex:1 1 auto;min-width:0}.person-card-main>div{min-width:0}.member-avatar .person-avatar{width:48px;height:48px;flex-basis:48px;font-size:18px}.member-avatar{overflow:hidden;background:#eef4f7}.team-member-task-card>header>div:last-child{min-width:0}.team-member-task-card h3{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.person-card{grid-template-rows:auto auto auto auto}.person-card header{align-items:flex-start}.person-card-actions{display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-start;gap:4px;flex:0 0 48px;min-height:28px}.person-card .button.tiny{order:1;display:inline-flex;align-items:center;justify-content:center;height:28px;min-width:42px;padding:0 10px;border-radius:8px;font-size:11px;line-height:1;white-space:nowrap}.person-merge-badge{order:2;position:static;display:inline-flex;align-items:center;justify-content:center;height:18px;min-width:auto;padding:0 5px;line-height:1;white-space:nowrap;font-size:9px;border-radius:999px}.person-card-tags{align-items:flex-start;align-content:flex-start}.person-card-tags span,.person-card-tags span:first-child{display:inline-flex!important;align-items:center!important;max-width:100%;height:22px;min-height:22px;max-height:22px;padding:0 7px;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.person-card-tags .identity-tag{flex:0 0 auto}.person-card footer{align-items:center;min-height:28px}.person-more summary{display:inline-flex;align-items:center;justify-content:center;height:28px;min-width:42px;padding:0 10px;line-height:1}.person-more>div{top:32px}.person-more small:empty{display:none}
.project-card-top { display:flex; justify-content:space-between; gap:8px; }
.project-card h3 { display:-webkit-box; margin:0; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:2; font-size:14px; line-height:1.35; }
.project-client { color:var(--muted); font-size:12px; margin-top:5px; }
.project-progress { height:8px; background:#eaf0f4; border-radius:99px; margin:16px 0 8px; overflow:hidden; }
.project-progress div { height:100%; background:linear-gradient(90deg,var(--teal),var(--blue)); }
.project-metrics { display:flex; justify-content:space-between; font-size:11px; color:var(--muted); }
.project-metrics.compact { margin:8px 0 10px; }
.project-latest { margin-top:15px; padding-top:13px; border-top:1px solid #edf1f4; font-size:12px; line-height:1.55; }
.project-aliases { display:flex; flex-wrap:wrap; align-items:center; gap:4px; margin-top:8px; color:var(--muted); font-size:11px; }
.project-aliases span { display:inline-flex; align-items:center; gap:4px; padding:2px 6px; border-radius:6px; background:#eef5f8; color:#496274; }
.project-alias-delete { border:0; background:transparent; color:#8aa0af; cursor:pointer; font-weight:800; line-height:1; padding:0 1px; }
.project-alias-delete:hover { color:#ef4444; }
.project-duplicate-panel, .merged-project-panel { margin-bottom:18px; }
.confidence { display:inline-flex; padding:4px 8px; border-radius:99px; font-weight:800; font-size:11px; }
.confidence.high { color:#087f5b; background:#daf5e8; }
.confidence.medium { color:#9a5b00; background:#fff0cf; }
.merged-project-list { display:grid; gap:8px; }
.merged-project-row, .merge-history-row { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:11px 12px; border:1px solid var(--line); border-radius:9px; background:#fafcfd; }
.merged-project-row strong, .merge-history-row strong { display:block; font-size:13px; }
.merged-project-row span, .merge-history-row span { display:block; margin-top:3px; color:var(--muted); font-size:11px; }
.merge-history-row { margin-top:8px; border-style:dashed; }

.generator-layout { display:grid; grid-template-columns:290px 1fr; gap:18px; }
.generator-controls { background:#fff; border:1px solid var(--line); border-radius:14px; padding:18px; align-self:start; }
.generator-controls label { display:grid; gap:6px; color:var(--muted); font-size:12px; margin-bottom:13px; }
.output-card { background:#fff; border:1px solid var(--line); border-radius:14px; box-shadow:var(--shadow); overflow:hidden; }
.output-toolbar { padding:13px 16px; border-bottom:1px solid var(--line); display:flex; justify-content:space-between; align-items:center; }
.output-text { margin:0; min-height:520px; white-space:pre-wrap; padding:22px; line-height:1.8; font-family:"PingFang SC",sans-serif; font-size:14px; color:#263746; }
.ai-input-panel { display:flex; flex-direction:column; gap:10px; }
.ai-textarea { width:100%; resize:vertical; border:1px solid #d7e1e9; border-radius:10px; padding:12px; color:var(--ink); background:#fbfdfe; line-height:1.7; }
.ai-draft-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.ai-draft-grid label { display:grid; gap:6px; color:var(--muted); font-size:12px; }
.ai-draft-grid .span-2 { grid-column:span 2; }
.ai-draft-list { display:grid; gap:14px; max-height:68vh; overflow:auto; padding-right:4px; }
.ai-draft-card { position:relative; padding:16px; border:1px solid var(--line); border-radius:13px; background:#f9fbfc; }
.ai-draft-number { position:absolute; top:12px; right:12px; width:27px; height:27px; display:grid; place-items:center; border-radius:8px; color:#fff; background:linear-gradient(135deg,var(--teal),var(--blue)); font-size:11px; font-weight:800; }
.ai-draft-card .ai-draft-grid { padding-right:22px; }
.segment-control { display:flex; background:#edf3f7; padding:3px; border-radius:9px; margin-bottom:16px; }
.segment-control button { flex:1; border:0; background:transparent; border-radius:7px; padding:8px; color:var(--muted); font-size:12px; }
.segment-control button.active { background:#fff; color:var(--navy); box-shadow:0 2px 8px rgba(16,42,67,.1); font-weight:800; }

.image-studio { display:grid; grid-template-columns:310px 1fr; gap:18px; }
.canvas-wrap { background:#dfe7ec; border-radius:14px; padding:24px; display:grid; place-items:center; min-height:620px; overflow:auto; }
.canvas-wrap canvas { max-width:100%; height:auto; box-shadow:0 18px 50px rgba(16,42,67,.22); background:#fff; }
.io-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.drop-zone { border:2px dashed #b9c9d5; border-radius:14px; padding:42px 20px; text-align:center; background:#f8fbfd; transition:.2s; }
.drop-zone:hover { border-color:var(--teal); background:#f2fbfb; }
.drop-zone .drop-icon { font-size:38px; }
.drop-zone h3 { margin:12px 0 6px; }
.drop-zone p { margin:0 0 18px; color:var(--muted); font-size:12px; }
.export-list { display:grid; gap:10px; }
.export-item { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px; border:1px solid var(--line); border-radius:10px; }
.export-item strong { font-size:13px; }
.export-item span { display:block; color:var(--muted); font-size:11px; margin-top:3px; }

.modal-backdrop { position:fixed; inset:0; z-index:100; background:rgba(7,23,38,.55); backdrop-filter:blur(5px); display:grid; place-items:center; padding:20px; }
.modal-backdrop.hidden { display:none; }
.event-bundle-source { display:block; margin-top:7px; padding:4px 8px; border:0; border-radius:8px; background:#e8f8f3; color:#087f6b; font-size:11px; text-align:left; cursor:pointer; }
.event-bundle-source:hover { background:#d6f3e9; }
.event-bundle-modal { width:min(760px,94vw); max-height:88vh; overflow:auto; }
.event-bundle-body { display:grid; gap:14px; }
.event-bundle-meta { display:flex; flex-wrap:wrap; gap:8px; }
.event-bundle-meta span { padding:6px 10px; border-radius:999px; background:#eef5fa; color:#526b7d; font-size:12px; }
.event-bundle-body section { padding:14px; border:1px solid #dfeaf1; border-radius:12px; background:#fbfdfe; }
.event-bundle-body h3 { margin:0 0 10px; color:#173247; font-size:14px; }
.event-bundle-body article { padding:10px 0; border-top:1px solid #e7eef3; }
.event-bundle-body article:first-of-type { border-top:0; }
.event-bundle-body article b { color:#173247; }
.event-bundle-body article time { float:right; color:#8496a4; font-size:11px; }
.event-bundle-body article p,.event-bundle-body pre { margin:7px 0 0; color:#526b7d; font:inherit; line-height:1.65; white-space:pre-wrap; overflow-wrap:anywhere; }
.modal { width:min(760px,100%); max-height:92vh; overflow:auto; background:#fff; border-radius:16px; box-shadow:0 30px 80px rgba(8,25,40,.28); }
.task-modal { width:min(700px,100%); }
.task-modal #taskForm { gap:12px; }
.task-title-field textarea { font-size:14px; font-weight:650; }
.task-more-fields { border:1px solid var(--line); border-radius:10px; background:#f8fbfd; }
.task-more-fields > summary { padding:12px 14px; cursor:pointer; color:#3f6578; font-size:12px; font-weight:800; }
.task-more-fields[open] > summary { border-bottom:1px solid var(--line); }
.task-more-fields > .optional-task-fields { padding:14px; }
.task-modal > form > .modal-actions { position:sticky; bottom:0; z-index:2; margin:0 -22px -24px; padding:14px 22px; background:rgba(255,255,255,.96); backdrop-filter:blur(8px); }
.modal-header { display:flex; justify-content:space-between; padding:20px 22px 14px; border-bottom:1px solid var(--line); }
.modal-header h2 { margin:3px 0 0; font-size:20px; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; padding:20px 22px 24px; }
.form-grid label { display:grid; gap:6px; font-size:12px; color:#53687b; }
.field-label { margin-bottom:7px; font-size:12px; color:#53687b; }
.project-check-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.project-check-grid label { display:flex; grid-template-columns:none; flex-direction:row; align-items:center; gap:7px; padding:8px 10px; border:1px solid var(--line); border-radius:8px; background:#fbfdfe; }
.project-check-grid input { width:auto !important; }
.form-grid input, .form-grid select, .form-grid textarea { width:100%; border:1px solid #d5e0e8; border-radius:8px; padding:9px 10px; background:#fbfdfe; color:var(--ink); resize:vertical; }
.form-grid .span-2 { grid-column:span 2; }
.check-row { display:flex !important; flex-direction:row !important; gap:24px !important; padding:6px 0; }
.check-row label { display:flex; flex-direction:row; align-items:center; gap:7px; }
.check-row input { width:auto; }
.modal-actions { display:flex; justify-content:flex-end; gap:9px; border-top:1px solid var(--line); padding-top:15px; }
.merge-modal { width:min(820px,100%); }
.merge-notice { display:flex; flex-direction:column; gap:4px; padding:12px 14px; border-radius:10px; color:#155e63; background:#ecfbfa; border:1px solid #bee9e6; }
.merge-notice span { color:#4f6f72; font-size:12px; }
.merge-source-list { display:grid; gap:8px; max-height:185px; overflow:auto; padding:4px; }
.merge-source-item { display:grid; grid-template-columns:auto 1fr auto; gap:10px; align-items:start; padding:10px 12px; border:1px solid var(--line); border-radius:9px; background:#f9fbfc; }
.merge-source-index { width:24px; height:24px; border-radius:7px; display:grid; place-items:center; background:#dff5f4; color:#087f84; font-weight:800; }
.merge-source-item strong { display:block; font-size:13px; color:var(--ink); }
.merge-source-item span { display:block; margin-top:3px; color:var(--muted); font-size:11px; }
.merge-warning { min-height:0; color:#a55b08; background:#fff8e8; border-radius:8px; padding:0; font-size:12px; }
.merge-warning:not(:empty) { padding:10px 12px; border:1px solid #f1d59b; }
.merge-tag { display:inline-flex; align-items:center; margin-left:6px; padding:2px 6px; border-radius:6px; color:#087f84; background:#e3f8f7; font-size:10px; font-weight:700; vertical-align:middle; }
.disposition-options { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.disposition-options label { display:flex; flex-direction:row; align-items:center; gap:7px; padding:10px; border:1px solid var(--line); border-radius:8px; background:#fbfdfe; }
.disposition-options input { width:auto !important; }
.toast { position:fixed; right:22px; bottom:22px; z-index:150; background:var(--navy); color:#fff; padding:12px 16px; border-radius:10px; box-shadow:var(--shadow); opacity:0; transform:translateY(14px); pointer-events:none; transition:.25s; }
.toast.show { opacity:1; transform:translateY(0); }
.copy-fallback-modal textarea { width:100%; min-height:320px; margin-top:12px; border:1px solid var(--line); border-radius:8px; padding:12px; background:#fbfdfe; color:var(--ink); font:12px/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; resize:vertical; }

.ai-today-strip { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:18px; padding:16px 18px; color:#fff; background:linear-gradient(120deg,#102a43,#164f68 70%,#0f8b8d); border-radius:15px; box-shadow:0 14px 34px rgba(16,42,67,.18); }
.ai-today-strip > div:first-child { display:grid; gap:5px; }
.ai-today-strip .eyebrow { color:#65e1d5; }
.ai-today-strip strong { font-size:15px; }
.ai-today-strip small { color:#c9dde7; }
.ai-command-hero { display:flex; justify-content:space-between; align-items:center; gap:22px; padding:28px 32px; margin-bottom:18px; border-radius:18px; color:#fff; background:radial-gradient(circle at 85% 10%,rgba(65,224,194,.32),transparent 30%),linear-gradient(130deg,#0b2035,#154d68 68%,#0f8b8d); box-shadow:0 18px 45px rgba(16,42,67,.2); }
.ai-command-hero .eyebrow { color:#62e1d2; }
.ai-command-hero h2 { margin:8px 0 7px; font-size:26px; }
.ai-command-hero p { margin:0; color:#c4dbe6; font-size:13px; }
.command-score { min-width:120px; height:120px; border:1px solid rgba(255,255,255,.25); background:rgba(255,255,255,.09); border-radius:50%; display:grid; place-content:center; text-align:center; }
.command-score span,.command-score small { color:#c4dbe6; font-size:10px; }
.command-score strong { font-size:38px; line-height:1; margin:5px 0; }
.command-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-bottom:18px; }
.command-column { background:#fff; border:1px solid var(--line); border-radius:15px; padding:18px; box-shadow:var(--shadow); }
.command-column h3 { display:flex; justify-content:space-between; margin:0 0 12px; font-size:15px; }
.command-column h3 span { color:var(--teal); }
.command-item { display:grid; grid-template-columns:25px 1fr auto; gap:10px; align-items:start; padding:11px 0; border-bottom:1px solid #edf1f4; }
.command-item:last-child { border:0; }
.command-item > b { width:24px; height:24px; display:grid; place-items:center; color:#0b777a; background:#e5f7f6; border-radius:7px; font-size:11px; }
.command-item strong,.command-item small { display:block; }
.command-item strong { font-size:13px; line-height:1.45; }
.command-item small { margin-top:4px; color:var(--muted); font-size:11px; }
.empty-mini { padding:18px; color:var(--muted); text-align:center; font-size:12px; }
.command-stat-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; margin-bottom:18px; }
.command-section { margin-bottom:18px; }.command-section .panel-title > div h3 { margin:4px 0 0; }
.project-command-list,.followup-command-list { display:grid; gap:12px; }
.project-command-card { padding:17px; border:1px solid #dce7ec; border-radius:13px; background:linear-gradient(110deg,#fff,#f8fbfc); }
.project-command-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; padding-bottom:13px; border-bottom:1px solid #e8eef1; }.project-command-head > div { min-width:0; }.project-command-head .badge { float:left; margin:2px 8px 0 0; }.project-command-head h3 { margin:0; font-size:15px; }.project-command-head small { display:block; margin-top:6px; color:var(--muted); font-size:10px; }
.project-command-body { display:grid; grid-template-columns:1.25fr 1.25fr 1fr; gap:12px; padding-top:13px; }.project-command-body > div { padding:11px 12px; border-radius:9px; background:#f3f7f9; }.project-command-body b,.project-command-body p { display:block; }.project-command-body b { color:#456174; font-size:10px; }.project-command-body p { margin:5px 0 0; color:var(--ink); font-size:11px; line-height:1.55; }.project-command-body .risk-copy { background:#fff0ef; }.project-command-body .risk-copy b,.project-command-body .risk-copy p { color:#a64640; }
.followup-command-row { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:14px 15px; border:1px solid #e0e8ec; border-radius:11px; background:#fff; }.followup-command-row > div:first-child { min-width:0; }.followup-command-row strong,.followup-command-row span,.followup-command-row small { display:block; }.followup-command-row strong { font-size:13px; }.followup-command-row span { margin-top:5px; color:#4e6878; font-size:10px; }.followup-command-row small { margin-top:5px; color:var(--muted); font-size:10px; line-height:1.5; }.followup-command-row .row-actions { flex:0 0 auto; }
.version-tag { display:inline-flex; align-items:center; padding:7px 10px; border-radius:8px; color:#176bc0; background:#e9f2ff; font-size:11px; font-weight:800; }
.team-board { display:grid; gap:14px; }
.team-board-actions { display:flex; align-items:center; justify-content:flex-end; gap:8px; margin-top:-2px; }
.board-kpis { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:1px; padding:14px 8px; border:1px solid var(--line); border-radius:15px; background:#fff; box-shadow:var(--shadow); }
.board-kpi { min-width:0; min-height:82px; padding:9px 15px; border:0; border-right:1px solid #e8eef2; display:flex; align-items:center; gap:13px; color:var(--ink); background:transparent; text-align:left; }
.board-kpi:last-child { border-right:0; }.board-kpi:hover { background:#f7fafc; }.board-kpi > span { width:42px; height:42px; display:grid; place-items:center; flex:0 0 auto; border-radius:50%; color:#2474d5; background:#eaf2ff; font-size:20px; font-weight:800; }.board-kpi.teal > span { color:#119a9c; background:#e3f8f6; }.board-kpi.red > span { color:#d93d48; background:#ffe8e9; }.board-kpi.orange > span { color:#dd8b08; background:#fff3dc; }.board-kpi.green > span { color:#27a36e; background:#e6f8ee; }.board-kpi small,.board-kpi strong { display:block; }.board-kpi small { color:#4e6576; font-size:11px; }.board-kpi strong { margin-top:5px; font-size:25px; }.board-kpi strong i { margin-left:4px; color:#708391; font-size:10px; font-style:normal; }
.war-room-layout { display:grid; grid-template-columns:minmax(0,1fr) 245px; gap:14px; align-items:start; }
.war-room-main { min-width:0; display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:12px; }.board-module { min-width:0; padding:15px; }.today-module,.plan-module,.waiting-module,.blocker-module { grid-column:span 3; min-height:390px; }.workload-module { grid-column:span 5; }.heatmap-module { grid-column:span 7; }
.board-module-title { min-height:30px; display:flex; align-items:center; justify-content:space-between; gap:9px; margin-bottom:11px; }.board-module-title h3 { display:flex; align-items:center; margin:0; color:#18354c; font-size:13px; }.board-module-title h3 > b { width:22px; height:22px; display:grid; place-items:center; margin-right:7px; border-radius:50%; color:#fff; background:#177e98; font-size:10px; }.board-module-title h3 small { color:#6e8291; font-size:9px; font-weight:500; }.board-module-title > span { color:#df4d46; font-size:10px; font-weight:800; }
.board-owner-group { display:grid; gap:5px; margin-bottom:11px; padding-bottom:9px; border-bottom:1px solid #edf2f4; }.board-owner-group > strong { color:#395467; font-size:10px; }.board-task-line { width:100%; min-width:0; min-height:31px; padding:6px 7px; border:0; border-radius:7px; display:flex; align-items:center; gap:5px; color:#274257; background:#f6f9fb; text-align:left; }.board-task-line:hover { background:#edf6f7; }.board-task-line > span { min-width:0; flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:10px; font-weight:700; }.board-task-line .badge { padding:2px 5px; font-size:8px; }.board-task-line em { color:#658091; font-size:8px; font-style:normal; white-space:nowrap; }.board-task-line em.late { color:#e34e48; }.board-more { width:100%; margin-top:8px; padding:8px; border:0; color:#527288; background:transparent; font-size:9px; }
.board-tabs { display:flex; gap:3px; margin:-3px 0 10px; padding:3px; border-radius:8px; background:#f2f6f8; }.board-tabs button { flex:1; padding:5px; border:0; border-radius:6px; color:#6b7f8e; background:transparent; font-size:9px; }.board-tabs button.active { color:#fff; background:#168f94; }.board-plan-list { display:grid; gap:8px; }.board-plan-list > div { display:grid; grid-template-columns:42px 1fr; gap:6px; align-items:start; }.board-plan-list time { padding-top:8px; color:#4c6a7e; font-size:9px; font-weight:800; }.board-plan-list section { display:grid; gap:4px; padding-left:8px; border-left:2px solid #d8e6eb; }
.waiting-module,.waiting-groups,.waiting-groups details { min-width:0; max-width:100%; overflow:hidden; }.waiting-groups { display:grid; gap:6px; }.waiting-groups details { padding:7px 8px; border-radius:8px; background:#f7fafc; }.waiting-groups summary { display:flex; align-items:center; justify-content:space-between; color:#345369; cursor:pointer; font-size:10px; font-weight:800; }.waiting-groups summary b { flex:0 0 auto; color:#dc594f; }.waiting-groups .board-task-line { width:100%; max-width:100%; margin-top:5px; display:grid; grid-template-columns:minmax(0,1fr) auto; overflow:hidden; background:#fff; }.waiting-groups .board-task-line > span { display:block; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.waiting-groups .board-task-line .badge { justify-self:end; }
.blocker-list { display:grid; }.blocker-list > button { padding:10px 5px; border:0; border-bottom:1px solid #edf2f4; display:grid; gap:5px; color:#28465a; background:transparent; text-align:left; }.blocker-list > button:hover { background:#f8fbfc; }.blocker-list strong { font-size:11px; }.blocker-list span { color:#677d8d; font-size:9px; line-height:1.45; }.blocker-list span::first-letter { color:#ef5f58; }
.board-side { display:grid; gap:12px; position:sticky; top:106px; }.board-quick,.board-focus { padding:15px; }.board-quick > button:not(.button) { width:100%; padding:8px 6px; border:0; border-bottom:1px solid #edf2f4; display:flex; justify-content:space-between; color:#496477; background:transparent; font-size:10px; }.board-quick > button.active { color:#0f8387; font-weight:800; }.board-quick label { display:grid; grid-template-columns:55px 1fr; align-items:center; gap:6px; margin-top:9px; color:#5e7484; font-size:9px; }.board-quick select { width:100%; min-width:0; padding:7px; border:1px solid var(--line); border-radius:7px; background:#fff; font-size:9px; }.board-quick .button { width:100%; margin-top:12px; }
.board-focus article { position:relative; padding:10px 0; border-bottom:1px solid #edf2f4; }.board-focus article > button:first-child { width:100%; padding:0 38px 0 0; border:0; display:grid; gap:5px; color:#29475b; background:transparent; text-align:left; }.board-focus strong { font-size:10px; }.board-focus span { color:#667e8f; font-size:8px; line-height:1.4; }.board-focus em { color:#e6574d; font-size:8px; font-style:normal; }.focus-toggle { position:absolute; top:9px; right:0; padding:3px 5px; border:1px solid #c9dfdc; border-radius:5px; color:#11847e; background:#effaf8; font-size:7px; }
.focus-leader-group { padding:10px 0; border-top:1px solid #edf2f4; }
.focus-leader-group:first-of-type { border-top:0; padding-top:4px; }
.focus-leader-group h4 { margin:0 0 7px; color:#17324d; font-size:10px; }
.focus-leader-group button { width:100%; margin:5px 0; padding:7px 8px; border:0; border-radius:8px; display:grid; gap:3px; background:#f7fafc; text-align:left; }
.focus-leader-group button:hover { background:#eef8f7; }
.focus-leader-group strong { color:#29475b; font-size:9.5px; line-height:1.35; }
.focus-leader-group span { color:#0f8387; font-size:8px; font-weight:700; }
.focus-leader-group p { margin:5px 0; color:#8ba0ad; font-size:9px; }
.board-workload { display:grid; }.board-workload-head,.board-workload > button { display:grid; grid-template-columns:1.4fr 1.35fr .62fr .62fr .62fr .8fr; gap:7px; align-items:center; min-height:35px; padding:0 7px; border:0; border-bottom:1px solid #edf2f4; color:#314f64; background:transparent; font-size:9px; text-align:left; }.board-workload-head { min-height:28px; color:#6d8190; background:#f5f8fa; }.board-workload > button:hover { background:#f8fbfc; }.workload-follow { min-width:0; display:grid; grid-template-columns:minmax(45px,1fr) 20px; align-items:center; gap:7px; }.workload-follow > span { position:relative; height:7px; overflow:hidden; border-radius:6px; background:#edf2f5; }.workload-follow > span i { position:absolute; inset:0 auto 0 0; border-radius:6px; background:#20a576; }.workload-follow > b { color:#314f64; text-align:right; }.workload-total-label { color:#df4d46; font-weight:900; }.board-workload > button em { color:#d6534a; font-style:normal; text-align:center; }.board-workload > button em.completed-count { color:#168460; }.board-workload > button b:last-child { padding:4px 6px; border-radius:6px; text-align:center; }.load-超负荷 { color:#d94242; background:#ffe8e8; }.load-正常 { color:#15815b; background:#e3f7ec; }.load-偏低 { color:#a87308; background:#fff2d4; }.load-legend { display:flex; justify-content:center; gap:22px; margin-top:14px; color:#6f8290; font-size:8px; }.load-legend span:first-child { color:#d94242; }.load-legend span:nth-child(2) { color:#168460; }.load-legend span:last-child { color:#a87308; }
.board-heatmap { overflow:auto; padding-bottom:2px; }.heat-head,.heat-row { min-width:720px; display:grid; grid-template-columns:120px 62px repeat(7,52px) 68px; gap:8px; align-items:center; }.heat-head { margin-bottom:8px; color:#607786; font-size:8px; text-align:center; }.heat-head small { display:block; margin-top:2px; }.heat-row { margin-bottom:7px; }.heat-row strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#355267; font-size:9px; }.heat-row i,.heat-legend i { height:24px; display:grid; place-items:center; border-radius:8px; color:#fff; font-size:12px; font-weight:900; font-style:normal; box-shadow:inset 0 0 0 1px rgba(255,255,255,.55); }.heat-row .heat-history { color:#2c5268; background:#edf5f7; }.heat-row .heat-total { color:#0f3f5a; background:#dcefff; }.heat-0 { color:#8aa0aa!important; background:#eef3f2; }.heat-1 { color:#177045; background:#bff1b4; }.heat-2 { background:#67d17b; }.heat-3 { color:#553f00; background:#f3cc47; }.heat-4 { background:#f2a126; }.heat-5 { background:#ee5a5a; }.heat-legend { display:flex; align-items:center; justify-content:flex-end; gap:4px; margin-top:10px; color:#758694; font-size:8px; }.heat-legend i { width:13px; height:13px; border-radius:4px; font-size:0; }
.ai-reason-panel { margin-top:0; }
.ai-action-bar { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-bottom:10px; padding:11px 12px; border:1px solid #d9e6ff; border-radius:11px; background:linear-gradient(90deg,#f0f5ff,#f1fbfa); }
.ai-action-bar > span { margin-right:auto; color:#456078; font-size:11px; }
.ai-action-bar b { color:#176bc0; }
.ai-capability-list,.ai-decision { display:flex; flex-wrap:wrap; gap:7px; }
.ai-capability-list span,.ai-decision span { padding:5px 8px; border-radius:999px; background:#e9f5f5; color:#176f72; font-size:10px; font-weight:700; }
.health-row { display:flex; align-items:center; gap:12px; margin-top:15px; }
.health-ring { width:62px; height:62px; display:grid; place-content:center; text-align:center; border-radius:50%; border:6px solid #dce9e7; background:#f8fbfb; }
.health-ring strong { font-size:18px; line-height:1; }
.health-ring span { margin-top:3px; color:var(--muted); font-size:8px; }
.health-ring.健康 { border-color:#63c59d; }.health-ring.关注 { border-color:#e7ba54; }.health-ring.风险 { border-color:#eb855d; }.health-ring.严重风险 { border-color:#d64545; }
.health-label { display:inline-flex; padding:4px 8px; border-radius:7px; font-size:11px; }
.health-label.健康 { color:#17754f; background:#e3f6ec; }.health-label.关注 { color:#906000; background:#fff1cd; }.health-label.风险 { color:#a34c25; background:#ffeadf; }.health-label.严重风险 { color:#a12626; background:#fde5e5; }
.health-row small { display:block; margin-top:6px; color:var(--muted); font-size:10px; }
.health-reasons { display:grid; gap:4px; margin:12px 0; padding:10px; border-radius:9px; background:#f7fafc; color:#5e7182; font-size:10px; }
.risk-summary { display:grid; grid-template-columns:1.25fr .75fr; gap:18px; padding:22px 24px; margin-bottom:14px; border-radius:15px; color:#fff; background:linear-gradient(125deg,#6f2937,#b64a45); }
.risk-summary .eyebrow { color:#ffc2b8; }.risk-summary h3 { margin:7px 0; font-size:17px; }.risk-summary p { margin:0; color:#f2ced0; font-size:12px; }.risk-summary ol { margin:0; padding-left:22px; }.risk-summary li { padding:4px 0; font-size:12px; }.risk-summary li span { color:#ffd2c9; font-size:10px; }
.risk-filter { grid-template-columns:repeat(5,minmax(120px,1fr)); }
.risk-type-tag { display:inline-flex; margin-left:5px; padding:2px 6px; border-radius:6px; color:#a03f3f; background:#ffe9e9; font-size:9px; }
.executive-hero { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-bottom:18px; }
.executive-hero > div { display:flex; align-items:center; justify-content:space-between; padding:17px 19px; border-radius:13px; color:#fff; background:linear-gradient(135deg,#102a43,#17677a); }
.executive-hero span { color:#c5dae5; font-size:11px; }.executive-hero strong { font-size:27px; }
.executive-project,.support-item { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 0; border-bottom:1px solid #edf1f4; }
.executive-project:last-child,.support-item:last-child { border:0; }.executive-project strong,.executive-project span,.support-item strong,.support-item span { display:block; }.executive-project strong,.support-item strong { font-size:13px; }.executive-project span,.support-item span { margin-top:4px; color:var(--muted); font-size:10px; }
.team-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; }
.team-card { padding:18px; border:1px solid var(--line); border-radius:15px; background:#fff; box-shadow:var(--shadow); }
.team-person { display:flex; align-items:center; gap:11px; margin-bottom:16px; }.team-person > span { width:42px; height:42px; display:grid; place-items:center; border-radius:12px; color:#fff; background:linear-gradient(135deg,var(--teal),var(--blue)); font-weight:800; }.team-person h3 { margin:0 0 4px; font-size:15px; }.team-person small { color:var(--muted); }
.team-metrics { display:grid; grid-template-columns:repeat(6,1fr); gap:8px; }.team-metrics div { padding:9px 5px; border-radius:9px; background:#f5f8fa; text-align:center; }.team-metrics b,.team-metrics span { display:block; }.team-metrics b { font-size:17px; }.team-metrics span { margin-top:3px; color:var(--muted); font-size:9px; }.danger-text b { color:var(--red); }
.timeline { position:relative; display:grid; gap:15px; }.timeline::before { content:""; position:absolute; left:31px; top:20px; bottom:20px; width:2px; background:#d6e4e8; }.timeline-group { display:grid; grid-template-columns:64px 1fr; gap:16px; position:relative; }.timeline-marker { display:grid; justify-items:center; align-content:start; gap:5px; z-index:1; }.timeline-marker b { width:32px; height:32px; display:grid; place-items:center; border-radius:50%; color:#fff; background:var(--teal); }.timeline-marker span { color:var(--muted); font-size:10px; }.timeline-items { display:grid; gap:8px; }.timeline-item { display:grid; grid-template-columns:auto 1fr auto; gap:12px; align-items:center; padding:13px 15px; border:1px solid var(--line); border-radius:11px; background:#fff; }.timeline-item strong,.timeline-item small { display:block; }.timeline-item strong { font-size:13px; }.timeline-item small { margin-top:4px; color:var(--muted); font-size:10px; }.timeline-item time { color:var(--muted); font-size:10px; }
.settings-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }.setting-row { display:flex; justify-content:space-between; gap:16px; padding:11px 0; border-bottom:1px solid #edf1f4; font-size:12px; }.setting-row:last-child { border:0; }.setting-row span { color:var(--muted); }.setting-row b { text-align:right; }.status-ok { color:var(--green)!important; }.version-notes{margin-top:18px}.version-note{border-top:1px solid var(--line);padding:0}.version-note:first-of-type{border-top:0}.version-note summary{cursor:pointer;display:flex;justify-content:space-between;gap:16px;padding:15px 0;color:#17324d}.version-note summary strong{font-size:14px}.version-note summary span{color:var(--muted);font-size:12px}.version-note ul{margin:0 0 16px 20px;color:#496477;font-size:13px;line-height:1.8}.version-note li{padding-left:2px}
.image-upload-inline,.ai-image-entry,.image-import-panel { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:14px 16px; border:1px dashed #9ccbd2; border-radius:12px; background:#f3fbfb; }
.image-upload-inline strong,.image-upload-inline span,.ai-image-entry strong,.ai-image-entry span,.image-import-panel h3,.image-import-panel p { display:block; }
.image-upload-inline strong,.ai-image-entry strong { font-size:12px; }.image-upload-inline span,.ai-image-entry span,.image-import-panel p { margin-top:4px; color:var(--muted); font-size:10px; }.image-import-panel { margin-bottom:18px; padding:20px 22px; }.image-import-panel h3 { margin:5px 0 0; font-size:16px; }
.ocr-modal { width:min(1080px,94vw); max-height:90vh; overflow:auto; }.ocr-flow { display:flex; align-items:center; justify-content:center; gap:9px; padding:10px 15px; margin-bottom:15px; border-radius:10px; background:#f5f8fa; color:var(--muted); font-size:11px; }.ocr-flow .done { color:var(--green); }.ocr-flow .active { color:var(--teal); font-weight:800; }
.ocr-review-list { display:grid; gap:14px; }.ocr-review-card { display:grid; grid-template-columns:minmax(220px,.7fr) minmax(360px,1.3fr); gap:16px; padding:15px; border:1px solid var(--line); border-radius:13px; background:#fff; }.ocr-image-wrap { display:grid; align-content:start; gap:7px; }.ocr-image-wrap img { width:100%; max-height:430px; object-fit:contain; border-radius:9px; background:#eef3f5; }.ocr-image-wrap small { color:var(--muted); }.ocr-text-wrap textarea { width:100%; min-height:280px; resize:vertical; padding:12px; border:1px solid var(--line); border-radius:9px; font:12px/1.7 inherit; }.ocr-status { margin-bottom:8px; color:var(--green); font-size:11px; }.ocr-status.failed { color:var(--red); }
.attachment-library { margin-top:18px; }.attachment-list { display:grid; }.attachment-row { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:12px 0; border-bottom:1px solid #edf1f4; }.attachment-row:last-child { border:0; }.attachment-row strong,.attachment-row span,.attachment-row small { display:block; }.attachment-row strong { font-size:12px; }.attachment-row span,.attachment-row small { margin-top:4px; color:var(--muted); font-size:10px; }
.assessment-summary { padding:13px 15px; margin-bottom:13px; border-radius:10px; color:#23435a; background:#edf8fa; font-size:12px; line-height:1.65; }.assessment-groups { display:grid; gap:11px; }.assessment-group { display:grid; grid-template-columns:38px 1fr; gap:12px; padding:14px; border:1px solid var(--line); border-radius:12px; }.assessment-number { width:30px; height:30px; display:grid; place-items:center; border-radius:9px; color:#fff; background:var(--teal); font-weight:800; }.assessment-title { display:flex; align-items:center; justify-content:space-between; gap:12px; }.assessment-title strong { font-size:14px; }.assessment-title span { color:var(--teal); font-size:10px; }.assessment-group p { margin:7px 0; color:#546c7c; font-size:11px; line-height:1.6; }.assessment-group small { display:block; margin-top:8px; color:var(--muted); }.assessment-evidence { display:flex; flex-wrap:wrap; gap:5px; }.assessment-evidence span { padding:3px 7px; border-radius:6px; color:#566d7a; background:#f1f5f7; font-size:9px; }
.split-mode-picker { display:grid; gap:8px; margin-top:15px; padding-top:14px; border-top:1px solid var(--line); }.split-mode-picker > strong { font-size:12px; }.split-mode-picker label { display:grid; grid-template-columns:auto 120px 1fr; align-items:center; gap:8px; padding:10px 12px; border:1px solid var(--line); border-radius:9px; cursor:pointer; }.split-mode-picker label:has(input:checked) { border-color:#35a9ae; background:#f0fbfb; }.split-mode-picker span { font-size:12px; font-weight:700; }.split-mode-picker small { color:var(--muted); }.ai-draft-number small { display:block; margin-top:3px; font-size:8px; font-weight:500; }

.classification-dashboard { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:18px; padding:17px 20px; border:1px solid #bfe8e5; border-radius:14px; background:linear-gradient(100deg,#effafa,#f3f7ff); box-shadow:var(--shadow); cursor:pointer; }
.classification-dashboard > div { display:grid; gap:4px; }.classification-dashboard strong { font-size:15px; }.classification-dashboard small { color:var(--muted); font-size:11px; }
.classification-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-bottom:16px; }
.project-classification-strip { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:16px; padding:14px 17px; border:1px solid #cfe3ea; border-radius:12px; background:#f7fbfc; }
.project-classification-strip > div { display:flex; flex-wrap:wrap; gap:8px; }.project-classification-strip span { padding:5px 9px; border-radius:999px; color:#38556a; background:#eaf2f5; font-size:10px; font-weight:700; }
.classification-section { margin-bottom:15px; }.classification-row { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:13px; align-items:start; padding:14px 2px; border-bottom:1px solid #e9eff2; }.classification-row:last-child { border-bottom:0; }.classification-row > input { margin-top:5px; }.classification-row strong,.classification-row span,.classification-row small,.classification-row em { display:block; }.classification-row strong { color:var(--ink); font-size:13px; }.classification-row span { margin-top:6px; color:var(--muted); font-size:10px; }.classification-row small { margin-top:5px; color:#587080; font-size:11px; line-height:1.55; }.classification-row em { margin-top:7px; color:#7650a0; font-size:10px; font-style:normal; font-weight:700; }.classification-row .row-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:6px; }
.classification-tag { display:inline-flex!important; width:max-content; padding:3px 7px; border-radius:7px; font-weight:800; }.classification-tag.matched { color:#117758; background:#e1f6ec; }.classification-tag.pending { color:#9a6500; background:#fff0cc; }.classification-tag.suggested_new { color:#7750a1; background:#f0e8fb; }.classification-tag.independent { color:#3d66a1; background:#e7effc; }.classification-tag.unclassified { color:#667784; background:#edf1f3; }
.quick-project-note { grid-column:span 2; padding:11px 13px; border-radius:9px; color:#207274; background:#edf9f8; font-size:11px; }.raw-fields { border:1px solid var(--line); border-radius:10px; background:#fbfdfe; }.raw-fields > summary { padding:11px 13px; color:#526a7a; font-size:11px; font-weight:700; cursor:pointer; }.raw-fields > .form-grid { padding:5px 13px 14px; }
.project-ai-suggest { border:1px solid #cdeeea; border-radius:12px; background:linear-gradient(180deg,#f6fffd,#fbfdff); padding:12px; display:grid; gap:10px; }
.project-ai-suggest-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.project-ai-suggest-head strong { display:block; color:#0f766e; font-size:13px; }
.project-ai-suggest-head span { display:block; color:#6b8294; font-size:11px; margin-top:3px; line-height:1.5; }
.project-scope-actions { display:flex; align-items:center; justify-content:flex-end; gap:7px; flex-wrap:wrap; }
.project-scope-search { border-color:#bfe6e1 !important; background:#fff !important; }
.project-description-actions { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 12px; border-radius:9px; background:#f5fafb; color:#6b8294; font-size:11px; }
.project-ai-suggest-list { display:grid; gap:7px; max-height:210px; overflow:auto; padding-right:3px; }
.project-suggestion-task { display:grid !important; grid-template-columns:auto minmax(0,1fr); align-items:flex-start; gap:8px !important; padding:9px 10px; border:1px solid #e0edf2; border-radius:10px; background:#fff; color:#243b53 !important; }
.project-suggestion-task input { width:auto !important; margin-top:2px; }
.project-suggestion-task b { display:block; font-size:12px; color:#102a43; line-height:1.45; }
.project-suggestion-task small { display:block; margin-top:3px; color:#7b8fa4; line-height:1.45; }
.project-suggestion-empty { padding:12px; border-radius:10px; background:#f3f6f8; color:#7b8fa4; font-size:12px; }
.project-card.needs-summary-update { border-color:#f5c56b; box-shadow:0 12px 28px rgba(245,184,75,.14); }
.project-description { display:grid; gap:7px; }
.project-description .button { justify-self:start; }
.project-auto-summary { padding:9px 10px; border-radius:10px; background:#eef8f7; color:#526b7b; font-size:12px; line-height:1.55; }
.project-auto-summary strong { display:block; color:#0f766e; margin-bottom:4px; }
.project-auto-summary span,.project-auto-summary small { display:block; }
.ai-classification-preview { margin:8px 0 0; padding:8px 10px; border-radius:8px; background:#f2f7f8; color:#536b79; font-size:10px; line-height:1.5; }

.executive-dashboard { color:#102a43; }
.exec-dashboard-header { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; margin-bottom:15px; }.exec-dashboard-header h2 { margin:0; font-size:24px; }.exec-dashboard-header p { margin:5px 0 0; color:#38556a; font-size:12px; }.exec-dashboard-header p span { margin-left:28px; color:var(--muted); }
.exec-dashboard-actions { display:flex; align-items:center; gap:9px; }.dashboard-range { display:flex; padding:3px; border:1px solid var(--line); border-radius:9px; background:#fff; }.dashboard-range button { padding:7px 11px; border:0; border-radius:7px; color:#607585; background:transparent; cursor:pointer; }.dashboard-range button.active { color:#fff; background:var(--teal); }
.exec-kpi-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:11px; margin-bottom:13px; }.exec-kpi { display:flex; align-items:center; gap:12px; min-height:98px; padding:14px; border:1px solid #dce7ef; border-radius:14px; background:#fff; box-shadow:0 6px 18px rgba(16,42,67,.05); cursor:pointer; transition:.18s; }.exec-kpi:hover { transform:translateY(-2px); box-shadow:0 10px 22px rgba(16,42,67,.1); }.exec-kpi-icon { flex:0 0 42px; width:42px; height:42px; display:grid; place-items:center; border-radius:50%; color:#2f80ed; background:#eaf2ff; font-size:23px; }.exec-kpi.teal .exec-kpi-icon { color:#0f9e9c; background:#e4f7f4; }.exec-kpi.purple .exec-kpi-icon { color:#8250cf; background:#f1eafd; }.exec-kpi.orange .exec-kpi-icon { color:#e99b12; background:#fff3dc; }.exec-kpi.red .exec-kpi-icon { color:#e54545; background:#ffe8e8; }.exec-kpi small,.exec-kpi strong,.exec-kpi i { display:block; }.exec-kpi small { color:#536b7c; font-size:11px; }.exec-kpi strong { margin-top:3px; font-size:25px; }.exec-kpi strong em { margin-left:5px; color:#63798a; font-size:10px; font-style:normal; }.exec-kpi i { margin-top:6px; color:#4e6c7e; font-size:9px; font-style:normal; }
.exec-main-grid { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:13px; align-items:start; }.exec-main-grid .panel { padding:15px; border-radius:14px; }.exec-main-grid .panel-title { margin-bottom:13px; }.exec-main-grid .panel-title h3 { font-size:13px; }.value-output-panel { grid-column:1/4; min-height:245px; }.industry-panel { grid-column:4/7; min-height:245px; }.funnel-panel { grid-column:7/10; min-height:245px; }.insight-panel { grid-column:10/13; min-height:245px; }.key-project-panel { grid-column:1/9; }.workload-panel { grid-column:9/13; }.output-panel { grid-column:1/5; }.rank-panel { grid-column:5/13; display:grid; gap:12px; }
.industry-bars { display:grid; gap:16px; padding:7px 2px; }.industry-bars > div { display:grid; grid-template-columns:84px 1fr 24px; gap:9px; align-items:center; }.industry-bars b { color:#31536b; font-size:10px; }.industry-bars > div > span { height:11px; overflow:hidden; border-radius:3px; background:#e8f0f5; }.industry-bars i { display:block; height:100%; border-radius:3px; background:linear-gradient(90deg,#2f80ed,#4a8ef4); }.industry-bars strong { font-size:11px; }
.stage-funnel { display:grid; gap:9px; }.stage-funnel > div { display:grid; grid-template-columns:62px 1fr 28px; gap:7px; align-items:center; }.stage-funnel b { font-size:10px; }.stage-funnel span { justify-self:center; display:block; height:32px; clip-path:polygon(5% 0,95% 0,80% 100%,20% 100%); }.stage-funnel strong { font-size:14px; }
.dashboard-data-note { margin:-4px 0 12px; color:#61788a; font-size:11px; }
.value-donut-layout { display:grid; grid-template-columns:145px 1fr; gap:12px; align-items:center; min-height:190px; }.value-donut { width:145px; height:145px; transform:rotate(-90deg); }.value-donut text { transform:rotate(90deg); transform-origin:50px 50px; fill:#102a43; }.value-donut .donut-total { font-size:17px; font-weight:800; }.value-donut .donut-caption { fill:#718492; font-size:7px; }.donut-legend { display:grid; gap:7px; }.donut-legend p { display:grid; grid-template-columns:10px 1fr auto; gap:7px; align-items:center; margin:0; color:#526b7c; font-size:10px; }.donut-legend i { width:9px; height:9px; border-radius:3px; background:#d6e0e6; }.donut-legend b { color:#102a43; display:flex; gap:4px; align-items:baseline; }.donut-legend b em { color:#7b8d9b; font-size:9px; font-style:normal; font-weight:700; }
.stage-pipeline-svg { width:100%; height:190px; display:block; }.stage-track { stroke:#dfeaf1; stroke-width:8; stroke-linecap:round; }.stage-node { filter:drop-shadow(0 8px 15px rgba(47,128,237,.16)); }.stage-node-value { fill:#fff; font-size:18px; font-weight:900; }.stage-node-card { fill:#f4f8fb; stroke:#dce8ef; stroke-width:1; }.stage-node-label { fill:#31536b; font-size:11px; font-weight:800; }.stage-pipeline-svg g.muted .stage-node { fill:#dbe6ed; filter:none; }.stage-pipeline-svg g.muted .stage-node-value { fill:#8a9bad; }.stage-pipeline-svg g.muted .stage-node-card { fill:#f8fbfd; }
.dashboard-insights { margin:0; padding-left:18px; display:grid; gap:8px; color:#38556a; font-size:11px; line-height:1.55; }.dashboard-suggestion { margin:12px 0 0; padding:10px 12px; border-radius:9px; color:#0f766e; background:#ecfdf9; font-size:11px; line-height:1.55; }
.output-card-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }.output-card-grid article { min-height:72px; padding:12px; border:1px solid #e4ecf1; border-radius:11px; background:#f8fbfc; }.output-card-grid span { display:inline-grid; place-items:center; width:28px; height:28px; border-radius:9px; color:#168db3; background:#e8f7fb; }.output-card-grid strong { display:block; margin-top:6px; color:#102a43; font-size:22px; }.output-card-grid small { color:#62778a; font-size:10px; }
.workload-table.real .workload-head,.workload-table.real > div:not(.empty-mini) { grid-template-columns:1.35fr repeat(4,.75fr); }.mini-bar { display:inline-block; width:52px; height:6px; margin-right:7px; border-radius:9px; vertical-align:middle; background:#e8eff3; overflow:hidden; }.mini-bar i { display:block; height:100%; border-radius:9px; background:#16a085; }
.risk-top-list { display:grid; gap:7px; }.risk-top-row { display:grid; grid-template-columns:22px minmax(0,1fr) auto; gap:8px; align-items:start; padding:7px 0; border-bottom:1px solid #edf2f4; cursor:pointer; }.risk-top-row:last-child { border-bottom:0; }.risk-top-row b { display:grid; place-items:center; width:18px; height:18px; border-radius:50%; color:#41647b; background:#eef4f7; font-size:9px; }.risk-top-row span { color:#102a43; font-size:10px; font-weight:700; line-height:1.35; }.risk-top-row small { display:block; margin-top:3px; color:#6b7f8d; font-weight:400; }.risk-top-row em { padding:3px 7px; border-radius:999px; font-style:normal; font-size:9px; }.risk-top-row em.high { color:#d83838; background:#ffe6e6; }.risk-top-row em.mid { color:#b67508; background:#fff0d4; }
.exec-table-wrap { overflow:auto; }.exec-project-table { width:100%; border-collapse:collapse; min-width:760px; }.exec-project-table th { padding:7px; color:#5f7484; background:#f5f8fa; text-align:left; font-size:9px; white-space:nowrap; }.exec-project-table td { padding:9px 7px; border-bottom:1px solid #edf2f4; color:#365166; font-size:9px; line-height:1.4; vertical-align:middle; cursor:pointer; }.exec-project-table td strong { color:#163249; font-size:10px; }.exec-project-table tr:hover td { background:#f8fbfc; }.exec-project-table .risk-cell { color:#d64545; }.wechat-copy { width:28px; height:28px; border:1px solid #bfead9; border-radius:8px; color:#17a873; background:#effbf6; cursor:pointer; font-size:15px; }
.value-card-grid { display:grid; grid-template-columns:repeat(3,1fr); border:1px solid #e4ebef; border-radius:10px; overflow:hidden; }.value-card-grid article { min-height:112px; padding:12px; border-right:1px solid #e9eff2; border-bottom:1px solid #e9eff2; text-align:center; }.value-card-grid article:nth-child(3n) { border-right:0; }.value-card-grid article:nth-child(n+4) { border-bottom:0; }.value-card-grid article > span { display:grid; place-items:center; width:32px; height:32px; margin:0 auto 5px; border-radius:50%; color:#149e9b; background:#e8f8f5; }.value-card-grid small,.value-card-grid strong,.value-card-grid i { display:block; }.value-card-grid small { color:#4e687a; font-size:9px; }.value-card-grid strong { margin-top:4px; font-size:22px; }.value-card-grid strong em { margin-left:3px; color:#718492; font-size:9px; font-style:normal; }.value-card-grid i { margin-top:6px; color:#1c9b70; font-size:8px; font-style:normal; }
.workload-layout { display:grid; grid-template-columns:1.25fr .75fr; gap:14px; }.workload-table { display:grid; }.workload-head,.workload-table > div:not(.empty-mini) { display:grid; grid-template-columns:1.7fr repeat(4,.65fr); gap:6px; align-items:center; min-height:29px; padding:0 8px; border-bottom:1px solid #edf2f4; font-size:9px; }.workload-head { color:#5c7282; background:#f4f8fa; font-weight:700; }.workload-table strong { font-size:9px; }.distribution-chart { display:grid; grid-template-columns:94px 1fr; align-items:center; gap:9px; }.donut { width:88px; height:88px; display:grid; place-items:center; border-radius:50%; }.donut span { width:44px; height:44px; border-radius:50%; background:#fff; }.distribution-chart p { display:flex; align-items:center; gap:5px; margin:5px 0; color:#526b7c; font-size:8px; }.distribution-chart p i { width:7px; height:7px; border-radius:2px; }.distribution-chart p b { margin-left:auto; }.weekly-overview { display:flex; align-items:center; gap:14px; margin-top:12px; padding:10px 12px; border-radius:9px; background:#f5f9fb; font-size:9px; }.weekly-overview strong { margin-right:auto; }.weekly-overview b { margin-left:3px; font-size:12px; }
.exec-rank-card { padding:13px; border:1px solid var(--line); border-radius:13px; background:#fff; box-shadow:var(--shadow); }.exec-rank-card .panel-title { margin-bottom:7px; }.exec-rank-card .panel-title h3 { font-size:11px; }.exec-rank-card .panel-title span { cursor:pointer; font-size:9px; }.rank-row { display:grid; grid-template-columns:17px 1fr auto; gap:7px; align-items:center; min-height:25px; border-bottom:1px solid #edf2f4; font-size:8px; }.rank-row:last-child { border:0; }.rank-row > b { width:16px; height:16px; display:grid; place-items:center; border-radius:50%; color:#42617a; background:#eef4f7; }.rank-row > em { color:#139b72; font-style:normal; }.risk-rank > em { padding:2px 6px; border-radius:6px; }.risk-rank > em.high { color:#d83838; background:#ffe6e6; }.risk-rank > em.mid { color:#b67508; background:#fff0d4; }.risk-rank > em.low { color:#2f6fae; background:#e8f2ff; }
.support-panel { margin-top:13px; padding:15px; }.support-card-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:11px; }.support-card-grid article { display:grid; gap:4px; min-height:90px; padding:13px; border:1px solid #dce7ef; border-radius:10px; cursor:pointer; }.support-card-grid article.red { background:#fff2f1; }.support-card-grid article.orange { background:#fff7e9; }.support-card-grid article.green { background:#edf9f2; }.support-card-grid article.blue { background:#eef5ff; }.support-card-grid b { color:#526b7c; font-size:9px; }.support-card-grid strong { font-size:11px; }.support-card-grid span { color:#667b8b; font-size:9px; }

@media (max-width: 1680px) {
  .project-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
}

@media (max-width: 1599px) {
  .person-card-grid { grid-template-columns:repeat(6,minmax(0,1fr)); }
}

@media (max-width: 1360px) {
  .project-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}

@media (max-width: 1199px) {
  .stats-grid { grid-template-columns:repeat(3,1fr); }
  .project-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .person-card-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .person-merge-steps { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .filters { grid-template-columns:repeat(3,1fr); }
  .filters.advanced { grid-template-columns:repeat(3,1fr); }
  .settings-grid { grid-template-columns:1fr 1fr; }
  .risk-filter { grid-template-columns:repeat(3,1fr); }
  .classification-summary { grid-template-columns:repeat(2,1fr); }
  .date-filter-block { grid-column:span 2; }
  .command-stat-grid { grid-template-columns:repeat(3,1fr); }
  .exec-kpi-grid { grid-template-columns:repeat(3,1fr); }.value-output-panel,.industry-panel,.funnel-panel,.insight-panel,.key-project-panel,.workload-panel,.output-panel,.rank-panel { grid-column:1/13; }.rank-panel { grid-template-columns:1fr 1fr; }.support-card-grid { grid-template-columns:1fr 1fr; }
  .board-kpis { grid-template-columns:repeat(3,1fr); gap:8px; }.board-kpi { border:0; border-radius:10px; background:#f8fafc; }.war-room-layout { grid-template-columns:1fr; }.board-side { position:static; grid-template-columns:1fr 1fr; }.today-module,.plan-module,.waiting-module,.blocker-module { grid-column:span 6; }.workload-module,.heatmap-module { grid-column:span 12; }
}

@media (max-width: 800px) {
  .app-shell { display:block; }
  .sidebar { position:fixed; left:-260px; width:240px; transition:.25s; box-shadow:20px 0 60px rgba(7,23,38,.25); }
  .sidebar.open { left:0; }
  .mobile-only { display:grid !important; place-items:center; }
  .topbar { height:auto; min-height:76px; padding:13px 16px; }
  .topbar h1 { font-size:20px; }
  .date-chip, .save-time { display:none; }
  .backup-button { display:none; }
  .topbar-actions .button { padding:9px 11px; font-size:12px; }
  .page-root { padding:18px 14px 35px; }
  .stats-grid { grid-template-columns:repeat(2,1fr); gap:10px; }
  .stat-card { padding:14px; }
  .stat-value { font-size:24px; }
  .dashboard-grid, .chart-grid, .generator-layout, .image-studio, .io-grid, .command-grid, .team-grid, .settings-grid, .risk-summary { grid-template-columns:1fr; }
  .ai-command-hero { padding:22px; }
  .command-score { width:96px; height:96px; min-width:96px; }
  .command-score strong { font-size:30px; }
  .executive-hero { grid-template-columns:1fr 1fr; }
  .team-metrics { grid-template-columns:repeat(3,1fr); }
  .risk-filter { grid-template-columns:1fr 1fr; }
  .project-grid { grid-template-columns:1fr; }
  .person-card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .people-toolbar { grid-template-columns:1fr 140px; }
  .person-merge-steps { grid-template-columns:1fr; }
  .people-toolbar span { justify-self:start; }
  .duplicate-grid { grid-template-columns:1fr; }
  .filters { grid-template-columns:1fr 1fr; }
  .filters.advanced { grid-template-columns:1fr 1fr; }
  .filters .button { width:100%; }
  .section-head { align-items:flex-start; flex-direction:column; }
  .data-table { min-width:900px; }
  .task-table-wrap { display:none; }
  .mobile-task-list { display:grid; gap:12px; }
  .mobile-task-list-head { display:flex; align-items:center; justify-content:space-between; padding:10px 12px; border:1px solid var(--line); border-radius:11px; background:#fff; color:var(--muted); font-size:12px; }
  .mobile-task-list-head label { display:flex; align-items:center; gap:8px; font-weight:700; color:var(--ink); }
  .mobile-task-card { padding:15px; border:1px solid var(--line); border-radius:14px; background:#fff; box-shadow:0 5px 18px rgba(20,55,78,.06); overflow:hidden; }
  .mobile-task-card.mobile-child-task { margin-left:14px; border-left:3px solid #9ddbd6; }
  .mobile-task-card > header { display:grid; grid-template-columns:auto 1fr; align-items:start; gap:11px; }
  .mobile-task-card > header input { margin-top:4px; width:18px; height:18px; }
  .mobile-task-card > header strong { display:block; color:var(--ink); font-size:15px; line-height:1.45; overflow-wrap:anywhere; }
  .mobile-task-card > header span { display:block; margin-top:5px; color:var(--muted); font-size:12px; }
  .mobile-task-badges { display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin:12px 0; }
  .mobile-task-card dl { display:grid; grid-template-columns:1fr 1fr; gap:9px; margin:0; }
  .mobile-task-card dl > div { padding:9px 10px; border-radius:9px; background:#f5f8fa; min-width:0; }
  .mobile-task-card dl > .wide { grid-column:1 / -1; }
  .mobile-task-card dl > .risk { background:#fff4f2; }
  .mobile-task-card dt { color:#7a8d9c; font-size:10px; }
  .mobile-task-card dd { margin:4px 0 0; color:#294559; font-size:12px; line-height:1.5; overflow-wrap:anywhere; }
  .mobile-task-card > footer { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:13px; }
  .mobile-task-card > footer .button { width:100%; min-height:40px; }
  .mobile-task-card .event-bundle-source { width:100%; margin-top:11px; text-align:center; }
  .generator-controls { position:static; }
  .canvas-wrap { min-height:420px; padding:12px; }
  .project-check-grid { grid-template-columns:1fr 1fr; }
  .ocr-review-card { grid-template-columns:1fr; }.image-import-panel { align-items:flex-start; flex-direction:column; }
  .classification-row { grid-template-columns:auto 1fr; }.classification-row .row-actions { grid-column:2; justify-content:flex-start; }.project-classification-strip { align-items:flex-start; flex-direction:column; }
  .date-filter-block { grid-template-columns:1fr; }.date-filter-block small { grid-column:1; }.bulk-bar .button { flex:1 1 auto; }
  .project-command-body { grid-template-columns:1fr; }.followup-command-row { align-items:flex-start; flex-direction:column; }.followup-command-row .row-actions { width:100%; }.followup-command-row .row-actions .button { flex:1; min-height:42px; }
  .exec-dashboard-header { flex-direction:column; }.exec-dashboard-actions { flex-wrap:wrap; }.exec-kpi-grid { grid-template-columns:repeat(2,1fr); }.industry-panel,.funnel-panel,.key-project-panel,.value-output-panel,.insight-panel,.workload-panel,.output-panel,.rank-panel { grid-column:1/13; }.rank-panel { grid-template-columns:1fr; }.workload-layout { grid-template-columns:1fr; }.weekly-overview { flex-wrap:wrap; }.value-donut-layout { grid-template-columns:1fr; justify-items:center; }
  .board-kpis { grid-template-columns:repeat(2,1fr); }.war-room-main { grid-template-columns:1fr; }.today-module,.plan-module,.waiting-module,.blocker-module,.workload-module,.heatmap-module { grid-column:1; min-height:0; }.board-side { grid-template-columns:1fr; }.board-workload-head,.board-workload > button { min-width:650px; }.board-workload { overflow:auto; }.load-legend { flex-wrap:wrap; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns:1fr 1fr; }
  .filters { grid-template-columns:1fr; }
  .filters.advanced { grid-template-columns:1fr; }
  .form-grid { grid-template-columns:1fr; }
  .form-grid .span-2 { grid-column:span 1; }
  .project-check-grid { grid-template-columns:1fr; }
  .ai-draft-grid { grid-template-columns:1fr; }
  .ai-draft-grid .span-2 { grid-column:span 1; }
  .topbar-actions .button.primary { padding:9px 11px; }
  .ai-today-strip,.ai-command-hero { align-items:flex-start; flex-direction:column; }
  .command-score { border-radius:14px; width:100%; height:auto; min-height:80px; }
  .executive-hero { grid-template-columns:1fr 1fr; }
  .risk-filter { grid-template-columns:1fr; }
  .image-upload-inline,.ai-image-entry { align-items:flex-start; flex-direction:column; }.ocr-flow { align-items:flex-start; flex-wrap:wrap; justify-content:flex-start; }.ocr-modal .modal-actions { flex-wrap:wrap; }
  .split-mode-picker label { grid-template-columns:auto 1fr; }.split-mode-picker small { grid-column:2; }
  .timeline-group { grid-template-columns:50px 1fr; gap:9px; }
  .timeline::before { left:24px; }
  .timeline-item { grid-template-columns:auto 1fr; }
  .timeline-item time { grid-column:2; }
  .classification-dashboard { align-items:flex-start; flex-direction:column; }.classification-summary { grid-template-columns:1fr 1fr; }.quick-project-note { grid-column:span 1; }
  .date-filter-block { grid-column:span 1; }.date-quick-actions { grid-template-columns:repeat(4,1fr); }.bulk-bar .button { width:100%; }
  .person-card-grid,.people-toolbar { grid-template-columns:1fr; }
  .person-merge-steps { grid-template-columns:1fr; }
  .command-stat-grid { grid-template-columns:1fr 1fr; }.project-command-head { flex-direction:column; }.project-command-head .button { width:100%; min-height:44px; }.followup-command-row .row-actions { display:grid; grid-template-columns:1fr; }.followup-command-row .row-actions .button { width:100%; }
  .board-kpis { grid-template-columns:1fr 1fr; padding:8px; gap:6px; }.board-kpi { min-height:68px; padding:8px; }.board-kpi > span { width:34px; height:34px; font-size:16px; }.board-kpi strong { font-size:20px; }.board-module { padding:13px; }.heat-head,.heat-row { min-width:680px; grid-template-columns:110px 58px repeat(7,48px) 64px; gap:7px; }.heat-row i { height:24px; font-size:12px; }.section-actions .version-tag { display:none; }
}
/* 团队任务卡 */
.task-card-updated{align-self:center;color:#718197;font-size:13px;white-space:nowrap}.team-task-card-page{display:grid;gap:18px}.task-card-kpis{display:grid;grid-template-columns:repeat(5,1fr);background:#fff;border:1px solid #dce7ef;border-radius:18px;box-shadow:0 8px 24px #17324d0a;overflow:hidden}.task-card-kpis>div{min-height:116px;padding:22px 24px;display:grid;grid-template-columns:48px 1fr;grid-template-rows:auto auto;align-items:center;border-right:1px solid #e7eef4}.task-card-kpis>div:last-child{border:0}.task-card-kpis>div>span{grid-row:1/3;width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:#e8f1ff;color:#2f80ed;font-weight:800;font-size:22px}.task-card-kpis small{color:#64758a;font-weight:600}.task-card-kpis b{font-size:29px;color:#10263d}.task-card-kpis b i{font-style:normal;font-size:13px;margin-left:7px;color:#718197}.task-card-kpis .danger>span{background:#feecee;color:#ef4444}.task-card-kpis .warning>span{background:#fff4df;color:#f59e0b}.task-card-kpis .success>span{background:#e9f8ef;color:#22a95a}.task-card-filters{display:grid;grid-template-columns:1.7fr repeat(4,1fr);gap:12px;padding:14px;background:#fff;border:1px solid #dce7ef;border-radius:15px}.task-card-filters input,.task-card-filters select{min-width:0;height:44px;border:1px solid #d7e2eb;border-radius:10px;padding:0 13px;background:#fff;color:#253b52}.task-card-search{font-weight:700}.team-member-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(292px,1fr));gap:16px;align-items:start}.team-member-task-card{background:#fff;border:1px solid #dce7ef;border-radius:17px;padding:17px;box-shadow:0 7px 22px #16324b0a;min-width:0}.team-member-task-card>header{display:flex;align-items:center;gap:12px;margin-bottom:14px}.member-avatar{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#24b4b5,#2f80ed);color:#fff;font-size:19px;font-weight:800;flex:0 0 auto}.team-member-task-card h3{margin:0;color:#10263d;font-size:17px}.team-member-task-card header span{display:block;color:#7a899b;font-size:12px;margin-top:3px}.member-card-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-bottom:14px}.member-card-metrics>div{padding:9px 4px;border-radius:9px;background:#f5f8fb;text-align:center}.member-card-metrics b{display:block;color:#17324d;font-size:18px}.member-card-metrics span{display:block;color:#748499;font-size:10px;margin-top:3px;white-space:nowrap}.member-card-metrics .risk b{color:#ef4444}.member-task-list{display:grid;gap:10px}.member-task-item{border:1px solid #e5edf3;border-radius:12px;padding:11px;background:#fbfcfd}.member-task-title{display:flex;gap:8px;align-items:flex-start;margin-bottom:9px}.member-task-title>b{width:21px;height:21px;border-radius:50%;display:grid;place-items:center;background:#168db3;color:#fff;font-size:11px;flex:0 0 auto}.member-task-title strong{font-size:13px;line-height:1.45;color:#17324d;overflow-wrap:anywhere}.member-task-item dl{margin:0;display:grid;gap:6px}.member-task-item dl>div{display:grid;grid-template-columns:58px 1fr;gap:5px;font-size:11px;line-height:1.45}.member-task-item dt{color:#8290a2}.member-task-item dd{margin:0;color:#40546a;overflow-wrap:anywhere}.member-task-item dd.overdue{color:#ef4444;font-weight:700}.task-card-value{display:inline-block;padding:2px 6px;border-radius:7px;background:#e9f8f3;color:#118b6c;font-weight:700}.member-expand{display:block;width:100%;border:0;background:transparent;color:#168db3;padding:11px 0 0;cursor:pointer}.team-member-task-card>footer{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}.team-member-task-card>footer .button{padding:9px 5px;font-size:12px}.team-member-card-grid>.empty-state{grid-column:1/-1}
@media(max-width:1100px){.task-card-kpis{grid-template-columns:repeat(2,1fr)}.task-card-kpis>div{border-bottom:1px solid #e7eef4}.task-card-filters{grid-template-columns:repeat(3,1fr)}}
@media(max-width:640px){.task-card-updated{width:100%}.task-card-kpis{grid-template-columns:1fr 1fr}.task-card-kpis>div{min-height:90px;padding:13px 10px;grid-template-columns:37px 1fr}.task-card-kpis>div>span{width:32px;height:32px;font-size:16px;border-radius:10px}.task-card-kpis b{font-size:22px}.task-card-filters{grid-template-columns:1fr 1fr;padding:10px;gap:8px}.team-member-card-grid{grid-template-columns:1fr}.team-member-task-card{padding:14px}.member-task-item dl>div{grid-template-columns:62px 1fr}}
@media(max-width:640px){
  #taskModal{padding:7px;align-items:center}
  .task-modal{width:100%;max-height:96dvh;border-radius:15px}
  .task-modal .modal-header{padding:12px 14px 9px;position:sticky;top:0;z-index:4;background:#fff}
  .task-modal .modal-header h2{font-size:18px}.task-modal .modal-header .eyebrow{font-size:9px}
  .task-modal .icon-button{width:36px;height:36px}
  .task-modal #taskForm,.task-modal .form-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px 8px;padding:10px 13px 13px}
  .task-modal .form-grid .span-2{grid-column:1/-1}
  .task-modal .form-grid label{gap:3px;font-size:10px;min-width:0}
  .task-modal .form-grid input,.task-modal .form-grid select,.task-modal .form-grid textarea{min-width:0;border-radius:7px;padding:6px 8px;font-size:12px;line-height:1.35;background:#fff}
  .task-modal .form-grid input,.task-modal .form-grid select{height:36px}
  .task-modal .task-title-field textarea,.task-modal .task-next-action-field textarea,.task-modal [name="riskNote"]{height:46px;min-height:46px;max-height:64px}
  .task-modal .task-description-field textarea{height:70px;min-height:70px;max-height:92px;line-height:1.45}
  .task-modal .task-title-field textarea{font-size:13px}
  .task-modal .task-more-fields>summary{padding:8px 10px;font-size:10px}
  .task-modal .task-more-fields>.optional-task-fields{padding:9px}
  .task-modal>form>.modal-actions{grid-column:1/-1;margin:0 -13px -13px;padding:9px 13px;gap:7px}
  .task-modal .modal-actions .button{min-height:38px;padding:7px 13px}
}

.task-description-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:-2px;padding:7px 10px;border-radius:9px;background:#f3f8fb;color:#74879a;font-size:11px}
.task-description-tools span{min-width:0;line-height:1.45}
.task-description-tools .button{flex:0 0 auto;padding:6px 10px;min-height:31px}
@media(max-width:640px){
  .task-description-tools{padding:6px 8px;gap:7px;font-size:9px}
  .task-description-tools .button{padding:5px 8px;min-height:29px;font-size:10px}
}
