.workspace-subnav{display:flex;gap:8px;flex-wrap:wrap;margin:4px 0 20px;border-bottom:1px solid #e1e7f1;padding-bottom:12px}.workspace-subnav button{border:0;background:transparent;color:#657790;padding:10px 16px}.workspace-subnav button.on{background:#ffeaed;color:#d43650;font-weight:700}.goal-inputs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0 16px}.goal-toolbar{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.goal-label{font-size:11px;color:#947343;background:#fff8e9;border-radius:4px;padding:5px 8px;font-weight:400}.goal-search{max-width:300px;margin-bottom:16px}.goal-planner td input{width:155px;min-width:120px;padding:9px}.goal-planner details summary,.legacy-targets>summary{cursor:pointer;color:#536d95;font-size:13px;padding:12px 0}.legacy-targets{margin:22px 0}.goal-save{border-top:1px solid #e5ebf3;margin-top:28px;padding-top:22px;display:flex;gap:15px;align-items:end;flex-wrap:wrap}.goal-save label{flex:1;min-width:220px}.goal-save p{width:100%}.goal-planner h3{margin-top:28px}.goal-ad-details table{font-size:11px}.goal-ad-details{margin-top:15px}#overviewTargetSummary{border:0;background:transparent;padding:0 0 8px;margin-bottom:0}#overviewTargetSummary p{margin-top:0}#overviewTargetSummary strong{display:none}#overviewTargetSummary>div{max-width:75%}body[data-view=cohorts] #filters label:has(#basis),body[data-view=cohorts] #filters label:has(#spend_basis),body[data-view=cohorts] #filters label:has(#grain),body[data-view=cohorts] #filters label:has(#compare_mode),body[data-view=targets] #filters label:has(#basis){display:none}.tabs button{min-height:48px}.goal-planner #goalCopyFallback{width:100%;margin-top:20px}.goal-planner .ops-cards strong{font-size:23px}@media(max-width:850px){.goal-inputs{grid-template-columns:1fr}.workspace-subnav{gap:3px}.workspace-subnav button{padding:9px 11px}#overviewTargetSummary>div{max-width:100%}.goal-save{align-items:stretch;flex-direction:column}.goal-save label{min-width:0}.goal-toolbar>button{flex:1 1 180px}}
.filter-advanced{align-self:end;position:relative}.filter-advanced>summary{cursor:pointer;color:#63799a;font-size:12px;min-height:40px;padding:11px 8px}.filter-advanced>div{position:absolute;right:0;top:44px;z-index:10;display:grid;gap:12px;min-width:230px;padding:18px;border:1px solid #e1e7f1;border-radius:10px;background:white;box-shadow:0 12px 30px #243c6014}body[data-view=targets] .filter-advanced,body[data-view=cohorts] .filter-advanced{display:none}#filters{grid-template-columns:repeat(6,minmax(0,1fr))}.weekly-target-reference{margin:20px 0}.weekly-target-reference>summary{cursor:pointer;font-size:13px;color:#63799a;padding:12px 0}#advisorDecision,#advisorSummary{display:none}@media(max-width:850px){#filters{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-advanced>div{right:auto;left:0}}@media(max-width:450px){#filters{grid-template-columns:repeat(2,minmax(0,1fr))}.goal-planner .ops-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.goal-planner .ops-cards article{padding:12px}.goal-planner .ops-cards strong{font-size:20px}}
.goal-project-detail{max-width:370px;min-width:140px;white-space:normal}.goal-project-detail summary{font-weight:600;padding:6px 0!important;overflow-wrap:anywhere}.goal-project-detail ul{padding:6px 0 6px 15px;list-style:disc;line-height:1.8}.goal-project-detail li{margin:10px 0;overflow-wrap:anywhere}.goal-project-detail li span{display:block;color:#78889e;font-size:11px}.goal-receipt-bridge{margin:24px 0;padding:18px;border:1px solid #e0e7f1;border-radius:8px;background:#fffafb;font-size:12px;line-height:1.9}.goal-receipt-bridge>p{margin:10px 0;color:#647690}.goal-receipt-bridge details{margin-top:15px}.goal-receipt-bridge [data-receipt-name]{display:block;max-width:380px;white-space:normal;overflow-wrap:anywhere}
.goal-planner td{vertical-align:top}.goal-project-detail summary{min-height:44px}.goal-project-detail[open] ul{max-height:280px;overflow:auto;padding-right:8px}
.goal-other-projects{min-width:150px;max-width:680px;white-space:normal}.goal-other-projects>summary{cursor:pointer;min-height:44px;padding:8px 0;color:#526986;font-weight:600}.goal-other-projects[open]{min-width:280px}.goal-other-projects .table-scroll{max-width:650px;max-height:430px;overflow:auto}.goal-other-projects td{font-size:11px}.goal-other-projects .goal-project-detail{min-width:140px}
.goal-readiness{margin:24px 0}.goal-capacity-summary{background:#fcf2f4;border:1px solid #f3dfe2;padding:16px;line-height:1.9;border-radius:8px;font-size:13px}.goal-legacy-allocation{margin:24px 0;border-top:1px solid #e1e7f1;padding-top:10px}.goal-legacy-allocation>summary,.goal-readiness-method>summary{cursor:pointer;min-height:44px;padding:12px 0;color:#617590;font-size:13px}.goal-readiness-group [data-readiness-project]{display:block;min-width:100px;white-space:normal}.goal-readiness-method{margin-top:18px}
/* Home has fixed Beijing yesterday/MTD scope; other pages retain date controls. */
body[data-view="overview"] #overviewTargetSummary{display:none}body[data-view="overview"] #filters label:has(#start),body[data-view="overview"] #filters label:has(#end),body[data-view="overview"] #filters label:has(#grain),body[data-view="overview"] #filters .period-shortcuts{display:none}

.core-plan{margin:28px 0;padding:20px;border:1px solid #f7dce0;border-radius:12px;background:#fffbfc}.core-plan h3{margin-top:0}.core-source{display:block;margin-top:7px;color:#7b8ba5}.core-details,.core-history,.core-method{margin:18px 0}.core-details>summary,.core-history>summary,.core-method>summary{min-height:44px;cursor:pointer;font-weight:600}.core-plan .table-scroll{max-width:100%;overflow:auto}.core-plan table{min-width:980px}.core-plan td:first-child,.core-plan th:first-child{position:sticky;left:0;background:#fffbfc;z-index:1}.core-plan th:first-child{background:#fcf4f5}.core-confirm{margin-top:22px;border-top:1px solid #f7dce0;padding-top:18px;display:flex;flex-wrap:wrap;gap:12px;align-items:end}.core-confirm label{flex:1;min-width:200px}.core-confirm p{width:100%;margin:0}.core-plan .table-scroll:focus-within{outline:1px solid #fab7c2}@media(max-width:600px){.core-plan{padding:12px;margin-inline:-6px}.core-confirm{display:block}.core-confirm button{width:100%;margin:12px 0}.core-confirm label{min-width:0}.core-plan .table-scroll{max-height:420px}.core-plan th:first-child,.core-plan td:first-child{max-width:105px;min-width:90px;white-space:normal}}

.core-data-note{display:block;max-width:230px;white-space:normal;min-width:145px;font-size:11px;line-height:1.7}.core-plan tbody tr:last-child{font-weight:600;background:#fff0f2}
