:root {
  color-scheme: light;
  font-family:
    Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  background: #f5f7fb;
  color: #172033;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --border: #e3e8f0;
  --muted: #6b7588;
  --soft: #f7f9fc;
  --teal: #238a90;
  --teal-soft: #e9f6f6;
  --red: #f0525b;
  --green: #4aa568;
  --blue: #4d77e6;
  --amber: #eda53a;
  --violet: #7367dc;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-width: 1200px;
  min-height: 100vh;
  background: #f5f7fb;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
p {
  margin: 0;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  min-height: 100vh;
}

.side-nav {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 22px 8px;
  border-right: 1px solid var(--border);
  background: #ffffff;
}

.app-mark {
  display: grid;
  grid-template-columns: repeat(3, 6px);
  align-items: end;
  justify-content: center;
  gap: 4px;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, #2a9696, #1f737e);
  box-shadow: 0 10px 24px rgba(35, 138, 144, 0.18);
}

.app-mark span {
  display: block;
  width: 6px;
  border-radius: 4px 4px 0 0;
  background: rgba(255, 255, 255, 0.92);
}

.app-mark span:nth-child(1) {
  height: 16px;
}

.app-mark span:nth-child(2) {
  height: 26px;
}

.app-mark span:nth-child(3) {
  height: 34px;
}

.side-nav-list {
  display: grid;
  width: 100%;
  gap: 10px;
}

.side-nav-list button,
.collapse-button {
  display: grid;
  justify-items: center;
  gap: 5px;
  width: 100%;
  padding: 9px 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #7a8395;
  font-size: 13px;
  font-weight: 700;
}

.side-nav-list button.active,
.side-nav-list button:hover {
  background: var(--teal-soft);
  color: var(--teal);
}

.collapse-button {
  margin-top: auto;
  color: #7a8395;
}

.nav-icon {
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
}

.nav-home::before {
  position: absolute;
  inset: 5px 3px 3px;
  border-radius: 3px;
  background: currentColor;
  content: "";
}

.nav-home::after {
  position: absolute;
  top: 2px;
  left: 5px;
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.nav-doc::before,
.nav-report::before {
  position: absolute;
  inset: 2px 5px;
  border: 2px solid currentColor;
  border-radius: 3px;
  content: "";
}

.nav-doc::after,
.nav-report::after {
  position: absolute;
  right: 8px;
  bottom: 7px;
  left: 8px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor;
  content: "";
}

.nav-chat::before {
  position: absolute;
  inset: 5px 2px 6px;
  border-radius: 10px;
  background: currentColor;
  content: "";
}

.nav-chat::after {
  position: absolute;
  right: 5px;
  bottom: 3px;
  border-top: 5px solid currentColor;
  border-left: 5px solid transparent;
  content: "";
}

.nav-people::before,
.nav-people::after {
  position: absolute;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.nav-people::before {
  top: 3px;
  left: 7px;
  width: 8px;
  height: 8px;
  box-shadow: -7px 8px 0 -1px currentColor, 7px 8px 0 -1px currentColor;
}

.nav-people::after {
  right: 3px;
  bottom: 2px;
  left: 3px;
  height: 7px;
}

.nav-trend::before {
  position: absolute;
  inset: 11px 3px 7px;
  transform: rotate(-32deg);
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.nav-trend::after {
  position: absolute;
  top: 3px;
  right: 2px;
  width: 8px;
  height: 8px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  content: "";
}

.nav-topic::before {
  position: absolute;
  top: 3px;
  left: 6px;
  width: 3px;
  height: 16px;
  transform: skew(-10deg);
  background: currentColor;
  box-shadow: 8px 0 0 currentColor;
  content: "";
}

.nav-topic::after {
  position: absolute;
  top: 7px;
  left: 3px;
  width: 16px;
  height: 3px;
  transform: skew(-10deg);
  background: currentColor;
  box-shadow: 0 7px 0 currentColor;
  content: "";
}

.nav-compare::before,
.nav-compare::after {
  position: absolute;
  top: 4px;
  bottom: 4px;
  width: 7px;
  border: 2px solid currentColor;
  border-radius: 4px;
  content: "";
}

.nav-compare::before {
  left: 2px;
}

.nav-compare::after {
  right: 2px;
}

.nav-gear::before {
  position: absolute;
  inset: 4px;
  border: 5px solid currentColor;
  border-radius: 999px;
  content: "";
}

.dashboard-main {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 22px 24px 28px;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
}

.page-header h1 {
  color: #172033;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0;
}

.page-header p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.refresh-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  border-radius: 8px;
  font-weight: 800;
}

.refresh-button {
  min-width: 122px;
  padding: 0 14px;
  border: 1px solid #2a838b;
  background: linear-gradient(180deg, #3199a0, #217a82);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(35, 138, 144, 0.18);
}

.refresh-icon {
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 999px;
}

.platform-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 6px;
}

.platform-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 8px 8px 0 0;
  background: #ffffff;
  color: #273149;
  font-weight: 800;
}

.platform-tab.active {
  border-color: #f04b61;
  border-bottom-color: #172033;
  background: #121722;
  color: #ffffff;
  box-shadow: inset 0 -3px 0 #f04b61;
}

.platform-tab.disabled {
  color: #7b8496;
  opacity: 0.78;
}

.platform-logo {
  display: inline-grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 7px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.douyin-logo {
  background: #101318;
}

.douyin-logo::before {
  content: "d";
}

.xhs-logo {
  background: #ef3d36;
}

.xhs-logo::before {
  content: "RED";
  font-size: 8px;
}

.weibo-logo {
  background: #f05b37;
}

.weibo-logo::before {
  content: "wb";
}

.shipinhao-logo {
  background: #f2a342;
}

.shipinhao-logo::before {
  content: "∞";
}

.bili-logo {
  background: #f0649b;
}

.bili-logo::before {
  content: "bili";
  font-size: 8px;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(220px, 280px) minmax(180px, 220px) minmax(180px, 220px) 112px;
  align-items: end;
  gap: 18px 30px;
  min-height: 74px;
  padding: 14px 20px;
  border: 1px solid var(--border);
  border-radius: 0 8px 8px 8px;
  background: #ffffff;
}

.filter-bar label {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.filter-bar label span {
  color: #4a556b;
  font-size: 13px;
  font-weight: 800;
}

select,
input {
  width: 100%;
  height: 38px;
  min-width: 0;
  padding: 0 12px;
  border: 1px solid #dbe2ec;
  border-radius: 8px;
  background: #ffffff;
  color: #2a344a;
  font-weight: 700;
  outline: 0;
}

.range-clear-button {
  height: 38px;
  border: 1px solid #dbe2ec;
  border-radius: 8px;
  background: #ffffff;
  color: #39455c;
  font-size: 13px;
  font-weight: 850;
}

.range-summary {
  display: grid;
  grid-template-columns: 1.1fr repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.range-summary-card {
  min-width: 0;
  min-height: 82px;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(25, 35, 55, 0.035);
}

.range-summary-card span,
.range-summary-card strong,
.range-summary-card em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.range-summary-card span {
  color: #6b7588;
  font-size: 12px;
  font-weight: 800;
}

.range-summary-card strong {
  margin-top: 8px;
  color: #172033;
  font-size: 21px;
  font-weight: 950;
}

.range-summary-card em {
  margin-top: 5px;
  color: #536176;
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.kpi-card,
.panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(25, 35, 55, 0.035);
}

.kpi-card {
  position: relative;
  display: grid;
  min-height: 128px;
  padding: 18px 20px 14px;
  overflow: hidden;
}

.kpi-card span {
  color: #4c586f;
  font-size: 14px;
  font-weight: 800;
}

.kpi-card strong {
  margin-top: 13px;
  color: #111827;
  font-size: clamp(22px, 1.7vw, 31px);
  line-height: 1;
  letter-spacing: 0;
}

.kpi-delta {
  align-self: end;
  color: #4f6075;
  font-size: 12px;
  font-weight: 700;
}

.kpi-delta em {
  color: var(--green);
  font-style: normal;
  font-weight: 900;
}

.kpi-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
}

.kpi-icon::before {
  width: 20px;
  height: 20px;
  content: "";
}

.kpi-icon.play {
  background: #42a5a9;
}

.kpi-icon.play::before {
  clip-path: polygon(20% 8%, 86% 50%, 20% 92%);
  background: currentColor;
}

.kpi-icon.eye {
  background: #668be9;
}

.kpi-icon.eye::before {
  border: 3px solid currentColor;
  border-radius: 75% 10%;
  transform: rotate(45deg);
}

.kpi-icon.chat {
  background: #4aa6a9;
}

.kpi-icon.chat::before {
  border-radius: 999px;
  background: currentColor;
  box-shadow: -7px 0 0 -4px #4aa6a9, 7px 0 0 -4px #4aa6a9;
}

.kpi-icon.rate {
  background: var(--amber);
}

.kpi-icon.rate::before {
  border: 5px solid currentColor;
  border-right-color: transparent;
  border-radius: 999px;
}

.kpi-icon.fans {
  background: #55a965;
}

.kpi-icon.fans::before {
  border-radius: 999px;
  background: currentColor;
  box-shadow: 9px 7px 0 -2px currentColor;
}

.kpi-icon.publish {
  background: var(--violet);
}

.kpi-icon.publish::before {
  border-radius: 4px;
  background: currentColor;
}

.top-grid {
  display: grid;
  grid-template-columns: 310px repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.middle-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr 0.95fr 1fr 1.15fr;
  gap: 14px;
}

.bottom-grid {
  display: grid;
  grid-template-columns: 0.85fr 0.8fr 1.5fr 1.35fr;
  gap: 14px;
}

.panel {
  min-width: 0;
  min-height: 230px;
  padding: 16px;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 24px;
}

.panel-title h2 {
  color: #1e293b;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: 0;
}

.panel-title span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.chart-box {
  height: 176px;
  margin-top: 12px;
}

.chart-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.axis-line {
  stroke: #dfe5ee;
  stroke-width: 1;
}

.chart-label {
  fill: #7a8496;
  font-size: 11px;
  font-weight: 700;
}

.account-card {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 18px;
}

.account-logo {
  display: grid;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 14px;
  background: #111827;
  color: #ffffff;
  font-size: 26px;
  font-weight: 900;
}

.account-card strong,
.account-card span {
  display: block;
}

.account-card strong {
  color: #1e293b;
  font-size: 17px;
}

.account-card span {
  margin-top: 4px;
  color: #7a8496;
  font-size: 12px;
  font-weight: 700;
}

.account-stats {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.account-stats div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
}

.account-stats dt {
  color: #7a8496;
  font-size: 13px;
}

.account-stats dd {
  margin: 0;
  overflow: hidden;
  color: #2a344a;
  font-size: 13px;
  font-weight: 800;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.metric-cell {
  min-height: 74px;
  padding: 8px 12px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.metric-cell:nth-child(3n) {
  border-right: 0;
}

.metric-cell:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.metric-cell span,
.metric-cell strong,
.metric-cell em {
  display: block;
}

.metric-cell span {
  color: #6b7588;
  font-size: 12px;
  font-weight: 700;
}

.metric-cell strong {
  margin-top: 8px;
  color: #182133;
  font-size: 20px;
  letter-spacing: 0;
}

.metric-cell em {
  margin-top: 5px;
  color: var(--green);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.donut-layout {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

.module-donut-layout {
  min-height: 132px;
}

.module-card .module-donut-layout {
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 8px;
  min-height: 112px;
  margin-top: 12px;
}

.module-card .module-donut-layout .donut {
  width: 100px;
  height: 100px;
}

.module-card .module-donut-layout .donut::after {
  width: 50px;
  height: 50px;
  margin: 25px;
}

.module-card .module-donut-layout .legend-list {
  gap: 7px;
}

.module-card .module-donut-layout .legend-row {
  grid-template-columns: 9px minmax(56px, 1fr) max-content;
  gap: 6px;
  font-size: 12px;
}

.module-card .module-donut-layout .legend-dot {
  width: 8px;
  height: 8px;
}

@media (min-width: 1501px) {
  .middle-grid .donut-panel .donut-layout {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 8px;
  }

  .middle-grid .donut-panel .donut {
    width: 100px;
    height: 100px;
  }

  .middle-grid .donut-panel .donut::after {
    width: 50px;
    height: 50px;
    margin: 25px;
  }

  .middle-grid .donut-panel .legend-list {
    gap: 7px;
  }

  .middle-grid .donut-panel .legend-row {
    grid-template-columns: 9px minmax(56px, 1fr) max-content;
    gap: 6px;
    font-size: 12px;
  }

  .middle-grid .donut-panel .legend-dot {
    width: 8px;
    height: 8px;
  }
}

.donut {
  width: 124px;
  height: 124px;
  border-radius: 999px;
}

.donut::after {
  display: block;
  width: 62px;
  height: 62px;
  margin: 31px;
  border-radius: 999px;
  background: #ffffff;
  content: "";
}

.legend-list {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.legend-row {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  color: #4a556b;
  font-size: 13px;
  font-weight: 800;
}

.legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.legend-row span:nth-child(2) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bar-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.bar-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 10px;
  color: #4a556b;
  font-size: 12px;
  font-weight: 800;
}

.bar-row span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bar-track {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf1f7;
}

.bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #47a8aa, #5f88e7);
}

.audience-box {
  display: grid;
  gap: 12px;
  margin-top: 13px;
}

.audience-box .module-subtitle {
  margin-top: 0;
}

.region-layout {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.region-summary {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 86px;
  padding: 12px;
  border: 1px solid #e4ebf3;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #f5fafb);
}

.region-dial {
  position: relative;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border-radius: 999px;
}

.region-dial::after {
  position: absolute;
  inset: 8px;
  border-radius: inherit;
  background: #ffffff;
  content: "";
}

.region-dial span {
  position: relative;
  z-index: 1;
  color: #172033;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
}

.region-summary-text {
  min-width: 0;
}

.region-summary-text span,
.region-summary-text strong,
.region-summary-text em {
  display: block;
}

.region-summary-text span {
  color: #718096;
  font-size: 12px;
  font-weight: 800;
}

.region-summary-text strong {
  overflow: hidden;
  margin-top: 3px;
  color: #172033;
  font-size: 20px;
  font-weight: 950;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.region-summary-text em {
  margin-top: 5px;
  color: #516175;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.region-list {
  display: grid;
  gap: 10px;
}

.region-row {
  display: grid;
  grid-template-columns: 22px minmax(42px, 72px) minmax(0, 1fr) 54px;
  align-items: center;
  gap: 8px;
  min-height: 24px;
  color: #4a556b;
  font-size: 12px;
  font-weight: 850;
}

.region-row b {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 6px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 950;
}

.region-row span {
  overflow: hidden;
  color: #344154;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.region-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf1f7;
}

.region-track i {
  display: block;
  height: 100%;
  min-width: 4px;
  border-radius: inherit;
}

.region-row strong {
  color: #253149;
  font-size: 12px;
  font-weight: 950;
  text-align: right;
  white-space: nowrap;
}

.word-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.word-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 26px;
  color: #4a556b;
  font-size: 13px;
  font-weight: 800;
}

.word-row b {
  color: var(--blue);
}

.word-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.diagnosis-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.radar-layout {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.report-radar-list {
  display: grid;
  gap: 16px;
}

.radar-title {
  margin: 0;
  color: #334155;
  font-size: 13px;
}

.radar-chart {
  display: block;
  width: 238px;
  height: 238px;
}

.radar-ring {
  fill: none;
  stroke: #e3e8f0;
  stroke-width: 1;
}

.radar-axis {
  stroke: #d9e1ec;
  stroke-width: 1;
}

.radar-poly {
  stroke-width: 2.8;
  stroke-linejoin: round;
}

.radar-poly.mine {
  fill: rgba(77, 119, 230, 0.22);
  stroke: #4d77e6;
}

.radar-poly.median {
  fill: rgba(240, 82, 91, 0.12);
  stroke: #f0525b;
  stroke-dasharray: 5 4;
}

.radar-dot.mine {
  fill: #ffffff;
  stroke: #4d77e6;
  stroke-width: 2;
}

.radar-label {
  fill: #435169;
  font-size: 12px;
  font-weight: 800;
  paint-order: stroke;
  stroke: #ffffff;
  stroke-linejoin: round;
  stroke-width: 4px;
}

.radar-side {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.radar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: #566176;
  font-size: 12px;
  font-weight: 800;
}

.radar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.radar-legend i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.radar-legend i.mine {
  background: #4d77e6;
}

.radar-legend i.median {
  background: #f0525b;
}

.radar-stat {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 2px 8px;
  align-items: center;
  min-height: 38px;
  padding: 6px 8px;
  border: 1px solid #edf1f6;
  border-radius: 8px;
  background: #fbfcfe;
}

.radar-stat strong,
.radar-stat span,
.radar-stat em,
.radar-stat small,
.radar-stat code {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.radar-stat strong {
  grid-row: span 2;
  color: #253149;
  font-size: 12px;
}

.radar-stat span {
  color: #7a8496;
  font-size: 11px;
  font-weight: 700;
}

.radar-stat em {
  color: #238a90;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.radar-stat small {
  grid-column: 2;
  color: #7a8496;
  font-size: 10px;
  font-weight: 700;
}

.radar-stat code {
  grid-column: 1 / -1;
  padding: 0;
  background: transparent;
  color: #7a8496;
  font-size: 10px;
}

.diagnosis-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px;
  gap: 10px;
  align-items: center;
}

.diagnosis-item strong,
.diagnosis-item span {
  display: block;
}

.diagnosis-item strong {
  overflow: hidden;
  color: #253149;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.diagnosis-item span {
  margin-top: 3px;
  color: #7a8496;
  font-size: 12px;
}

.mini-line {
  width: 56px;
  height: 28px;
}

.content-panel {
  min-height: 260px;
}

.text-button {
  min-width: 76px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #dbe2ec;
  background: #ffffff;
  color: #47606c;
  font-size: 12px;
}

.content-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.content-item {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 8px;
  border: 1px solid #edf1f6;
  border-radius: 8px;
  background: #fbfcfe;
}

.content-thumb {
  position: relative;
  display: grid;
  width: 78px;
  height: 56px;
  place-items: center;
  overflow: hidden;
  border-radius: 7px;
  background: linear-gradient(135deg, #e9f2f4, #dbe5f4);
}

.content-thumb img {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-thumb span,
.archive-thumb span,
.table-thumb span {
  color: #5c6b80;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
}

.content-main {
  min-width: 0;
}

.content-main strong,
.content-main span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.content-main strong {
  color: #1e293b;
  font-size: 13px;
}

.content-main span {
  margin-top: 6px;
  color: #7a8496;
  font-size: 12px;
  font-weight: 700;
}

.content-score {
  min-width: 82px;
  color: #1e293b;
  font-size: 17px;
  font-weight: 900;
  text-align: right;
}

.content-grid-mini {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.content-mini-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 74px;
  padding: 8px;
  border: 1px solid #edf1f6;
  border-radius: 8px;
  background: #fbfcfe;
}

.content-mini-thumb {
  position: relative;
  display: grid;
  width: 88px;
  height: 56px;
  place-items: center;
  overflow: hidden;
  border-radius: 7px;
  background: linear-gradient(135deg, #e9f2f4, #dbe5f4);
}

.content-mini-thumb img {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-mini-thumb span {
  color: #5c6b80;
  font-size: 12px;
  font-weight: 950;
}

.content-mini-card strong,
.content-mini-card span,
.content-mini-card em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.content-mini-card strong {
  color: #1e293b;
  font-size: 13px;
}

.content-mini-card span {
  margin-top: 5px;
  color: #6b7588;
  font-size: 12px;
  font-weight: 700;
}

.content-mini-card em {
  margin-top: 4px;
  color: #238a90;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.section-view {
  min-width: 0;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.module-grid-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.compare-control-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.compare-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.compare-toolbar span {
  color: #4a556b;
  font-size: 13px;
  font-weight: 850;
}

.compare-toolbar div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.compare-toolbar button,
.compare-remove-button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #dbe3ee;
  border-radius: 7px;
  background: #fff;
  color: #2f3a4d;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.compare-toolbar button:disabled,
.compare-remove-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.compare-slot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.compare-slot-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 0.8fr) minmax(0, 1.4fr);
  align-items: end;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #edf1f6;
  border-radius: 8px;
  background: #fbfcfe;
}

.compare-slot-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.compare-slot-title strong {
  color: #172033;
  font-size: 14px;
}

.compare-picker {
  display: grid;
  gap: 9px;
  min-width: 0;
}

.compare-picker span {
  color: #4a556b;
  font-size: 13px;
  font-weight: 850;
}

.compare-work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.compare-work-grid-dynamic {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.compare-work-card {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #edf1f6;
  border-radius: 8px;
  background: #fbfcfe;
}

.compare-work-card strong,
.compare-work-card span,
.compare-work-card em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compare-work-card strong {
  color: #172033;
  font-size: 14px;
  white-space: nowrap;
}

.compare-work-card span,
.compare-work-card em {
  margin-top: 5px;
  color: #6b7588;
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
  white-space: nowrap;
}

.compare-thumb {
  position: relative;
  display: grid;
  width: 124px;
  height: 78px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, #e9f2f4, #dbe5f4);
}

.compare-thumb img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-thumb span {
  color: #5c6b80;
  font-size: 12px;
  font-weight: 950;
}

.compare-matrix {
  margin-top: 14px;
  overflow: auto;
  border: 1px solid #edf1f6;
  border-radius: 8px;
}

.compare-matrix table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 13px;
}

.compare-matrix th,
.compare-matrix td {
  padding: 11px 12px;
  border-bottom: 1px solid #edf1f6;
  text-align: left;
  white-space: nowrap;
}

.compare-matrix th {
  background: #f7f9fc;
  color: #6b7588;
  font-size: 12px;
}

.compare-matrix th span,
.compare-matrix th strong {
  display: block;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compare-matrix th strong {
  margin-top: 4px;
  color: #172033;
  font-size: 12px;
  font-weight: 900;
}

.compare-matrix td:last-child {
  color: #238a90;
  font-weight: 850;
}

.compare-matrix .is-best {
  color: #0f7f83;
  font-weight: 950;
}

.compare-specific-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.compare-specific-card {
  min-width: 0;
  padding: 12px;
  border: 1px solid #edf1f6;
  border-radius: 8px;
  background: #fbfcfe;
}

.compare-specific-card > strong {
  display: block;
  margin-bottom: 10px;
  overflow: hidden;
  color: #172033;
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.module-card {
  min-height: 0;
}

.module-wide {
  grid-column: 1 / -1;
}

.module-muted {
  margin-top: 14px;
  color: #6b7588;
  font-size: 13px;
  line-height: 1.7;
}

.module-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.module-card:not(.module-wide) .module-metrics {
  grid-template-columns: 1fr;
}

.module-card:not(.module-wide) .window-card-grid,
.module-card:not(.module-wide) .portrait-grid {
  grid-template-columns: 1fr;
}

.module-metrics div,
.window-card,
.archive-heading,
.trend-summary {
  min-width: 0;
  border: 1px solid #edf1f6;
  border-radius: 8px;
  background: #fbfcfe;
}

.module-metrics div {
  min-height: 78px;
  padding: 11px 12px;
}

.module-metrics span,
.module-metrics strong,
.module-metrics em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.module-metrics span {
  color: #6b7588;
  font-size: 12px;
  font-weight: 800;
}

.module-metrics strong {
  margin-top: 8px;
  color: #152033;
  font-size: 22px;
}

.module-metrics em {
  margin-top: 6px;
  color: #4aa568;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.window-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.window-card {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.window-card h3,
.module-subtitle {
  margin: 0;
  color: #334155;
  font-size: 13px;
  letter-spacing: 0;
}

.window-card .module-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

.module-wide .window-card > .module-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.window-card .module-metrics div {
  min-height: 58px;
  padding: 9px;
}

.window-card .module-metrics strong {
  font-size: 16px;
}

.report-line-chart {
  display: block;
  width: 100%;
  height: 168px;
  margin-top: 4px;
}

.report-chart-title,
.report-chart-x,
.report-chart-y {
  fill: #6b7588;
  font-size: 11px;
  font-weight: 800;
}

.report-chart-grid {
  stroke: #e5ebf2;
  stroke-dasharray: 4 4;
}

.report-chart-line {
  fill: none;
  stroke: #2d8f98;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.report-chart-dot {
  fill: #ffffff;
  stroke: #2d8f98;
  stroke-width: 2;
}

.archive-switch {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.archive-switch span {
  color: #4a556b;
  font-size: 13px;
  font-weight: 800;
}

.archive-heading {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 12px;
}

.archive-thumb,
.table-thumb {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 7px;
  background: linear-gradient(135deg, #e9f2f4, #dbe5f4);
}

.archive-thumb {
  width: 104px;
  height: 64px;
}

.table-thumb {
  width: 68px;
  height: 42px;
}

.archive-thumb img,
.table-thumb img {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.archive-heading strong,
.archive-heading span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.archive-heading span {
  color: #6b7588;
  font-size: 12px;
  font-weight: 700;
}

.module-table-wrap {
  margin-top: 14px;
  overflow: auto;
  border: 1px solid #edf1f6;
  border-radius: 8px;
}

.module-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  font-size: 13px;
}

.module-table th,
.module-table td {
  padding: 11px 12px;
  border-bottom: 1px solid #edf1f6;
  text-align: left;
  white-space: nowrap;
}

.module-table th {
  background: #f7f9fc;
  color: #6b7588;
  font-size: 12px;
}

.module-table td:first-child {
  max-width: 360px;
}

.table-work {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.module-table td strong,
.module-table td span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.module-table td span {
  margin-top: 4px;
  color: #7a8496;
  font-size: 12px;
}

.trend-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 12px;
}

.trend-summary span,
.trend-summary strong {
  display: block;
}

.trend-summary span {
  color: #6b7588;
  font-size: 12px;
  font-weight: 800;
}

.trend-summary strong {
  margin-top: 5px;
  color: #152033;
  font-size: 22px;
}

.module-bars {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.module-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.module-list div {
  display: grid;
  gap: 4px;
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid #edf1f6;
  border-radius: 8px;
  background: #fbfcfe;
}

.module-list strong,
.module-list span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.module-list strong {
  color: #263149;
  font-size: 13px;
}

.module-list span {
  color: #6b7588;
  font-size: 12px;
  line-height: 1.5;
}

.portrait-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.module-subtitle {
  margin-top: 14px;
}

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

  .top-grid,
  .middle-grid,
  .bottom-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .window-card-grid,
  .portrait-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compare-slot-grid {
    grid-template-columns: 1fr;
  }

  .account-panel {
    min-height: 230px;
  }
}

@media (max-width: 1280px) {
  body {
    min-width: 980px;
  }

  .dashboard-shell {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .platform-tabs {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
  }

  .filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .module-metrics,
  .window-card-grid,
  .portrait-grid {
    grid-template-columns: 1fr;
  }
}
