/* 目标与项目：独立命名空间，避免影响客户档案、任务中心和后台样式。 */
.goals-projects-pane{padding:24px;background:#f5f7fb;overflow:auto}.gp-page{max-width:1480px;margin:0 auto}.gp-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}.gp-head h1{margin:0 0 5px;font-size:26px;color:#182235}.gp-head p{margin:0;color:#778196}.gp-head-actions{display:flex;gap:8px}.gp-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border:1px solid #e7eaf0;border-radius:14px;padding:8px 10px;margin-bottom:16px;box-shadow:0 4px 16px rgba(27,39,70,.04)}.gp-tabs{display:flex;gap:4px}.gp-tabs button,.gp-detail-tabs button{border:0;background:transparent;color:#657087;padding:9px 15px;border-radius:9px;cursor:pointer;font-weight:600}.gp-tabs button.active,.gp-detail-tabs button.active{background:#eef4ff;color:var(--brand)}.gp-filters select{min-width:240px;border-color:#e3e7ee;background:#fafbfd}.gp-summary{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:12px;margin-bottom:16px}.gp-summary>div{background:#fff;border:1px solid #e7eaf0;border-radius:14px;padding:16px 18px;display:flex;flex-direction:column;gap:5px;box-shadow:0 4px 16px rgba(27,39,70,.035)}.gp-summary span{font-size:13px;color:#7b8495}.gp-summary b{font-size:26px;color:#1d2b44}.gp-summary .risk{border-color:#ffd7d4;background:#fffafa}.gp-summary .risk b{color:var(--danger)}
.gp-objective-list{display:grid;gap:14px}.gp-objective-card{background:#fff;border:1px solid #e5e9f0;border-radius:16px;padding:20px;box-shadow:0 5px 18px rgba(27,39,70,.04)}.gp-objective-card.has-risk{border-left:4px solid #ed6b61}.gp-o-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.gp-o-head h3{font-size:19px;margin:9px 0 5px;color:#1c2a42}.gp-o-head p{margin:0;color:#778196;line-height:1.55}.gp-o-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:12px;color:#7c8799}.gp-level{padding:3px 8px;border-radius:99px;background:#eef4ff;color:#3567ae;font-weight:700}.gp-status{display:inline-flex;padding:3px 8px;border-radius:99px;background:#f0f2f5;color:#6f7888;font-size:12px;font-weight:700;white-space:nowrap}.gp-status.ok{background:#eaf8f0;color:#228653}.gp-status.danger{background:#fff0ef;color:#c8473e}.gp-status.warning{background:#fff6e6;color:#a26708}.gp-status.done{background:#edf2ff;color:#496bb0}.gp-progress-ring{--p:0;width:82px;height:82px;border-radius:50%;background:conic-gradient(var(--brand) calc(var(--p)*1%),#edf0f5 0);display:grid;place-content:center;position:relative;flex:0 0 82px;text-align:center}.gp-progress-ring:after{content:"";position:absolute;inset:7px;border-radius:50%;background:#fff}.gp-progress-ring b,.gp-progress-ring span{position:relative;z-index:1}.gp-progress-ring b{font-size:18px;color:#263653}.gp-progress-ring span{font-size:10px;color:#8a93a2}.gp-kr-list{display:grid;gap:9px;margin-top:16px}.gp-kr{background:#fafbfd;border:1px solid #edf0f4;border-radius:12px;padding:13px 14px}.gp-kr.has-risk{background:#fffafa;border-color:#ffd9d6}.gp-kr-main,.gp-kr-foot{display:flex;align-items:center;justify-content:space-between;gap:14px}.gp-kr-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.gp-kr-title b{font-size:14px;color:#27344c}.gp-kr-title>span{font-size:11px;background:#eef1f5;color:#7d8797;border-radius:6px;padding:3px 6px}.gp-risk-tag{background:#fff0ef!important;color:#c8473e!important}.gp-kr-values{white-space:nowrap}.gp-kr-values strong{font-size:15px;color:#263653}.gp-kr-values span,.gp-kr-foot{font-size:12px;color:#818b9b}.gp-bar{height:7px;border-radius:99px;background:#e9edf3;overflow:hidden;margin:10px 0 8px}.gp-bar.big{height:9px;margin:13px 0 8px}.gp-bar i,.gp-mini-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#4f7fc7,#65b99a)}.gp-auto{color:#378763}.gp-card-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.gp-no-kr,.gp-no-task{padding:22px;text-align:center;color:#8a93a2;background:#fafbfd;border:1px dashed #d9dee7;border-radius:12px}.gp-empty{grid-column:1/-1;min-height:220px;background:#fff;border:1px dashed #d8dde6;border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#8a93a2}.gp-empty b{font-size:17px;color:#4d5b72}
.gp-project-grid{display:grid;grid-template-columns:repeat(3,minmax(260px,1fr));gap:14px}.gp-project-card{appearance:none;text-align:left;background:#fff;border:1px solid #e5e9f0;border-radius:16px;padding:18px;cursor:pointer;box-shadow:0 4px 16px rgba(27,39,70,.04);transition:.16s}.gp-project-card:hover{transform:translateY(-2px);border-color:#b9cbe6;box-shadow:0 8px 22px rgba(27,55,95,.09)}.gp-project-card.overdue{border-left:4px solid #e7655b}.gp-p-top{display:flex;align-items:center;gap:7px}.gp-p-owner{margin-left:auto;color:#7d8798;font-size:12px}.gp-overdue{font-size:11px;color:#c8473e;background:#fff0ef;border-radius:99px;padding:3px 7px;font-weight:700}.gp-project-card h3{margin:13px 0 6px;font-size:17px;color:#1f2d45}.gp-project-card p{height:40px;overflow:hidden;margin:0;color:#7b8495;font-size:13px;line-height:1.55}.gp-p-dates{display:flex;align-items:center;gap:8px;margin-top:15px;color:#788399;font-size:12px}.gp-p-dates i{height:1px;background:#dce1e8;flex:1}.gp-p-foot{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#7f8998}.gp-p-foot b{font-size:15px;color:#2d4262}.gp-link{margin-top:12px;padding-top:10px;border-top:1px solid #eef0f4;font-size:12px;color:#617fa8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gp-project-detail{background:#fff;border:1px solid #e5e9f0;border-radius:16px;padding:20px;min-height:560px}.gp-back{margin-bottom:13px}.gp-detail-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.gp-detail-head h2{margin:8px 0 5px;font-size:23px;color:#1d2b43}.gp-detail-head p{margin:0;color:#7c8697}.gp-detail-actions{display:flex;justify-content:flex-end;gap:8px;margin:14px 0 8px}.gp-detail-tabs{display:flex;border-bottom:1px solid #e8ebf0;margin-bottom:16px}.gp-detail-tabs button{border-radius:8px 8px 0 0}.gp-overview-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.gp-info-card{border:1px solid #e7eaf0;border-radius:13px;padding:17px;display:flex;flex-direction:column;gap:7px}.gp-info-card h4{margin:0;color:#778196;font-size:13px}.gp-info-card b{font-size:17px;color:#263550}.gp-info-card span{font-size:12px;color:#8a93a2}.gp-task-table{border:1px solid #e5e9f0;border-radius:12px;overflow:hidden}.gp-task-row{display:grid;grid-template-columns:minmax(260px,2fr) 120px 145px minmax(100px,.8fr) 90px 150px;align-items:center;gap:10px;min-height:64px;padding:8px 13px;border-bottom:1px solid #edf0f4;font-size:13px}.gp-task-row:last-child{border-bottom:0}.gp-task-row.head{min-height:42px;background:#f7f9fc;color:#778196;font-size:12px;font-weight:700}.gp-task-row.blocked{background:#fffafa}.gp-task-row>span{min-width:0}.gp-task-row small{display:block;color:#8a93a2;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gp-task-name{display:flex;flex-direction:column}.gp-row-actions{display:flex;gap:5px;justify-content:flex-end}.gp-mini-progress{width:90px;height:6px;border-radius:99px;background:#e8ecf2;overflow:hidden}.gp-diamond{width:9px;height:9px;background:#e49c35;transform:rotate(45deg);display:inline-block;margin-right:8px}.gp-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.gp-form-grid label,.gp-form-grid .gp-field{display:flex;flex-direction:column;gap:6px;color:#657087;font-size:13px}.gp-form-grid .wide{grid-column:1/-1}.gp-form-grid input,.gp-form-grid select,.gp-form-grid textarea{width:100%;box-sizing:border-box}.gp-form-grid textarea{min-height:90px}.gp-form-note{background:#f6f8fb;border-radius:10px;padding:12px;display:flex;justify-content:space-between;color:#6f7a8d}.gp-member-picks{display:flex;gap:7px;flex-wrap:wrap;border:1px solid #e1e5eb;border-radius:9px;padding:9px;max-height:130px;overflow:auto}.gp-member-picks label{display:flex;flex-direction:row;align-items:center;gap:5px;background:#f5f7fa;border-radius:7px;padding:5px 8px}.gp-member-picks input{width:auto}.gp-modal .mbody{overflow:auto;max-height:76vh}
.gp-member-picker{border:1px solid #dfe4ec;border-radius:11px;background:#fafbfd;overflow:hidden}.gp-member-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;border-bottom:1px solid #e6e9ef;background:#fff}.gp-member-search{flex:1;display:flex!important;flex-direction:row!important;align-items:center;gap:7px!important;min-width:180px;border:1px solid #dfe4ec;border-radius:8px;padding:0 9px;background:#fafbfd}.gp-member-search>span{font-size:18px;color:#8791a2}.gp-form-grid .gp-member-search input{border:0;background:transparent;padding:8px 0;outline:0;box-shadow:none}.gp-member-tools{display:flex;align-items:center;gap:9px;white-space:nowrap}.gp-member-tools>span{font-size:12px;color:#55749e;font-weight:700}.gp-member-groups{max-height:270px;overflow:auto;padding:9px;display:grid;gap:8px}.gp-member-group{border:1px solid #e2e6ec;border-radius:9px;background:#fff;overflow:hidden}.gp-member-group-head{display:flex;align-items:center;justify-content:space-between;min-height:42px;padding:0 10px;background:#f5f7fa}.gp-member-group-head>button{display:flex;align-items:center;gap:8px;flex:1;border:0;background:transparent;padding:9px 0;text-align:left;color:#33445f;cursor:pointer}.gp-member-group-head>button i{font-style:normal;font-size:20px;line-height:1;transform:rotate(90deg);transition:.15s;color:#75839a}.gp-member-group.collapsed .gp-member-group-head>button i{transform:none}.gp-member-group-head>button span{font-size:12px;color:#8a94a4;font-weight:400}.gp-form-grid .gp-member-group-head>label{display:flex;flex-direction:row;align-items:center;gap:5px;color:#647189;font-size:12px;cursor:pointer}.gp-form-grid .gp-member-group-head input,.gp-form-grid .gp-member-people input{width:auto;flex:0 0 auto}.gp-member-people{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:9px;border-top:1px solid #edf0f4}.gp-member-group.collapsed .gp-member-people{display:none}.gp-form-grid .gp-member-people>label{display:flex;flex-direction:row;align-items:center;gap:8px;min-width:0;padding:8px;border:1px solid #edf0f4;border-radius:8px;background:#fff;cursor:pointer}.gp-member-people>label:hover{border-color:#b9cce6;background:#f6f9ff}.gp-member-people>label:has(input:checked){border-color:#a9c3e8;background:#eef5ff}.gp-member-people>label>span{min-width:0;display:flex;flex-direction:column}.gp-member-people b{font-size:13px;color:#34435b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gp-member-people small{font-size:11px;color:#8a94a4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gp-member-empty{padding:24px;text-align:center;color:#8b95a5}.gp-member-empty[hidden],.gp-member-group[hidden],.gp-member-people>label[hidden]{display:none}
.gp-danger-button{color:#bd3f38!important;border-color:#efc3c0!important}.gp-danger-button:hover{background:#fff1f0!important;border-color:#df716a!important}.gp-delete-warning{padding:14px 16px;margin-bottom:15px;border:1px solid #f0c5c2;border-radius:10px;background:#fff5f4;color:#7d3430}.gp-delete-warning b{color:#b63d36}.gp-delete-warning p{margin:7px 0 0;line-height:1.65;color:#7b5552}.gp-delete-confirm{border:1px solid #c94840;background:#c94840;color:#fff;padding:9px 15px;border-radius:8px;cursor:pointer}.gp-delete-confirm:hover{background:#b53d36}
.gp-update-list{display:grid;gap:0;max-width:900px}.gp-update{display:grid;grid-template-columns:18px 1fr;gap:12px;position:relative;padding-bottom:18px}.gp-update:before{content:"";position:absolute;left:5px;top:14px;bottom:0;width:1px;background:#dce2ea}.gp-update:last-child:before{display:none}.gp-update>i{width:11px;height:11px;margin-top:5px;border-radius:50%;background:#58a77e;position:relative;z-index:1}.gp-update>i.risk{background:#e5a13b}.gp-update>i.critical{background:#df6258}.gp-update>div{border:1px solid #e8ebf0;border-radius:11px;padding:12px}.gp-update>div>div{display:flex;align-items:center;gap:10px}.gp-update span{color:#8b94a2;font-size:12px}.gp-update strong{margin-left:auto;color:#3b608f}.gp-update p{margin:8px 0 0;color:#566276;line-height:1.6;white-space:pre-wrap}
.gp-gantt-help{font-size:12px;color:#7e8898;margin:0 0 9px}.gp-gantt{overflow:auto;border:1px solid #e3e7ed;border-radius:12px;background:#fff;position:relative}.gp-gantt-header,.gp-gantt-row{display:grid;grid-template-columns:300px max-content;min-width:max-content}.gp-gantt-header{height:44px;position:sticky;top:0;z-index:8;background:#f7f9fc;border-bottom:1px solid #e4e8ee}.gp-gantt-header>div:first-child{position:sticky;left:0;z-index:9;background:#f7f9fc;padding:13px;font-size:12px;font-weight:700;color:#738096;border-right:1px solid #e4e8ee}.gp-gantt-header>div:last-child{position:relative}.gp-gantt-row{height:52px;border-bottom:1px solid #edf0f4}.gp-gantt-name{position:sticky;left:0;z-index:5;background:#fff;border-right:1px solid #e4e8ee;padding:9px 12px;display:flex;flex-direction:column;justify-content:center}.gp-gantt-name b{font-size:13px;color:#2b3850;max-width:270px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gp-gantt-name span{font-size:11px;color:#8b94a2;margin-top:3px}.gp-gantt-track{position:relative;background:repeating-linear-gradient(90deg,#fff 0,#fff calc(var(--day-w,28px) - 1px),#f1f3f6 var(--day-w,28px))}.gp-gantt-track>span,.gp-gantt-header>div:last-child>span{position:absolute;top:0;bottom:0;border-right:1px solid #f0f2f5;font-size:10px;color:#9199a6;padding:5px 2px;box-sizing:border-box}.gp-gantt-track>span.today,.gp-gantt-header span.today{background:rgba(69,118,184,.07);border-left:2px solid rgba(69,118,184,.4)}.gp-gantt-bar{position:absolute;top:12px;height:28px;border:0;border-radius:7px;background:#6d92c9;color:#fff;overflow:hidden;cursor:pointer;min-width:12px;padding:0 7px;text-align:left;box-shadow:0 2px 6px rgba(48,83,131,.18)}.gp-gantt-bar.project{top:10px;height:31px}.gp-gantt-bar.task{cursor:grab}.gp-gantt-bar.task.dragging{cursor:grabbing;opacity:.8;z-index:10}.gp-gantt-bar.risk{background:#dc7169}.gp-gantt-bar>i{position:absolute;inset:0 auto 0 0;background:rgba(19,61,112,.25)}.gp-gantt-bar>span{position:relative;z-index:1;font-size:11px;white-space:nowrap}.gp-gantt-bar .resize{position:absolute;top:0;bottom:0;width:7px;z-index:3;cursor:ew-resize}.gp-gantt-bar .resize.start{left:0}.gp-gantt-bar .resize.end{right:0}.gp-gantt-milestone{position:absolute;top:18px;width:16px;height:16px;border:0;background:#e69b35;transform:rotate(45deg);cursor:pointer;z-index:3}.gp-gantt-body{position:relative}.gp-dependency-svg{position:absolute;top:0;z-index:4;pointer-events:none;overflow:visible}.gp-dependency-svg path{fill:none;stroke:#9aa7ba;stroke-width:1.5;stroke-dasharray:3 2}
@media(max-width:980px){.goals-projects-pane{padding:14px}.gp-summary{grid-template-columns:repeat(2,1fr)}.gp-project-grid{grid-template-columns:repeat(2,1fr)}.gp-task-row{grid-template-columns:minmax(220px,2fr) 100px 130px 90px 80px 125px;min-width:850px}.gp-task-table{overflow:auto}.gp-head{align-items:center}.gp-toolbar{align-items:flex-start;flex-direction:column}.gp-filters{width:100%}.gp-filters select{width:100%}}
@media(max-width:640px){.gp-head{flex-direction:column}.gp-head-actions{width:100%}.gp-head-actions button{width:100%}.gp-tabs{width:100%;overflow:auto}.gp-tabs button{white-space:nowrap}.gp-summary{grid-template-columns:1fr 1fr}.gp-project-grid,.gp-overview-grid{grid-template-columns:1fr}.gp-o-head,.gp-detail-head{flex-direction:column}.gp-progress-ring{align-self:flex-end}.gp-kr-main,.gp-kr-foot{align-items:flex-start}.gp-form-grid{grid-template-columns:1fr}.gp-form-grid .wide{grid-column:auto}.gp-project-detail{padding:14px}.gp-detail-actions{justify-content:flex-start;flex-wrap:wrap}.gp-gantt-header,.gp-gantt-row{grid-template-columns:220px max-content}.gp-gantt-name b{max-width:195px}.gp-dependency-svg{left:220px!important}.gp-member-toolbar{align-items:stretch;flex-direction:column}.gp-member-tools{justify-content:space-between}.gp-member-people{grid-template-columns:1fr}.gp-member-group-head{align-items:flex-start}.gp-member-group-head>label{padding:12px 0}}

/* 2026-08-25 极简目标管理：专业 OKR 能力留在底层，前台只呈现目标、负责人、完成标准和困难。 */
.gp-page{max-width:1240px}.gp-head h1{font-size:28px}.gp-head p{font-size:14px;color:#667287}.gp-simple-label{margin-top:18px;font-size:12px;font-weight:700;color:#7b8495}.gp-simple-tip{padding:14px 16px;border-radius:11px;background:#f2f7ff;border:1px solid #dce9fb;display:flex!important;gap:5px!important}.gp-simple-tip b{font-size:15px;color:#294b79}.gp-simple-tip span{font-size:12px;color:#6c7d94}.gp-auto-value{min-height:42px;display:flex;align-items:center;padding:0 12px;border-radius:8px;background:#f5f8fc;color:#2e5e91;font-size:18px}.gp-simple-section{margin-top:16px;padding:18px;background:#fff;border:1px solid #e5e9f0;border-radius:16px;box-shadow:0 4px 16px rgba(27,39,70,.035)}.gp-simple-section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.gp-simple-section-head h3{margin:0 0 3px;font-size:18px;color:#26344c}.gp-simple-section-head p{margin:0;font-size:12px;color:#8992a1}.gp-simple-task-list{display:grid;gap:8px}.gp-simple-task{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 14px;border:1px solid #e8ebf0;border-radius:11px;background:#fbfcfe}.gp-simple-task.has-risk{border-left:4px solid #e16a60;background:#fffafa}.gp-simple-task>div:first-child{display:flex;flex-direction:column;gap:4px;min-width:0}.gp-simple-task>div:first-child b{color:#2a3850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gp-simple-task>div:first-child span{font-size:12px;color:#818b9b}.gp-simple-task>div:last-child{display:flex;align-items:center;gap:7px;flex:0 0 auto}.gp-objective-card{padding:22px}.gp-objective-card .gp-kr{padding:15px}.gp-objective-card .gp-card-actions{border-top:1px solid #eef1f5;padding-top:12px}.gp-objective-card .gp-o-meta .gp-overdue{padding:3px 8px}
.gp-goal-type-toggle{flex-direction:row!important;align-items:center;gap:12px!important;padding:13px 14px;border:1px solid #dfe5ee;border-radius:10px;background:#fafbfd;cursor:pointer}.gp-goal-type-toggle input{width:auto!important;flex:0 0 auto}.gp-goal-type-toggle>span{display:flex;flex-direction:column;gap:3px}.gp-goal-type-toggle b{color:#34445d;font-size:14px}.gp-goal-type-toggle small{color:#8791a2;font-size:12px}.gp-numeric-only[hidden]{display:none!important}.gp-data-help{padding:10px 12px;border-radius:9px;background:#f6f8fb;color:#6d788a;font-size:12px;line-height:1.55}.gp-progress-ring b{max-width:66px;line-height:1.05}
@media(max-width:640px){.gp-simple-section{padding:13px}.gp-simple-task{align-items:flex-start;flex-direction:column}.gp-simple-task>div:last-child{width:100%;flex-wrap:wrap}.gp-simple-task>div:last-child button{flex:1}.gp-simple-tip{grid-column:auto!important}.gp-objective-card{padding:16px}.gp-objective-card .gp-progress-ring{width:72px;height:72px;flex-basis:72px}}
