@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap");
:root {
  --ink: #122038;
  --muted: #7d8ba3;
  --line: #e7edf4;
  --blue: #3678f6;
  --navy: #101d35;
  --green: #18a879;
  --bg: #f5f7fb;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Manrope, "PingFang SC", sans-serif;
  font-size: 14px;
}
button,
input {
  font: inherit;
}
.auth-shell {
  min-height: 100vh;
  background: #0e1b32;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.auth-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(54, 120, 246, 0.28),
    transparent 64%
  );
  top: -280px;
  right: -100px;
}
.auth-card {
  width: 420px;
  position: relative;
  padding: 46px 44px;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 22px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.25);
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #397bf8;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 17px;
  box-shadow: 0 8px 16px #397bf833;
}
.brand-mark.large {
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
}
.eyebrow {
  font-family: "DM Mono";
  font-size: 10px;
  color: #9ba8bc;
  letter-spacing: 1.6px;
}
.auth-card h1 {
  font-size: 30px;
  line-height: 1.2;
  margin: 12px 0 9px;
  letter-spacing: -1px;
}
.muted {
  color: var(--muted);
  line-height: 1.7;
}
.auth-form {
  margin-top: 28px;
}
.full {
  width: 100%;
  height: 44px;
}
.switch-auth {
  border: 0;
  background: none;
  color: var(--blue);
  width: 100%;
  margin-top: 24px;
  cursor: pointer;
}
.switch-auth span {
  margin-left: 5px;
}
.sidebar {
  width: 236px;
  background: var(--navy);
  height: 100vh;
  position: fixed;
  color: #9caac0;
  display: flex;
  flex-direction: column;
  padding: 28px 16px 20px;
  z-index: 2;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 10px 42px;
  color: #f3f6fb;
}
.brand strong {
  display: block;
  font-size: 15px;
  letter-spacing: -0.2px;
}
.brand small {
  display: block;
  color: #71819c;
  font: 9px "DM Mono";
  letter-spacing: 1px;
  margin-top: 3px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.sidebar nav button {
  color: #93a1b8;
  background: none;
  border: 0;
  border-radius: 10px;
  text-align: left;
  padding: 13px 14px;
  cursor: pointer;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 13px;
  transition: 0.2s;
}
.sidebar nav button span {
  font-size: 18px;
  width: 18px;
  text-align: center;
}
.sidebar nav button:hover,
.sidebar nav button.active {
  background: #1d2e4d;
  color: #fff;
}
.sidebar nav i {
  font: 10px Manrope;
  color: #fff;
  background: #3678f6;
  border-radius: 10px;
  padding: 2px 6px;
  margin-left: auto;
  font-style: normal;
}
.side-bottom {
  margin-top: auto;
}
.trade-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  padding: 14px 10px;
  border-top: 1px solid #24334c;
  border-bottom: 1px solid #24334c;
}
.trade-status b,
.live-dot {
  width: 7px;
  height: 7px;
  background: #2ac89a;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 4px #2ac89a20;
}
.user-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 17px 8px 3px;
}
.avatar {
  width: 30px;
  height: 30px;
  background: #263957;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #c3d5fa;
  font-size: 12px;
}
.avatar-image {
  object-fit: cover;
}
.profile-editor {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.profile-avatar {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border-radius: 18px;
  object-fit: cover;
}
.profile-avatar-fallback {
  display: grid;
  place-items: center;
  background: #eaf1ff;
  color: #397bf8;
  font-size: 25px;
}
.profile-avatar-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.profile-avatar-actions small {
  width: 100%;
  color: #9ba7b6;
  font-size: 10px;
}
.user-row strong {
  font-size: 11px;
  color: #e6edf8;
  display: block;
}
.user-row small {
  font-size: 9px;
  display: block;
  color: #71819c;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-row button {
  margin-left: auto;
  border: 0;
  background: none;
  color: #7890ae;
  cursor: pointer;
}
.main {
  margin-left: 236px;
  min-height: 100vh;
}
.topbar {
  height: 112px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 44px;
}
.topbar h2 {
  font-size: 24px;
  margin: 8px 0 0;
  letter-spacing: -0.8px;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #93a0b4;
  font-size: 11px;
}
.top-actions .el-button {
  font-size: 13px;
}
.content {
  padding: 32px 44px 60px;
  /* max-width: 1500px; */
}
.hero-card {
  height: 232px;
  border-radius: 18px;
  background: linear-gradient(120deg, #172943, #213c66);
  padding: 32px 38px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}
.hero-card h3 {
  font-size: 27px;
  line-height: 1.25;
  margin: 10px 0 10px;
  letter-spacing: -1px;
}
.hero-card h3 em {
  color: #83b2ff;
  font-style: normal;
}
.hero-card p {
  font-size: 12px;
  color: #a8bad6;
  margin: 0 0 20px;
}
.hero-card .el-button {
  background: transparent;
  color: #dce9ff;
  border-color: #6989b8;
}
.hero-graphic {
  width: 390px;
  position: relative;
  margin-right: 25px;
}
.hero-graphic svg {
  position: absolute;
  bottom: 7px;
  left: 0;
  width: 100%;
  height: 115px;
}
.hero-graphic path {
  fill: none;
  stroke: #66a0ff;
  stroke-width: 2;
  opacity: 0.8;
}
.hero-number {
  position: absolute;
  right: 18px;
  top: 27px;
  font-size: 49px;
  font-weight: 800;
  z-index: 1;
}
.hero-number small {
  font-size: 12px;
  font-weight: 500;
  color: #9bb3d9;
  margin-left: 6px;
}
.pulse-ring {
  position: absolute;
  right: 12px;
  top: 8px;
  width: 140px;
  height: 140px;
  border: 1px solid #6387bc66;
  border-radius: 50%;
  box-shadow:
    0 0 0 25px #6387bc12,
    0 0 0 50px #6387bc08;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 20px 0 34px;
}
.metric {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 18px 17px;
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 12px;
  position: relative;
}
.metric-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 19px;
}
.metric-icon.blue {
  background: #eaf1ff;
  color: #3678f6;
}
.metric-icon.green {
  background: #e6f8f2;
  color: #1ba77b;
}
.metric-icon.amber {
  background: #fff5de;
  color: #e5a520;
}
.metric-icon.purple {
  background: #f0ebff;
  color: #8162dc;
}
.metric small {
  color: #8b98aa;
  font-size: 11px;
}
.metric strong {
  display: block;
  font-size: 22px;
  margin-top: 3px;
}
.metric strong i {
  font-size: 11px;
  font-style: normal;
  color: #95a1b2;
  font-weight: 500;
}
.metric strong.state {
  font-size: 17px;
  margin-top: 7px;
}
.metric label {
  grid-column: 2;
  color: #9ba7b8;
  font-size: 10px;
  margin-top: 5px;
}
.metric label.positive {
  color: #18a879;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 15px;
}
.section-head h3 {
  margin: 0;
  font-size: 16px;
}
.section-head p {
  margin: 6px 0 0;
  color: #99a5b5;
  font-size: 11px;
}
.text-btn {
  border: 0;
  background: none;
  color: #397bf8;
  font-size: 12px;
  cursor: pointer;
}
.stock-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.stock-card,
.stock-row,
.settings-card,
.push-list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
}
.stock-card {
  padding: 18px;
  min-height: 190px;
}
.stock-head,
.row-main {
  display: flex;
  align-items: center;
}
.stock-head {
  justify-content: space-between;
}
.stock-name {
  display: flex;
  gap: 9px;
  align-items: center;
}
.stock-logo {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #eef3fb;
  color: #4c76b9;
  display: grid;
  place-items: center;
  font: 12px "DM Mono";
}
.stock-name strong {
  display: block;
  font-size: 13px;
}
.stock-name small {
  display: block;
  font: 10px "DM Mono";
  color: #9caabd;
  margin-top: 3px;
}
.dot-on {
  width: 6px;
  height: 6px;
  background: #20b788;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px;
}
.quote {
  margin-top: 22px;
  display: flex;
  align-items: baseline;
  gap: 9px;
}
.quote strong {
  font: 700 25px "DM Mono";
  letter-spacing: -1px;
}
.up {
  color: #ef5f6b;
}
.down {
  color: #20a77a;
}
.flat {
  color: #8b99ad;
}
.quote span {
  font: 11px "DM Mono";
}
.quote-time {
  color: #a9b4c3;
  font-size: 10px;
  margin-top: 7px;
}
.cost-price {
  color: #8a98ab;
  font-size: 10px;
  margin-top: 5px;
}
.quote-chart-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.quote-chart-summary div {
  padding: 12px;
  border: 1px solid #edf0f4;
  border-radius: 9px;
  background: #fafbfd;
}
.quote-chart-summary small,
.quote-chart-summary strong {
  display: block;
}
.quote-chart-summary small {
  color: #94a0b0;
  font-size: 10px;
}
.quote-chart-summary strong {
  margin-top: 5px;
  font: 600 17px "DM Mono";
}
.quote-chart-summary strong i {
  color: #95a1b2;
  font: 10px Manrope, sans-serif;
  font-style: normal;
}
.quote-chart {
  height: 280px;
  padding: 14px 0 0;
  border-radius: 10px;
  background: linear-gradient(to bottom, #fbfcfe, #f4f8fc);
  overflow: hidden;
}
.quote-chart svg {
  width: 100%;
  height: 100%;
}
.quote-chart line {
  stroke: #dfe7f1;
  stroke-width: 0.35;
  vector-effect: non-scaling-stroke;
}
.quote-chart polyline {
  fill: none;
  stroke: #397bf8;
  stroke-width: 1.8;
  vector-effect: non-scaling-stroke;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.quote-chart-axis {
  display: flex;
  justify-content: space-between;
  color: #9aa7b7;
  font: 10px "DM Mono";
  margin-top: 8px;
}
.chart-empty {
  padding: 80px 20px;
  color: #91a0b4;
  text-align: center;
}
.rule-pills {
  display: flex;
  gap: 5px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.rule-pill {
  font-size: 10px;
  padding: 4px 7px;
  border-radius: 5px;
  background: #f4f7fb;
  color: #62748f;
}
.rule-pill.active {
  background: #eaf1ff;
  color: #397bf8;
}
.rule-pill.rule-gte {
  background: #fff0f1;
  color: #df5b68;
}
.rule-pill.rule-lte {
  background: #e8f8f1;
  color: #1b9f78;
}
.rule-pill.rule-gte:not(.active),
.rule-pill.rule-lte:not(.active) {
  background: #f4f6f9;
  color: #9aa6b6;
}
.rule-pill.triggered {
  background: #eef1f5;
  color: #99a5b5;
}
.stock-actions {
  border-top: 1px solid #eff2f6;
  margin-top: 15px;
  padding-top: 11px;
  display: flex;
  justify-content: space-between;
}
.stock-actions button {
  background: none;
  border: 0;
  color: #7f8da2;
  font-size: 11px;
  cursor: pointer;
}
.stock-actions button:hover {
  color: #397bf8;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.filter-tabs {
  display: flex;
  gap: 5px;
}
.filter-tabs button {
  background: none;
  border: 0;
  padding: 8px 13px;
  border-radius: 7px;
  color: #8492a6;
  cursor: pointer;
  font-size: 12px;
}
.filter-tabs button.active {
  background: #eaf1ff;
  color: #397bf8;
}
.filter-tabs small {
  margin-left: 4px;
}
.search {
  max-width: 270px;
}
.group-filter {
  width: 130px;
}
.stock-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stock-list-header {
  display: grid;
  grid-template-columns: 2.3fr 1fr 1.7fr 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 0 20px 4px;
  color: #9aa7b7;
  font-size: 11px;
}
.stock-list-header span:last-child {
  text-align: right;
}
.stock-row {
  display: grid;
  grid-template-columns: 2.3fr 1fr 1.7fr 1fr auto;
  align-items: center;
  padding: 17px 20px;
  gap: 20px;
}
.row-quote strong {
  font: 700 19px "DM Mono";
  display: block;
}
.row-quote small {
  font-size: 10px;
  color: #a3afbe;
}
.row-rules {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.row-actions {
  display: flex;
  justify-content: end;
  gap: 8px;
}
.row-actions button {
  border: 0;
  background: #f4f6fa;
  border-radius: 6px;
  color: #7d8ca0;
  padding: 7px 9px;
  cursor: pointer;
}
.row-actions button:hover {
  color: #397bf8;
  background: #eaf1ff;
}
.empty-card {
  border: 1px dashed #ced8e6;
  background: #fff;
  border-radius: 13px;
  padding: 45px;
  text-align: center;
  grid-column: 1/-1;
  color: #93a0b2;
}
.empty-card > div {
  font-size: 30px;
  color: #b5c5dc;
}
.empty-card h3 {
  color: #35455d;
  font-size: 15px;
  margin: 11px 0 6px;
}
.empty-card p {
  font-size: 12px;
}
.push-list {
  overflow: hidden;
}
.push-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -2px 0 15px;
}
.push-search {
  width: 260px;
}
.push-date {
  width: 180px;
}
.push-filter-count {
  color: #98a5b6;
  font-size: 11px;
  margin-left: auto;
}
.push-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 20px;
  border-bottom: 1px solid #eef1f5;
}
.push-item:last-child {
  border: 0;
}
.push-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #eaf1ff;
  color: #397bf8;
  font-size: 18px;
}
.push-icon.limit_up {
  background: #fff0f0;
  color: #ed5e6b;
}
.push-icon.limit_down {
  background: #e6f8f2;
  color: #17a879;
}
.push-main {
  flex: 1;
}
.push-main strong {
  font-size: 12px;
}
.push-main p {
  margin: 5px 0 0;
  color: #8b98aa;
  font-size: 11px;
}
.push-meta {
  text-align: right;
}
.push-meta span {
  display: block;
  font-size: 10px;
}
.push-meta small {
  color: #a1adbc;
  font-size: 10px;
  display: block;
  margin-top: 6px;
}
.status-sent {
  color: #18a879;
}
.status-pending {
  color: #e6a022;
}
.status-failed {
  color: #ec5f6c;
}
.status-skipped {
  color: #9ba7b8;
}
.settings-grid {
  /* max-width: 800px; */
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 16px;
}
.settings-card {
  padding: 24px;
}
.card-title {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}
.card-title h3 {
  font-size: 15px;
  margin: 0;
}
.card-title p {
  font-size: 11px;
  color: #97a3b4;
  margin: 6px 0 0;
}
.setting-badge {
  font: 9px "DM Mono";
  color: #3678f6;
  background: #edf3ff;
  padding: 5px 7px;
  border-radius: 5px;
  height: max-content;
}
.settings-test-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #edf0f4;
}
.settings-test-actions span {
  color: #9ba7b6;
  font-size: 10px;
}
.setting-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 0;
  border-top: 1px solid #edf0f4;
}
.setting-line strong {
  font-size: 12px;
  display: block;
}
.setting-line small {
  font-size: 10px;
  color: #9ba7b6;
  display: block;
  margin-top: 5px;
}
.calendar-note {
  padding: 13px;
  background: #f6f8fb;
  color: #7f8da2;
  font: 10px "DM Mono";
  margin-top: 15px;
  border-radius: 7px;
}
.rule-manager-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf0f4;
}
.rule-selected-count {
  color: #8d9aad;
  font-size: 12px;
}
.rule-manager-spacer {
  flex: 1;
}
.rule-manager-list {
  max-height: 390px;
  overflow: auto;
}
.rule-manager-header {
  display: grid;
  grid-template-columns: 24px 118px 150px minmax(150px, 1fr) 42px 48px;
  align-items: center;
  gap: 12px;
  padding: 12px 2px 8px;
  color: #9aa7b7;
  font-size: 11px;
  border-bottom: 1px solid #edf0f4;
}
.rule-manager-header span:first-child {
  font-size: 0;
}
.rule-manager-header span:first-child::after {
  content: "□";
  font-size: 12px;
}
.rule-manager-row {
  display: grid;
  grid-template-columns: 24px 118px 150px minmax(150px, 1fr) 42px 48px;
  align-items: center;
  gap: 12px;
  padding: 14px 2px;
  border-bottom: 1px solid #eff2f6;
}
.rule-manager-row:last-child {
  border-bottom: 0;
}
.rule-manager-state {
  color: #8a98ab;
  font-size: 11px;
}
.rule-manager-empty {
  padding: 55px 0;
  color: #91a0b4;
  text-align: center;
}
@media (max-width: 1000px) {
  .sidebar {
    width: 76px;
    padding: 24px 10px;
  }
  .brand > div:last-child,
  .sidebar nav button:not(.active)::after,
  .sidebar nav button {
    font-size: 0;
  }
  .brand {
    padding: 0 11px 42px;
  }
  .brand-mark {
    margin: auto;
  }
  .sidebar nav button {
    justify-content: center;
  }
  .sidebar nav button span {
    font-size: 20px;
  }
  .side-bottom .trade-status span,
  .user-row > div:not(.avatar),
  .user-row button {
    display: none;
  }
  .main {
    margin-left: 76px;
  }
  .topbar,
  .content {
    padding-left: 24px;
    padding-right: 24px;
  }
  .stock-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-graphic {
    width: 280px;
  }
  .stock-row {
    grid-template-columns: 2fr 1fr 1.5fr auto;
  }
  .stock-list-header {
    grid-template-columns: 2fr 1fr 1.5fr auto;
  }
  .stock-list-header span:nth-child(4) {
    display: none;
  }
  .row-actions {
    grid-column: auto;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 650px) {
  .topbar {
    height: auto;
    padding: 20px;
    align-items: flex-start;
    gap: 15px;
    flex-direction: column;
  }
  .top-actions {
    width: 100%;
  }
  .top-actions .live-label {
    margin-right: auto;
  }
  .content {
    padding: 20px 14px;
  }
  .hero-card {
    height: auto;
    min-height: 260px;
    padding: 26px;
  }
  .hero-graphic {
    position: absolute;
    right: -70px;
    bottom: -20px;
    opacity: 0.65;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .stock-grid {
    grid-template-columns: 1fr;
  }
  .stock-row {
    grid-template-columns: 1fr 1fr;
    padding: 15px;
  }
  .stock-list-header {
    display: none;
  }
  .row-rules {
    grid-column: 1/-1;
  }
  .row-actions {
    grid-column: 1/-1;
    justify-content: start;
  }
  .auth-card {
    width: calc(100% - 32px);
    padding: 35px 26px;
  }
  .search {
    max-width: 165px;
  }
  .toolbar {
    gap: 8px;
  }
  .filter-tabs button {
    padding: 8px 7px;
  }
  .rule-manager-toolbar {
    flex-wrap: wrap;
  }
  .rule-manager-spacer {
    display: none;
  }
  .rule-manager-row {
    grid-template-columns: 24px 110px 1fr 42px 44px;
    gap: 8px;
  }
  .rule-manager-header {
    grid-template-columns: 24px 110px 1fr 42px 44px;
    gap: 8px;
  }
  .rule-manager-header span:nth-child(4) {
    display: none;
  }
  .rule-manager-state {
    grid-column: 2 / -1;
  }
}

/* 手机端：侧栏改为底部导航，避免占用内容宽度。 */
@media (max-width: 650px) {
  body {
    overflow-x: hidden;
  }
  .sidebar {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 66px;
    padding: 7px 10px;
    border-top: 1px solid #24334c;
    flex-direction: row;
    align-items: center;
  }
  .sidebar .brand,
  .sidebar .side-bottom {
    display: none;
  }
  .sidebar nav {
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
    gap: 4px;
  }
  .sidebar nav button,
  .sidebar nav button.active,
  .sidebar nav button:hover {
    min-width: 0;
    flex: 1;
    justify-content: center;
    padding: 8px 4px;
    background: transparent;
    color: #8091aa;
    font-size: 0;
    position: relative;
  }
  .sidebar nav button.active {
    color: #fff;
    background: #1d2e4d;
  }
  .sidebar nav button span {
    font-size: 19px;
  }
  .sidebar nav i {
    position: absolute;
    margin: -22px 0 0 18px;
  }
  .main {
    min-height: 100vh;
    margin-left: 0;
    padding-bottom: 66px;
  }
  .topbar {
    padding: 17px 16px;
  }
  .topbar h2 {
    font-size: 21px;
  }
  .top-actions {
    flex-wrap: wrap;
    gap: 8px;
  }
  .top-actions .live-label {
    min-width: 0;
    flex: 1 1 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .top-actions .el-button {
    height: 34px;
    padding: 8px 11px;
  }
  .top-actions .el-button.is-circle {
    width: 34px;
    padding: 8px;
  }
  .content {
    padding: 17px 12px 28px;
  }
  .hero-card {
    min-height: 245px;
    padding: 23px 21px;
    border-radius: 15px;
  }
  .hero-card h3 {
    font-size: 23px;
  }
  .hero-card p {
    max-width: 210px;
  }
  .hero-graphic {
    right: -100px;
    opacity: 0.5;
  }
  .metrics {
    gap: 9px;
    margin: 14px 0 25px;
  }
  .metric {
    min-width: 0;
    padding: 14px 12px;
    grid-template-columns: 31px 1fr;
    column-gap: 8px;
  }
  .metric-icon {
    width: 31px;
    height: 31px;
    font-size: 16px;
  }
  .metric strong {
    font-size: 18px;
  }
  .metric strong.state {
    font-size: 14px;
  }
  .section-head {
    align-items: flex-start;
    gap: 10px;
  }
  .section-head h3 {
    font-size: 15px;
  }
  .stock-card {
    min-height: 180px;
  }
  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .filter-tabs {
    width: 100%;
  }
  .filter-tabs button {
    flex: 1;
  }
  .search {
    width: 100%;
    max-width: none;
  }
  .group-filter {
    width: 100%;
  }
  .push-filters {
    align-items: stretch;
    flex-wrap: wrap;
    gap: 8px;
  }
  .push-search,
  .push-date {
    width: 100%;
  }
  .push-filter-count {
    margin-left: auto;
    align-self: center;
  }
  .stock-row {
    gap: 12px;
    padding: 14px;
  }
  .row-rules {
    gap: 4px;
  }
  .row-actions {
    flex-wrap: wrap;
  }
  .row-actions button {
    padding: 7px 8px;
  }
  .settings-card {
    padding: 18px 15px;
  }
  .settings-grid {
    gap: 12px;
  }
  .push-item {
    align-items: flex-start;
    padding: 14px;
    gap: 10px;
  }
  .push-main p {
    line-height: 1.55;
  }
  .push-meta small {
    white-space: nowrap;
  }
  .el-dialog {
    width: calc(100vw - 24px) !important;
    margin-top: 5vh !important;
  }
  .el-dialog__body {
    max-height: 68vh;
    overflow-y: auto;
    padding: 14px 16px 8px;
  }
  .rule-manager-toolbar {
    gap: 7px;
  }
  .rule-manager-toolbar .el-button {
    margin-left: 0;
    padding: 7px 8px;
  }
  .rule-manager-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 0;
  }
  .rule-manager-header {
    display: none;
  }
  .rule-manager-row .el-select {
    flex: 1 1 120px;
    width: auto !important;
  }
  .rule-manager-row .el-input-number {
    flex: 1 1 120px;
  }
  .quote-chart-summary {
    grid-template-columns: repeat(2, 1fr);
  }
  .quote-chart {
    height: 210px;
  }
  .rule-manager-state {
    flex: 1 1 100%;
    order: 5;
  }
}
