/* Action-plan redesign for 监测数据分析 / 优化建议. */
.advice-workspace {
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: 7px 3px 32px;
  color: #182133;
}
.advice-report-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}
.advice-report-head-copy { min-width: 0; }
.advice-kicker,
.advice-section-kicker,
.advice-hero-kicker {
  display: block;
  color: #118d85;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
}
.advice-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 5px;
}
.advice-title-row h1 { margin: 0; color: #192a40; font-size: 27px; line-height: 1.22; }
.advice-health-pill,
.advice-period-chip,
.advice-count-chip,
.advice-panel-note {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid #dbeae7;
  border-radius: 999px;
  padding: 0 9px;
  color: #268278;
  background: #f0faf8;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}
.advice-health-pill.is-good { border-color: #b9e2d2; color: #16805d; background: #effaf5; }
.advice-health-pill.is-warn { border-color: #f2d8b1; color: #a46a25; background: #fff8ec; }
.advice-health-pill.is-risk { border-color: #efc7cc; color: #b85b65; background: #fff4f4; }
.advice-health-pill.is-neutral { border-color: #dbe3eb; color: #718096; background: #f7f9fb; }
.advice-report-head-copy > p { max-width: 720px; margin: 8px 0 0; color: #6f7e92; font-size: 13px; line-height: 1.65; }
.advice-context-line { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-top: 12px; color: #8390a1; font-size: 11px; }
.advice-context-line b { color: #395069; font-weight: 700; }
.advice-context-line i { width: 3px; height: 3px; border-radius: 50%; background: #c2ccd6; }
.advice-report-head-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.advice-report-head-actions .primary-button,
.advice-report-head-actions .secondary-button { min-height: 36px; padding: 0 12px; font-size: 12px; }
.advice-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(250px, .68fr);
  gap: 25px;
  overflow: hidden;
  border: 1px solid #cfe6e1;
  border-radius: 14px;
  padding: 25px;
  background: linear-gradient(115deg, #f4fcfa 0%, #fbfefd 58%, #f5f7ff 100%);
  box-shadow: 0 12px 30px rgba(28, 96, 91, .06);
}
.advice-hero-copy { min-width: 0; }
.advice-hero-kicker { color: #0a8279; }
.advice-hero h2 { margin: 9px 0 0; color: #20364d; font-size: 21px; line-height: 1.35; }
.advice-hero-copy > p { max-width: 700px; margin: 10px 0 0; color: #63788a; font-size: 12px; line-height: 1.75; }
.advice-hero-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.advice-hero-actions button { min-height: 36px; padding: 0 13px; font-size: 12px; }
.advice-hero-score { display: grid; align-content: center; gap: 7px; border: 1px solid #c5e2dc; border-radius: 11px; padding: 18px 20px; background: #fff; box-shadow: 0 8px 22px rgba(22, 77, 77, .06); }
.advice-hero-score > span { color: #668178; font-size: 11px; }
.advice-hero-score > strong { color: #07897f; font-size: 43px; font-variant-numeric: tabular-nums; line-height: 1; }
.advice-hero-score > strong small { margin-left: 2px; font-size: 17px; }
.advice-hero-score > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 5px; border-top: 1px solid #e8f1ef; padding-top: 10px; color: #778b88; font-size: 11px; }
.advice-hero-score > div + div { margin-top: 0; border-top: 0; padding-top: 0; }
.advice-hero-score b { color: #305b57; font-weight: 700; }
.advice-summary-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.advice-stat { display: grid; min-width: 0; min-height: 106px; align-content: space-between; gap: 7px; border: 1px solid #dfe7ee; border-top: 3px solid #9bb1c1; border-radius: 10px; padding: 14px 15px; background: #fff; box-shadow: 0 7px 20px rgba(39, 91, 112, .035); }
.advice-stat > span { color: #7a899d; font-size: 11px; }
.advice-stat strong { color: #24354b; font-size: 27px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.advice-stat strong small { margin-left: 2px; color: inherit; font-size: 12px; }
.advice-stat > small { overflow: hidden; color: #94a0ae; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.advice-stat.is-teal { border-top-color: #15a395; background: #fbfefd; }.advice-stat.is-teal strong { color: #0b897f; }
.advice-stat.is-indigo { border-top-color: #777bd3; background: #fcfcff; }.advice-stat.is-indigo strong { color: #5c61bb; }
.advice-stat.is-coral { border-top-color: #d57986; background: #fffdfd; }.advice-stat.is-coral strong { color: #be5c68; }
.advice-stat.is-amber { border-top-color: #dfa058; background: #fffefb; }.advice-stat.is-amber strong { color: #b5792d; }
.advice-stat.is-blue { border-top-color: #6e9bc7; background: #fbfdff; }.advice-stat.is-blue strong { color: #4f7eae; }
.advice-panel { min-width: 0; border: 1px solid #dbe6ec; border-radius: 11px; padding: 20px; background: #fff; box-shadow: 0 8px 24px rgba(39, 91, 112, .045); }
.advice-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.advice-panel-title { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.advice-section-icon { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border-radius: 8px; font-size: 14px; font-weight: 800; }
.advice-section-icon.is-orange { color: #ae6d24; background: #fff2df; }.advice-section-icon.is-purple { color: #655cb2; background: #f0efff; }.advice-section-icon.is-blue { color: #4f7eae; background: #eaf3fc; }.advice-section-icon.is-teal { color: #07877d; background: #e7f8f4; }.advice-section-icon.is-green { color: #228461; background: #eaf8f0; }
.advice-section-kicker { margin-bottom: 3px; color: #8594a5; font-size: 9px; letter-spacing: 1.15px; }
.advice-panel-title h2 { margin: 0; color: #27374e; font-size: 16px; line-height: 1.35; }
.advice-panel-title p { max-width: 760px; margin: 5px 0 0; color: #78879a; font-size: 11px; line-height: 1.55; }
.advice-panel-tools { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.advice-panel-tools .ghost-button { min-height: 32px; }
.advice-count-chip { border-radius: 6px; }.advice-panel-note { border: 0; border-radius: 0; padding: 0; color: #8795a5; background: transparent; font-weight: 500; }
.advice-priority-list { display: grid; gap: 12px; }
.advice-priority-card { position: relative; overflow: hidden; border: 1px solid #dfe7ee; border-radius: 10px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.advice-priority-card:hover { border-color: #b7dcd6; box-shadow: 0 10px 24px rgba(39, 91, 112, .07); transform: translateY(-1px); }
.advice-priority-stripe { position: absolute; inset: 0 auto 0 0; width: 4px; background: #aebcc8; }.advice-priority-card.is-high .advice-priority-stripe { background: #d47b83; }.advice-priority-card.is-medium .advice-priority-stripe { background: #dda057; }.advice-priority-card.is-low .advice-priority-stripe { background: #5eb4a7; }
.advice-priority-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #edf1f4; padding: 13px 16px 11px 20px; }
.advice-priority-meta { display: flex; align-items: center; gap: 7px; min-width: 0; flex-wrap: wrap; }.advice-index { color: #a5b0bd; font-size: 11px; font-weight: 800; letter-spacing: .4px; }.advice-priority-badge,.advice-source-badge,.advice-rate-badge { display: inline-flex; align-items: center; min-height: 22px; border-radius: 5px; padding: 0 7px; font-size: 10px; font-weight: 700; white-space: nowrap; }.advice-priority-card.is-high .advice-priority-badge { color: #ad5661; background: #fff0f1; }.advice-priority-card.is-medium .advice-priority-badge { color: #a36a25; background: #fff5e7; }.advice-priority-card.is-low .advice-priority-badge { color: #278176; background: #eaf8f5; }.advice-source-badge { overflow: hidden; max-width: 230px; color: #8996a6; background: #f5f7f9; font-weight: 500; text-overflow: ellipsis; }.advice-rate-badge { color: #087d76; background: #edf9f5; font-variant-numeric: tabular-nums; }
.advice-priority-body { display: grid; grid-template-columns: minmax(0, 1fr) 118px; gap: 18px; align-items: center; padding: 16px 20px 13px; }.advice-priority-copy { min-width: 0; }.advice-priority-copy h3 { margin: 0; color: #2e4057; font-size: 14px; line-height: 1.45; }.advice-priority-copy p { overflow: hidden; margin: 6px 0 0; color: #7e8b9d; font-size: 11px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }.advice-tag-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }.advice-tag-row span { display: inline-flex; align-items: center; min-height: 23px; border: 1px solid #e4ebef; border-radius: 5px; padding: 0 7px; color: #6e7e90; background: #fafcfd; font-size: 10px; }.advice-impact { display: grid; gap: 4px; border-left: 1px solid #edf1f4; padding-left: 17px; }.advice-impact span,.advice-impact small { color: #91a0ad; font-size: 10px; }.advice-impact strong { color: #24857b; font-size: 17px; }.advice-priority-card.is-high .advice-impact strong { color: #b65d66; }
.advice-evidence { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 20px; border-top: 1px solid #f0f3f5; border-bottom: 1px solid #f0f3f5; padding: 11px 0; }.advice-evidence div { display: grid; gap: 4px; min-width: 0; }.advice-evidence span { color: #91a0ae; font-size: 10px; }.advice-evidence b { overflow: hidden; color: #41546b; font-size: 13px; font-variant-numeric: tabular-nums; text-overflow: ellipsis; white-space: nowrap; }
.advice-priority-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 20px 13px; }.advice-priority-foot > span { min-width: 0; overflow: hidden; color: #7e8d9d; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.advice-priority-foot > span i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #6ab9ae; }.advice-priority-foot > div { display: flex; flex: 0 0 auto; gap: 6px; flex-wrap: wrap; }.advice-priority-foot button { min-height: 30px; padding: 0 9px; font-size: 10px; }
.advice-empty-state { display: grid; min-height: 168px; place-items: center; align-content: center; gap: 7px; border: 1px dashed #d9e3ea; border-radius: 9px; padding: 28px 20px; background: #fbfcfd; text-align: center; }.advice-empty-mark { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 9px; color: #7f91a4; background: #eef3f6; font-size: 18px; }.advice-empty-state strong { color: #3c5066; font-size: 13px; }.advice-empty-state p { max-width: 480px; margin: 0; color: #8795a5; font-size: 11px; line-height: 1.55; }.advice-empty-state button { margin-top: 4px; }
.advice-opportunity-table-scroll { overflow-x: auto; }.advice-opportunity-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 11px; }.advice-opportunity-table th { border-bottom: 1px solid #e5ebf0; padding: 10px 11px; color: #7b899b; background: #f8fafc; font-size: 10px; font-weight: 750; text-align: left; white-space: nowrap; }.advice-opportunity-table td { border-bottom: 1px solid #eef2f5; padding: 12px 11px; color: #415269; vertical-align: middle; }.advice-opportunity-table tbody tr:hover td { background: #f8fcfb; }.advice-opportunity-table tbody tr:last-child td { border-bottom: 0; }.advice-opportunity-table td > small { display: block; margin-top: 4px; color: #9aa5b1; font-size: 9px; }.advice-question-cell { display: flex; align-items: center; gap: 8px; min-width: 250px; }.advice-question-cell > span { color: #a4afbb; font-size: 10px; }.advice-question-cell strong { display: block; max-width: 350px; overflow: hidden; color: #33475e; font-size: 11px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }.advice-table-rate { display: grid; grid-template-columns: 39px 92px; align-items: center; gap: 7px; }.advice-table-rate b { color: #26877d; font-size: 11px; font-variant-numeric: tabular-nums; }.advice-table-rate > i { display: block; height: 7px; overflow: hidden; border-radius: 9px; background: #edf1f3; }.advice-table-rate > i em { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#d57986,#e1a15b); }.advice-table-status { display: inline-flex; align-items: center; min-height: 22px; border-radius: 5px; padding: 0 7px; font-size: 10px; font-weight: 650; }.advice-table-status.is-risk { color: #ad5b64; background: #fff0f1; }.advice-table-status.is-warn { color: #a36c2a; background: #fff5e8; }.advice-table-status.is-good { color: #268177; background: #eaf8f5; }.advice-opportunity-table .ghost-button { min-height: 29px; padding: 0 8px; font-size: 10px; }
.advice-bottom-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, .9fr); gap: 16px; align-items: stretch; }.advice-model-list { display: grid; gap: 11px; }.advice-model-card { border: 1px solid #e3eaf0; border-radius: 8px; padding: 12px 13px; background: #fcfefe; }.advice-model-card.is-weak { border-color: #f0dfdf; background: #fffdfd; }.advice-model-card-head { display: flex; align-items: center; justify-content: space-between; gap: 9px; }.advice-model-identity { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }.advice-model-identity .model-logo-img { width: 22px; height: 22px; object-fit: contain; border: 1px solid #e8edf1; border-radius: 5px; padding: 3px; background: #fff; }.advice-model-identity > span { overflow: hidden; color: #40536a; font-size: 11px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }.advice-model-card-head > strong { color: #168a80; font-size: 14px; font-variant-numeric: tabular-nums; }.advice-model-card.is-weak .advice-model-card-head > strong { color: #b35e68; }.advice-model-track { height: 7px; overflow: hidden; margin-top: 12px; border-radius: 8px; background: #edf1f3; }.advice-model-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#0da195,#6da4d0); }.advice-model-card.is-weak .advice-model-track i { background: linear-gradient(90deg,#d47b83,#e2a25c); }.advice-model-card footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; color: #8d9aa8; font-size: 10px; }.advice-model-card footer small { color: #9ba6b2; font-size: 9px; }
.advice-roadmap { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }.advice-roadmap li button { display: grid; grid-template-columns: 31px minmax(0,1fr) 18px; align-items: center; gap: 9px; width: 100%; border: 1px solid transparent; border-radius: 8px; background: transparent; padding: 9px 8px; color: inherit; text-align: left; cursor: pointer; }.advice-roadmap li button:hover { border-color: #d6ebe7; background: #f5fbfa; }.advice-roadmap li button > span { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 7px; color: #0b8279; background: #e8f7f4; font-size: 10px; font-weight: 800; }.advice-roadmap li:nth-child(2) button > span { color: #665cb2; background: #f0efff; }.advice-roadmap li:nth-child(3) button > span { color: #4f7eae; background: #eaf3fc; }.advice-roadmap li:nth-child(4) button > span { color: #a66d29; background: #fff3e2; }.advice-roadmap li strong,.advice-roadmap li small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.advice-roadmap li strong { color: #3b4f65; font-size: 11px; }.advice-roadmap li small { margin-top: 4px; color: #8997a6; font-size: 10px; }.advice-roadmap li button > b { color: #9baab7; font-size: 15px; text-align: right; }
.advice-source-list { display: grid; gap: 0; }.advice-source-card { display: grid; grid-template-columns: 31px minmax(0,1fr) 50px auto; align-items: center; gap: 10px; border-bottom: 1px solid #eef2f5; padding: 11px 2px; }.advice-source-card:last-child { border-bottom: 0; }.advice-source-index { color: #a6b1bc; font-size: 10px; }.advice-source-card > div { min-width: 0; }.advice-source-card a { display: block; overflow: hidden; color: #177e84; font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }.advice-source-card small { display: block; overflow: hidden; margin-top: 4px; color: #8b98a7; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }.advice-source-card > b { display: grid; color: #3d5066; font-size: 15px; text-align: right; }.advice-source-card > b small { margin-top: 2px; font-size: 9px; text-align: right; }.advice-source-card button { min-height: 29px; padding: 0 8px; font-size: 10px; }.advice-source-list > .advice-empty-state { width: 100%; }
.advice-footer-note { display: flex; align-items: flex-start; gap: 10px; border: 1px solid #dbe9e7; border-radius: 9px; padding: 14px 16px; background: #f4fbfa; }.advice-footer-mark { display: grid; width: 21px; height: 21px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #fff; background: #6eb6ad; font-size: 12px; font-weight: 800; }.advice-footer-note > div { min-width: 0; flex: 1; }.advice-footer-note strong { color: #2d665f; font-size: 11px; }.advice-footer-note p { margin: 5px 0 0; color: #718b88; font-size: 10px; line-height: 1.55; }.advice-footer-note button { flex: 0 0 auto; min-height: 32px; }
@media (max-width: 1100px) {
  .advice-summary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .advice-bottom-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .advice-report-head { flex-direction: column; }
  .advice-report-head-actions { justify-content: flex-start; }
  .advice-hero { grid-template-columns: 1fr; padding: 21px; }
  .advice-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .advice-panel { padding: 17px; }
  .advice-panel-head { align-items: flex-start; flex-direction: column; }
  .advice-panel-tools { justify-content: flex-start; }
  .advice-priority-body { grid-template-columns: 1fr; gap: 12px; }
  .advice-impact { grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; border-top: 1px solid #f0f3f5; border-left: 0; padding: 10px 0 0; }.advice-impact strong { font-size: 14px; }.advice-impact small { text-align: right; }
  .advice-priority-foot { align-items: flex-start; flex-direction: column; }.advice-priority-foot > span { white-space: normal; }.advice-priority-foot > div { width: 100%; }.advice-priority-foot button { flex: 1 1 auto; }
  .advice-evidence { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; }
  .advice-source-card { grid-template-columns: 27px minmax(0,1fr) 45px; }.advice-source-card button { grid-column: 2 / -1; justify-self: start; }.advice-footer-note { flex-wrap: wrap; }.advice-footer-note button { width: 100%; }
}
@media (max-width: 520px) {
  .advice-workspace { padding-left: 0; padding-right: 0; }.advice-title-row { align-items: flex-start; flex-direction: column; gap: 7px; }.advice-title-row h1 { font-size: 24px; }.advice-summary-grid { grid-template-columns: 1fr; }.advice-report-head-actions { width: 100%; }.advice-report-head-actions > * { flex: 1 1 auto; justify-content: center; }.advice-report-head-actions .advice-period-chip { flex: 0 0 auto; }.advice-context-line { line-height: 1.55; }.advice-priority-head { align-items: flex-start; flex-direction: column; }.advice-rate-badge { align-self: flex-start; }.advice-priority-copy p { white-space: normal; }.advice-priority-foot button { flex: 1 1 100%; }.advice-model-card footer { align-items: flex-start; flex-direction: column; }.advice-model-card footer small { font-size: 9px; }
}
