/* 参考图视觉层：淡紫成交区、淡粉退款区、白色紧凑卡片与轻量组合图。 */
:root { background: #faf9fd; color: #292f3b; }
.main { background: #fbfafc; }
.top-actions { flex-wrap: wrap; justify-content: flex-end; }
.import-health-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid transparent; border-radius: 999px; padding: 6px 9px; font-size: 11px; font-weight: 750; white-space: nowrap; }
.import-health-btn::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.import-health-btn.complete { color: #198d70; background: #e9f8f2; border-color: #cdeee1; }
.import-health-btn.missing { color: #a8651d; background: #fff5e5; border-color: #f8e2bf; }
.import-health-btn.error { color: #bf454c; background: #fff0f1; border-color: #f6d6d8; }
.import-health-btn:hover, .import-health-btn[aria-expanded="true"] { filter: brightness(.96); }
.import-health-popover { width: min(380px, calc(100vw - 20px)); max-height: min(460px, calc(100vh - 20px)); padding: 14px; overflow-y: auto; color: #35475d; }
.import-health-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.import-health-head strong { font-size: 13px; color: #263a53; }
.import-health-head small { color: #8d9cac; font-size: 10px; white-space: nowrap; }
.import-health-summary { margin: 10px 0 11px; padding: 8px 10px; border-radius: 9px; background: #f2f6fb; font-size: 11px; color: #63758b; }
.import-health-summary b { color: #294a6f; }
.import-health-list { display: grid; gap: 7px; }
.import-health-row { display: grid; grid-template-columns: 35px minmax(0,1fr); gap: 8px; align-items: start; padding: 8px 9px; border: 1px solid #eaf0f6; border-radius: 9px; background: #ffffffa8; }
.import-health-mark { font-size: 10px; font-weight: 750; }
.import-health-mark.missing { color: #ad6b25; }
.import-health-mark.error { color: #bf454c; }
.import-health-row strong, .import-health-row small { display: block; }
.import-health-row strong { color: #30435a; font-size: 11px; }
.import-health-row small { color: #7b8a9c; font-size: 10px; line-height: 1.55; overflow-wrap: anywhere; margin-top: 2px; }
.import-health-ok { margin: 2px 0 5px; color: #198d70; font-size: 11px; }
.import-health-file-error { padding: 7px 9px; border-radius: 8px; background: #fff0f1; color: #b94c50; font-size: 10px; overflow-wrap: anywhere; }
.import-health-note { margin: 10px 1px 0; padding-top: 9px; border-top: 1px solid #e5ebf2; color: #8291a2; font-size: 10px; line-height: 1.55; }
@media (max-width: 700px) { .topbar { flex-wrap: wrap; } .top-actions { justify-content: flex-start; } }
.analysis-head { margin: 24px 2px 10px; align-items: end; }
.analysis-head .section-range { color: #8c93a1; font-size: 11px; text-align: right; }
.analysis-board { border-radius: 15px; padding: 13px; margin-top: 0; }
.analysis-board:hover,
.analysis-board:focus-within { position: relative; z-index: 20; }
.sales-board { background: #fbfafc; box-shadow: inset 0 0 0 1px #f0edf3; }
.refund-board { background: #fdfbfb; box-shadow: inset 0 0 0 1px #f4eeee; }
.analysis-board .metric-grid { gap: 8px; }
.analysis-board .chart-grid { gap: 8px; margin-top: 8px; }
.analysis-board .metric-card,
.analysis-board .chart-panel { border: 0; border-radius: 10px; box-shadow: none; background: #fff; }
.analysis-board .metric-card { border: 0; }
.analysis-board .metric-card:hover,
.analysis-board .metric-card:focus-visible { z-index: 30; transform: translateY(-1px); box-shadow: 0 8px 22px #81749f22; }
.metric-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(62px, 39%);
  grid-template-rows: minmax(30px, auto) auto 1fr;
  grid-template-areas: "name name" "number number" "compare spark";
  column-gap: 8px;
  row-gap: 3px;
  min-height: 138px;
  padding: 13px 14px 12px;
  align-items: start;
  overflow: visible;
}
.metric-title {
  grid-area: name;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  white-space: normal;
  overflow: hidden;
  min-height: 30px;
  max-height: 32px;
  color: #5d6b7d;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.33;
  letter-spacing: 0;
}
.metric-value {
  grid-area: number;
  margin: 0;
  color: #243244;
  font-size: clamp(18px, 1.1vw, 22px);
  font-weight: 780;
  line-height: 1.18;
  letter-spacing: -.025em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.metric-meta {
  grid-area: compare;
  align-self: end;
  min-width: 0;
  min-height: 0;
  margin: 0;
  color: #8997a6;
  font-size: 10px;
  line-height: 1.25;
}
.metric-meta > span:first-child { display: block; margin-bottom: 3px; }
.analysis-board .delta { display: block; margin-left: 0; font-size: 11px; font-weight: 700; }
.analysis-board .delta.up { color: #e0504d; }
.analysis-board .delta.down { color: #20ad9e; }
.analysis-board .delta.flat { color: #89919c; }
.mini-chart { grid-area: spark; align-self: end; width: 100%; height: 37px; margin: 0; opacity: .96; }
.analysis-board .mini-chart svg { overflow: hidden; }
.analysis-board .mini-empty { display: block; text-align: center; color: #b0bac8; font-size: 16px; line-height: 37px; }
.sales-board [data-metric="net"], .refund-board [data-metric="refundAmount"] { box-shadow: inset 0 3px #ae96e9; }
.refund-board [data-metric="refundAmount"] { box-shadow: inset 0 3px #e7a0a7; }
.metric-preview { position: fixed; z-index: 80; display: flex; flex-direction: column; gap: 12px; padding: 18px; overflow: hidden; pointer-events: none; transform-origin: top left; border: 1px solid #e8e1f5; border-radius: 18px; background: #fff; box-shadow: 0 24px 60px #27204438; }
.metric-preview-head { display: flex; flex-direction: column; gap: 4px; }
.metric-preview-head span { color: #657083; font-size: 12px; font-weight: 700; }
.metric-preview-head strong { color: #27303c; font-size: 27px; line-height: 1.12; letter-spacing: -.03em; }
.metric-preview-head small { color: #98a3b3; font-size: 10px; }
.metric-preview .trend-chart { flex: 1; min-height: 0; }
.modal-backdrop { opacity: 0; transition: opacity 280ms ease; }
.modal-panel { opacity: 0; transform: translateY(22px) scale(.94); transition: transform 420ms cubic-bezier(.22, 1, .36, 1), opacity 280ms ease; }
.modal.is-open .modal-backdrop { opacity: 1; }
.modal.is-open .modal-panel { opacity: 1; transform: none; }
.modal .plot-reveal-clip { transform-box: fill-box; transform-origin: left center; }
.modal.is-open .plot-reveal-clip { animation: plot-reveal 820ms cubic-bezier(.22, 1, .36, 1) both; }
@keyframes plot-reveal { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .modal-backdrop, .modal-panel { transition: none; }
  .modal.is-open .plot-reveal-clip { animation: none; }
}
.analysis-board .chart-panel { display: flex; flex-direction: column; min-height: 244px; padding: 14px 14px 11px; }
.analysis-board .chart-heading h3 { font-size: 13px; font-weight: 700; color: #303641; }
.analysis-board .chart-heading p { display: none; }
.analysis-board .chart-badge { display: inline-block; flex: none; border: 0; background: #f4f5fa; color: #757f91; padding: 3px 6px; border-radius: 5px; font-size: 10px; }
.analysis-board .chart-legend { gap: 4px 11px; margin: 7px 0 7px; min-height: 13px; }
.analysis-board .legend-item { font-size: 10px; color: #737d8a; gap: 4px; }
.analysis-board .legend-dot { width: 6px; height: 6px; }
.analysis-board .trend-chart { flex: 1; min-height: 0; height: auto; }
.trend-tooltip {
  z-index: 55;
  width: max-content;
  min-width: 190px;
  max-width: min(290px, calc(100% - 8px));
  padding: 8px 10px;
  border: 1px solid #ffffff20;
  border-radius: 11px;
  background: #1d3552;
  color: #fff;
  box-shadow: 0 12px 28px #10243c45;
  white-space: normal;
  font-size: 11px;
  line-height: 1.35;
}
.trend-tooltip-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 6px; margin-bottom: 6px; border-bottom: 1px solid #ffffff2b; }
.trend-tooltip-head span { color: #aebed2; font-size: 10px; white-space: nowrap; }
.trend-tooltip-head strong { color: #fff; font-size: 11px; font-weight: 750; white-space: nowrap; }
.trend-tooltip-rows { display: grid; gap: 4px; }
.trend-tooltip-row { display: grid; grid-template-columns: minmax(0, 1fr) max-content; align-items: center; gap: 12px; min-height: 16px; }
.trend-tooltip-name { display: flex; align-items: center; min-width: 0; gap: 6px; color: #d4dfec; }
.trend-tooltip-label { min-width: 0; overflow-wrap: anywhere; }
.trend-tooltip-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; }
.trend-tooltip-row strong { color: #fff; font-size: 11px; font-variant-numeric: tabular-nums; font-weight: 750; text-align: right; white-space: nowrap; }
.trend-tooltip-row strong.is-empty { color: #9cacc0; font-weight: 500; }
.analysis-board .target-wrap { flex: 1; min-height: 0; gap: 10px; }
.analysis-board .target-donut { width: 128px; height: 128px; flex: none; }
.analysis-board .target-donut-center strong { font-size: 22px; color: #303641; }
.analysis-board .target-details { min-width: 150px; gap: 7px; }
.analysis-board .target-details strong { font-size: 12px; }
.analysis-board .target-details input { width: 145px; }
.table-head { margin-top: 30px; }

@media (min-width: 1700px) {
  .main { padding-left: 24px; padding-right: 24px; }
  .analysis-board { padding: 12px; }
  .board-grid { display: grid; grid-template-columns: .62fr .62fr 1.25fr .72fr .72fr .72fr 1.55fr; grid-template-rows: repeat(4, minmax(138px, auto)); gap: 8px; }
  .board-grid > .metric-grid,
  .board-grid > .chart-grid { display: contents; }
  .analysis-board .metric-card,
  .analysis-board .chart-panel { min-height: 0; }
  .analysis-board .metric-value { font-size: clamp(17px, .98vw, 20px); }
  .analysis-board .chart-panel { height: 100%; }
  .sales-board [data-metric="net"] { grid-area: 1 / 1 / 3 / 3; }
  .sales-board [data-metric="orders"] { grid-area: 3 / 1 / 4 / 2; }
  .sales-board [data-metric="buyers"] { grid-area: 3 / 2 / 4 / 3; }
  .sales-board [data-metric="refundRate"] { grid-area: 4 / 1 / 5 / 2; }
  .sales-board [data-metric="avgTicket"] { grid-area: 4 / 2 / 5 / 3; }
  .sales-board [data-chart="sales-carrier"] { grid-area: 1 / 3 / 3 / 4; }
  .sales-board [data-chart="sales-target"] { grid-area: 3 / 3 / 5 / 4; }
  .sales-board [data-metric="spend"] { grid-area: 1 / 4 / 2 / 5; }
  .sales-board [data-metric="roi"] { grid-area: 1 / 5 / 2 / 6; }
  .sales-board [data-metric="feeRate"] { grid-area: 1 / 6 / 2 / 7; }
  .sales-board [data-metric="carrier:短视频:全部"] { grid-area: 2 / 4 / 3 / 5; }
  .sales-board [data-metric="carrier:短视频:自营"] { grid-area: 2 / 5 / 3 / 6; }
  .sales-board [data-metric="carrier:短视频:合作"] { grid-area: 2 / 6 / 3 / 7; }
  .sales-board [data-metric="carrier:直播:全部"] { grid-area: 3 / 4 / 4 / 5; }
  .sales-board [data-metric="carrier:直播:自营"] { grid-area: 3 / 5 / 4 / 6; }
  .sales-board [data-metric="carrier:直播:合作"] { grid-area: 3 / 6 / 4 / 7; }
  .sales-board [data-metric="carrier:商品卡:全部"] { grid-area: 4 / 4 / 5 / 5; }
  .sales-board [data-metric="carrier:商品卡:自营"] { grid-area: 4 / 5 / 5 / 6; }
  .sales-board [data-metric="carrier:商品卡:合作"] { grid-area: 4 / 6 / 5 / 7; }
  .sales-board [data-chart="sales-period"] { grid-area: 1 / 7 / 3 / 8; }
  .sales-board [data-chart="sales-detail"] { grid-area: 3 / 7 / 5 / 8; }
  .refund-board [data-metric="refundAmount"] { grid-area: 1 / 1 / 3 / 3; }
  .refund-board [data-metric="refundOrders"] { grid-area: 3 / 1 / 4 / 3; }
  .refund-board [data-metric="refundRate"] { grid-area: 4 / 1 / 5 / 3; }
  .refund-board [data-chart="refund-stage"] { grid-area: 1 / 3 / 3 / 4; }
  .refund-board [data-chart="refund-overview"] { grid-area: 3 / 3 / 5 / 4; }
  .refund-board [data-metric="stage:pre:Amount"] { grid-area: 1 / 4 / 2 / 5; }
  .refund-board [data-metric="stage:pre:Orders"] { grid-area: 1 / 5 / 2 / 6; }
  .refund-board [data-metric="stage:pre:Rate"] { grid-area: 1 / 6 / 2 / 7; }
  .refund-board [data-metric="stage:unreceived:Amount"] { grid-area: 2 / 4 / 3 / 5; }
  .refund-board [data-metric="stage:unreceived:Orders"] { grid-area: 2 / 5 / 3 / 6; }
  .refund-board [data-metric="stage:unreceived:Rate"] { grid-area: 2 / 6 / 3 / 7; }
  .refund-board [data-metric="stage:received:Amount"] { grid-area: 3 / 4 / 4 / 5; }
  .refund-board [data-metric="stage:received:Orders"] { grid-area: 3 / 5 / 4 / 6; }
  .refund-board [data-metric="stage:received:Rate"] { grid-area: 3 / 6 / 4 / 7; }
  .refund-board [data-metric="stage:return:Amount"] { grid-area: 4 / 4 / 5 / 5; }
  .refund-board [data-metric="stage:return:Orders"] { grid-area: 4 / 5 / 5 / 6; }
  .refund-board [data-metric="stage:return:Rate"] { grid-area: 4 / 6 / 5 / 7; }
  .refund-board [data-chart="refund-type"] { grid-area: 1 / 7 / 3 / 8; }
  .refund-board [data-chart="refund-carrier"] { grid-area: 3 / 7 / 5 / 8; }
  .sales-board [data-metric="net"],
  .refund-board [data-metric="refundAmount"] { padding: 22px; }
  .sales-board [data-metric="net"] .metric-title,
  .refund-board [data-metric="refundAmount"] .metric-title { font-size: 13px; }
  .sales-board [data-metric="net"] .metric-value,
  .refund-board [data-metric="refundAmount"] .metric-value { font-size: clamp(25px, 1.55vw, 30px); }
  .sales-board [data-metric="net"] .mini-chart,
  .refund-board [data-metric="refundAmount"] .mini-chart { height: 78px; }
  .analysis-board [data-chart="sales-target"] .target-wrap { flex-direction: column; gap: 2px; }
  .analysis-board [data-chart="sales-target"] .target-details { grid-template-columns: 1fr 1fr; gap: 5px 10px; align-items: start; }
  .analysis-board [data-chart="sales-target"] .target-details label { grid-column: 1 / 3; }
  .analysis-board [data-chart="sales-target"] .target-details input { width: 100%; }
}

/* 团队排期：沿用看板的浅紫、珊瑚与白色卡片，按总览、单品、分工逐层阅读。 */
#schedule-page { min-width: 0; }
#schedule-page .page-notice { margin-top: 8px; border-color: #e9e3f3; background: #faf7ff; color: #776f8c; }
.schedule-overview { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(290px, .65fr); gap: 12px; margin: 12px 0; }
.schedule-hero, .schedule-trend-panel, .schedule-active, .schedule-person-card { border: 1px solid #ece6f2; border-radius: 16px; background: #fff; box-shadow: 0 8px 28px #4b37580b; min-width: 0; }
.schedule-hero { padding: 22px 23px 18px; background: linear-gradient(122deg,#faf5ff,#fff 62%,#fff9f7); }
.schedule-hero-top, .schedule-panel-heading, .schedule-active-head, .schedule-lane-head, .schedule-person-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.schedule-eyebrow { display: block; color: #8f6ec9; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.schedule-hero-number { display: flex; align-items: baseline; gap: 11px; margin-top: 8px; color: #68738a; font-size: 12px; }
.schedule-hero-number strong { color: #263449; font-size: clamp(32px,3vw,48px); letter-spacing: -.05em; line-height: 1; }
.schedule-month-compare { text-align: right; color: #8994a4; font-size: 10px; }
.schedule-month-compare span, .schedule-month-compare b { display: block; }
.schedule-month-compare b { margin-top: 6px; color: #a175c2; font-size: 12px; }
.schedule-hero-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 18px 0 16px; }
.schedule-hero-stats > div { border-left: 2px solid #dfd3f7; padding-left: 11px; }
.schedule-hero-stats small, .schedule-hero-stats b, .schedule-hero-stats span { display: block; }
.schedule-hero-stats small { font-size: 10px; color: #8895a7; }
.schedule-hero-stats b { font-size: 19px; color: #304052; margin: 5px 0 2px; }
.schedule-hero-stats span { font-size: 10px; color: #9175a5; }
.schedule-product-strip { border-top: 1px solid #eee8f4; padding-top: 13px; }
.schedule-product-strip > span { display: block; color: #727d90; font-size: 11px; font-weight: 700; margin-bottom: 8px; }
.schedule-product-strip > div { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.schedule-product-chip { flex: 0 0 auto; max-width: 148px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border: 1px solid #e6dcfa; background: #fff; color: #685b80; border-radius: 999px; padding: 5px 9px; font-size: 10px; }
.schedule-empty-inline { color: #a2a7b5; font-size: 11px; }
.schedule-trend-panel { padding: 19px 19px 14px; }
.schedule-panel-heading h3 { margin: 5px 0 0; color: #2f3b4d; font-size: 15px; }
.schedule-panel-heading > span { border-radius: 999px; padding: 4px 8px; background: #f4eefc; color: #9879c7; font-size: 10px; }
.schedule-trend-svg { display: block; width: 100%; height: 155px; margin: 20px 0 7px; overflow: visible; }
.schedule-trend-svg text { font-size: 10px; fill: #8c95a5; }
.schedule-trend-panel p { margin: 0; font-size: 10px; line-height: 1.5; color: #9aa4b2; }
.schedule-active { margin: 12px 0 23px; padding: 18px 20px 20px; }
.schedule-active-head { align-items: center; margin-bottom: 15px; }
.schedule-active-head h3 { margin: 0 0 3px; font-size: 15px; color: #2e394a; }
.schedule-active-head p { margin: 0; color: #97a2b0; font-size: 10px; }
.schedule-active-head > span { border-radius: 999px; background: #f6f1fd; color: #8d70b2; padding: 5px 9px; font-size: 10px; white-space: nowrap; }
.schedule-lanes { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.schedule-lane { min-width: 0; border-radius: 12px; padding: 13px; background: #f9f5ff; }
.schedule-lane.shoot { background: #fff8ef; }.schedule-lane.edit { background: #f2faf9; }
.schedule-lane-head, .schedule-lane-head > div { display: flex; align-items: center; gap: 7px; }
.schedule-lane-head { justify-content: space-between; margin-bottom: 9px; }
.schedule-lane-dot { width: 7px; height: 7px; border-radius: 50%; background: #a178d9; }
.schedule-lane.shoot .schedule-lane-dot { background: #edab5a; }.schedule-lane.edit .schedule-lane-dot { background: #5abeb4; }
.schedule-lane h4 { margin: 0; color: #4d5362; font-size: 12px; }
.schedule-lane-head b { color: #736780; font-size: 15px; }
.schedule-lane-list { display: grid; gap: 6px; }
.schedule-lane-item { display: flex; align-items: center; justify-content: space-between; gap: 7px; min-width: 0; padding: 8px 9px; border: 1px solid #eee9f3; border-radius: 9px; background: #fff; }
.schedule-lane-item div { min-width: 0; }
.schedule-lane-item strong, .schedule-lane-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.schedule-lane-item strong { font-size: 11px; color: #3c4657; }.schedule-lane-item small { margin-top: 3px; font-size: 9px; color: #99a2af; }
.schedule-lane-item > span { flex: 0 0 auto; font-size: 9px; color: #9475bb; }
.schedule-empty { margin: 6px 0; color: #a4acb9; font-size: 10px; line-height: 1.5; }
.schedule-more { color: #8e77ab; font-size: 10px; }
.schedule-product-panel .table-scroll { max-height: 610px; }
#schedule-table { min-width: 1040px; table-layout: fixed; font-size: 11px; }
#schedule-table th, #schedule-table td { text-align: left; vertical-align: top; white-space: normal; }
#schedule-table th { vertical-align: middle; }
#schedule-table th:nth-child(1),#schedule-table th:nth-child(2) { width: 5%; }
#schedule-table th:nth-child(3) { width: 16%; }
#schedule-table th:nth-child(4) { width: 5%; }
#schedule-table th:nth-child(5) { width: 8%; }
#schedule-table th:nth-child(6),#schedule-table th:nth-child(7),#schedule-table th:nth-child(8) { width: 20.3%; }
#schedule-table td { padding: 12px 11px; }
#schedule-table td:nth-child(3) { max-width: none; }
.schedule-product-cell strong, .schedule-product-cell small { display: block; }
.schedule-product-cell strong { color: #344057; font-size: 11px; }.schedule-product-cell small { color: #9aa5b2; font-size: 9px; margin-top: 3px; }
.schedule-grade { display: inline-block; border-radius: 7px; background: #f6f0fc; color: #8d6abd; padding: 4px 7px; font-size: 10px; }
.schedule-stage { display: inline-block; white-space: nowrap; border-radius: 6px; padding: 5px 7px; font-size: 10px; }
.schedule-stage.complete { background: #ebf8ef; color: #32965c; }.schedule-stage.pending { background: #fff5e8; color: #b5833d; }.schedule-stage.unknown { background: #f3f5f7; color: #96a0ad; }
.schedule-role-td { min-width: 0; }
.schedule-role-wrap { min-width: 0; }
.schedule-role-count { display: block; margin: 0 0 5px; color: #9a8aae; font-size: 9px; }
.schedule-role-list { display: grid; gap: 5px; max-height: 136px; overflow-y: auto; scrollbar-width: thin; }
.schedule-role-entry { min-width: 0; padding: 6px 8px; border: 1px solid #ece9f2; border-radius: 8px; background: #fbfafc; }
.schedule-role-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-width: 0; }
.schedule-role-top strong { color: #3b4657; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.schedule-role-top span { flex: 0 1 auto; color: #7e899a; font-size: 9px; white-space: nowrap; max-width: 55%; overflow: hidden; text-overflow: ellipsis; }
.schedule-role-meter { height: 3px; border-radius: 4px; background: #e8ebf0; margin: 5px 0; overflow: hidden; }
.schedule-role-meter i { display: block; height: 100%; width: 35%; border-radius: inherit; background: #d5c6eb; }
.schedule-role-entry.complete { border-color: #dcefe5; background: #fbfefc; }.schedule-role-entry.complete .schedule-role-top span { color: #32966c; }.schedule-role-entry.complete .schedule-role-meter i { width: 100%; background: #48c79b; }
.schedule-role-entry.active { border-color: #e5dcf4; background: #fcfaff; }.schedule-role-entry.active .schedule-role-top span { color: #8a69bc; }.schedule-role-entry.active .schedule-role-meter i { width: 68%; background: #ac8de2; }
.schedule-role-entry.pending .schedule-role-meter i { background: #f1ba71; }
.schedule-role-entry.unplanned .schedule-role-meter i { width: 0; }
.schedule-role-entry small { display: block; color: #8491a2; font-size: 9px; line-height: 1.45; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.schedule-role-empty { display: block; color: #a2acb9; font-size: 10px; padding: 8px 0; }
.schedule-people-summary { display: flex; flex-wrap: wrap; gap: 9px; margin: 10px 0 13px; }
.schedule-people-summary > span { border: 1px solid #eee8f3; border-radius: 999px; background: #fff; padding: 7px 11px; color: #8792a0; font-size: 11px; }
.schedule-people-summary b { color: #725ba2; margin-right: 3px; }
.schedule-people-board { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.schedule-person-card { padding: 16px 16px 14px; }
.schedule-person-head { align-items: center; justify-content: flex-start; margin-bottom: 15px; }
.schedule-avatar { flex: 0 0 auto; display: grid; place-items: center; width: 35px; height: 35px; border-radius: 10px; background: #f2eafd; color: #9374c4; font-size: 14px; font-weight: 800; }
.schedule-person-head h3 { margin: 0; color: #2d394c; font-size: 13px; }.schedule-person-head span { color: #a2abb6; font-size: 10px; }
.schedule-person-head > b { margin-left: auto; padding: 5px 8px; border-radius: 999px; background: #fff4eb; color: #bb805a; white-space: nowrap; font-size: 10px; }
.schedule-person-columns { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.schedule-person-columns > div { min-width: 0; max-height: 250px; overflow: auto; border-top: 2px solid #e6dcf4; padding-top: 9px; scrollbar-width: thin; }
.schedule-person-columns > div:nth-child(2) { border-color: #f0caa1; }.schedule-person-columns > div:nth-child(3) { border-color: #9ed9d0; }
.schedule-person-columns h4 { display: flex; align-items: center; justify-content: space-between; gap: 5px; margin: 0 0 9px; color: #6a7585; font-size: 10px; white-space: nowrap; }
.schedule-person-columns em { font-style: normal; color: #8b6ba9; }
.schedule-person-task { padding: 6px 0; border-top: 1px solid #f3f1f5; }
.schedule-person-task strong, .schedule-person-task span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.schedule-person-task strong { font-size: 10px; color: #3c4655; }.schedule-person-task span { margin-top: 3px; font-size: 9px; color: #9ba5b0; }
@media(max-width:1100px){.schedule-overview{grid-template-columns:1fr}.schedule-trend-svg{height:125px}.schedule-people-board{grid-template-columns:1fr}}
@media(max-width:700px){.schedule-lanes{grid-template-columns:1fr}.schedule-hero{padding:17px}.schedule-hero-stats{gap:5px}.schedule-hero-stats>div{padding-left:7px}.schedule-active{padding:14px}.schedule-person-columns{grid-template-columns:1fr 1fr}.schedule-people-summary{gap:5px}}

@media (max-width: 1699px) {
  .analysis-board .metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .analysis-board .chart-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .app-shell { grid-template-columns: minmax(0, 1fr); }
  .main { width: 100%; max-width: 100%; }
  .analysis-board { min-width: 0; }
  .analysis-head { align-items: flex-start; flex-direction: column; gap: 6px; }
  .analysis-head .section-range { text-align: left; }
  .analysis-board .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .analysis-board .chart-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .analysis-board { padding: 12px 9px 9px; }
  .analysis-board .metric-card { min-height: 130px; padding: 11px; }
  .analysis-board .metric-value { font-size: 17px; }
  .analysis-board .metric-title { font-size: 11px; }
  .analysis-board .mini-chart { height: 32px; }
  .analysis-board .chart-panel { min-height: 225px; }
}

.ads-account-panels { display:grid; grid-template-columns:minmax(0,1fr); gap:11px; }
.account-panel { min-width:0; padding:12px; border-radius:17px; background:#f4efff; }
.account-panel:nth-child(2) { background:#ecf8f8; }
.account-panel-head { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:0 3px 9px; }
.account-panel-head>div { display:flex; align-items:center; gap:8px; }
.account-panel-head h3 { margin:0; color:#263552; font-size:16px; }
.account-panel-head small { color:#7f90a6; font-size:11px; }
.account-dot { width:10px; height:10px; border-radius:50%; }
.account-dot.official { background:#8d6be5; }.account-dot.creator { background:#20b9b5; }
.ads-metrics-scroll { overflow-x:auto; scrollbar-width:thin; padding-bottom:3px; }
.ads-metrics { display:grid; grid-template-columns:repeat(5,minmax(138px,1fr)) minmax(750px,5fr); gap:8px; min-width:1500px; }
.ads-metrics .metric-card { min-width:0; min-height:180px; padding:12px; }
.ads-metrics .metric-title { font-size:11px; }
.ads-metrics .metric-value { font-size:clamp(17px,1.05vw,21px); }
.ads-metrics [data-metric="net"] { box-shadow:inset 0 3px #ac91e7; }
.account-panel:nth-child(2) .ads-metrics [data-metric="net"] { box-shadow:inset 0 3px #7bcbc7; }
.ads-metrics [data-metric="newMaterials"] { box-shadow:inset 0 3px #f0b46a; }
.ads-ranking-card { display:flex; flex-direction:column; gap:7px; min-width:0; min-height:180px; padding:11px 13px 9px; border-radius:10px; background:#fff; }
.ads-ranking-head { display:flex; justify-content:space-between; align-items:flex-start; gap:8px; }
.ads-ranking-head h4 { margin:0 0 2px; color:#35425a; font-size:12px; }
.ads-ranking-head small { display:block; color:#92a0af; font-size:9px; line-height:1.4; }
.ads-ranking-head > span { flex:none; border-radius:6px; padding:3px 5px; background:#fff1dd; color:#ae782d; font-size:9px; font-weight:800; }
.ads-ranking-boards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; flex:1; min-height:0; }
.ads-ranking-board { min-width:0; border-left:1px solid #edf0f4; padding-left:9px; }
.ads-ranking-board:first-child { border-left:0; padding-left:0; }
.ads-ranking-board h5 { display:flex; justify-content:space-between; gap:5px; margin:0 0 4px; color:#657488; font-size:10px; }
.ads-ranking-board h5 span { color:#a3acb8; font-size:9px; }
.ads-ranking-list { display:grid; gap:4px; align-content:start; }
.ads-ranking-item { display:grid; grid-template-columns:18px minmax(0,1fr) auto; align-items:center; gap:5px; min-height:29px; }
.ads-ranking-item > b { display:grid; place-items:center; width:16px; height:16px; border-radius:5px; background:#f4eafa; color:#8860a6; font-size:9px; }
.ads-ranking-item:nth-child(1) > b { background:#fff0d9; color:#bd7d27; }
.ads-ranking-item > div { min-width:0; }
.ads-ranking-item strong { display:block; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; color:#3c4960; font-size:9px; }
.ads-ranking-item .ads-product-name-link { color:inherit; text-decoration:none; }
.ads-ranking-item .ads-product-name-link:hover, .ads-ranking-item .ads-product-name-link:focus-visible { color:#2c76d2; text-decoration:underline; text-underline-offset:2px; }
.ads-ranking-item small { display:block; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; color:#9ba5b1; font-size:8px; }
.ads-ranking-item em { color:#32435a; font-size:10px; font-style:normal; font-weight:800; white-space:nowrap; }
.ads-ranking-empty { margin:11px 0 0; color:#9ba5b1; font-size:10px; }
.ads-ranking-foot { margin:0; color:#9aa5b3; font-size:8px; line-height:1.3; }
/* 与排期总览一致的柔和渐变：保留白色阅读区与清晰的指标文字。 */
.analysis-board .metric-card,
.ads-metrics .metric-card,
.ads-ranking-card {
  border:1px solid #ece6f2;
  background:linear-gradient(124deg,var(--card-start,#faf5ff) 0%,#fff 61%,var(--card-end,#fff9f7) 100%);
  box-shadow:0 5px 18px #57466f0b;
}
.sales-board .metric-card { --card-start:#faf7fd; --card-end:#fffdfb; border-color:#f1ebf6; }
.sales-board [data-metric="net"] { --card-start:#f7f2fc; --card-end:#fffcfa; }
.sales-board [data-metric="spend"],
.sales-board [data-metric="feeRate"] { --card-start:#fffbf7; --card-end:#fffefd; border-color:#f6eee7; }
.sales-board [data-metric="roi"],
.sales-board [data-metric="refundRate"] { --card-start:#f5fbf9; --card-end:#fdfcff; border-color:#e9f3f0; }
.refund-board .metric-card { --card-start:#fdf8f9; --card-end:#fffdf9; border-color:#f6edef; }
.refund-board [data-metric="refundAmount"] { --card-start:#fbf3f6; --card-end:#fffcfa; }
.account-panel:first-child .metric-card,
.account-panel:first-child .ads-ranking-card { --card-start:#f9f6fc; --card-end:#fffdfb; border-color:#f0eaf5; }
.account-panel:nth-child(2) .metric-card,
.account-panel:nth-child(2) .ads-ranking-card { --card-start:#f4faf8; --card-end:#fffdfa; border-color:#e8f2ee; }
.account-panel .metric-card[data-metric="spend"],
.account-panel .metric-card[data-metric="feeRate"] { --card-start:#fffbf6; --card-end:#fffefd; border-color:#f6efe5; }
.account-panel .metric-card[data-metric="newMaterials"] { --card-start:#fffbf3; --card-end:#fffefa; border-color:#f6f0e5; }
.ads-chart-grid { margin-top:0; }
.ads-combo-panel { cursor:zoom-in; }
#ads-table.ads-product-table { min-width: 1560px; table-layout: fixed; font-size: 11px; }
#ads-table.ads-product-table th { height: 44px; padding: 11px 14px; background: #f7f9fc; color: #75879d; font-size: 10px; letter-spacing: .035em; border-top: 1px solid #edf1f6; border-bottom: 1px solid #e8edf4; }
#ads-table.ads-product-table td { height: 56px; padding: 9px 14px; border-bottom: 1px dashed #e8edf4; color: #516780; font-variant-numeric: tabular-nums; }
#ads-table.ads-product-table tbody tr:last-child td { border-bottom-style: solid; }
#ads-table.ads-product-table tbody tr:hover { background: #f8fbff; }
#ads-table.ads-product-table th:nth-child(1), #ads-table.ads-product-table td:nth-child(1) { width: 110px; text-align: left; }
#ads-table.ads-product-table th:nth-child(2), #ads-table.ads-product-table td:nth-child(2) { width: 172px; text-align: left; }
#ads-table.ads-product-table th:nth-child(3), #ads-table.ads-product-table td:nth-child(3) { width: 72px; text-align: center; }
#ads-table.ads-product-table th:nth-child(4), #ads-table.ads-product-table td:nth-child(4) { width: 340px; text-align: left; }
#ads-table.ads-product-table th:nth-child(n+5), #ads-table.ads-product-table td:nth-child(n+5) { width: 112px; text-align: right; }
#ads-table.ads-product-table .product-image-heading { color: #8898aa; text-align: center; }
#ads-table.ads-product-table .product-image-cell { padding-inline: 10px; text-align: center; }
#ads-table.ads-product-table .product-name-link { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
#ads-table.ads-product-table td.number-strong { color: #263f5f; font-weight: 750; }
.ads-combo-panel .trend-chart { height:220px; }
.modal-panel .ads-bands-chart { height:355px; }
.ads-combo-panel:hover, .ads-combo-panel:focus-visible { border-color:#d8e4f5; box-shadow:0 11px 28px #173d5f12; }
.ads-combo-panel .chart-legend { gap:7px 13px; }
.ads-combo-panel .legend-item { white-space:nowrap; }
.ads-combo-panel .legend-item strong { color:#33455f; font-size:10px; font-variant-numeric:tabular-nums; }
#modal-legend { margin:12px 0 4px; }
.filter-help { color:#93a3b5; font-size:11px; }
#ads-table th:nth-child(-n+3), #ads-table td:nth-child(-n+3), #schedule-table th:nth-child(-n+4), #schedule-table td:nth-child(-n+4) { text-align:left; }
#ads-table td:nth-child(3) { max-width:290px; overflow:hidden; text-overflow:ellipsis; }
.product-name-link { color:#263e5a; font-weight:650; text-decoration:none; }
.product-name-link:hover, .product-name-link:focus-visible { color:#2c76d2; text-decoration:underline; text-underline-offset:3px; }
.page-notice { border:1px solid #e4eaf4; background:#f8faff; color:#667b98; border-radius:11px; padding:11px 14px; font-size:11px; margin:12px 0 15px; line-height:1.6; }
.check-label { display:flex; align-items:center; gap:5px; color:#6b7d94; font-size:11px; }
.check-label input { min-width:0!important; width:auto; }
@media(max-width:700px){.account-panel{padding:10px}.ads-chart-grid{grid-template-columns:1fr}}

/* Keep identifier/image/name columns compact, then let metric columns share the remaining width. */
#product-table { min-width: 1560px; }
#channel-table { min-width: 1590px; }
@media (min-width: 1700px) {
  #product-table, #channel-table, #ads-table { table-layout: fixed; font-size: 11px; }
  #product-table th:nth-child(1) { width: 172px; }
  #product-table th:nth-child(2) { width: 72px; }
  #product-table th:nth-child(3) { width: 340px; }
  #channel-table.carrier-view:not(.daily-table) th:nth-child(1), #channel-table.carrier-view:not(.daily-table) td:nth-child(1) { width: 110px; }
  #channel-table.carrier-view:not(.daily-table) th:nth-child(2), #channel-table.carrier-view:not(.daily-table) td:nth-child(2) { width: 125px; }
  #channel-table.account-view th:nth-child(1), #channel-table.account-view td:nth-child(1) { width: 110px; }
  #channel-table.account-view th:nth-child(2), #channel-table.account-view td:nth-child(2) { width: 215px; }
  #ads-table th:nth-child(1) { width: 105px; }
  #ads-table th:nth-child(2) { width: 170px; }
  #ads-table th:nth-child(3) { width: min(22vw, 410px); }
  #product-table td, #channel-table td, #ads-table td { overflow: hidden; text-overflow: ellipsis; }
  #product-table td.name-cell, #ads-table td:nth-child(3) { max-width: none; }
}

.custom-date label { display: inline-flex; align-items: center; gap: 6px; position: relative; }
.custom-date label::after {
  content: ""; position: absolute; right: 10px; width: 15px; height: 15px; pointer-events: none;
  background: center / 15px 15px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23758ba2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M7 3v4M17 3v4M3 10h18'/%3E%3C/svg%3E");
}
.custom-date input[readonly] { padding-right: 29px; cursor: pointer; }
.custom-date input[readonly]:hover, .custom-date input[aria-expanded="true"] { border-color: #9bbce7; background: #f8fbff; }
.placeholder-row td { color: #9aa7b8; background: #fbfcff; }
.placeholder-row td:first-child, .placeholder-row td:nth-child(2) { color: #63738a; }
.daily-table .summary-row td { background: #f2f6ff; color: #344b68; font-weight: 750; border-bottom: 2px solid #dce8fa; }
.daily-table td:first-child, .daily-table th:first-child { text-align: left; font-variant-numeric: tabular-nums; }
.comparison-table { min-width: 1180px; }
.comparison-table .table-change { min-width: 92px; font-variant-numeric: tabular-nums; }
.comparison-table .table-change .delta { margin: 0; font-size: 10px; white-space: nowrap; }
.comparison-table .trend-column, .comparison-table .table-trend-cell { width: 132px; min-width: 132px; text-align: center; }
.table-trend-trigger { display: inline-flex; align-items: center; justify-content: center; width: 112px; height: 35px; padding: 2px 5px; border: 1px solid transparent; border-radius: 8px; background: transparent; cursor: zoom-in; }
.table-trend-trigger:hover, .table-trend-trigger:focus-visible { background: #f0f6ff; border-color: #d6e5ff; }
.table-trend-trigger .mini-chart { display: block; width: 100%; height: 27px; margin: 0; }
.table-trend-trigger .mini-chart svg { width: 100%; height: 100%; }

/* 指标卡片：名称、主数值、比较与趋势按固定阅读顺序分配空间。 */
.analysis-board .metric-card,
.ads-metrics .metric-card {
  grid-template-columns:minmax(0,1fr) minmax(70px,46%);
  grid-template-rows:minmax(30px,auto) auto minmax(53px,1fr);
  column-gap:11px;
  row-gap:5px;
  padding:14px 15px 13px;
  font-variant-numeric:tabular-nums;
}
.analysis-board .metric-title,
.ads-metrics .metric-title { color:#526274; font-size:12px; line-height:1.35; }
.analysis-board .metric-value,
.ads-metrics .metric-value { color:#233247; font-size:clamp(18px,1.08vw,22px); line-height:1.15; }
.analysis-board .metric-meta,
.ads-metrics .metric-meta { align-self:end; color:#7e8c9d; font-size:10px; line-height:1.35; }
.analysis-board .mini-chart,
.ads-metrics .mini-chart { align-self:end; height:53px; }
.ads-metrics .metric-card,
.ads-ranking-card { min-height:158px; }
.ads-metrics { grid-template-columns:repeat(5,minmax(158px,1fr)) minmax(750px,5fr); min-width:1600px; }
.ads-metrics .metric-card { grid-template-columns:minmax(0,1fr) minmax(55px,43%); column-gap:6px; }
.ads-metrics .metric-meta > span:first-child,
.ads-metrics .metric-meta .delta { white-space:nowrap; }
.analysis-board [data-chart="sales-carrier"] .chart-heading p { display:block; font-size:10px; line-height:1.35; color:#8592a4; max-width:280px; }
.analysis-board .chart-panel .trend-chart svg,
.ads-combo-panel .trend-chart svg,
.modal-panel .trend-chart svg { overflow:hidden; }
@media (min-width:1700px) {
  .analysis-board .metric-card { padding:14px 13px 12px; }
  .analysis-board .metric-value { font-size:clamp(17px,.97vw,20px); }
  .sales-board [data-metric="net"] .metric-value,
  .refund-board [data-metric="refundAmount"] .metric-value { font-size:clamp(25px,1.55vw,30px); }
  .sales-board [data-metric="net"] .mini-chart,
  .refund-board [data-metric="refundAmount"] .mini-chart { height:86px; }
}
@media (max-width:560px) {
  .analysis-board .metric-card { grid-template-columns:minmax(0,1fr) minmax(52px,40%); padding:11px; }
  .analysis-board .metric-value { font-size:17px; }
  .analysis-board .mini-chart { height:40px; }
}
@media (min-width: 1700px) {
  #channel-table.daily-table th:nth-child(1) { width: 125px; }
  #channel-table.daily-table th:nth-child(2) { width: 105px; }
  #channel-table.daily-table th:nth-child(3) { width: 105px; }
}

/* 轻快的文具色：奶油白底、蜜桃粉主色和浅蓝点缀。 */
.sidebar {
  background: radial-gradient(circle at 8% 6%, #fff9d6 0 42px, transparent 44px),
    radial-gradient(circle at 110% 58%, #d8f0fa 0 105px, transparent 107px),
    linear-gradient(160deg, #fff4ec 0%, #ffeaf0 52%, #ecf6ff 100%);
  color: #604c5b; border-right: 1px solid #f0dce5;
}
.brand-mark { background: linear-gradient(145deg, #ff7891, #ffa85d); color: #fff; box-shadow: 0 9px 22px #ed789233; }
.brand strong { color: #544151; }
.brand small { color: #947986; }
.nav-caption { color: #a47d8c; }
.nav-item { color: #765c6e; font-weight: 650; }
.nav-item:hover { color: #b44e6d; background: #ffffffa8; }
.nav-item.active { color: #a74466; background: #fffdfdcc; box-shadow: inset 4px 0 #ff7999, 0 7px 20px #cf7e9424; }
.nav-icon { color: #d27791; }
.nav-tag { color: #a4637d; background: #fff4f8; }
.sidebar-note { color: #927b8a; border-top: 1px solid #ebcad7; }
.table-controls .glass-select-trigger {
  min-width: 76px; max-width: 190px; padding: 7px 26px 7px 9px;
  border: 1px solid #dce5ee; border-radius: 7px;
  background: #fff; color: #567088; font-size: 10px;
  text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  position: relative;
}
.table-controls .glass-select-trigger::after {
  content: "⌄"; position: absolute; right: 9px; top: 50%; transform: translateY(-58%);
  color: #6382a1; font-size: 15px;
}
.table-controls .glass-select-trigger:hover, .table-controls .glass-select-trigger[aria-expanded="true"] { border-color: #91b5e4; background: #f8fbff; }
.glass-popover {
  position: fixed; z-index: 150;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(255, 255, 255, .92);
  border-radius: 15px;
  box-shadow: 0 14px 38px rgba(28, 49, 83, .19), 0 2px 7px rgba(28, 49, 83, .08);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
  backdrop-filter: blur(20px) saturate(145%);
  opacity: 0; transform: translateY(-4px) scale(.97); transform-origin: top left;
  transition: opacity .16s ease, transform .2s cubic-bezier(.2,.8,.2,1);
}
.glass-popover.is-open { opacity: 1; transform: translateY(0) scale(1); }
.glass-select-menu { min-width: 128px; max-width: min(280px, calc(100vw - 20px)); max-height: min(330px, calc(100vh - 20px)); overflow-y: auto; padding: 5px; }
.glass-select-menu [role="listbox"] { display: grid; gap: 2px; }
.glass-option { width: 100%; border: 0; border-radius: 9px; background: transparent; color: #34465c; padding: 8px 10px; text-align: left; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.glass-option:hover, .glass-option:focus-visible { background: rgba(211, 228, 251, .7); }
.glass-option.selected { background: #2c76d2; color: #fff; }
.glass-option:disabled { color: #aeb9c7; cursor: default; }
.glass-calendar { width: 278px; max-width: calc(100vw - 20px); padding: 12px; color: #34465c; }
.glass-calendar-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.glass-calendar-head strong { font-size: 12px; color: #223851; }
.glass-calendar-head button { width: 29px; height: 29px; border: 0; border-radius: 8px; background: transparent; color: #59718d; font-size: 22px; line-height: 1; }
.glass-calendar-head button:hover { background: rgba(211, 228, 251, .7); }
.glass-weekdays, .glass-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); text-align: center; }
.glass-weekdays { color: #8c9bad; font-size: 10px; padding-bottom: 5px; }
.glass-weekdays span { padding: 5px 0; }
.glass-days { gap: 2px; }
.glass-day { aspect-ratio: 1; border: 0; border-radius: 9px; background: transparent; color: #35465a; font-size: 11px; }
.glass-day:hover, .glass-day:focus-visible { background: rgba(211, 228, 251, .85); }
.glass-day.outside { color: #aab5c4; }
.glass-day.today { box-shadow: inset 0 0 0 1px #9bbce7; }
.glass-day.selected, .glass-day.selected:hover { background: #2c76d2; color: #fff; box-shadow: 0 4px 10px rgba(44, 118, 210, .22); }
.glass-calendar-foot { display: flex; justify-content: space-between; border-top: 1px solid rgba(153, 173, 200, .25); margin-top: 9px; padding-top: 8px; }
.glass-calendar-foot button { border: 0; border-radius: 7px; background: transparent; color: #2b74cd; padding: 5px 8px; font-size: 11px; }
.glass-calendar-foot button:hover { background: rgba(211, 228, 251, .7); }
@media (prefers-reduced-motion: reduce) { .glass-popover { transition: none; } }

/* Monthly sales target: compact semicircular progress meter in the dashboard palette. */
.sales-board [data-chart="sales-target"] .target-wrap { min-height: 218px; padding: 0 8px 8px; flex-direction: column; flex-wrap: nowrap; justify-content: center; gap: 0; }
.sales-board [data-chart="sales-target"] .target-meter { position: relative; display: grid; place-items: center; width: min(100%, 310px); height: 150px; flex: none; }
.sales-board [data-chart="sales-target"] .target-gauge { display: block; width: 100%; height: 100%; overflow: visible; }
.sales-board [data-chart="sales-target"] .target-gauge line { stroke: #e7edf5; stroke-width: 5; stroke-linecap: round; }
.sales-board [data-chart="sales-target"] .target-gauge line.is-active { stroke: #4b83cf; }
.sales-board [data-chart="sales-target"] .target-donut-center { position: absolute; left: 50%; top: 77px; transform: translateX(-50%); width: 100%; text-align: center; }
.sales-board [data-chart="sales-target"] .target-donut-center strong { color: #1d3655; font-size: 29px; line-height: 1.1; letter-spacing: -.035em; }
.sales-board [data-chart="sales-target"] .target-donut-center small { color: #8798ae; font-size: 10px; }
.sales-board [data-chart="sales-target"] .target-details { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 3px; width: 100%; min-width: 0; text-align: center; }
.sales-board [data-chart="sales-target"] .target-goal { display: flex; align-items: baseline; justify-content: center; gap: 9px; width: 100%; }
.sales-board [data-chart="sales-target"] .target-goal small { color: #8496ad; font-size: 10px; }
.sales-board [data-chart="sales-target"] .target-goal strong { color: #315f98; font-size: 22px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.sales-board [data-chart="sales-target"] .target-actual { display: flex; align-items: baseline; justify-content: center; gap: 5px; }
.sales-board [data-chart="sales-target"] .target-actual small { color: #98a6b7; font-size: 9px; }
.sales-board [data-chart="sales-target"] .target-actual strong { color: #516a87; font-size: 10px; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
  .sales-board [data-chart="sales-target"] .target-wrap { min-height: 208px; padding: 0 2px 6px; }
  .sales-board [data-chart="sales-target"] .target-meter { height: 140px; }
  .sales-board [data-chart="sales-target"] .target-donut-center { top: 70px; }
  .sales-board [data-chart="sales-target"] .target-goal { gap: 7px; }
  .sales-board [data-chart="sales-target"] .target-goal strong { font-size: 20px; }
  .sales-board [data-chart="sales-target"] .target-actual { flex-wrap: wrap; }
}

/* 商品与载体数据表：保持原字段，仅调整表头、行距、数值对齐和商品主图位。 */
.table-panel { overflow: hidden; border-color: #e3eaf3; border-radius: 15px; box-shadow: 0 10px 28px rgba(29, 57, 91, .045); }
.table-panel-head { padding: 19px 22px 14px; }
.table-panel-head h3 { color: #203752; font-size: 14px; font-weight: 750; letter-spacing: -.01em; }
.table-panel-head p { color: #8799ae; line-height: 1.55; }
.table-scroll { max-height: 600px; scrollbar-color: #cbd7e5 transparent; scrollbar-width: thin; }
.table-scroll::-webkit-scrollbar { width: 9px; height: 9px; }
.table-scroll::-webkit-scrollbar-thumb { border: 2px solid #fff; border-radius: 9px; background: #d1dbe8; }
.table-scroll::-webkit-scrollbar-thumb:hover { background: #aebed1; }
table.product-sales-table { min-width: 1390px; table-layout: fixed; font-size: 11px; }
table.channel-sales-table { min-width: 1320px; font-size: 11px; }
table.product-sales-table th, table.channel-sales-table th { height: 44px; padding: 11px 14px; background: #f7f9fc; color: #75879d; font-size: 10px; letter-spacing: .035em; border-top: 1px solid #edf1f6; border-bottom: 1px solid #e8edf4; }
table.product-sales-table td, table.channel-sales-table td { height: 56px; padding: 9px 14px; border-bottom: 1px dashed #e8edf4; color: #516780; font-variant-numeric: tabular-nums; }
table.product-sales-table tbody tr:last-child td, table.channel-sales-table tbody tr:last-child td { border-bottom-style: solid; }
table.product-sales-table tbody tr:hover, table.channel-sales-table tbody tr:hover { background: #f8fbff; }
table.product-sales-table th:nth-child(1), table.product-sales-table td:nth-child(1) { width: 148px; text-align: left; }
table.product-sales-table th:nth-child(2), table.product-sales-table td:nth-child(2) { width: 72px; text-align: center; }
table.product-sales-table th:nth-child(3), table.product-sales-table td:nth-child(3) { width: 290px; text-align: left; }
table.product-sales-table th:nth-child(n+4), table.product-sales-table td:nth-child(n+4) { width: 112px; }
table.product-sales-table th:nth-child(8), table.product-sales-table td:nth-child(8) { width: 100px; }
table.product-sales-table th:nth-child(10), table.product-sales-table td:nth-child(10) { width: 96px; }
table.product-sales-table .product-image-heading { color: #8898aa; text-align: center; }
table.product-sales-table .product-image-cell { padding-inline: 10px; text-align: center; }
.product-thumbnail { display: inline-grid; width: 42px; height: 42px; overflow: hidden; place-items: center; border: 1px solid #e5ebf2; border-radius: 9px; background: #f8fafc; object-fit: cover; vertical-align: middle; }
.product-thumbnail-placeholder { color: #9aabc0; }
.product-thumbnail-placeholder svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.45; }
table.product-sales-table td:nth-child(1) { color: #6c8097; font-size: 10px; letter-spacing: .015em; }
table.product-sales-table td:nth-child(3) { max-width: 290px; }
table.product-sales-table .product-name-link { display: inline-block; max-width: 100%; overflow: hidden; color: #263e5a; font-weight: 650; text-decoration: none; text-overflow: ellipsis; vertical-align: middle; }
table.product-sales-table .product-name-link:hover, table.product-sales-table .product-name-link:focus-visible { color: #2c76d2; text-decoration: underline; text-underline-offset: 3px; }
table.product-sales-table td.number-strong { color: #263f5f; font-weight: 750; }
table.channel-sales-table td:first-child, table.channel-sales-table td:nth-child(2) { color: #304a67; font-weight: 600; }
table.channel-sales-table:not(.daily-table) th:nth-child(n+3),
table.channel-sales-table:not(.daily-table) td:nth-child(n+3),
table.daily-table.channel-sales-table th:nth-child(n+4),
table.daily-table.channel-sales-table td:nth-child(n+4) { text-align: center; }
table.channel-sales-table .table-change { font-weight: 700; }
table.channel-sales-table .trend-column, table.channel-sales-table .table-trend-cell { padding-inline: 9px; }
table.daily-table.channel-sales-table td, table.daily-table.channel-sales-table th { height: 52px; }
table.daily-table.channel-sales-table .summary-row td { background: #f3f7fd; font-weight: 750; border-bottom: 2px solid #dbe6f4; }
@media (max-width: 700px) {
  .table-panel-head { padding: 16px 15px 12px; }
  .table-controls { padding-inline: 14px; }
  .table-scroll { max-height: 65vh; }
  table.product-sales-table td, table.channel-sales-table td { height: 54px; padding-inline: 10px; }
}

/* 可点击趋势卡片：提示支持打开大图，同时保留原有卡片布局。 */
.chart-panel[role="button"] { cursor: zoom-in; transition: border-color .16s ease, box-shadow .16s ease; }
.chart-panel[role="button"]:hover, .chart-panel[role="button"]:focus-visible { border-color: #bfd4ed; box-shadow: 0 12px 28px rgba(35, 83, 137, .1); outline: none; }

/* 侧栏图标统一为明快珊瑚粉，与背景渐变和品牌标记协调，同时保持足够辨识度。 */
.navigation .nav-icon .nav-logo:not(.nav-logo-schedule) path { fill: #cf5575 !important; }
.navigation .nav-icon .nav-logo-schedule path { fill: none !important; stroke: #cf5575 !important; }

/* 小窗口日期筛选：快捷选项与自定义日期分组排列，避免挤压和错落。 */
@media (max-width: 900px) {
  .date-bar { display: grid; grid-template-columns: minmax(100px, auto) minmax(0, 1fr); align-items: center; gap: 10px 12px; padding: 14px; }
  .date-label { grid-column: 1; min-width: 0; }
  .presets { grid-column: 2; width: auto; min-width: 0; gap: 5px; }
  .preset { padding: 8px 9px; white-space: nowrap; }
  .custom-date { grid-column: 1 / -1; width: 100%; margin: 0; justify-content: flex-end; gap: 8px; padding-top: 10px; border-top: 1px solid #edf1f6; }
}
@media (max-width: 560px) {
  .date-bar { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 12px; }
  .date-label, .presets, .custom-date { grid-column: 1; }
  .presets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .preset { min-width: 0; padding: 8px 3px; font-size: 10px; text-align: center; }
  .custom-date { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; justify-content: stretch; gap: 8px 6px; }
  .custom-date label { width: 100%; min-width: 0; gap: 4px; }
  .custom-date label:first-child { grid-row: 1; grid-column: 1; white-space: nowrap; }
  .custom-date > span { grid-row: 1; grid-column: 2; }
  .custom-date label:nth-of-type(2) { grid-row: 1; grid-column: 3; }
  .custom-date input { width: 100%; min-width: 0; padding: 7px 22px 7px 6px; font-size: 10px; }
  .custom-date label::after { right: 6px; width: 13px; height: 13px; background-size: 13px 13px; }
  .custom-date #apply-date { grid-row: 2; grid-column: 3; justify-self: end; min-width: 76px; margin-top: 2px; }
}

/* Narrow screens: keep all four dashboard sections visible without clipping the last tab. */
@media (max-width: 560px) {
  .navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; overflow: visible; }
  .navigation .nav-item { width: 100%; min-width: 0; gap: 8px; padding: 9px; font-size: 12px; }
  .navigation .nav-icon { width: 21px; flex: 0 0 21px; }
}

/* Keep Qianchuan account metrics and rankings inside common desktop and mobile widths. */
@media (max-width: 1699px) {
  .ads-metrics-scroll { overflow: visible; padding-bottom: 0; }
  .ads-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); min-width: 0; }
  .ads-metrics .ads-ranking-card { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .ads-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Short-video production board */
.team-overview,.team-efficiency-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:15px 0 18px}
.team-overview>div,.team-efficiency-summary>div{min-width:0;padding:17px 18px;border:1px solid var(--team-border,#e3eaf6);border-radius:16px;background:linear-gradient(130deg,var(--team-tint,#f1f6ff),#fff 73%);box-shadow:0 4px 15px #2e51700a}
.team-overview>div:nth-child(4n+1),.team-efficiency-summary>div:nth-child(4n+1){--team-tint:#edf5ff;--team-border:#dce9fa}
.team-overview>div:nth-child(4n+2),.team-efficiency-summary>div:nth-child(4n+2){--team-tint:#eaf8f5;--team-border:#dbeee9}
.team-overview>div:nth-child(4n+3),.team-efficiency-summary>div:nth-child(4n+3){--team-tint:#fff4ed;--team-border:#f3e5dc}
.team-overview>div:nth-child(4n+4),.team-efficiency-summary>div:nth-child(4n+4){--team-tint:#f3efff;--team-border:#e9e1f7}
.team-overview small,.team-efficiency-summary small,.team-overview strong,.team-efficiency-summary strong,.team-overview span,.team-efficiency-summary span{display:block}
.team-overview small,.team-efficiency-summary small{color:#8190a7;font-size:11px;font-weight:700}
.team-overview strong,.team-efficiency-summary strong{margin:7px 0;color:#273c5a;font-size:27px;line-height:1.1;letter-spacing:-.03em}
.team-overview span,.team-efficiency-summary span{color:#8e9db2;font-size:10px;line-height:1.5}
.team-panel{margin-bottom:25px}.team-controls{flex-wrap:wrap}.team-controls input[type=search]{min-width:200px;flex:1}
.team-progress-scroll{max-height:none}.team-progress-table#schedule-table{min-width:1140px;width:100%;table-layout:fixed;font-size:11px}
.team-progress-table#schedule-table th,.team-progress-table#schedule-table td{text-align:left;vertical-align:middle;white-space:normal}
.team-progress-table#schedule-table th:nth-child(1){width:20%}.team-progress-table#schedule-table th:nth-child(2){width:10%}.team-progress-table#schedule-table th:nth-child(3){width:48%}.team-progress-table#schedule-table th:nth-child(4){width:11%}.team-progress-table#schedule-table th:nth-child(5){width:11%}
.team-progress-table#schedule-table td{padding:12px 13px}.team-progress-table#schedule-table tr.team-product-row{cursor:pointer}.team-progress-table#schedule-table tr.team-product-row:hover{background:#f7faff}.team-progress-table#schedule-table tr.team-product-row:focus-visible{outline:2px solid #6b9de9;outline-offset:-2px}
.team-month-row td{background:#f5f8fc;color:#345c8b;font-size:12px;font-weight:800}.team-month-row small{margin-left:9px;color:#91a2b7;font-weight:500}.team-month-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#73b6ed;margin-right:8px}
.team-product{display:flex;align-items:center;gap:10px;min-width:0}.team-product>span:last-child{min-width:0}.team-product strong,.team-product small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.team-product strong{color:#30435f;font-size:12px}.team-product small{margin-top:5px;color:#91a0b3;font-size:10px}.team-product-initial{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:11px;background:#eaf2ff;color:#5d91da;font-weight:800}
.team-script-type{display:block;margin-top:6px;color:#98a6b6}.team-phase-track{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.team-phase{min-width:0;text-align:center}.team-phase small,.team-phase em{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.team-phase small{margin-bottom:6px;color:#697d98;font-size:10px}.team-phase i{display:block;height:7px;border-radius:999px;background:#e5eaf1}.team-phase.done i{background:#5ac5b5}.team-phase.active i{background:#8b77d4}.team-phase.planned i{background:#f2bb73}.team-phase.recorded i{background:#9fbaeb}.team-phase em{font-size:9px;color:#91a0b0;font-style:normal;margin-top:5px}.team-phase.done em{color:#42a895}.team-phase.active em{color:#8266b8}.team-promotion{color:#6f829a;font-size:10px}
.team-detail-row td{background:#fbfcff}.team-detail-row[hidden]{display:none}.team-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.team-detail-item{display:grid;align-content:start;gap:5px;padding:11px;border:1px solid #e7edf6;border-radius:11px;background:#fff}.team-detail-item b{font-size:11px;color:#354a68}.team-detail-item small{display:block;color:#8292a8;font-size:10px;line-height:1.5}.team-state{width:max-content;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:7px;padding:3px 7px;background:#f1f4f8;color:#8999ab;font-size:10px}.team-state.done{background:#e9f8f3;color:#3a9b85}.team-state.active{background:#f0ecfc;color:#806bc5}.team-state.planned{background:#fff4e6;color:#b68849}.team-state.recorded{background:#eaf2ff;color:#5d88c1}
.team-week-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:12px 0}.team-week-nav{display:flex;gap:5px}.team-week-nav button{border:1px solid #dce7f4;border-radius:9px;background:#fff;color:#4d78ae;padding:7px 11px;cursor:pointer}.team-week-nav button:hover{background:#eff6ff}.team-week-toolbar select{border:1px solid #dce7f4;border-radius:9px;padding:8px;color:#527092;background:#fff}
.team-people-board,.team-eff-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.team-person-card,.team-eff-card{min-width:0;border:1px solid var(--team-border,#e3eaf4);border-radius:16px;padding:16px;background:linear-gradient(145deg,var(--team-tint,#f5f7ff),#fff 62%);box-shadow:0 4px 16px #34537a08}.team-person-card:nth-child(4n+1),.team-eff-card:nth-child(4n+1){--team-tint:#f2f2ff;--team-border:#e7e6f5}.team-person-card:nth-child(4n+2),.team-eff-card:nth-child(4n+2){--team-tint:#edf9f7;--team-border:#dfeeea}.team-person-card:nth-child(4n+3),.team-eff-card:nth-child(4n+3){--team-tint:#fff5ef;--team-border:#f2e7e0}.team-person-card:nth-child(4n+4),.team-eff-card:nth-child(4n+4){--team-tint:#eef5ff;--team-border:#dfeaf7}.team-person-card header,.team-eff-card header{display:flex;align-items:center;gap:10px}.team-person-card header h3,.team-eff-card header h3{margin:0;color:#314461;font-size:13px}.team-person-card header small,.team-eff-card header small{display:block;margin-top:3px;color:#9aa8b9;font-size:10px}.team-person-card header>b{margin-left:auto;border-radius:99px;background:#eef5ff;color:#6d94c7;padding:5px 8px;font-size:10px;white-space:nowrap}.team-week-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:15px}.team-week-columns>section{min-width:0;border-top:2px solid #aed0f3;padding-top:8px}.team-week-columns>section:nth-child(2){border-color:#b8dcd5}.team-week-columns h4{display:flex;justify-content:space-between;margin:0 0 6px;color:#516783;font-size:11px}.team-week-columns em{font-style:normal;color:#7a97b7}.team-task{padding:8px 0;border-top:1px dashed #e6ebf3}.team-task>div{display:flex;align-items:center;gap:6px;min-width:0}.team-task strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#334b69;font-size:11px}.team-task-role{flex:0 0 auto;border-radius:5px;padding:2px 5px;background:#f1eefb;color:#826cba;font-size:9px}.team-task small{display:block;margin-top:4px;color:#8697aa;font-size:10px;line-height:1.4}.team-task.done strong{color:#739a92}.team-task.done .team-task-role{background:#e9f8f3;color:#51a995}.team-empty{font-size:10px;color:#9aa9b8}.team-backlog{margin-top:12px;border-top:1px solid #edf1f5;padding-top:10px}.team-backlog summary{cursor:pointer;color:#8c9bb0;font-size:10px}
.team-efficiency-summary{margin-top:13px}.team-eff-note{margin:0 0 14px;border:1px solid #e3eaf6;border-radius:11px;background:#f8faff;padding:11px 13px;color:#8394aa;font-size:10px;line-height:1.6}.team-eff-card header{margin-bottom:14px}.team-eff-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.team-eff-grid>div{min-width:0;border-radius:10px;background:#f7faff;padding:10px}.team-eff-grid span,.team-eff-grid b,.team-eff-grid small{display:block}.team-eff-grid span{color:#8798ae;font-size:10px}.team-eff-grid b{margin-top:5px;color:#354f74;font-size:15px;line-height:1.3;overflow-wrap:anywhere}.team-eff-grid small{margin-top:4px;color:#99a8b9;font-size:9px;font-weight:400}
@media(max-width:1050px){.team-overview,.team-efficiency-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.team-people-board,.team-eff-cards{grid-template-columns:1fr}}
@media(max-width:650px){.team-overview,.team-efficiency-summary{gap:7px}.team-overview>div,.team-efficiency-summary>div{padding:12px}.team-overview strong,.team-efficiency-summary strong{font-size:21px}.team-detail-grid{grid-template-columns:1fr}.team-week-columns{grid-template-columns:1fr}.team-week-toolbar{flex-wrap:wrap}}

/* Grade colors and schedule pictures taken from the source workbook. */
.team-product-row.grade-s{--grade-bg:#fff0ef;--grade-ink:#bf626c;--grade-border:#f2d9db;--grade-edge:#eaa1a7}
.team-product-row.grade-a{--grade-bg:#f3efff;--grade-ink:#8269b9;--grade-border:#e6ddf8;--grade-edge:#b5a3df}
.team-product-row.grade-b{--grade-bg:#edf5ff;--grade-ink:#557fbb;--grade-border:#dce9f9;--grade-edge:#9abde9}
.team-product-row.grade-none{--grade-bg:#f2f5f9;--grade-ink:#788a9f;--grade-border:#e2e9f1;--grade-edge:#bac7d7}
.team-progress-table#schedule-table .team-product-row>td:first-child{box-shadow:inset 3px 0 var(--grade-edge)}
.team-progress-table#schedule-table .team-product-row .schedule-grade{background:var(--grade-bg);color:var(--grade-ink);border:1px solid var(--grade-border);font-weight:750}
.team-product-thumb{position:relative;display:block;flex:0 0 42px;width:42px;height:42px;overflow:hidden;border:1px solid var(--grade-border,#dce9f9);border-radius:10px;background:var(--grade-bg,#edf5ff)}
.team-product-thumb .team-product-initial{width:100%;height:100%;border-radius:0;background:transparent;color:var(--grade-ink,#5d91da);font-size:15px}
.team-product-image{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;background:#fff}

/* 排期页以浅蓝、白和少量青色标记进度，等级徽标保留低饱和区分。 */
#schedule-page .team-overview>div,#schedule-page .team-efficiency-summary>div{--team-tint:#f0f6ff;--team-border:#e1eaf6}
#schedule-page .team-person-card,#schedule-page .team-eff-card{--team-tint:#f3f7fd;--team-border:#e3ebf5}
#schedule-page .team-person-card:nth-child(n),#schedule-page .team-eff-card:nth-child(n){--team-tint:#f3f7fd;--team-border:#e3ebf5}
#schedule-page .team-phase.done i{background:#63bfb5}
#schedule-page .team-phase.active i{background:#6b9ee2}
#schedule-page .team-phase.planned i,#schedule-page .team-phase.recorded i{background:#b8cdec}
#schedule-page .team-phase.active em{color:#628ac0}
#schedule-page .team-state.active,#schedule-page .team-state.planned,#schedule-page .team-state.recorded,#schedule-page .schedule-stage.pending{background:#eef4fc;color:#6484ad}
#schedule-page .team-week-columns>section:nth-child(2){border-color:#d6e4f4}
#schedule-page .team-task-role,#schedule-page .team-task.done .team-task-role{background:#edf4fc;color:#6888ad}
#schedule-page .schedule-role-entry{background:#f8fafd;border-color:#e5ecf5}
.team-progress-table#schedule-table th:nth-child(1){width:16%}.team-progress-table#schedule-table th:nth-child(2){width:7%}.team-progress-table#schedule-table th:nth-child(3){width:55%}.team-progress-table#schedule-table th:nth-child(4){width:11%}.team-progress-table#schedule-table th:nth-child(5){width:11%}
.team-progress-table#schedule-table td{padding:12px 10px}
.team-product{gap:8px}.team-product-thumb{flex-basis:38px;width:38px;height:38px}.team-product strong{font-size:11px}
#schedule-date-slot{margin:10px 0 18px}
#schedule-date-slot .date-bar{margin:0}
.team-subhead{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:18px 0 8px}
.team-subhead h3{margin:0;color:#314561;font-size:15px}.team-subhead p{margin:4px 0 0;color:#8a99ad;font-size:11px;line-height:1.5}
.team-week-heading{margin-top:29px;padding-top:21px;border-top:1px solid #e7edf5}
.team-role-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:8px}
.team-role-card{min-width:0;padding:15px 16px;border:1px solid #e3ebf5;border-radius:15px;background:linear-gradient(140deg,#f5f8fd,#fff 58%);box-shadow:0 4px 16px #34537a08}
.team-role-card header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.team-role-card h4{margin:0;color:#324863;font-size:13px}.team-role-card header span{padding:4px 8px;border-radius:99px;background:#eef4fc;color:#6e8daf;font-size:10px}
.team-role-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.team-role-columns section{min-width:0}.team-role-columns h5{display:flex;justify-content:space-between;margin:0 0 7px;padding-bottom:6px;border-bottom:2px solid #b6d0ee;color:#627894;font-size:11px}.team-role-columns section:nth-child(2) h5{border-color:#b5ddd7}.team-role-columns h5 b{font-size:11px}
.team-role-list{max-height:210px;overflow:auto;scrollbar-width:thin}.team-role-task{padding:8px 0;border-bottom:1px dashed #e5ebf2}.team-role-task:last-child{border-bottom:0}.team-role-task strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#344965;font-size:11px}.team-role-task small{display:block;margin-top:4px;color:#8799ae;font-size:10px;line-height:1.45}
.team-phase{cursor:help}
.team-phase-tooltip{position:fixed;z-index:1200;width:min(310px,calc(100vw - 24px));max-height:min(360px,calc(100vh - 24px));overflow:auto;pointer-events:none;padding:13px 14px;border:1px solid #dce7f4;border-radius:12px;background:#fff;box-shadow:0 13px 34px #253f6260;color:#344965;font-size:11px;line-height:1.45}
.team-phase-tooltip[hidden]{display:none}.team-phase-tip-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding-bottom:8px;border-bottom:1px solid #e7edf5}.team-phase-tip-head strong{min-width:0;font-size:12px;overflow-wrap:anywhere}.team-phase-tip-head span{flex:0 0 auto;color:#6a90be;font-size:10px}.team-phase-tip-task{padding-top:9px}.team-phase-tip-task+ .team-phase-tip-task{margin-top:8px;border-top:1px dashed #e5ebf2}.team-phase-tip-task>div{display:flex;justify-content:space-between;gap:8px}.team-phase-tip-task b{color:#304764}.team-phase-tip-task span{color:#6685a8}.team-phase-tip-task small{display:block;margin-top:4px;color:#758aa4}.team-phase-tooltip p{margin:9px 0 0;color:#8193a9}
@media(max-width:850px){.team-role-board{grid-template-columns:1fr}.team-progress-table#schedule-table{min-width:1050px}}
@media(max-width:500px){.team-subhead{display:block}.team-subhead .section-range{display:block;margin-top:7px}.team-role-columns{gap:8px}.team-role-card{padding:12px}}
#schedule-date-slot{margin:0 0 4px}
#schedule-date-slot + .section-head{margin-top:20px}
.team-week-toolbar{flex-wrap:wrap;justify-content:flex-start;gap:10px 12px}
.team-week-current{display:flex;flex:1 1 270px;flex-direction:column;gap:3px;min-width:230px;color:#334e70;font-size:12px}
.team-week-current strong{font-weight:750}.team-week-current span{color:#8194aa;font-size:11px;font-variant-numeric:tabular-nums}
.team-week-toolbar .glass-select-trigger{border:1px solid #dce7f4;border-radius:9px;background:#fff;color:#527092;padding:8px 10px;font-size:11px;text-align:left}
#schedule-week-jump + .glass-select-trigger{max-width:295px;min-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#schedule-person-filter + .glass-select-trigger{min-width:110px}
@media(max-width:1100px){.team-week-current{flex-basis:100%;order:-1}.team-week-toolbar .glass-select-trigger{max-width:100%}}

.ai-decision-panel{margin:15px 0 18px;padding:19px;border:1px solid #e2eaf5;border-radius:17px;background:linear-gradient(125deg,#f2f7ff,#fff 72%);box-shadow:0 7px 22px #3050790b}
.ai-decision-head h3{margin:5px 0 4px;color:#263e5e;font-size:18px}.ai-decision-head p{margin:0;color:#8293aa;font-size:11px;line-height:1.55}
.ai-decision-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-top:15px}
.ai-decision-card{min-width:0;padding:15px 16px;border:1px solid #e3ebf5;border-radius:13px;background:#fff}
.ai-decision-index{color:#77a5da;font-size:10px;font-weight:800;letter-spacing:.08em}.ai-decision-card h4{margin:5px 0 10px;color:#304762;font-size:13px}
.ai-decision-evidence{min-height:43px;margin:0 0 10px;color:#6d829e;font-size:11px;line-height:1.55}.ai-decision-action{margin:0;padding-top:10px;border-top:1px solid #edf1f6;color:#344d6c;font-size:11px;line-height:1.6}
@media(max-width:1100px){.ai-decision-grid{grid-template-columns:1fr}.ai-decision-evidence{min-height:0}}
/* AI 店长：渠道和千川素材播放分开标注来源，渠道卡片保持清晰的阅读层级。 */
#ai-page .channel-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}
#ai-page .channel-section-head h4{margin:0 0 6px;font-size:17px;color:#253c58}
#ai-page .channel-section-head p{margin:0;color:#8294aa;font-size:11px;line-height:1.5}
#ai-page .channel-section-head>span{flex:none;color:#8499b2;font-size:11px}
#ai-page .channel-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
#ai-page .channel-card{min-width:0;border:1px solid #e5edf6;border-radius:15px;padding:15px;background:linear-gradient(150deg,#fff 50%,#f7faff);display:flex;flex-direction:column;gap:12px}
#ai-page .channel-card-top{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}
#ai-page .channel-card-top small{display:block;color:#8799af;font-size:10px}
#ai-page .channel-card-top h5{margin:2px 0 0;color:#2b4260;font-size:14px}
#ai-page .channel-card-top b{display:flex;flex-direction:column;align-items:flex-end;gap:3px;white-space:nowrap}
#ai-page .channel-card-top b .insight-channel-change-amount{font-size:12px}
#ai-page .channel-card-top b .insight-channel-change-percent{font-size:10px}
#ai-page .channel-card-main>span{display:block;color:#8a9bb0;font-size:10px;margin-bottom:4px}
#ai-page .channel-card-main>strong{display:block;font-size:20px;color:#223a58;letter-spacing:-.025em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#ai-page .channel-card-detail{display:flex;justify-content:space-between;gap:7px;flex-wrap:wrap;color:#788da6;font-size:10px;font-variant-numeric:tabular-nums}
#ai-page .channel-card-trend{display:flex;align-items:center;gap:8px;border-top:1px solid #eaf0f7;padding-top:9px;margin-top:auto}
#ai-page .channel-card-trend>small{flex:none;color:#8b9bb0;font-size:10px}
#ai-page .channel-card-trend .insight-trend-trigger{flex:1;max-width:180px}
#ai-page .channel-card-trend .insight-sparkline-wrap{justify-content:flex-start}
#ai-page .channel-card-trend .insight-sparkline{width:130px;height:27px}
#ai-page .channel-play-panel{margin-top:17px;padding:16px 17px;border:1px solid #e7ecf6;border-radius:15px;background:#f8faff}
#ai-page .channel-play-title{display:flex;justify-content:space-between;gap:12px;align-items:start;margin-bottom:13px}
#ai-page .channel-play-title strong{display:block;font-size:13px;color:#334c6b}
#ai-page .channel-play-title small{display:block;color:#8496ad;font-size:10px;line-height:1.5;margin-top:3px}
#ai-page .channel-play-title>span{color:#8496ad;font-size:10px;white-space:nowrap}
#ai-page .channel-play-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#ai-page .channel-play-card{padding:12px 14px;border:1px solid #e5edf7;border-radius:12px;background:#fff;min-width:0}
#ai-page .channel-play-card>span,#ai-page .channel-play-card>small{display:block;color:#8799ae;font-size:10px;line-height:1.45}
#ai-page .channel-play-card>strong{display:block;color:#2c5796;font-size:20px;margin:4px 0;font-variant-numeric:tabular-nums}
#ai-page .channel-play-card.total{background:#f0f6ff}
#ai-page .channel-play-empty{margin-top:16px;color:#8799ae;font-size:11px}
.product-preview-link{border:0;background:none;padding:0;text-align:left;cursor:pointer;font:inherit}
@media(max-width:1100px){#ai-page .channel-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){#ai-page .channel-card-grid,#ai-page .channel-play-grid{grid-template-columns:1fr}#ai-page .channel-section-head{display:block}#ai-page .channel-section-head>span{display:block;margin-top:6px}}
/* 排期各板块独立日期选择。 */
#schedule-page .schedule-period-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:12px 0 16px;padding:12px 14px;background:#fff;border:1px solid #e4ebf5;border-radius:14px}
#schedule-page .schedule-period-shortcuts{display:flex;flex-wrap:wrap;gap:6px}
#schedule-page .schedule-period-button{border:1px solid transparent;border-radius:8px;background:#f0f5fb;color:#617a99;padding:7px 11px;font-size:11px;font-weight:700}
#schedule-page .schedule-period-button:hover{background:#e8f1fd}
#schedule-page .schedule-period-button.active{background:#2d75d0;color:#fff}
#schedule-page .schedule-period-toolbar select{min-width:112px;border:1px solid #dce7f4;border-radius:8px;background:#fff;color:#59728e;padding:7px 9px;font-size:11px}
#schedule-page .schedule-period-range{margin-left:auto;color:#7d91aa;font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap}
@media(max-width:700px){#schedule-page .schedule-period-range{margin-left:0;width:100%}}

#ai-page .channel-card-top b.down .insight-channel-change-amount,#ai-page .channel-card-top b.down .insight-channel-change-percent{color:#159c7b}
#ai-page .channel-card-top b.up .insight-channel-change-amount,#ai-page .channel-card-top b.up .insight-channel-change-percent{color:#d95a5d}
#ai-page .channel-card-trend .insight-sparkline-wrap>small{display:none}

/* Approved visual theme 20260930-68 */
/* 粉色方案样稿：沿用正式看板组合布局，只调整阅读细节。 */
:root{--preview-pink:#d85d83;--preview-soft:#fff2f6}
.nav-item.active{background:#fff8fb!important;color:#c75079!important;box-shadow:inset 3px 0 #ef88a7!important}
.nav-logo,.nav-logo *{stroke:#dc7897!important}.brand-mark{background:linear-gradient(135deg,#f58dab,#ffb49f)!important}
.preset.active,#schedule-page .schedule-period-button.active{background:#d66b8e!important;color:#fff!important}
.primary-button{background:#bd6684!important}
.ai-page-intro{background:linear-gradient(120deg,#fff8fb,#fcecf3)!important;border-color:#f4dce6!important}.ai-page-mark{color:#d57599!important;background:#fff7fa!important}
.ai-decision-panel{background:linear-gradient(135deg,#fff,#fff7fa)!important;border-color:#eedee7!important}.ai-decision-card{background:#fff!important;border-color:#f0e3ea!important}.ai-decision-index{color:#d781a0!important}
.section-kicker{color:#c17c9a!important}.section-head h2{line-height:1.4!important}.section-head p{line-height:1.65!important}
.metric-card{background:linear-gradient(145deg,#fff 65%,#fff5f8)!important;border-color:#f1e3e9!important}
.metric-card h3{line-height:1.5!important;overflow-wrap:break-word!important}.metric-value{font-variant-numeric:tabular-nums!important;line-height:1.25!important;white-space:nowrap!important}
.chart-panel,.table-panel,.account-panel{border-color:#eee2e9!important}.table-controls{gap:8px!important;flex-wrap:wrap!important}
table th,table td{font-variant-numeric:tabular-nums!important;line-height:1.5!important}table th{background:#fcf7fa!important}
.team-overview>div,.team-efficiency-summary>div{background:linear-gradient(145deg,#fff,#fff4f8)!important;border-color:#f0e2e9!important}
.team-role-card,.team-person-card,.team-eff-card{background:linear-gradient(145deg,#fff 75%,#fff8fa)!important;border-color:#eee2e9!important}.schedule-avatar{background:#fceaf2!important;color:#bf7698!important}
.channel-play-panel{background:#fff7fa!important;border-color:#efdfE7!important}.channel-card{background:linear-gradient(145deg,#fff,#fff9fb)!important;border-color:#eee3e9!important}
.schedule-period-toolbar{border-color:#efE2e9!important}.schedule-period-button{background:#fcf3f7!important;color:#a77d91!important}
@media(min-width:1500px){.main{padding-left:32px!important;padding-right:32px!important}}
/* 第二版：数值优先、环比清晰、小趋势作为补充。 */
.metric-card .metric-value{font-size:clamp(22px,1.05vw,28px)!important;line-height:1.2!important}
.metric-card .metric-meta .delta{font-size:15px!important;font-weight:800!important;line-height:1.35!important}
.metric-card .metric-meta>span:first-child{font-size:11px!important;margin-bottom:5px!important}
.metric-card .mini-chart{width:72%!important;max-width:125px!important;height:33px!important;justify-self:end!important;align-self:end!important;opacity:.82}
.sales-board [data-metric="net"] .metric-value,.refund-board [data-metric="refundAmount"] .metric-value{font-size:clamp(36px,1.85vw,48px)!important;margin-top:8px!important}
.sales-board [data-metric="net"] .metric-title,.refund-board [data-metric="refundAmount"] .metric-title{font-size:16px!important}
.sales-board [data-metric="net"] .metric-meta .delta,.refund-board [data-metric="refundAmount"] .metric-meta .delta{font-size:20px!important}
.sales-board [data-metric="net"] .mini-chart,.refund-board [data-metric="refundAmount"] .mini-chart{max-width:165px!important;width:55%!important;height:46px!important}
.ads-metrics .metric-value{font-size:26px!important}.ads-metrics .metric-meta .delta{font-size:15px!important}
.daily-kpi-card .kpi-primary{font-size:40px!important}.kpi-change-values strong{font-size:32px!important}.kpi-change-values b{font-size:18px!important}
.channel-card-main>strong{font-size:26px!important}.channel-card-top .insight-channel-change-amount{font-size:15px!important}.channel-card-top .insight-channel-change-percent{font-size:13px!important}
.team-overview strong,.team-efficiency-summary strong{font-size:34px!important}.team-eff-grid b{font-size:22px!important}
/* 第三版：低对比暖白卡片，粉色只作为很淡的边缘底色。 */
.metric-card{background:linear-gradient(150deg,#ffffff 0%,#ffffff 76%,#fdf9fa 100%)!important;border-color:#eee8ec!important;box-shadow:0 2px 8px rgba(80,55,68,.018)!important}
.channel-card{background:linear-gradient(155deg,#fff 0%,#fff 82%,#fdfafb 100%)!important;border-color:#eee8ec!important}
.team-overview>div,.team-efficiency-summary>div{background:linear-gradient(150deg,#fff 0%,#fff 78%,#fdf9fb 100%)!important;border-color:#eee8ec!important}
.team-role-card,.team-person-card,.team-eff-card{background:#fff!important;border-color:#eee8ec!important;box-shadow:0 2px 8px rgba(80,55,68,.018)!important}
.channel-play-panel{background:#fcfafb!important;border-color:#eee8ec!important}
.ai-decision-panel{background:#fdfbfc!important;border-color:#eee8ec!important}
/* 第四版：白色主体配柔和浅粉边缘，介于前两版之间。 */
.metric-card{background:linear-gradient(145deg,#fff 0%,#fff 48%,#fef8fa 78%,#fceff4 100%)!important;border-color:#efe3e9!important;box-shadow:0 2px 9px rgba(96,60,78,.025)!important}
.channel-card{background:linear-gradient(150deg,#fff 0%,#fff 62%,#fdf3f7 100%)!important;border-color:#efe5ea!important}
.team-overview>div,.team-efficiency-summary>div{background:linear-gradient(145deg,#fff 0%,#fff 52%,#fcf0f5 100%)!important;border-color:#efe3e9!important}
.team-role-card,.team-person-card,.team-eff-card{background:linear-gradient(155deg,#fff 0%,#fff 83%,#fdf5f8 100%)!important;border-color:#efe5ea!important}
.channel-play-panel,.ai-decision-panel{background:linear-gradient(130deg,#fff 0%,#fdf5f9 100%)!important;border-color:#efe3e9!important}
.target-gauge .target-arc-track{fill:none;stroke:#f1e8ed;stroke-width:13;stroke-linecap:round}
.target-gauge .target-arc-fill{fill:none;stroke:url(#target-rose);stroke-width:13;stroke-linecap:round}
.target-donut-center strong{color:#35405a!important}.target-goal strong{color:#b76b8c!important}
/* 第五版：浅粉底色可辨识，选中态集中强化。 */
.metric-card{background:linear-gradient(145deg,#fff 0%,#fff 60%,#fef8fa 85%,#fdf2f6 100%)!important;border-color:#eee5ea!important}
.channel-card{background:linear-gradient(150deg,#fff 0%,#fff 72%,#fdf6f9 100%)!important}
.team-overview>div,.team-efficiency-summary>div{background:linear-gradient(145deg,#fff 0%,#fff 65%,#fdf3f7 100%)!important}
.team-role-card,.team-person-card,.team-eff-card{background:linear-gradient(155deg,#fff 0%,#fff 90%,#fdf8fa 100%)!important}
.channel-play-panel,.ai-decision-panel{background:linear-gradient(135deg,#fff 0%,#fdf8fa 100%)!important}
.target-gauge .target-arc-track{stroke:#f3edf0!important}.target-gauge .target-arc-fill{stroke:#dca5bc!important}.target-goal strong{color:#a9758e!important}
.preset.active,#schedule-page .schedule-period-button.active{background:#ce658b!important;color:#fff!important;box-shadow:0 3px 8px #ca719c20!important;border:1px solid #c65e84!important;font-weight:800!important}
.preset:not(.active),#schedule-page .schedule-period-button:not(.active){background:#faf5f7!important;color:#92778a!important;border:1px solid #f0e7ec!important}
.date-bar .custom-date input{border-color:#e6d9e1!important}.primary-button{background:#b95d81!important}
/* 相同内容保持一致的数值和辅助信息层级。 */
#ai-page .channel-card-detail{font-size:12px!important;line-height:1.6!important}.channel-card-main>span{font-size:12px!important}.channel-card-top h5{font-size:16px!important}
.ai-decision-evidence{font-size:13px!important;line-height:1.65!important}.ai-decision-action{font-size:13px!important;line-height:1.8!important}.ai-decision-card h4{font-size:16px!important}
#ai-page .channel-play-card>strong{font-size:28px!important}.channel-play-card>span,.channel-play-card>small{font-size:12px!important}
.ads-ranking-board h5{font-size:13px!important}.ads-ranking-item small{font-size:11px!important;line-height:1.6!important}.ads-ranking-item em{font-size:13px!important}.ads-ranking-item strong{font-size:12px!important;line-height:1.5!important}
.team-overview small,.team-efficiency-summary small{font-size:13px!important}.team-overview span,.team-efficiency-summary span{font-size:12px!important;line-height:1.6!important}
.team-role-task strong,.team-task strong{font-size:13px!important}.team-role-task small,.team-task small{font-size:12px!important;line-height:1.65!important}.team-person-card header h3,.team-eff-card header h3{font-size:17px!important}
.team-eff-grid>div{padding:15px!important;background:#fcfafb!important;border:1px solid #f1eaf0!important;border-radius:10px!important}.team-eff-grid span{font-size:12px!important}.team-eff-grid b small{display:block;font-size:11px!important;line-height:1.6!important;margin-top:6px!important}
/* 抖店普通卡片字号微调，保留两张主卡片字号。 */
#store-page .metric-card .metric-value{font-size:clamp(21px,.99vw,26.4px)!important}
#store-page .sales-board [data-metric="net"] .metric-value,#store-page .refund-board [data-metric="refundAmount"] .metric-value{font-size:clamp(36px,1.85vw,48px)!important}
/* 大数据区分组底色：卡片继续使用白色，底托只用于识别区块。 */
#store-page .sales-board{background:#fdf0f5!important;border:1px solid #f2e0e9!important;padding:14px!important;border-radius:18px!important}
#store-page .refund-board{background:#f3f0fb!important;border:1px solid #e9e3f4!important;padding:14px!important;border-radius:18px!important}
#schedule-page .data-zone{padding:18px 20px 20px;margin:18px 0 24px;border-radius:18px;border:1px solid #eee4eb}
#schedule-page .production-zone{background:#fcf0f5;border-color:#f1e0e8}
#schedule-page .member-zone{background:#f0f7f8;border-color:#e0edf0}
#schedule-page .efficiency-zone{background:#f5f1fb;border-color:#e9e3f3}
#schedule-page .data-zone>.section-head:first-child{margin-top:0!important}
#schedule-page .data-zone .team-overview>div,#schedule-page .data-zone .team-efficiency-summary>div{background:#fff!important}
#schedule-page .data-zone .team-panel{background:#fff!important}
#schedule-page .data-zone .schedule-period-toolbar{background:#ffffffde!important}
#schedule-page .data-zone .page-notice{background:#ffffffb8!important}

.ai-page-intro-copy{min-width:0;flex:1}.ai-summary-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:22px}.ai-summary-metric{background:#ffffffc9;border:1px solid #f0e0e7;border-radius:12px;padding:16px;min-width:0}.ai-summary-metric>span{font-size:13px;color:#7d6d7a}.ai-summary-metric>strong{display:block;font-size:28px;line-height:1.4;margin:7px 0;color:#293a50;font-variant-numeric:tabular-nums}.ai-summary-metric>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;color:#8190a5}.ai-summary-metric .delta{font-size:14px;font-weight:800}.ai-summary-metric>small{display:block;margin-top:8px;font-size:11px;color:#8898af;line-height:1.6}@media(max-width:1100px){.ai-summary-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.ai-summary-metrics{grid-template-columns:1fr}.ai-summary-metric>strong{font-size:25px}}
/* 20260930-70：减少重复粉色，保留轻量品牌强调。 */
.ai-page-intro{background:linear-gradient(120deg,#fff,#fcf8fa)!important;border-color:#ebe6ea!important}
.metric-card,.channel-card,.team-role-card,.team-person-card,.team-eff-card{background:#fff!important;border-color:#e9e8ec!important}
.ai-decision-panel,.channel-play-panel{background:#fafafb!important;border-color:#e9e8ec!important}
#store-page .sales-board{background:#faf6f8!important;border-color:#ede6ea!important}
#store-page .refund-board{background:#f7f6fa!important;border-color:#e9e6ef!important}
#schedule-page .production-zone{background:#faf7f9!important;border-color:#ede7eb!important}
#schedule-page .member-zone{background:#f6f9fa!important;border-color:#e5ecee!important}
#schedule-page .efficiency-zone{background:#f8f7fb!important;border-color:#eae7f0!important}
table th,.team-progress-table th{background:#f5f6f8!important;color:#77859a!important}
.preset:not(.active),#schedule-page .schedule-period-button:not(.active){background:#f4f5f7!important;color:#69798f!important;border-color:#eceef2!important}
.preset.active,#schedule-page .schedule-period-button.active{background:#f4e6ed!important;color:#98516d!important;border-color:#dfb9ca!important;box-shadow:none!important}
.primary-button{background:#7d6d7b!important;color:#fff!important}
.schedule-avatar{background:#f3eef3!important;color:#92778b!important}
.section-kicker{color:#9d7e90!important}
.ai-summary-metric{background:#fff!important;border-color:#e9e7eb!important}

/* AI 经营诊断：通栏叙述、四列辅助卡片。 */
#ai-page .ai-page-intro-copy{width:100%;max-width:none!important;flex:1}
#ai-page .ai-page-mark{display:none!important}
#ai-page .ai-page-intro{display:block!important}
#ai-summary-copy{font-size:15px!important;line-height:1.9!important;max-width:none!important;margin-top:14px}
#ai-page .ai-summary-metrics,#ai-page .ai-decision-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
#ai-page .ai-decision-card{min-width:0;padding:20px!important}
#ai-page .ai-decision-evidence{min-height:66px;line-height:1.7!important}
#ai-page .ai-decision-action{line-height:1.8!important}
#ai-page .ai-decision-panel{margin-top:20px}
@media(max-width:1100px){#ai-page .ai-summary-metrics,#ai-page .ai-decision-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){#ai-page .ai-summary-metrics,#ai-page .ai-decision-grid{grid-template-columns:1fr!important}#ai-page .ai-decision-evidence{min-height:0}}

/* 异动对比：紧凑并列指标，趋势就近呈现。 */
.insight-movement-columns{gap:20px!important}.insight-mover{display:grid!important;grid-template-columns:minmax(160px,1.3fr) minmax(180px,1fr) minmax(120px,.8fr) minmax(110px,.65fr);align-items:center;gap:16px;padding:18px 0!important}
.insight-mover-title strong{font-size:13px!important;line-height:1.6!important;-webkit-line-clamp:2!important}.insight-mover-title span{font-size:11px!important}
.insight-mover-values{margin:0!important;gap:12px!important}.mover-current>strong{display:block;font-size:21px;color:#293e57;line-height:1.5;font-variant-numeric:tabular-nums}
.insight-mover-values .mover-current>span{font-size:11px;display:block;white-space:normal}
.insight-mover-values .insight-delta-amount{font-size:15px!important}.insight-mover-values .insight-delta-percent{font-size:12px!important}
.insight-mover small{font-size:11px!important;margin:0 0 3px!important}.mover-spend>strong{display:block;font-size:16px;color:#52647b;line-height:1.5}.mover-spend>span{display:block;font-size:11px;color:#8696ab;line-height:1.6}
.insight-mover-trends{margin:0!important;min-width:0}.insight-mover-trends .insight-sparkline{width:100%!important;max-width:130px;height:34px!important}.insight-mover-trends .insight-sparkline-wrap{max-width:100%}
@media(max-width:1700px){.insight-mover{grid-template-columns:minmax(150px,1.2fr) minmax(180px,1fr)!important}.mover-spend{grid-column:1}.insight-mover-trends{grid-column:2}}
@media(max-width:900px){.insight-movement-columns{grid-template-columns:1fr!important}}
@media(max-width:500px){.insight-mover{grid-template-columns:1fr!important}.mover-spend,.insight-mover-trends{grid-column:1!important}}

.ai-decision-brief{font-size:16px;line-height:1.6;color:#405570;margin:10px 0 14px}.ai-detail-hint{font-size:11px;color:#8995a6}.ai-decision-card[data-detail],#ai-summary-copy[data-detail]{cursor:pointer}.ai-decision-card[data-detail]:hover{border-color:#d8bfcb!important}.ai-detail-popup{position:fixed;z-index:10020;width:min(480px,calc(100vw - 24px));max-height:70vh;overflow:auto;padding:22px;background:#fff;border:1px solid #e6dfe5;border-radius:14px;box-shadow:0 12px 40px #25334a26;color:#405570}.ai-detail-popup[hidden]{display:none}.ai-detail-popup h3{font-size:17px;margin:0 30px 12px 0}.ai-detail-popup p{font-size:14px;line-height:1.9;margin:0;overflow-wrap:anywhere}.ai-detail-popup button{position:absolute;right:12px;top:10px;border:0;background:#f4f5f7;border-radius:7px;font-size:23px;color:#728095;cursor:pointer}
/* 月目标与导航使用同一粉色主题。 */
.target-gauge .target-arc-fill{stroke:#df88a6!important}
.target-gauge .target-arc-track{stroke:#f8edf2!important}
.target-goal strong{color:#c65d84!important}

.product-preview-panel:has(.ads-preview-details){width:min(900px,calc(100vw - 32px))}.ads-preview-details #product-preview-carrier-values{display:block!important}.ads-preview-tabs{display:flex!important;gap:8px;border:0!important;padding:0!important}.ads-preview-tabs button{padding:7px 16px;border:1px solid #e8dce3;background:#f6f7f9;border-radius:8px;color:#69798b;cursor:pointer}.ads-preview-tabs button.active{background:#f7e7ef;color:#a45275}.ads-preview-note{font-size:12px;color:#8593a7;line-height:1.6}.ads-preview-list{max-height:330px;overflow:auto}.ads-preview-list article{display:grid;grid-template-columns:minmax(0,2fr) repeat(3,minmax(80px,1fr));gap:12px;padding:12px 0;border-top:1px solid #eef0f4;align-items:center}.ads-preview-list article div{padding:0!important;border:0!important}.ads-preview-list strong{font-size:13px;line-height:1.5}.ads-preview-list small{display:block;font-size:10px;color:#8b99ae;margin-top:4px}.ads-preview-list span{font-size:11px;color:#8b99ae}.ads-preview-list b{display:block;font-size:14px;color:#405570}@media(max-width:600px){.ads-preview-list article{grid-template-columns:repeat(3,1fr)}.ads-preview-list article>div:first-child{grid-column:1/-1}}

.ads-chart-grid .trend-chart{height:340px!important;min-height:340px!important}.ads-chart-grid .chart-panel{min-height:440px!important}@media(max-width:700px){.ads-chart-grid .trend-chart{height:270px!important;min-height:270px!important}.ads-chart-grid .chart-panel{min-height:370px!important}}

.ai-detail-popup{left:50%;top:50%;transform:translate(-50%,-50%);width:min(760px,calc(100vw - 40px));max-height:78vh;padding:28px;border-radius:18px;border:1px solid #e7eaf1;background:#fff;box-shadow:0 24px 80px #23334d30;z-index:10022}.ai-detail-popup h3{font-size:21px;margin:0 36px 20px 0;color:#293d58}.ai-detail-points{margin:0;padding:0 0 0 20px}.ai-detail-points li{font-size:14px;line-height:1.85;padding:10px 0 10px 5px;border-bottom:1px solid #edf0f5;color:#52677f;overflow-wrap:anywhere}.ai-detail-points li:last-child{border:0}.ai-detail-points li::marker{color:#d27791}.ai-detail-backdrop{position:fixed;inset:0;background:#22304755;z-index:10021}.ai-detail-backdrop[hidden]{display:none}.ai-detail-popup button{right:16px;top:16px;width:30px;height:30px;font-size:23px;background:#f2f5f9;color:#7d8da3}

.ai-summary-metric{position:relative;cursor:pointer}.ai-summary-sparkline{height:44px;width:100%;margin-top:14px}.ai-summary-sparkline svg{display:block;width:100%;height:100%}.ai-summary-metric:hover{border-color:#d9b9c9!important;box-shadow:0 4px 16px #8d647710}.ai-summary-metric:focus-visible{outline:2px solid #d27791;outline-offset:3px}

.ai-navigation-focus{outline:2px solid #df88a6;outline-offset:5px;border-radius:10px;transition:outline-color .3s}
/* 数据卡片：增强标题识别，数值略收敛。 */
.metric-card .metric-title{font-size:14px!important;font-weight:700!important;line-height:1.5!important}
.metric-card .metric-value,#store-page .metric-card .metric-value,.ads-metrics .metric-value{font-size:clamp(20px,.92vw,24px)!important;line-height:1.3!important}
#store-page .sales-board [data-metric="net"] .metric-title,#store-page .refund-board [data-metric="refundAmount"] .metric-title{font-size:17px!important}
#store-page .sales-board [data-metric="net"] .metric-value,#store-page .refund-board [data-metric="refundAmount"] .metric-value{font-size:clamp(34px,1.7vw,44px)!important}
@media(max-width:700px){.metric-card .metric-title{font-size:13px!important}.metric-card .metric-value,#store-page .metric-card .metric-value{font-size:20px!important}}
/* AI 辅助卡片与其他指标卡片采用一致的小趋势布局。 */
#ai-summary-metrics .ai-summary-metric{display:grid;grid-template-columns:minmax(0,1fr) 112px;grid-template-rows:auto auto 1fr auto;column-gap:10px;row-gap:7px;min-height:174px;padding:18px}
#ai-summary-metrics .ai-summary-metric>span{grid-column:1/-1;grid-row:1;font-size:14px;font-weight:700;line-height:1.5}
#ai-summary-metrics .ai-summary-metric>strong{grid-column:1/-1;grid-row:2;font-size:24px;margin:0;line-height:1.3}
#ai-summary-metrics .ai-summary-metric>div:not(.ai-summary-sparkline){grid-column:1;grid-row:3;align-self:end;display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin-top:12px}
#ai-summary-metrics .ai-summary-metric>small{grid-column:1;grid-row:4;margin:0;font-size:10px;line-height:1.6}
#ai-summary-metrics .ai-summary-sparkline{grid-column:2;grid-row:3/5;align-self:end;width:112px;height:36px;margin:0;opacity:.82}
@media(max-width:700px){#ai-summary-metrics .ai-summary-metric{grid-template-columns:minmax(0,1fr) 90px}#ai-summary-metrics .ai-summary-sparkline{width:90px;height:32px}}

.modal-metric-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:14px 0}.modal-metric-toggles{display:flex;gap:8px;flex-wrap:wrap}.modal-metric-toggles label{display:flex;align-items:center;gap:6px;padding:7px 10px;background:#f6f3f6;border:1px solid #ebe4e9;border-radius:8px;font-size:12px;color:#596b81;cursor:pointer}.modal-metric-toggles input{accent-color:#c65d84}.modal-metric-controls select{padding:8px 12px;border:1px solid #e5e8ef;border-radius:8px;background:white;color:#62738a}

.channel-card{display:grid!important;grid-template-columns:minmax(0,1fr) 112px;gap:10px 12px;padding:18px!important}.channel-card-top{grid-column:1/-1}.channel-card-main{grid-column:1/-1;margin:0!important}.channel-card-detail{grid-column:1;display:flex!important;flex-direction:column;gap:5px}.channel-card-trend{grid-column:2;align-self:end;border:0!important;padding:0!important;margin:0!important;display:block!important}.channel-card-trend>small{display:none}.channel-card-trend .insight-sparkline{width:110px!important;height:32px!important}.channel-card-top h5{font-size:15px!important}.channel-card-main>strong{font-size:24px!important}.channel-card-main>span{font-size:11px!important}
.material-performance-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.material-performance-card{display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:8px;padding:18px;background:white;border:1px solid #e8eaf0;border-radius:12px;cursor:pointer;min-width:0}.material-performance-card>span,.material-performance-card>strong{grid-column:1/-1}.material-performance-card>span{font-size:14px;font-weight:700;color:#607088}.material-performance-card>strong{font-size:24px;color:#2c405b;font-variant-numeric:tabular-nums}.material-performance-card>div:not(.material-sparkline){grid-column:1;display:flex;flex-direction:column;gap:4px;margin-top:7px}.material-performance-card small{font-size:10px;color:#8697ac;line-height:1.6}.material-day{grid-column:1}.material-sparkline{grid-column:2;grid-row:3/5;align-self:end;width:100px;height:32px}.material-sparkline svg{width:100%;height:100%}.material-performance-card:hover{border-color:#d8bdcc}@media(max-width:1100px){.material-performance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.material-performance-grid{grid-template-columns:1fr}}
.insight-movement-group{min-width:0}.insight-movement-group>h5{font-size:13px!important;margin:12px 0!important}
.insight-mover{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) 130px!important;gap:14px!important;margin-bottom:12px;border:1px solid #e8edf3!important;border-radius:12px;padding:16px!important;background:#fff}
.insight-mover-title{grid-column:1/-1!important;display:flex!important;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:11px;border-bottom:1px solid #f0f2f6}.insight-mover-title strong{display:block!important;-webkit-line-clamp:unset!important;font-size:14px!important;line-height:1.55!important;white-space:normal!important}.insight-mover-title span{white-space:nowrap;margin:0!important;flex-shrink:0}
.insight-mover-values{grid-column:1!important;grid-row:2!important;display:flex!important;flex-direction:column;align-items:flex-start!important;gap:7px!important}.insight-mover-values>b{align-items:flex-start!important;align-self:flex-start!important;flex-direction:row!important;gap:8px!important}.mover-current>strong{font-size:23px!important}.mover-current>span{font-size:11px!important}
.mover-spend{grid-column:2!important;grid-row:2!important;align-self:start}.mover-spend>strong{font-size:20px!important}.mover-roi{margin-top:8px!important;color:#627b95!important}
.insight-mover-trends{grid-column:3!important;grid-row:2!important;align-self:end;max-width:130px}.insight-mover-trends .insight-sparkline{height:40px!important}
@media(max-width:1300px){.insight-mover{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}.insight-mover-trends{grid-column:1/-1!important;grid-row:3!important;justify-self:end}}
@media(max-width:600px){.insight-movement-columns{grid-template-columns:1fr!important}.insight-mover-title strong{font-size:13px!important}}

.detail-featured{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}.detail-feature-card{padding:18px;border:1px solid #e9e4ea;background:#fff;border-radius:12px;display:flex;flex-direction:column;gap:9px}.detail-feature-card small{color:#9b6c84}.detail-feature-card strong{font-size:14px;line-height:1.6}.detail-feature-card b{font-size:16px;color:#405975}.detail-feature-card button{border:0;background:#f7f3f6;color:#aa6483;padding:8px;border-radius:7px;cursor:pointer}.detail-name-cell{min-width:240px;max-width:340px;white-space:normal!important}.detail-source-note{font-size:12px;color:#8a9ab1;padding:12px 20px;line-height:1.6}.detail-trend{border:0;background:transparent;padding:0;cursor:pointer;width:110px}.detail-trend .mini-chart{height:32px;width:110px}.detail-featured>.page-notice{grid-column:1/-1}#creative-table th,#catalog-table th{cursor:pointer}#creative-table td,#catalog-table td{white-space:nowrap}@media(max-width:1100px){.detail-featured{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.detail-featured{grid-template-columns:1fr}}

.ai-detail-popup.is-anchored{transform:none;width:min(520px,calc(100vw - 24px));max-height:60vh;padding:22px}.ai-detail-popup.is-anchored h3{font-size:18px;margin-bottom:12px}.detail-feature-value{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:14px}.detail-feature-value>span>small{display:block;color:#91a0b2;font-size:11px}.detail-feature-value b{font-size:24px;color:#293d58}.detail-feature-change{font-size:13px;color:#9c6e83;text-align:right}.detail-feature-bottom{display:flex;align-items:flex-end;justify-content:space-between;margin-top:16px}.detail-feature-bottom>small{font-size:11px;color:#91a0b2}.detail-feature-spark{width:130px;height:38px}.detail-feature-card>button{background:transparent!important;text-align:right;font-size:11px;padding:5px 0!important;color:#9b7c8c}.metric-preview .trend-chart{flex:1;min-height:0}

#catalog-table,#creative-table{width:100%;table-layout:auto}#catalog-table td,#creative-table td{padding:12px 10px}#catalog-table .product-image-cell{width:58px;min-width:58px;max-width:58px;padding:8px;text-align:center}#catalog-table .detail-name-cell,#creative-table .detail-name-cell{text-align:left!important;min-width:220px;max-width:300px;width:260px}#catalog-table .product-name-link{display:block;text-align:left!important;white-space:normal;line-height:1.6;padding:0;background:none;border:0;font:inherit;color:#405975;cursor:pointer}#catalog-table th:nth-child(2){width:58px}#catalog-table th:nth-child(3){text-align:left}.detail-cell-value{display:block;font-weight:600}.detail-cell-change{display:block;font-size:10px;margin-top:4px;color:#8b9bb0}.detail-cell-change.up{color:#d46a80}.detail-cell-change.down{color:#19a58b}#creative-table td:nth-child(3){line-height:1.6}.detail-feature-value b{font-size:24px!important}

.product-preview-panel:has(.ads-preview-details){width:min(1120px,calc(100vw - 40px));max-height:92vh}.ads-preview-list{max-height:480px}.ads-preview-list article{grid-template-columns:minmax(200px,2.8fr) repeat(6,minmax(65px,1fr));min-height:72px}.ads-preview-tabs select{border:1px solid #e8dce3;border-radius:8px;padding:7px;background:#fff;color:#69798b;margin-left:auto}.ads-preview-list article>div:first-child{text-align:left}.ads-preview-list strong{overflow-wrap:anywhere}@media(max-width:800px){.ads-preview-list article{grid-template-columns:repeat(3,1fr)}.ads-preview-list article>div:first-child{grid-column:1/-1}}

/* Shared roomy information cards for channel and creative summaries. */
.channel-card-grid,.material-performance-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}.channel-card,.material-performance-card{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,.7fr) 130px!important;padding:20px!important;gap:16px 20px!important;border:1px solid #e6edf5!important;border-radius:14px!important;min-height:190px;background:#fff!important}.channel-card-top,.material-card-title{grid-column:1/-1!important;grid-row:1!important;display:flex!important;justify-content:space-between;align-items:center;padding-bottom:12px;border-bottom:1px solid #eef2f7}.channel-card-top>div{display:flex;align-items:center;gap:10px}.channel-card-top h5,.material-card-title>strong{margin:0!important;font-size:15px!important;color:#405975}.channel-card-top small,.material-card-title>small{font-size:11px!important;color:#8b9aae!important;background:#f3f6f9;border-radius:5px;padding:2px 5px}.channel-card-main,.material-card-current{grid-column:1!important;grid-row:2!important;display:flex;flex-direction:column;align-items:flex-start;gap:5px;margin:0!important}.channel-card-main>strong,.material-card-current>strong{font-size:25px!important;color:#2e435f;line-height:1.4}.channel-card-main>small,.material-card-current>small,.material-card-context>small,.channel-card-detail>small{font-size:11px;color:#8b9db4}.channel-card-main>b,.material-card-delta{display:flex;align-items:center;gap:9px;margin-top:4px;font-size:15px}.channel-card-main>b.up{color:#da6b80}.channel-card-main>b.down{color:#18a889}.channel-card-main>b small{font-size:11px}.channel-card-detail,.material-card-context{grid-column:2!important;grid-row:2!important;display:flex!important;flex-direction:column;gap:6px;align-self:start;margin:0!important}.channel-card-detail>strong,.material-card-context>strong{font-size:21px;color:#586e88}.channel-card-detail>span{font-size:11px;color:#8b9db4}.channel-card-trend,.material-sparkline{grid-column:3!important;grid-row:2!important;align-self:end;justify-self:end;width:130px!important;height:38px!important;margin:0!important;padding:0!important;border:0!important}.channel-card-trend .insight-sparkline{width:130px!important;height:38px!important}.material-card-delta>small{font-size:11px;color:#8396ad}.material-performance-card>div:not(.material-sparkline){margin-top:0!important}.material-card-title{flex-direction:row!important}.material-card-current{gap:5px!important}.material-card-delta{flex-direction:row!important}.material-card-context{gap:6px!important}@media(max-width:1200px){.channel-card,.material-performance-card{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}.channel-card-trend,.material-sparkline{grid-column:2!important;grid-row:3!important}}@media(max-width:700px){.channel-card-grid,.material-performance-grid{grid-template-columns:1fr!important}}

.modal-metric-toggles{flex:1;min-width:0}.modal-metric-toggles label{background:#fff;border-color:#e5eaf1;padding:9px 12px;font-size:13px;white-space:nowrap}.modal-metric-toggles input{accent-color:var(--series-color)}.modal-metric-toggles label span{color:var(--series-color);font-weight:600}.metric-series-dot{display:inline-block;width:7px;height:7px;border-radius:50%;flex-shrink:0}.modal-metric-controls select{width:220px!important;min-width:220px;max-width:100%;flex-shrink:0;font-size:14px;line-height:1.5;padding:10px 30px 10px 12px!important;height:42px;text-overflow:clip;box-sizing:border-box}@media(max-width:650px){.modal-metric-controls select{width:100%!important}}

.modal-series-option{display:flex;border:1px solid #e5eaf1;border-radius:8px;overflow:hidden;align-items:center;background:#fff}.modal-series-option label{border:0!important;border-radius:0!important}.modal-series-option button,.modal-show-all{border:0;background:#f5f7fa;color:#708199;font-size:11px;cursor:pointer;padding:10px;white-space:nowrap}.modal-series-option button:hover,.modal-show-all:hover{background:#f8edf2;color:#bd6385}.modal-show-all{border-radius:8px;border:1px solid #e5eaf1}

.channel-carrier-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:16px}.carrier-summary{padding:18px;border:1px solid #e6edf5;border-radius:13px;background:#fff;min-width:0}.carrier-summary header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eef2f7;padding-bottom:10px;margin-bottom:12px}.carrier-summary header strong{font-size:16px;color:#405975}.carrier-summary header span,.carrier-summary>small{font-size:11px;color:#8a9cb1}.carrier-total{display:flex;align-items:center;justify-content:space-between;gap:8px}.carrier-total>strong{font-size:24px;color:#2e435f}.carrier-total>b{text-align:right;font-size:13px}.carrier-total>b small{display:block;font-size:10px}.carrier-split{margin-top:12px;border-top:1px solid #f0f3f7;padding-top:8px}.carrier-split>div{display:grid;grid-template-columns:7px 32px minmax(0,1fr) minmax(0,1fr);align-items:center;gap:6px;padding:5px 0;font-size:11px;color:#8193aa}.carrier-split i{width:6px;height:6px;border-radius:50%}.carrier-split strong{color:#526a85;font-size:13px;text-align:right}.carrier-split b{text-align:right;font-size:11px}.carrier-split b small{display:none}.carrier-summary .up{color:#d36e84}.carrier-summary .down{color:#19a58b}.carrier-combo{display:block;border:0;background:transparent;width:100%;padding:0;margin-top:8px;cursor:pointer}.carrier-combo>div{height:40px;width:100%}.carrier-combo>small{display:block;font-size:10px;color:#8b9db4;text-align:right;margin-top:3px}@media(max-width:1200px){.channel-carrier-row{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.channel-carrier-row{grid-template-columns:1fr}}

.carrier-summary{padding:18px;overflow:hidden}.carrier-combo{margin-top:12px;border-top:1px solid #eef2f7;padding-top:9px;overflow:hidden}.carrier-combo>div{height:38px!important;min-height:0!important;overflow:hidden}.carrier-combo svg{display:block;width:100%!important;height:38px!important;min-height:0!important;max-height:38px!important}.carrier-combo svg path[fill]:not([fill="none"]){opacity:.55}.carrier-combo>small{font-size:10px;margin-top:6px}.material-performance-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.material-performance-card{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto auto auto!important;gap:10px 12px!important;padding:18px!important;min-height:0!important;overflow:hidden}.material-card-title{grid-column:1/-1!important;grid-row:1!important;padding-bottom:10px}.material-card-title>small{font-size:10px!important}.material-card-current{grid-column:1!important;grid-row:2!important}.material-card-current>small:first-child{display:none}.material-card-current>strong{font-size:24px!important}.material-card-delta{grid-column:2!important;grid-row:2!important;display:flex!important;flex-direction:column!important;align-items:flex-end!important;justify-content:center;gap:5px!important}.material-card-delta small{font-size:10px!important}.material-card-context{grid-column:1/-1!important;grid-row:3!important;display:flex!important;flex-direction:row!important;align-items:center;justify-content:flex-start;gap:8px!important;border-top:1px solid #eef2f7;padding-top:8px}.material-card-context>strong{font-size:12px!important;color:#70869f}.material-card-context>small{font-size:10px!important}.material-sparkline{grid-column:1/-1!important;grid-row:4!important;width:100%!important;height:38px!important;min-height:0!important;margin-top:2px!important;overflow:hidden}.material-sparkline svg{display:block;width:100%!important;height:38px!important;min-height:0!important;max-height:38px!important}.material-sparkline svg path[fill]:not([fill="none"]){opacity:.55}@media(max-width:1200px){.material-performance-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:650px){.material-performance-grid{grid-template-columns:1fr!important}}

.material-merged-card{padding:18px;background:#fff;border:1px solid #e6edf5;border-radius:13px;min-width:0;cursor:pointer;display:flex;flex-direction:column}.material-merged-card header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eef2f7;padding-bottom:10px;margin-bottom:12px}.material-merged-card header strong{font-size:15px;color:#405975}.material-merged-card header small,.material-merged-main small{font-size:11px;color:#8a9cb1}.material-merged-main{display:flex;justify-content:space-between;align-items:center;gap:10px}.material-merged-main strong{display:block;font-size:24px;color:#2e435f}.material-merged-main small{display:block;margin-top:4px}.material-merged-details{border-top:1px solid #eef2f7;margin-top:12px;padding-top:7px}.material-merged-details>div{display:grid;grid-template-columns:6px minmax(0,1fr) auto auto;align-items:center;gap:7px;padding:5px 0;font-size:11px;color:#879ab0}.material-merged-details i{width:6px;height:6px;border-radius:50%}.material-merged-details strong{color:#526a85;font-size:12px}.material-merged-details b{font-size:11px;min-width:55px;text-align:right}.material-merged-trend{height:38px;min-height:38px;margin-top:auto;padding-top:12px;box-sizing:content-box;overflow:hidden}.material-merged-trend svg{display:block;width:100%;height:38px!important;min-height:0!important}.material-merged-note{display:block;text-align:right;font-size:10px;color:#8a9cb1;margin-top:6px}.material-merged-card:hover{border-color:#dabaca}

.detail-feature-heading{display:flex;align-items:center;gap:12px;min-height:56px}.detail-feature-heading img{flex:0 0 56px;border-radius:10px;object-fit:cover}.detail-feature-heading strong{min-width:0}.detail-feature-card[role="button"]{cursor:pointer}.detail-feature-card[role="button"]:focus-visible{outline:2px solid #d27791;outline-offset:3px}

/* Shared warm rose date controls */
#shared-date-bar{display:flex;align-items:center;flex-wrap:wrap;gap:14px;padding:14px 18px;background:linear-gradient(110deg,#fff8f4,#fff8fb 55%,#fff);border:1px solid #f0dfe5;border-radius:16px;box-shadow:0 4px 16px #ba6b8310}
#shared-date-bar .date-label>span{color:#d27791;background:#fbe7ed;border-radius:10px;padding:7px}#shared-date-bar .date-label strong{color:#775466}#shared-date-bar .presets{display:flex;gap:3px;padding:4px;background:#f6edf0;border:1px solid #efdee5;border-radius:12px;flex-wrap:wrap}
#shared-date-bar .preset{background:transparent!important;border:0!important;color:#967586!important;border-radius:9px;padding:9px 13px;transition:background .18s,color .18s,box-shadow .18s}#shared-date-bar .preset:hover{background:#f8dfe8!important;color:#af5476!important}#shared-date-bar .preset.active{background:#d27791!important;color:#fff!important;box-shadow:0 3px 8px #b9658030}
#shared-date-bar .custom-date{margin-left:auto;gap:9px;color:#a27b8d}#shared-date-bar .custom-date input{background:#fffafc;border-color:#e9cdd9!important;color:#805e70;border-radius:9px;padding:8px 10px}#shared-date-bar #apply-date{background:#bf6685!important;color:white;border:0;border-radius:9px;padding:9px 16px}
#store-page .analysis-board{padding:10px!important}#store-page .analysis-board .metric-card{padding:11px!important;min-height:0!important}#store-page .analysis-board .metric-title{font-size:12px!important}#store-page .analysis-board .metric-value{font-size:20px!important}#store-page .sales-board [data-metric="net"] .metric-value,#store-page .refund-board [data-metric="refundAmount"] .metric-value{font-size:34px!important}#store-page .analysis-board .delta{font-size:12px!important}#store-page .analysis-board .chart-panel{padding:11px!important}#store-page .analysis-board .chart-title{font-size:12px!important}
@media(min-width:1700px){#store-page .board-grid{grid-template-rows:repeat(4,minmax(112px,auto))!important}}
@media(max-width:1200px){#shared-date-bar .custom-date{margin-left:0;width:100%;flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.ai-detail-popup{animation:none!important}}

@media(min-width:1700px){.ads-metrics{grid-template-columns:repeat(5,minmax(110px,.62fr)) minmax(820px,5.8fr)!important;min-width:0!important}.ads-metrics .metric-card{min-height:142px!important;padding:11px!important}.ads-ranking-card{min-height:142px!important}.ads-metrics .metric-value{font-size:20px!important}.ads-metrics .metric-title{font-size:12px!important}}.ads-chart-grid .trend-chart{height:245px!important;min-height:245px!important}.ads-chart-grid .chart-panel{min-height:335px!important}.ads-ranking-item strong{white-space:normal!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
/* Account overview: fixed compact rows, full amounts, wider rankings. */
@media(min-width:1400px){
 .ads-metrics{display:grid!important;grid-template-columns:repeat(3,minmax(165px,1fr)) minmax(0,4.4fr)!important;grid-template-rows:repeat(2,128px)!important;gap:10px!important;min-width:0!important;align-items:stretch}
 .ads-metrics .ads-ranking-card{grid-column:4!important;grid-row:1/3!important;min-width:0!important;height:266px!important;min-height:0!important;overflow:auto}
 .ads-metrics .metric-card{height:128px!important;min-height:0!important;padding:12px!important;grid-template-columns:minmax(0,1fr) 56px!important;grid-template-rows:30px 29px 1fr!important;gap:5px!important}
 .ads-metrics .metric-card:nth-child(4){grid-column:1;grid-row:2}.ads-metrics .metric-card:nth-child(5){grid-column:2/4;grid-row:2}
 .ads-metrics .metric-value{font-size:20px!important;grid-column:1/-1!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important}
 .ads-metrics .metric-title{font-size:12px!important;grid-column:1/-1!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.3!important}
 .ads-metrics .metric-meta .delta{font-size:12px!important}.ads-metrics .mini-chart{width:56px!important;height:26px!important;min-height:0!important}
 .ads-ranking-item strong{font-size:11px!important;line-height:1.4!important}.ads-ranking-item small{font-size:10px!important;line-height:1.3!important}
}
@media(min-width:1400px){
 .ads-metrics{grid-template-columns:repeat(6,minmax(0,1fr)) minmax(0,8.8fr)!important}
 .ads-metrics .metric-card:nth-child(1){grid-column:1/4!important;grid-row:1!important}
 .ads-metrics .metric-card:nth-child(2){grid-column:4/7!important;grid-row:1!important}
 .ads-metrics .metric-card:nth-child(3){grid-column:1/3!important;grid-row:2!important}
 .ads-metrics .metric-card:nth-child(4){grid-column:3/5!important;grid-row:2!important}
 .ads-metrics .metric-card:nth-child(5){grid-column:5/7!important;grid-row:2!important}
 .ads-metrics .ads-ranking-card{grid-column:7!important;grid-row:1/3!important}
 .ads-metrics .metric-card:nth-child(-n+2) .metric-value{font-size:23px!important}
}

.ads-ranking-item strong{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;-webkit-line-clamp:unset!important}.ads-ranking-item strong a{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ads-ranking-item .rank-metric-row{display:flex;justify-content:space-between;gap:6px;overflow:visible;white-space:nowrap;margin-top:2px}.ads-ranking-item .rank-metric-row b{background:none;color:#50677f;font-size:10px;width:auto;height:auto;padding:0}.rank-up{color:#e26276}.rank-down{color:#17aa97}.rank-flat{color:#95a1b1}.ads-ranking-item .rank-supplement{font-size:9px!important;white-space:nowrap;margin-top:2px}.ads-ranking-list{gap:9px!important}.ads-ranking-item{align-items:start!important}.ads-ranking-item>div{min-width:0}.ads-ranking-item>em{font-size:12px!important}
@media(min-width:1400px){.ads-metrics .ads-ranking-card{padding:12px!important}.ads-ranking-board h5{margin-bottom:8px!important}.ads-ranking-item strong{font-size:11px!important}}
/* Ranking rows own their height; footer never overlays the last item. */
.ads-ranking-card{display:flex!important;flex-direction:column!important;gap:10px!important;overflow:visible!important}
.ads-ranking-head,.ads-ranking-foot{flex:none!important;position:static!important;margin:0!important}
.ads-ranking-boards{flex:1;min-height:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:start}
.ads-ranking-board{min-width:0}.ads-ranking-list{display:flex!important;flex-direction:column!important;gap:12px!important}
.ads-ranking-item{display:grid!important;grid-template-columns:20px minmax(0,1fr)!important;gap:3px 8px!important;position:relative;padding:0!important;min-height:80px!important}
.ads-ranking-item>b{grid-column:1;grid-row:1;position:static!important}
.ads-ranking-item>div{grid-column:2;grid-row:1;min-width:0;padding-top:24px;position:relative}
.ads-ranking-item strong{position:absolute;top:0;left:0;right:0;padding-right:88px;line-height:20px!important;height:20px;margin:0!important}
.ads-ranking-item>em{position:absolute;top:0;right:0;max-width:86px;line-height:20px!important;white-space:nowrap;margin:0!important}
.ads-ranking-item .rank-metric-row{line-height:17px!important;margin:0!important;align-items:baseline;gap:8px!important}
.ads-ranking-item .rank-supplement{display:block;line-height:17px!important;margin:1px 0 0!important;overflow:hidden;text-overflow:ellipsis}
.ads-ranking-foot{padding-top:8px;border-top:1px solid #edf0f5;line-height:1.5!important}
@media(min-width:1400px){.ads-metrics{grid-template-rows:repeat(2,158px)!important}.ads-metrics .metric-card{height:158px!important}.ads-metrics .ads-ranking-card{height:326px!important;overflow:visible!important;padding:14px!important}.ads-ranking-item{min-height:72px!important}.ads-ranking-list{gap:9px!important}.ads-ranking-card{gap:8px!important}}
@media(max-width:900px){.ads-ranking-boards{grid-template-columns:1fr!important}.ads-ranking-item{min-height:76px!important}}
.ads-ranking-boards{flex:none!important}.ads-ranking-foot{clear:both}
@media(min-width:1400px){.ads-metrics{grid-template-rows:repeat(2,minmax(175px,auto))!important;align-items:stretch!important}.ads-metrics .metric-card{height:auto!important;min-height:175px!important}.ads-metrics .ads-ranking-card{height:auto!important;min-height:360px!important}}

/* Compact account summary without letting ranking rows stretch KPI cards. */
@media(min-width:1400px){
 .ads-metrics{grid-template-columns:repeat(6,minmax(0,1fr)) minmax(0,7.8fr)!important;grid-template-rows:repeat(2,132px)!important;align-items:start!important;gap:10px!important}
 .ads-metrics .metric-card{height:132px!important;min-height:132px!important;padding:11px 12px!important}
 .ads-metrics .ads-ranking-card{height:274px!important;min-height:274px!important;padding:12px!important;gap:5px!important;overflow:hidden!important}
 .ads-ranking-head h4{font-size:12px!important;margin:0 0 2px!important}.ads-ranking-head small{font-size:9px!important}
 .ads-ranking-board h5{font-size:12px!important;margin:0 0 5px!important}
 .ads-ranking-list{gap:6px!important}.ads-ranking-item{min-height:62px!important;gap:2px 6px!important}
 .ads-ranking-item>div{padding-top:20px!important}.ads-ranking-item strong,.ads-ranking-item>em{line-height:18px!important;height:18px!important}
 .ads-ranking-item .rank-metric-row{line-height:14px!important;font-size:10px!important}.ads-ranking-item .rank-supplement{line-height:14px!important;font-size:9px!important;margin:0!important}
 .ads-ranking-boards{gap:11px!important}
}

.ads-ranking-item strong button.ads-product-name-link{display:block;width:100%;padding:0;border:0;background:none;text-align:left;font:inherit;color:inherit;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.ads-ranking-item strong button:hover{color:#bf6685;text-decoration:underline}

/* Verified plan/product relationships and plan categories. */
.ads-preview-tabs{flex-wrap:wrap;align-items:center}.ads-preview-tabs select[data-preview-plan-type]{margin-left:auto}.ads-preview-tabs select[aria-label="详情排序"]{margin-left:0}.plan-type-badge{display:inline-block;font-style:normal;color:#a45275;background:#f7e7ef;border-radius:4px;padding:2px 5px}.ads-preview-list article>div:first-child small{line-height:1.6}.ads-preview-list article{min-height:82px}
