:root {
  --outer: #ecebe4;
  --panel: #f7f7f3;
  --card: #fff;
  --ink: #0b0b0b;
  --text: #242424;
  --muted: #6a6a6a;
  --soft: #9c9c9c;
  --line: #111;
  --card-line: #b9b9b2;
  --line-soft: rgba(17, 17, 17, .14);
  --line-2: rgba(17, 17, 17, .28);
  --line-3: rgba(17, 17, 17, .1);
  --fill: #f4f4ef;
  --fill-2: #f7f7f3;
  --fill-3: #fff;
  --blue: #12a8ff;
  --green: #b7f264;
  --amber: #d8a84e;
  --red: #f2371d;
  --body: "Manrope", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --display: "Archivo Black", "Microsoft YaHei UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--outer);
  color: var(--text);
  font-family: var(--body);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.console-app {
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--outer);
}

.console-topnav {
  height: 64px;
  flex: none;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 28px;
  background: var(--outer);
}

.console-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 192px;
  flex: none;
}

.console-logo img {
  width: 154px;
  display: block;
}

.topnav-links {
  display: flex;
  gap: 0;
  border-left: 1px solid var(--line-soft);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.topnav-links a {
  height: 64px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-right: 1px solid var(--line-soft);
}

.topnav-links a:hover {
  background: var(--ink);
  color: #fff;
}

.topnav-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.global-search {
  width: 286px;
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  color: var(--soft);
}

.global-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.topnav-tools button,
.topnav-tools .topnav-docs,
.avatar {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.avatar {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.console-shell {
  min-height: 0;
  flex: 1;
  display: flex;
}

.sidebar {
  width: 192px;
  flex: none;
  background: var(--outer);
  padding: 14px 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
  transition: width .22s ease;
}

.sidebar.is-collapsed {
  width: 64px;
}

.side-top {
  height: 32px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 4px;
  margin-bottom: 4px;
}

.collapse-btn {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.collapse-btn:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.console-nav {
  min-height: 0;
  overflow: auto;
}

.console-nav section {
  margin-bottom: 8px;
}

.console-nav p {
  margin: 12px 12px 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.sidebar.is-collapsed .console-nav p {
  opacity: 0;
  height: 8px;
  margin: 6px 0;
}

.console-nav a {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.console-nav a:hover {
  background: #f1f1ed;
  color: var(--ink);
}

.console-nav a.is-active {
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}

.nav-ico {
  width: 18px;
  flex: none;
  display: inline-grid;
  place-items: center;
}

.nav-ico svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.sidebar.is-collapsed .console-nav a {
  justify-content: center;
  padding: 0;
}

.sidebar.is-collapsed .nav-text {
  display: none;
}

.workspace-panel {
  min-width: 0;
  flex: 1;
  margin: 12px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: none;
  overflow: hidden;
}

.panel-scroll {
  height: 100%;
  overflow: auto;
  padding: 28px;
}

.notice-strip {
  min-height: 42px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 0 16px;
  border: 1px solid var(--card-line);
  border-radius: 12px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
}

.notice-strip span {
  color: var(--ink);
  font-weight: 900;
}

.notice-strip p {
  margin: 0;
  line-height: 1.5;
}

.notice-strip button {
  border: 0;
  background: transparent;
  color: var(--soft);
  cursor: pointer;
  font-size: 18px;
}

.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.page-head h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 42px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0;
}

.page-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.page-actions {
  display: flex;
  gap: 10px;
}

.page-actions button,
.card-head button,
.balance-card button,
.quick-grid button {
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.page-actions button.primary,
.balance-card button {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.hero-metrics {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(420px, 1.08fr);
  gap: 14px;
}

.balance-card,
.trend-card,
.metric-row article,
.works-panel,
.table-card,
.rank-card,
.quick-panel,
.news-card {
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: 20px;
  box-shadow: none;
}

.balance-card {
  min-height: 204px;
  padding: 26px 30px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.balance-card span,
.metric-row span {
  color: #72726b;
  font-size: 12px;
  font-weight: 900;
}

.balance-card strong {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(40px, 4vw, 60px);
  line-height: .9;
  letter-spacing: 0;
}

.balance-card i {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 170px;
  height: 38px;
  border-radius: 999px;
  background:
    repeating-linear-gradient(90deg, rgba(17, 17, 17, .11) 0 1px, transparent 1px 7px),
    linear-gradient(90deg, rgba(18, 168, 255, .1), rgba(242, 55, 29, .08));
  border: 1px solid rgba(17, 17, 17, .08);
  opacity: .78;
  pointer-events: none;
}

.balance-card button {
  position: absolute;
  right: 24px;
  top: 24px;
}

.trend-card {
  min-height: 204px;
  padding: 24px 28px 20px;
}

.card-head,
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.card-head span,
.section-head span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.section-head small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.section-head a {
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.segment {
  display: inline-flex;
  border: 1px solid rgba(17, 17, 17, .18);
  border-radius: 999px;
  overflow: hidden;
  background: #f7f7f3;
}

.segment button {
  height: 30px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  padding: 0 14px;
}

.segment button.on {
  background: var(--ink);
  color: #fff;
}

.line-chart {
  width: 100%;
  height: 138px;
  display: block;
}

.grid-line {
  stroke: rgba(17, 17, 17, .12);
  stroke-width: 1;
}

.area {
  fill: url(#areaFade);
}

.line {
  fill: none;
  stroke: var(--ink);
  stroke-width: 3;
  stroke-linecap: round;
}

.line-chart circle {
  fill: var(--card);
  stroke: var(--ink);
  stroke-width: 2;
}

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

.metric-row article {
  min-height: 132px;
  padding: 20px 20px 18px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #fff 0%, #fff 62%, #fbfbf7 100%);
}

.metric-row article::before {
  content: "";
  position: absolute;
  right: 20px;
  top: 18px;
  width: 30px;
  height: 18px;
  border-radius: 999px;
  background: #fff;
  border: 5px solid var(--metric-accent, var(--ink));
  transform: rotate(-17deg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8);
}

.metric-row article::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 3px;
  background: var(--metric-accent, var(--ink));
  opacity: .22;
}

.metric-row article:nth-child(1)::before,
.metric-row article:nth-child(3)::before {
  --metric-accent: #21a9ee;
}

.metric-row article:nth-child(2)::before,
.metric-row article:nth-child(5)::before {
  --metric-accent: #f2371d;
}

.metric-row article:nth-child(4)::before {
  --metric-accent: #111;
  border-width: 2px;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 42%, #fff 43% 100%),
    conic-gradient(from 0deg, #111 0 20%, transparent 20% 32%, #111 32% 52%, transparent 52% 64%, #111 64% 84%, transparent 84% 100%);
  border-color: transparent;
  width: 27px;
  height: 27px;
  transform: rotate(18deg);
}

.metric-row strong {
  display: block;
  margin-top: 20px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(26px, 2.5vw, 36px);
  letter-spacing: 0;
}

.metric-row small {
  display: block;
  margin-top: 10px;
  color: #66665f;
  font-size: 12px;
  font-weight: 900;
}

.works-panel,
.table-card,
.rank-card,
.quick-panel,
.news-card {
  margin-top: 14px;
  padding: 20px;
}

.works-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.works-strip span {
  width: 118px;
  height: 118px;
  flex: none;
  border: 1px solid var(--card-line);
  border-radius: 14px;
  background:
    radial-gradient(circle at 78% 72%, rgba(18, 168, 255, .28), transparent 24%),
    linear-gradient(145deg, #fff, #f1f1ed);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 12px;
}

.works-strip span:nth-child(2n) {
  background:
    radial-gradient(circle at 74% 26%, rgba(242, 55, 29, .22), transparent 25%),
    linear-gradient(145deg, #fff, #efefea);
}

.works-strip i {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 30px;
  height: 15px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line-2);
}

.works-strip b {
  color: var(--text);
  font-size: 12px;
}

.dashboard-lower {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, .72fr);
  gap: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

th,
td {
  border-top: 1px solid rgba(17, 17, 17, .12);
  padding: 13px 10px;
  text-align: left;
}

th {
  color: var(--muted);
  font-weight: 800;
  background: #fff;
}

td {
  color: #25252a;
  font-weight: 800;
}

.pill {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  border: 1px solid var(--card-line);
  background: #fff;
  color: var(--muted);
}

.pill.ok {
  color: var(--ink);
  background: #fff;
  border-color: var(--ink);
}

.pill.run {
  color: var(--ink);
  background: #fff;
  border-color: var(--ink);
}

.rank-card ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rank-card li {
  display: grid;
  grid-template-columns: 116px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(17, 17, 17, .12);
  font-size: 12px;
  font-weight: 900;
}

.rank-card b {
  height: 7px;
  border-radius: 999px;
  background: var(--fill);
  position: relative;
  overflow: hidden;
}

.rank-card b::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: inherit;
  background: var(--ink);
}

.bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

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

.quick-grid button {
  height: 52px;
  justify-content: flex-start;
  border-radius: 12px;
  background: #fff;
}

.quick-grid button:hover {
  background: var(--ink);
  color: #fff;
}

.news-card {
  display: grid;
  gap: 10px;
}

.news-card > a {
  padding-top: 10px;
  border-top: 1px solid rgba(17, 17, 17, .12);
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

@media (max-width: 1180px) {
  .topnav-links,
  .global-search {
    display: none;
  }

  .hero-metrics,
  .dashboard-lower,
  .bottom-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .console-logo {
    width: auto;
  }

  .console-logo img {
    width: 126px;
  }

  .sidebar {
    display: none;
  }

  .workspace-panel {
    margin: 8px;
    border-radius: 20px;
  }

  .panel-scroll {
    padding: 18px;
  }

  .notice-strip,
  .page-head {
    display: block;
  }

  .page-actions {
    margin-top: 14px;
  }

  .metric-row,
  .quick-grid {
    grid-template-columns: 1fr;
  }
}

/* Overview redesign */
.overview-redesign {
  padding: 24px;
  background:
    radial-gradient(circle at 88% 12%, rgba(18, 168, 255, .08), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fff 52%, #fbfbf7 100%);
}

.overview-redesign .notice-strip {
  margin-bottom: 22px;
  border-color: rgba(17, 17, 17, .12);
  border-radius: 999px;
  background: rgba(247, 247, 243, .78);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .72);
}

.overview-head {
  align-items: flex-end;
  margin-bottom: 22px;
  padding: 2px 2px 0;
}

.overview-head .eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #77776f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
}

.overview-head h1 {
  font-size: clamp(44px, 5vw, 72px);
  line-height: .92;
}

.overview-head p {
  margin-top: 12px;
  font-size: 14px;
  color: #5d5d56;
}

.overview-redesign .page-actions button {
  border-radius: 999px;
}

.ops-grid {
  display: grid;
  grid-template-columns: minmax(280px, .62fr) minmax(420px, 1fr);
  grid-template-areas:
    "balance trend"
    "metrics metrics";
  gap: 16px;
}

.overview-redesign .balance-card,
.overview-redesign .trend-card,
.overview-redesign .metric-row article,
.overview-redesign .works-panel,
.overview-redesign .table-card,
.overview-redesign .rank-card,
.overview-redesign .quick-panel,
.overview-redesign .news-card {
  border: 1px solid rgba(17, 17, 17, .12);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(250, 250, 246, .96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 12px 34px rgba(17, 17, 17, .035);
}

.overview-redesign .balance-card {
  grid-area: balance;
  min-height: 238px;
  padding: 30px;
  justify-content: space-between;
  background:
    radial-gradient(circle at 84% 74%, rgba(18, 168, 255, .16), transparent 24%),
    radial-gradient(circle at 108% 10%, rgba(242, 55, 29, .1), transparent 30%),
    linear-gradient(135deg, #fff 0%, #f8f8f3 100%);
}

.overview-redesign .balance-card::before {
  content: "";
  position: absolute;
  right: 30px;
  bottom: 32px;
  width: 88px;
  height: 54px;
  border: 9px solid rgba(17, 17, 17, .1);
  border-radius: 999px;
  transform: rotate(-20deg);
}

.overview-redesign .balance-card::after {
  content: "";
  position: absolute;
  right: 88px;
  bottom: 65px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: -48px 52px 0 rgba(18, 168, 255, .85);
}

.overview-redesign .balance-card span,
.overview-redesign .metric-row span {
  color: #6c6c64;
  text-transform: none;
}

.overview-redesign .balance-card strong {
  margin-top: 18px;
  font-size: clamp(48px, 4.7vw, 78px);
  letter-spacing: -.01em;
}

.overview-redesign .balance-card p {
  max-width: 220px;
  margin: 12px 0 0;
  color: #5f5f58;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
}

.overview-redesign .balance-card i {
  display: none;
}

.overview-redesign .balance-card button {
  top: 26px;
  right: 26px;
  border-radius: 999px;
}

.overview-redesign .trend-card {
  grid-area: trend;
  min-height: 238px;
  padding: 28px 30px 24px;
  background:
    radial-gradient(circle at 22% 22%, rgba(18, 168, 255, .08), transparent 24%),
    linear-gradient(180deg, #fff, #f8f8f3);
}

.overview-redesign .card-head {
  margin-bottom: 10px;
}

.overview-redesign .card-head small {
  display: block;
  margin-top: 5px;
  color: #74746c;
  font-size: 11px;
  font-weight: 800;
}

.overview-redesign .line-chart {
  height: 162px;
  margin-top: 2px;
}

.overview-redesign .line {
  stroke-width: 3.5;
}

.overview-redesign .metric-row {
  grid-area: metrics;
  margin-top: 0;
  gap: 0;
  border: 1px solid rgba(17, 17, 17, .12);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
}

.overview-redesign .metric-row article {
  min-height: 126px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: linear-gradient(180deg, #fff, #fbfbf7);
}

.overview-redesign .metric-row article + article {
  border-left: 1px solid rgba(17, 17, 17, .09);
}

.overview-redesign .metric-row article::before {
  right: 18px;
  top: 16px;
  width: 24px;
  height: 15px;
  border-width: 4px;
  opacity: .9;
}

.overview-redesign .metric-row article::after {
  left: 0;
  right: auto;
  width: 3px;
  height: 100%;
  opacity: .2;
}

.overview-redesign .metric-row strong {
  margin-top: 18px;
  font-size: clamp(30px, 2.7vw, 44px);
}

.overview-redesign .metric-row small {
  color: #6c6c64;
}

.overview-content {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: 16px;
  margin-top: 16px;
}

.overview-content .table-card {
  grid-column: 1 / 2;
}

.overview-content .rank-card {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.overview-content .quick-panel {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

.overview-content .news-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.1fr repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 0;
}

.overview-redesign .works-panel,
.overview-redesign .table-card,
.overview-redesign .rank-card,
.overview-redesign .quick-panel,
.overview-redesign .news-card {
  margin-top: 0;
  padding: 22px;
}

.overview-redesign .works-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(92px, 1fr));
  gap: 10px;
}

.overview-redesign .works-strip span {
  width: auto;
  height: 108px;
  border-color: rgba(17, 17, 17, .12);
  border-radius: 18px;
}

.overview-redesign .rank-card li {
  grid-template-columns: 104px 1fr;
  gap: 14px;
}

.overview-redesign .rank-card b {
  height: 9px;
  background: #ecece6;
}

.overview-redesign .rank-card b::after {
  background: linear-gradient(90deg, #111, #4c4c46);
}

.overview-redesign table {
  font-size: 13px;
}

.overview-redesign th,
.overview-redesign td {
  padding: 15px 10px;
}

.overview-redesign .quick-grid {
  grid-template-columns: 1fr;
  gap: 9px;
}

.overview-redesign .quick-grid button {
  height: 46px;
  border-radius: 999px;
  background: #f7f7f3;
}

.overview-redesign .news-card .section-head {
  margin: 0;
  padding-right: 20px;
}

.overview-redesign .news-card > a {
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  border-top: 0;
  border-left: 1px solid rgba(17, 17, 17, .1);
}

@media (max-width: 1180px) {
  .ops-grid,
  .overview-content {
    grid-template-columns: 1fr;
  }

  .ops-grid {
    grid-template-areas:
      "balance"
      "trend"
      "metrics";
  }

  .overview-content .table-card,
  .overview-content .rank-card,
  .overview-content .quick-panel,
  .overview-content .news-card {
    grid-column: auto;
    grid-row: auto;
  }

  .overview-content .news-card {
    grid-template-columns: 1fr;
  }

  .overview-redesign .news-card > a {
    border-left: 0;
    border-top: 1px solid rgba(17, 17, 17, .1);
  }
}

/* Official ENCORE console overview: paper, rules, no colored SaaS cards */
.workspace-panel {
  border-color: rgba(17, 17, 17, .86);
}

.overview-redesign {
  --overview-paper: #f7f7f3;
  --overview-sheet: #fff;
  --overview-line: #171717;
  --overview-soft-line: #d4d4cc;
  --overview-muted: #66665f;
  background: var(--overview-paper);
  padding: 28px;
}

.overview-redesign::before,
.overview-redesign::after,
.overview-redesign .balance-card::before,
.overview-redesign .balance-card::after,
.overview-redesign .metric-row article::before,
.overview-redesign .metric-row article::after {
  display: none;
}

.overview-redesign .notice-strip {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--overview-line);
  border-radius: 0;
  background: var(--overview-sheet);
}

.overview-redesign .notice-strip span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
}

.overview-redesign .notice-strip p {
  color: var(--overview-muted);
}

.overview-redesign .overview-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin: 22px 0 0;
  padding: 0 0 26px;
  border-bottom: 1px solid var(--overview-line);
}

.overview-redesign .overview-head h1 {
  font-size: clamp(56px, 5.8vw, 104px);
  line-height: .82;
  letter-spacing: 0;
}

.overview-redesign .overview-head p {
  max-width: 420px;
  color: #3d3d38;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
}

.overview-redesign .overview-actions {
  align-self: end;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 8px;
}

.overview-redesign .overview-actions button,
.overview-redesign .balance-card button,
.overview-redesign .quick-grid button,
.overview-redesign .filter button {
  border: 1px solid var(--overview-line);
  border-radius: 0;
  box-shadow: none;
}

.overview-redesign .overview-actions button,
.overview-redesign .filter button {
  background: var(--overview-sheet);
  color: var(--ink);
}

.overview-redesign .overview-actions button:last-child,
.overview-redesign .balance-card button {
  background: var(--black);
  color: var(--white);
}

.overview-redesign .ops-grid {
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(520px, 1.1fr);
  grid-template-areas:
    "balance trend"
    "metrics metrics";
  gap: 0;
  margin-top: 26px;
  border: 1px solid var(--overview-line);
  border-radius: 0;
  background: var(--overview-sheet);
  overflow: hidden;
}

.overview-redesign .balance-card,
.overview-redesign .trend-card {
  min-height: 252px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.overview-redesign .balance-card {
  grid-area: balance;
  padding: 34px 34px 30px;
  border-right: 1px solid var(--overview-line);
}

.overview-redesign .balance-card span,
.overview-redesign .metric-row span,
.overview-redesign .card-head span,
.overview-redesign .section-head span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
}

.overview-redesign .balance-card strong {
  margin-top: 28px;
  font-size: clamp(56px, 5.5vw, 86px);
  line-height: .9;
  letter-spacing: 0;
}

.overview-redesign .balance-card p {
  margin-top: 24px;
  max-width: none;
  color: var(--overview-muted);
}

.overview-redesign .balance-card button {
  top: 34px;
  right: 34px;
}

.overview-redesign .trend-card {
  grid-area: trend;
  padding: 34px 34px 28px;
  background: transparent;
}

.overview-redesign .card-head small {
  color: var(--overview-muted);
}

.overview-redesign .filter {
  gap: 0;
  border: 1px solid var(--overview-line);
}

.overview-redesign .filter button {
  border: 0;
  min-width: 54px;
}

.overview-redesign .filter button + button {
  border-left: 1px solid var(--overview-line);
}

.overview-redesign .filter .active {
  background: var(--black);
  color: var(--white);
}

.overview-redesign .line-chart {
  height: 170px;
}

.overview-redesign .line-chart path:first-of-type {
  fill: rgba(17, 17, 17, .045);
}

.overview-redesign .grid-line {
  stroke: rgba(17, 17, 17, .14);
}

.overview-redesign .line {
  stroke: var(--ink);
  stroke-width: 3;
}

.overview-redesign .point {
  fill: var(--overview-sheet);
  stroke: var(--ink);
  stroke-width: 2.5;
}

.overview-redesign .metric-row {
  grid-area: metrics;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--overview-line);
  border-radius: 0;
  background: var(--overview-paper);
  overflow: visible;
}

.overview-redesign .metric-row article {
  min-height: 140px;
  padding: 26px 24px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  text-align: center;
}

.overview-redesign .metric-row article + article {
  border-left: 1px solid var(--overview-soft-line);
}

.overview-redesign .metric-row strong {
  margin-top: 18px;
  font-size: clamp(34px, 3vw, 52px);
  line-height: .95;
}

.overview-redesign .metric-row small {
  color: var(--overview-muted);
  font-weight: 850;
}

.overview-content {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
  gap: 0;
  margin-top: 0;
  border: 1px solid var(--overview-line);
  border-top: 0;
  background: var(--overview-sheet);
}

.overview-redesign .works-panel,
.overview-redesign .table-card,
.overview-redesign .rank-card,
.overview-redesign .quick-panel,
.overview-redesign .news-card {
  margin: 0;
  padding: 24px 28px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.overview-content .works-panel {
  grid-column: 1 / -1;
  border-bottom: 1px solid var(--overview-line);
}

.overview-content .table-card {
  grid-column: 1 / 2;
  grid-row: 2 / 4;
  border-right: 1px solid var(--overview-line);
}

.overview-content .rank-card {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  border-bottom: 1px solid var(--overview-soft-line);
}

.overview-content .quick-panel {
  grid-column: 2 / 3;
  grid-row: 3 / 4;
  border-bottom: 1px solid var(--overview-soft-line);
}

.overview-content .news-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(220px, .75fr) repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--overview-line);
}

.overview-redesign .works-strip {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin-top: 18px;
  border: 1px solid var(--overview-soft-line);
  border-right: 0;
}

.overview-redesign .works-strip span {
  width: auto;
  height: 118px;
  border: 0;
  border-right: 1px solid var(--overview-soft-line);
  border-radius: 0;
  background: var(--overview-paper);
}

.overview-redesign .works-strip span::before {
  border-color: rgba(17, 17, 17, .28);
}

.overview-redesign .works-strip span::after {
  display: none;
}

.overview-redesign table {
  margin-top: 20px;
  border-top: 1px solid var(--overview-soft-line);
  font-size: 13px;
}

.overview-redesign th,
.overview-redesign td {
  padding: 16px 8px;
  border-bottom-color: var(--overview-soft-line);
}

.overview-redesign .rank-card b {
  height: 7px;
  border-radius: 0;
  background: #e5e5df;
}

.overview-redesign .rank-card b::after {
  border-radius: 0;
  background: var(--ink);
}

.overview-redesign .quick-grid {
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 18px;
  border: 1px solid var(--overview-soft-line);
  border-right: 0;
  border-bottom: 0;
}

.overview-redesign .quick-grid button {
  height: 52px;
  border: 0;
  border-right: 1px solid var(--overview-soft-line);
  border-bottom: 1px solid var(--overview-soft-line);
  background: var(--overview-paper);
  font-weight: 950;
}

.overview-redesign .news-card .section-head {
  padding-right: 22px;
}

.overview-redesign .news-card > a {
  min-height: 76px;
  padding: 0 22px;
  border-top: 0;
  border-left: 1px solid var(--overview-soft-line);
}

@media (max-width: 1180px) {
  .overview-redesign .ops-grid,
  .overview-content {
    grid-template-columns: 1fr;
  }

  .overview-redesign .ops-grid {
    grid-template-areas:
      "balance"
      "trend"
      "metrics";
  }

  .overview-redesign .balance-card {
    border-right: 0;
    border-bottom: 1px solid var(--overview-line);
  }

  .overview-redesign .metric-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .overview-content .works-panel,
  .overview-content .table-card,
  .overview-content .rank-card,
  .overview-content .quick-panel,
  .overview-content .news-card {
    grid-column: auto;
    grid-row: auto;
    border-right: 0;
  }

  .overview-content .news-card {
    grid-template-columns: 1fr;
  }

  .overview-redesign .news-card > a {
    border-left: 0;
    border-top: 1px solid var(--overview-soft-line);
  }
}

/* Command-room composition: less dashboard cards, more ENCORE editorial console */
.overview-redesign {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  grid-template-areas:
    "notice notice"
    "head ops"
    "content content";
  column-gap: 28px;
  row-gap: 22px;
  align-items: start;
}

.overview-redesign .notice-strip {
  grid-area: notice;
}

.overview-redesign .overview-head {
  grid-area: head;
  position: sticky;
  top: 0;
  display: block;
  min-height: 620px;
  margin: 0;
  padding: 32px 28px;
  border: 1px solid var(--overview-line);
  background: var(--overview-sheet);
}

.overview-redesign .overview-head::after {
  content: "CONTROL ROOM";
  position: absolute;
  left: 28px;
  bottom: 26px;
  color: rgba(17, 17, 17, .16);
  font-family: "Archivo Black", "Arial Black", sans-serif;
  font-size: clamp(54px, 5vw, 88px);
  line-height: .82;
  letter-spacing: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  pointer-events: none;
}

.overview-redesign .overview-head h1 {
  margin-top: 22px;
  font-size: clamp(68px, 6.6vw, 124px);
}

.overview-redesign .overview-head p {
  margin-top: 24px;
  max-width: 252px;
}

.overview-redesign .overview-head .page-actions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: 190px;
  margin-top: 36px;
}

.overview-redesign .ops-grid {
  grid-area: ops;
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(380px, 1.28fr);
  grid-template-areas:
    "balance trend"
    "metrics metrics";
  margin: 0;
  min-height: 620px;
  border: 1px solid var(--overview-line);
  background:
    linear-gradient(90deg, transparent calc(100% - 1px), rgba(17,17,17,.08) 0),
    linear-gradient(180deg, transparent calc(100% - 1px), rgba(17,17,17,.08) 0),
    var(--overview-sheet);
  background-size: 56px 56px, 56px 56px, auto;
}

.overview-redesign .balance-card {
  min-height: 348px;
  padding: 38px 34px;
  border-right: 1px solid var(--overview-line);
  border-bottom: 1px solid var(--overview-line);
}

.overview-redesign .balance-card strong {
  margin-top: 36px;
  font-size: clamp(58px, 5.2vw, 94px);
}

.overview-redesign .balance-card p {
  max-width: 240px;
  margin-top: 34px;
}

.overview-redesign .balance-card i {
  display: block;
  position: absolute;
  right: 32px;
  bottom: 30px;
  width: 132px;
  height: 42px;
  border: 1px solid rgba(17, 17, 17, .22);
  background:
    repeating-linear-gradient(90deg, rgba(17,17,17,.16) 0 1px, transparent 1px 10px),
    linear-gradient(90deg, #f7f7f3, #ecece5);
}

.overview-redesign .trend-card {
  min-height: 348px;
  padding: 38px 42px 28px;
  border-bottom: 1px solid var(--overview-line);
}

.overview-redesign .line-chart {
  height: 222px;
  margin-top: 20px;
}

.overview-redesign .metric-row {
  align-self: stretch;
  border-top: 0;
  background: transparent;
}

.overview-redesign .metric-row article {
  display: flex;
  min-height: 270px;
  padding: 28px 22px;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.overview-redesign .metric-row article + article {
  border-left: 1px solid var(--overview-soft-line);
}

.overview-redesign .metric-row span {
  max-width: 72px;
  line-height: 1.2;
}

.overview-redesign .metric-row strong {
  margin: 0;
  font-size: clamp(34px, 3vw, 56px);
}

.overview-redesign .metric-row small {
  min-height: 18px;
}

.overview-content {
  grid-area: content;
  display: grid;
  grid-template-columns: minmax(270px, .72fr) minmax(0, 1.28fr) minmax(300px, .8fr);
  grid-template-areas:
    "works table rank"
    "works table quick"
    "news news news";
  margin: 0;
  border: 1px solid var(--overview-line);
  background: var(--overview-sheet);
}

.overview-content .works-panel {
  grid-area: works;
  border-right: 1px solid var(--overview-line);
  border-bottom: 0;
}

.overview-content .table-card {
  grid-area: table;
  border-right: 1px solid var(--overview-line);
}

.overview-content .rank-card {
  grid-area: rank;
  border-bottom: 1px solid var(--overview-line);
}

.overview-content .quick-panel {
  grid-area: quick;
  border-bottom: 0;
}

.overview-content .news-card {
  grid-area: news;
  border-top: 1px solid var(--overview-line);
}

.overview-redesign .works-panel,
.overview-redesign .table-card,
.overview-redesign .rank-card,
.overview-redesign .quick-panel,
.overview-redesign .news-card {
  min-height: 0;
  padding: 28px;
}

.overview-redesign .works-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 22px;
  border: 1px solid var(--overview-soft-line);
  border-bottom: 0;
}

.overview-redesign .works-strip span {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  height: 64px;
  padding: 0 14px;
  border-right: 0;
  border-bottom: 1px solid var(--overview-soft-line);
  background: var(--overview-paper);
}

.overview-redesign .works-strip span::before {
  position: static;
  width: 30px;
  height: 16px;
  border-width: 1px;
  transform: none;
}

.overview-redesign .works-strip b {
  position: static;
}

.overview-redesign .section-head {
  align-items: start;
}

.overview-redesign .section-head small {
  color: var(--overview-muted);
}

.overview-redesign .rank-card ol {
  margin-top: 26px;
}

.overview-redesign .rank-card li {
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 11px 0;
}

.overview-redesign .quick-grid {
  grid-template-columns: 1fr;
  margin-top: 22px;
}

.overview-redesign .quick-grid button {
  justify-content: space-between;
  padding: 0 16px;
}

.overview-redesign .quick-grid button::after {
  content: "→";
}

.overview-redesign .news-card {
  grid-template-columns: minmax(240px, .9fr) repeat(3, minmax(0, 1fr));
}

@media (max-width: 1320px) {
  .overview-redesign {
    grid-template-columns: 1fr;
    grid-template-areas:
      "notice"
      "head"
      "ops"
      "content";
  }

  .overview-redesign .overview-head {
    position: relative;
    min-height: auto;
  }

  .overview-redesign .overview-head::after {
    display: none;
  }

  .overview-content {
    grid-template-columns: 1fr;
    grid-template-areas:
      "works"
      "table"
      "rank"
      "quick"
      "news";
  }

  .overview-content .works-panel,
  .overview-content .table-card,
  .overview-content .rank-card,
  .overview-content .quick-panel {
    border-right: 0;
    border-bottom: 1px solid var(--overview-line);
  }
}

/* Product-grade overview layer: restrained color, clearer components */
.overview-redesign {
  --console-mint: #2fd6b0;
  --console-coral: #f2371d;
  --console-blue: #12a8ff;
  --console-cream: #fffdf6;
  --console-cream-2: #f0efe8;
  column-gap: 24px;
  row-gap: 20px;
}

.overview-redesign .notice-strip {
  border-color: rgba(17, 17, 17, .2);
  background: #fffdf8;
}

.overview-redesign .overview-head {
  min-height: 600px;
  border-color: rgba(17, 17, 17, .28);
  background:
    linear-gradient(180deg, #111 0 9px, transparent 9px),
    linear-gradient(145deg, #ffffff 0%, #ffffff 55%, #f1f8f5 100%);
  overflow: hidden;
}

.overview-redesign .overview-head::before {
  content: "";
  position: absolute;
  right: -76px;
  bottom: 118px;
  width: 240px;
  height: 96px;
  border: 22px solid rgba(47, 214, 176, .28);
  border-right-color: rgba(242, 55, 29, .32);
  border-radius: 999px;
  transform: rotate(-23deg);
}

.overview-redesign .overview-head::after {
  color: rgba(17, 17, 17, .1);
}

.overview-redesign .overview-head h1 {
  font-size: clamp(62px, 5.8vw, 104px);
}

.overview-redesign .overview-head p {
  position: relative;
  z-index: 1;
  padding-left: 14px;
  border-left: 4px solid var(--console-coral);
}

.overview-redesign .overview-head .page-actions button {
  height: 44px;
  border-radius: 999px;
}

.overview-redesign .ops-grid {
  min-height: 600px;
  gap: 12px;
  padding: 12px;
  border-color: rgba(17, 17, 17, .22);
  background: #ebeae3;
  background-image: none;
}

.overview-redesign .balance-card,
.overview-redesign .trend-card,
.overview-redesign .metric-row article {
  border: 1px solid rgba(17, 17, 17, .16);
  border-radius: 16px;
  background: #fffdf8;
}

.overview-redesign .balance-card {
  min-height: 300px;
  padding: 30px;
  border-right: 1px solid rgba(17, 17, 17, .16);
  border-bottom: 1px solid rgba(17, 17, 17, .16);
  background:
    radial-gradient(circle at 88% 82%, rgba(47, 214, 176, .18), transparent 25%),
    radial-gradient(circle at 94% 12%, rgba(242, 55, 29, .11), transparent 28%),
    #fffdf8;
  overflow: hidden;
}

.overview-redesign .balance-card span::after {
  content: "正常";
  display: inline-flex;
  align-items: center;
  height: 22px;
  margin-left: 10px;
  padding: 0 10px;
  border: 1px solid rgba(47, 214, 176, .55);
  border-radius: 999px;
  color: #11866f;
  background: rgba(47, 214, 176, .12);
  font-size: 11px;
  font-weight: 950;
}

.overview-redesign .balance-card strong {
  max-width: 100%;
  margin-top: 34px;
  font-size: clamp(48px, 4.2vw, 74px);
  white-space: nowrap;
}

.overview-redesign .balance-card p {
  margin-top: 26px;
}

.overview-redesign .balance-card i {
  right: 28px;
  bottom: 28px;
  border-color: rgba(17, 17, 17, .15);
  border-radius: 999px;
  background:
    repeating-linear-gradient(90deg, rgba(17, 17, 17, .18) 0 1px, transparent 1px 9px),
    linear-gradient(90deg, rgba(18,168,255,.16), rgba(47,214,176,.12), rgba(242,55,29,.13));
}

.overview-redesign .trend-card {
  min-height: 300px;
  padding: 30px 34px 24px;
  background:
    linear-gradient(180deg, #fffdf8, #fffdf8 62%, #f3f2ec 100%);
}

.overview-redesign .segment {
  border: 1px solid rgba(17, 17, 17, .18);
  border-radius: 999px;
  overflow: hidden;
}

.overview-redesign .segment button {
  min-width: 58px;
  height: 32px;
  border: 0;
  border-radius: 0;
}

.overview-redesign .segment .on {
  background: #111;
  color: #fff;
}

.overview-redesign .line-chart {
  height: 190px;
}

.overview-redesign .line-chart path:first-of-type {
  fill: rgba(47, 214, 176, .1);
}

.overview-redesign .line {
  stroke-width: 3.2;
}

.overview-redesign .metric-row {
  gap: 10px;
  background: transparent;
}

.overview-redesign .metric-row article {
  position: relative;
  min-height: 160px;
  padding: 20px;
  text-align: left;
  overflow: hidden;
}

.overview-redesign .metric-row article::before {
  display: block;
  content: "";
  position: absolute;
  inset: 0 0 auto;
  width: auto;
  height: 5px;
  border: 0;
  border-radius: 0;
  opacity: 1;
  background: var(--metric-tint, #111);
}

.overview-redesign .metric-row article:nth-child(1) {
  --metric-tint: var(--console-mint);
}

.overview-redesign .metric-row article:nth-child(2) {
  --metric-tint: var(--console-coral);
}

.overview-redesign .metric-row article:nth-child(3) {
  --metric-tint: #111;
}

.overview-redesign .metric-row article:nth-child(4) {
  --metric-tint: #9b9b92;
}

.overview-redesign .metric-row article:nth-child(5) {
  --metric-tint: var(--console-coral);
}

.overview-redesign .metric-row article + article {
  border-left: 1px solid rgba(17, 17, 17, .16);
}

.overview-redesign .metric-row span {
  max-width: none;
}

.overview-redesign .metric-row strong {
  max-width: 100%;
  font-size: clamp(26px, 2.2vw, 42px);
  white-space: nowrap;
}

.overview-redesign .metric-row small {
  color: #66665f;
}

.overview-content {
  gap: 12px;
  padding: 12px;
  border-color: rgba(17, 17, 17, .22);
  background: #ebeae3;
}

.overview-redesign .works-panel,
.overview-redesign .table-card,
.overview-redesign .rank-card,
.overview-redesign .quick-panel,
.overview-redesign .news-card {
  border: 1px solid rgba(17, 17, 17, .16);
  border-radius: 16px;
  background: #fffdf8;
}

.overview-content .works-panel,
.overview-content .table-card,
.overview-content .rank-card,
.overview-content .quick-panel,
.overview-content .news-card {
  border-right: 1px solid rgba(17, 17, 17, .16);
  border-bottom: 1px solid rgba(17, 17, 17, .16);
  border-top: 1px solid rgba(17, 17, 17, .16);
}

.overview-redesign .works-strip {
  border-color: rgba(17, 17, 17, .14);
  border-radius: 12px;
  overflow: hidden;
}

.overview-redesign .works-strip span {
  background: linear-gradient(90deg, #fffdf8, #f6f5ef);
}

.overview-redesign .works-strip span:nth-child(2n)::before {
  border-color: rgba(47, 214, 176, .65);
}

.overview-redesign .works-strip span:nth-child(3n)::before {
  border-color: rgba(242, 55, 29, .62);
}

.overview-redesign .rank-card b {
  height: 8px;
  background: #e9e8e1;
}

.overview-redesign .rank-card b::after {
  background: linear-gradient(90deg, #111, #111 72%, var(--console-mint));
}

.overview-redesign .quick-grid {
  border-radius: 12px;
  overflow: hidden;
}

.overview-redesign .quick-grid button {
  background: #f7f7f3;
  transition: background .18s ease, color .18s ease;
}

.overview-redesign .quick-grid button:hover {
  background: #111;
  color: #fff;
}

.overview-redesign .pill {
  border-radius: 999px;
}

.overview-redesign .pill.ok {
  border-color: rgba(47, 214, 176, .55);
  background: rgba(47, 214, 176, .12);
  color: #11735f;
}

.overview-redesign .pill.run {
  border-color: rgba(242, 55, 29, .38);
  background: rgba(242, 55, 29, .08);
  color: #9b2415;
}

/* Reset the failed heavy composition: clean ENCORE product surface */
.overview-redesign {
  display: block;
  padding: 28px;
  background: #f7f7f3;
}

.overview-redesign .overview-head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  min-height: 0;
  margin: 22px 0 20px;
  padding: 0 0 22px;
  border: 0;
  border-bottom: 1px solid rgba(17, 17, 17, .18);
  background: transparent;
  overflow: visible;
}

.overview-redesign .overview-head::before,
.overview-redesign .overview-head::after {
  display: none;
}

.overview-redesign .overview-head h1 {
  margin-top: 8px;
  font-size: clamp(52px, 5.2vw, 88px);
  line-height: .9;
}

.overview-redesign .overview-head p {
  max-width: 520px;
  margin-top: 14px;
  padding-left: 0;
  border-left: 0;
  color: #3f3f39;
}

.overview-redesign .overview-head .page-actions {
  display: flex;
  width: auto;
  margin-top: 0;
}

.overview-redesign .overview-head .page-actions button {
  min-width: 92px;
  height: 42px;
  border-radius: 0;
}

.overview-redesign .ops-grid {
  display: grid;
  grid-template-columns: minmax(340px, .72fr) minmax(520px, 1.28fr);
  grid-template-areas:
    "balance trend"
    "metrics metrics";
  gap: 14px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.overview-redesign .balance-card,
.overview-redesign .trend-card,
.overview-redesign .metric-row article,
.overview-redesign .works-panel,
.overview-redesign .table-card,
.overview-redesign .rank-card,
.overview-redesign .quick-panel,
.overview-redesign .news-card {
  border: 1px solid rgba(17, 17, 17, .16);
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
}

.overview-redesign .balance-card {
  grid-area: balance;
  min-height: 250px;
  padding: 28px 30px;
  overflow: hidden;
}

.overview-redesign .balance-card span::after {
  border-color: rgba(17, 17, 17, .2);
  color: #111;
  background: #f7f7f3;
}

.overview-redesign .balance-card strong {
  margin-top: 38px;
  font-size: clamp(44px, 4.1vw, 72px);
}

.overview-redesign .balance-card p {
  margin-top: 28px;
}

.overview-redesign .balance-card i {
  right: 28px;
  bottom: 28px;
  width: 120px;
  height: 34px;
  border-radius: 999px;
  opacity: .72;
  background:
    repeating-linear-gradient(90deg, rgba(17,17,17,.14) 0 1px, transparent 1px 9px),
    #f7f7f3;
}

.overview-redesign .trend-card {
  grid-area: trend;
  min-height: 250px;
  padding: 28px 32px 22px;
  background: #fff;
}

.overview-redesign .line-chart {
  height: 170px;
  margin-top: 14px;
}

.overview-redesign .line-chart path:first-of-type {
  fill: rgba(17, 17, 17, .045);
}

.overview-redesign .metric-row {
  grid-area: metrics;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  border: 0;
  background: transparent;
}

.overview-redesign .metric-row article {
  min-height: 132px;
  padding: 20px 20px 18px;
}

.overview-redesign .metric-row article::before,
.overview-redesign .metric-row article::after {
  display: none;
  content: none;
  transform: none;
}

.overview-redesign .metric-row article + article {
  border-left: 1px solid rgba(17, 17, 17, .16);
}

.overview-redesign .metric-row strong {
  margin-top: 20px;
  font-size: clamp(28px, 2.4vw, 42px);
}

.overview-redesign .overview-content,
.overview-content {
  display: grid;
  grid-template-columns: minmax(260px, .58fr) minmax(560px, 1.25fr) minmax(320px, .72fr);
  grid-template-areas:
    "works table rank"
    "works table quick"
    "news news news";
  gap: 14px;
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: transparent;
}

.overview-content .works-panel {
  grid-area: works;
}

.overview-content .table-card {
  grid-area: table;
}

.overview-content .rank-card {
  grid-area: rank;
}

.overview-content .quick-panel {
  grid-area: quick;
}

.overview-content .news-card {
  grid-area: news;
}

.overview-redesign .works-panel,
.overview-redesign .table-card,
.overview-redesign .rank-card,
.overview-redesign .quick-panel,
.overview-redesign .news-card {
  padding: 24px;
}

.overview-redesign .works-strip {
  margin-top: 18px;
  border-color: rgba(17, 17, 17, .12);
  border-radius: 8px;
  background: #fff;
}

.overview-redesign .works-strip span {
  background: #fbfbf8;
}

.overview-redesign .works-strip span:nth-child(2n)::before,
.overview-redesign .works-strip span:nth-child(3n)::before {
  border-color: rgba(17, 17, 17, .22);
}

.overview-redesign .rank-card b::after {
  background: #111;
}

.overview-redesign .quick-grid {
  border-radius: 8px;
}

@media (max-width: 1320px) {
  .overview-redesign .ops-grid,
  .overview-redesign .overview-content,
  .overview-content {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }

  .overview-redesign .balance-card,
  .overview-redesign .trend-card,
  .overview-redesign .metric-row,
  .overview-content .works-panel,
  .overview-content .table-card,
  .overview-content .rank-card,
  .overview-content .quick-panel,
  .overview-content .news-card {
    grid-area: auto;
  }

  .overview-redesign .metric-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Absolute final override: remove all unwanted gradients. Keep only model ranking bars. */
.overview-redesign .balance-card,
.overview-redesign .trend-card,
.overview-redesign .works-strip span,
.overview-redesign .works-strip span:nth-child(2n),
.overview-redesign .metric-row article,
.overview-redesign .quick-grid button {
  background: #fffefa !important;
  background-image: none !important;
}

.overview-redesign .works-strip span {
  background: #fbfaf5 !important;
  background-image: none !important;
}

.overview-redesign .balance-card i {
  background: #f1f0ea !important;
  background-image: repeating-linear-gradient(90deg, rgba(17, 17, 17, .12) 0 1px, transparent 1px 9px) !important;
}

.overview-redesign .metric-row article::after {
  background: #e6e5df !important;
  box-shadow: none !important;
}

.overview-redesign .rank-card b::after {
  background: linear-gradient(90deg, #111 0 78%, #f2371d 100%) !important;
}

/* Final overview symbols: thick tilted rings, matching the homepage feature language. */
.overview-redesign .metric-row article {
  position: relative !important;
  padding: 24px 22px 20px !important;
}

.overview-redesign .metric-row article::before {
  display: block !important;
  content: "" !important;
  position: absolute !important;
  top: 17px !important;
  right: 20px !important;
  left: auto !important;
  width: 52px !important;
  height: 31px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #111 !important;
  transform: perspective(120px) rotateX(18deg) rotateZ(-17deg) skewX(-6deg) !important;
  -webkit-mask: radial-gradient(ellipse at 50% 50%, transparent 0 42%, #000 43% 100%) !important;
  mask: radial-gradient(ellipse at 50% 50%, transparent 0 42%, #000 43% 100%) !important;
  filter: drop-shadow(0 1px 0 rgba(17, 17, 17, .18)) !important;
  opacity: .96 !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

.overview-redesign .metric-row article:nth-child(1)::before {
  background: #33d3b4 !important;
}

.overview-redesign .metric-row article:nth-child(2)::before {
  background: #f2371d !important;
}

.overview-redesign .metric-row article:nth-child(3)::before {
  background: #1ea9e8 !important;
}

.overview-redesign .metric-row article:nth-child(4)::before {
  background: #d4a248 !important;
}

.overview-redesign .metric-row article:nth-child(5)::before {
  background: #5c5c58 !important;
}

.overview-redesign .metric-row article::after {
  background: #e6e5df !important;
  box-shadow: none !important;
}

.overview-redesign .metric-row span {
  display: block !important;
  max-width: calc(100% - 92px) !important;
  min-height: 20px !important;
  padding: 0 !important;
  line-height: 1.25 !important;
  position: relative !important;
  z-index: 1 !important;
}

.overview-redesign .metric-row strong,
.overview-redesign .metric-row small {
  position: relative !important;
  z-index: 1 !important;
}

.overview-redesign .works-strip span,
.overview-redesign .works-strip span:nth-child(2n) {
  background: #fbfaf5 !important;
  background-image: none !important;
}

.overview-redesign .works-strip span {
  display: grid !important;
  grid-template-columns: 44px 1fr !important;
  column-gap: 10px !important;
  align-items: center !important;
}

.overview-redesign .works-strip span::before {
  position: static !important;
  justify-self: start !important;
  width: 30px !important;
  height: 18px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: rgba(17, 17, 17, .28) !important;
  transform: perspective(90px) rotateX(18deg) rotateZ(-15deg) skewX(-6deg) !important;
  -webkit-mask: radial-gradient(ellipse at 50% 50%, transparent 0 42%, #000 43% 100%) !important;
  mask: radial-gradient(ellipse at 50% 50%, transparent 0 42%, #000 43% 100%) !important;
}

.overview-redesign .works-strip b {
  position: static !important;
  align-self: center !important;
  padding-top: 0 !important;
  line-height: 1.2 !important;
}

/* Symbol collision fix */
.overview-redesign .metric-row article {
  padding: 22px 20px 18px !important;
}

.overview-redesign .metric-row article::before {
  top: 18px !important;
  right: 18px !important;
  left: auto !important;
  width: 42px !important;
  height: 26px !important;
  border-width: 8px !important;
  opacity: .92 !important;
  z-index: 0 !important;
}

.overview-redesign .metric-row span,
.overview-redesign .metric-row strong,
.overview-redesign .metric-row small {
  position: relative;
  z-index: 1;
}

.overview-redesign .metric-row span {
  display: block !important;
  max-width: calc(100% - 74px) !important;
  min-height: 18px;
  padding: 0 !important;
  line-height: 1.2 !important;
}

.overview-redesign .metric-row article:nth-child(1)::before {
  border-color: #2fd6b0 !important;
}

.overview-redesign .metric-row article:nth-child(2)::before {
  border-color: #f2371d !important;
}

.overview-redesign .metric-row article:nth-child(3)::before {
  border-color: #12a8ff !important;
}

.overview-redesign .metric-row article:nth-child(4)::before {
  border-color: #d9a441 !important;
}

.overview-redesign .metric-row article:nth-child(5)::before {
  border-color: #565650 !important;
}

.overview-redesign .works-strip span {
  grid-template-columns: 42px 1fr !important;
  column-gap: 8px;
}

.overview-redesign .works-strip span::before {
  width: 22px !important;
  height: 12px !important;
  border-width: 2px !important;
  justify-self: start;
}

.overview-redesign .works-strip b {
  align-self: center;
  padding-top: 0;
  line-height: 1.2;
}

/* Absolute final override: remove all unwanted gradients. Keep only model ranking bars. */
.overview-redesign .balance-card,
.overview-redesign .trend-card,
.overview-redesign .works-strip span,
.overview-redesign .works-strip span:nth-child(2n),
.overview-redesign .metric-row article,
.overview-redesign .quick-grid button {
  background: #fffefa !important;
  background-image: none !important;
}

.overview-redesign .balance-card {
  background: #fffefa !important;
  background-image: none !important;
}

.overview-redesign .balance-card i {
  background: #f1f0ea !important;
  background-image: repeating-linear-gradient(90deg, rgba(17, 17, 17, .12) 0 1px, transparent 1px 9px) !important;
}

.overview-redesign .works-strip span {
  background: #fbfaf5 !important;
  background-image: none !important;
}

.overview-redesign .metric-row article::after {
  background: #e6e5df !important;
  box-shadow: none !important;
}

.overview-redesign .rank-card b::after {
  background: linear-gradient(90deg, #111 0 78%, #f2371d 100%) !important;
}

/* Final overview cleanup: no gradients except model ranking bars */
.overview-redesign {
  --clean-card: #fffefa;
  --clean-paper: #f7f7f3;
  --clean-line: rgba(17, 17, 17, .14);
  --clean-accent: #f2371d;
  --clean-muted: #66665f;
  background: var(--clean-paper);
}

.overview-redesign .balance-card,
.overview-redesign .trend-card,
.overview-redesign .metric-row article,
.overview-redesign .works-panel,
.overview-redesign .table-card,
.overview-redesign .rank-card,
.overview-redesign .quick-panel,
.overview-redesign .news-card,
.overview-redesign .works-strip span,
.overview-redesign .works-strip span:nth-child(2n),
.overview-redesign .quick-grid button,
.overview-redesign .notice-strip {
  background: var(--clean-card);
  background-image: none;
}

.overview-redesign .balance-card::before,
.overview-redesign .metric-row article::before {
  display: none;
  content: none;
}

.overview-redesign .metric-row article {
  padding: 20px 18px 18px;
}

.overview-redesign .metric-row article::after {
  display: block;
  content: "";
  left: 18px;
  right: 18px;
  bottom: 14px;
  height: 3px;
  border-radius: 999px;
  background: #e6e5df;
  box-shadow: inset calc(var(--metric-width, 54%) * 1) 0 0 var(--clean-accent);
  transform: none;
}

.overview-redesign .metric-row article::before {
  display: block;
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 20px;
  height: 12px;
  border: 3px solid rgba(17, 17, 17, .18);
  border-right-color: rgba(242, 55, 29, .5);
  border-radius: 999px;
  transform: rotate(-15deg);
  opacity: .9;
  pointer-events: none;
}

.overview-redesign .metric-row article:nth-child(1),
.overview-redesign .metric-row article:nth-child(2),
.overview-redesign .metric-row article:nth-child(3),
.overview-redesign .metric-row article:nth-child(4),
.overview-redesign .metric-row article:nth-child(5) {
  --metric-color: var(--clean-accent);
}

.overview-redesign .metric-row span {
  position: static;
  display: block;
  max-width: calc(100% - 42px);
  padding: 0;
  color: #171713;
}

.overview-redesign .metric-row strong {
  margin-top: 24px;
}

.overview-redesign .metric-row small {
  padding-bottom: 12px;
  color: var(--clean-muted);
}

.overview-redesign .balance-card span::after {
  content: "正常";
  border-color: var(--clean-line);
  color: #44443f;
  background: #f1f0ea;
}

.overview-redesign .balance-card i {
  border-color: var(--clean-line);
  background:
    repeating-linear-gradient(90deg, rgba(17, 17, 17, .12) 0 1px, transparent 1px 9px),
    #f1f0ea;
}

.overview-redesign .trend-card {
  background: var(--clean-card);
  background-image: none;
}

.overview-redesign .line-chart path:first-of-type,
.overview-redesign .area {
  fill: rgba(17, 17, 17, .04);
}

.overview-redesign .works-strip span::before,
.overview-redesign .works-strip span:nth-child(2n)::before,
.overview-redesign .works-strip span:nth-child(3n)::before {
  border-color: rgba(17, 17, 17, .22);
}

.overview-redesign .pill.ok {
  border-color: var(--clean-line);
  background: #f1f0ea;
  color: #33332f;
}

.overview-redesign .pill.run {
  border-color: rgba(242, 55, 29, .36);
  background: rgba(242, 55, 29, .07);
  color: #8f2a1d;
}

.overview-redesign .rank-card b::after {
  background: linear-gradient(90deg, #111 0 78%, var(--clean-accent) 100%);
}

/* Calm palette correction: remove scattered rainbow accents */
.overview-redesign {
  --v4-accent: #f2371d;
  --v4-soft: #f2f1ec;
  --v4-status: #dfe8df;
  --v4-ink: #111;
  background: #f7f7f3;
}

.overview-redesign .notice-strip,
.overview-redesign .balance-card,
.overview-redesign .trend-card,
.overview-redesign .metric-row article,
.overview-redesign .works-panel,
.overview-redesign .table-card,
.overview-redesign .rank-card,
.overview-redesign .quick-panel,
.overview-redesign .news-card {
  background: #fffefa;
}

.overview-redesign .balance-card {
  background:
    radial-gradient(circle at 88% 18%, rgba(242, 55, 29, .08), transparent 24%),
    #fffefa;
}

.overview-redesign .balance-card::before,
.overview-redesign .metric-row article::before {
  display: none;
  content: none;
}

.overview-redesign .balance-card span::after {
  content: "正常";
  border-color: rgba(17, 17, 17, .16);
  color: #4d4d47;
  background: var(--v4-status);
}

.overview-redesign .balance-card i {
  background:
    repeating-linear-gradient(90deg, rgba(17, 17, 17, .13) 0 1px, transparent 1px 9px),
    linear-gradient(90deg, #f3f2ec, rgba(242, 55, 29, .1));
}

.overview-redesign .line-chart path:first-of-type {
  fill: rgba(17, 17, 17, .045);
}

.overview-redesign .metric-row article {
  padding-top: 20px;
}

.overview-redesign .metric-row article::after {
  left: 20px;
  right: 20px;
  bottom: 16px;
  height: 3px;
  background:
    linear-gradient(90deg, var(--v4-accent) var(--metric-width, 54%), #ebeae4 0);
  opacity: .75;
}

.overview-redesign .metric-row article:nth-child(1),
.overview-redesign .metric-row article:nth-child(2),
.overview-redesign .metric-row article:nth-child(3),
.overview-redesign .metric-row article:nth-child(4),
.overview-redesign .metric-row article:nth-child(5) {
  --metric-color: var(--v4-accent);
}

.overview-redesign .metric-row span {
  display: block;
  max-width: none;
  padding-left: 0;
}

.overview-redesign .metric-row strong {
  margin-top: 24px;
}

.overview-redesign .works-strip span,
.overview-redesign .works-strip span:nth-child(2n) {
  background:
    radial-gradient(circle at 92% 50%, rgba(242, 55, 29, .07), transparent 22%),
    #fbfaf5;
}

.overview-redesign .works-strip span::before,
.overview-redesign .works-strip span:nth-child(2n)::before,
.overview-redesign .works-strip span:nth-child(3n)::before {
  border-color: rgba(17, 17, 17, .22);
}

.overview-redesign .rank-card b::after {
  background: linear-gradient(90deg, #111 0 84%, var(--v4-accent) 100%);
}

.overview-redesign .pill.ok {
  border-color: rgba(17, 17, 17, .16);
  background: var(--v4-status);
  color: #353530;
}

.overview-redesign .pill.run {
  border-color: rgba(242, 55, 29, .34);
  background: rgba(242, 55, 29, .07);
  color: #8d2b20;
}

/* ENCORE overview v3: product components with restrained brand color */
.overview-redesign {
  --v3-paper: #f7f7f3;
  --v3-card: #fffefa;
  --v3-ink: #10100f;
  --v3-muted: #686861;
  --v3-line: rgba(17, 17, 17, .13);
  --v3-line-strong: rgba(17, 17, 17, .25);
  --v3-mint: #28c7a5;
  --v3-coral: #f04a2a;
  --v3-cyan: #2aa7d8;
  --v3-gold: #d9a441;
  display: block;
  padding: 26px;
  background: var(--v3-paper);
}

.overview-redesign .notice-strip {
  height: 38px;
  min-height: 38px;
  border: 1px solid var(--v3-line);
  border-radius: 999px;
  background: rgba(255, 254, 250, .88);
}

.overview-redesign .overview-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin: 22px 0 20px;
  padding: 0 0 18px;
  border: 0;
  border-bottom: 1px solid var(--v3-line);
  background: transparent;
}

.overview-redesign .overview-head .eyebrow {
  color: var(--v3-muted);
}

.overview-redesign .overview-head h1 {
  margin-top: 8px;
  font-size: clamp(46px, 4.8vw, 76px);
  line-height: .9;
}

.overview-redesign .overview-head p {
  max-width: 560px;
  margin-top: 12px;
  color: #494943;
  font-size: 14px;
}

.overview-redesign .overview-head .page-actions {
  display: flex;
  gap: 8px;
  width: auto;
  margin: 0;
}

.overview-redesign .overview-head .page-actions button {
  height: 40px;
  min-width: 90px;
  border: 1px solid var(--v3-line-strong);
  border-radius: 999px;
  background: var(--v3-card);
}

.overview-redesign .overview-head .page-actions .primary,
.overview-redesign .overview-head .page-actions button:last-child {
  background: var(--v3-ink);
  color: #fff;
}

.overview-redesign .ops-grid {
  display: grid;
  grid-template-columns: minmax(300px, .64fr) minmax(520px, 1.36fr);
  grid-template-areas:
    "balance trend"
    "metrics metrics";
  gap: 14px;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.overview-redesign .balance-card,
.overview-redesign .trend-card,
.overview-redesign .metric-row article,
.overview-redesign .works-panel,
.overview-redesign .table-card,
.overview-redesign .rank-card,
.overview-redesign .quick-panel,
.overview-redesign .news-card {
  border: 1px solid var(--v3-line);
  border-radius: 14px;
  background: var(--v3-card);
  box-shadow: 0 1px 0 rgba(17, 17, 17, .04);
}

.overview-redesign .balance-card {
  grid-area: balance;
  min-height: 246px;
  padding: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 20%, rgba(40, 199, 165, .14), transparent 26%),
    linear-gradient(180deg, #fffefa, #fffefa);
}

.overview-redesign .balance-card::before {
  display: block;
  content: "";
  position: absolute;
  right: 28px;
  top: 82px;
  width: 76px;
  height: 42px;
  border: 10px solid rgba(40, 199, 165, .34);
  border-right-color: rgba(240, 74, 42, .38);
  border-radius: 999px;
  transform: rotate(-18deg);
}

.overview-redesign .balance-card span::after {
  content: "在线";
  height: 22px;
  margin-left: 10px;
  padding: 0 10px;
  border: 1px solid rgba(40, 199, 165, .55);
  border-radius: 999px;
  color: #147964;
  background: rgba(40, 199, 165, .11);
}

.overview-redesign .balance-card strong {
  margin-top: 32px;
  font-size: clamp(42px, 4vw, 68px);
  line-height: .92;
  white-space: nowrap;
}

.overview-redesign .balance-card p {
  margin-top: 30px;
  color: var(--v3-muted);
}

.overview-redesign .balance-card button {
  top: 24px;
  right: 24px;
  height: 38px;
  min-width: 74px;
  border-radius: 999px;
}

.overview-redesign .balance-card i {
  right: 24px;
  bottom: 24px;
  width: 118px;
  height: 34px;
  border: 1px solid rgba(17, 17, 17, .14);
  border-radius: 999px;
  opacity: .82;
  background:
    repeating-linear-gradient(90deg, rgba(17, 17, 17, .14) 0 1px, transparent 1px 9px),
    linear-gradient(90deg, rgba(42,167,216,.18), rgba(40,199,165,.14), rgba(217,164,65,.12));
}

.overview-redesign .trend-card {
  grid-area: trend;
  min-height: 246px;
  padding: 26px 30px 20px;
  background:
    linear-gradient(180deg, rgba(255, 254, 250, .98), rgba(255, 254, 250, .98)),
    radial-gradient(circle at 82% 12%, rgba(42, 167, 216, .16), transparent 24%);
}

.overview-redesign .trend-card .card-head {
  margin-bottom: 2px;
}

.overview-redesign .segment {
  border: 1px solid var(--v3-line);
  border-radius: 999px;
  background: #f4f3ee;
}

.overview-redesign .segment button {
  min-width: 56px;
  height: 30px;
  border: 0;
  border-radius: 999px;
}

.overview-redesign .segment .on {
  background: var(--v3-ink);
  color: #fff;
}

.overview-redesign .line-chart {
  height: 168px;
  margin-top: 12px;
}

.overview-redesign .line-chart path:first-of-type {
  fill: rgba(40, 199, 165, .08);
}

.overview-redesign .line {
  stroke: var(--v3-ink);
  stroke-width: 3;
}

.overview-redesign .point,
.overview-redesign .line-chart circle {
  fill: var(--v3-card);
  stroke: var(--v3-ink);
  stroke-width: 2.5;
}

.overview-redesign .metric-row {
  grid-area: metrics;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  border: 0;
  background: transparent;
}

.overview-redesign .metric-row article {
  position: relative;
  min-height: 126px;
  padding: 18px 18px 16px;
  overflow: hidden;
}

.overview-redesign .metric-row article::before {
  display: block;
  content: "";
  position: absolute;
  right: 16px;
  top: 16px;
  width: 28px;
  height: 18px;
  border: 5px solid var(--metric-color, #111);
  border-radius: 999px;
  transform: rotate(-18deg);
  opacity: .95;
  background: transparent;
}

.overview-redesign .metric-row article::after {
  display: block;
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  height: 4px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--metric-color, #111) var(--metric-width, 64%), #ecebe5 0);
}

.overview-redesign .metric-row article:nth-child(1) {
  --metric-color: var(--v3-mint);
  --metric-width: 54%;
}

.overview-redesign .metric-row article:nth-child(2) {
  --metric-color: var(--v3-coral);
  --metric-width: 72%;
}

.overview-redesign .metric-row article:nth-child(3) {
  --metric-color: var(--v3-cyan);
  --metric-width: 68%;
}

.overview-redesign .metric-row article:nth-child(4) {
  --metric-color: var(--v3-gold);
  --metric-width: 79%;
}

.overview-redesign .metric-row article:nth-child(5) {
  --metric-color: #111;
  --metric-width: 46%;
}

.overview-redesign .metric-row span {
  color: #22221f;
  font-size: 12px;
  line-height: 1.1;
}

.overview-redesign .metric-row strong {
  display: block;
  margin-top: 22px;
  font-size: clamp(28px, 2.3vw, 40px);
  line-height: .96;
  white-space: nowrap;
}

.overview-redesign .metric-row small {
  display: block;
  margin-top: 8px;
  padding-bottom: 12px;
  color: var(--v3-muted);
}

.overview-redesign .overview-content,
.overview-content {
  display: grid;
  grid-template-columns: minmax(260px, .62fr) minmax(560px, 1.28fr) minmax(310px, .76fr);
  grid-template-areas:
    "works table rank"
    "works table quick"
    "news news news";
  gap: 14px;
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: transparent;
}

.overview-redesign .works-panel,
.overview-redesign .table-card,
.overview-redesign .rank-card,
.overview-redesign .quick-panel,
.overview-redesign .news-card {
  padding: 22px;
}

.overview-redesign .works-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 18px;
  border: 0;
  background: transparent;
}

.overview-redesign .works-strip span {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  height: 58px;
  padding: 0 12px;
  border: 1px solid var(--v3-line);
  border-radius: 12px;
  background:
    radial-gradient(circle at 92% 50%, rgba(42, 167, 216, .14), transparent 24%),
    #fbfaf5;
}

.overview-redesign .works-strip span:nth-child(2n) {
  background:
    radial-gradient(circle at 92% 50%, rgba(240, 74, 42, .12), transparent 24%),
    #fbfaf5;
}

.overview-redesign .works-strip span::before {
  position: static;
  width: 30px;
  height: 16px;
  border: 4px solid rgba(17, 17, 17, .32);
  border-radius: 999px;
  transform: rotate(-12deg);
}

.overview-redesign .works-strip b {
  position: static;
}

.overview-redesign table {
  margin-top: 18px;
  border-top: 1px solid var(--v3-line);
}

.overview-redesign th,
.overview-redesign td {
  padding: 14px 8px;
}

.overview-redesign .pill {
  border-radius: 999px;
  padding: 4px 10px;
}

.overview-redesign .pill.ok {
  border-color: rgba(40, 199, 165, .52);
  background: rgba(40, 199, 165, .1);
  color: #12775f;
}

.overview-redesign .pill.run {
  border-color: rgba(240, 74, 42, .4);
  background: rgba(240, 74, 42, .08);
  color: #9b2b1b;
}

.overview-redesign .rank-card li {
  grid-template-columns: 110px 1fr;
  gap: 12px;
}

.overview-redesign .rank-card b {
  height: 8px;
  border-radius: 999px;
  background: #e9e8e1;
}

.overview-redesign .rank-card b::after {
  border-radius: 999px;
  background:
    linear-gradient(90deg, #111 0 74%, var(--v3-mint) 100%);
}

.overview-redesign .quick-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  border: 0;
  margin-top: 18px;
}

.overview-redesign .quick-grid button {
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--v3-line);
  border-radius: 10px;
  background: #fbfaf5;
}

.overview-redesign .quick-grid button:hover {
  background: var(--v3-ink);
  color: #fff;
}

.overview-redesign .news-card {
  grid-template-columns: minmax(240px, .85fr) repeat(3, minmax(0, 1fr));
}

@media (max-width: 1320px) {
  .overview-redesign .ops-grid,
  .overview-redesign .overview-content,
  .overview-content {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }

  .overview-redesign .balance-card,
  .overview-redesign .trend-card,
  .overview-redesign .metric-row,
  .overview-content .works-panel,
  .overview-content .table-card,
  .overview-content .rank-card,
  .overview-content .quick-panel,
  .overview-content .news-card {
    grid-area: auto;
  }

  .overview-redesign .metric-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.overview-redesign .balance-card,
.overview-redesign .trend-card,
.overview-redesign .works-strip span,
.overview-redesign .works-strip span:nth-child(2n),
.overview-redesign .metric-row article,
.overview-redesign .quick-grid button {
  background: #fffefa !important;
  background-image: none !important;
}

.overview-redesign .works-strip span {
  background: #fbfaf5 !important;
  background-image: none !important;
}

.overview-redesign .balance-card i {
  background: #f1f0ea !important;
  background-image: repeating-linear-gradient(90deg, rgba(17, 17, 17, .12) 0 1px, transparent 1px 9px) !important;
}

.overview-redesign .metric-row article::after {
  background: #e6e5df !important;
  box-shadow: none !important;
}

.overview-redesign .rank-card b::after {
  background: linear-gradient(90deg, #111 0 78%, #f2371d 100%) !important;
}

/* 顶栏「接入文档」入口。圆形外观复用上面 .topnav-tools button 那条规则，
   这里只补链接特有的部分（去下划线、图标尺寸）—— 不重写一份圆形样式，
   否则以后调圆按钮外观会两边不同步。 */
.topnav-tools .topnav-docs { text-decoration: none; }
.topnav-tools .topnav-docs svg { width: 17px; height: 17px; }
.topnav-tools .topnav-docs:hover { background: var(--ink); color: #fff; }
