:root {
  --ink: #111a33;
  --muted: #6e778d;
  --line: #e8edf5;
  --line-strong: #dce4ef;
  --page: #fbfcff;
  --surface: #ffffff;
  --blue: #1769ff;
  --blue-soft: #eef4ff;
  --red: #ff4b4b;
  --red-soft: #fff0f0;
  --green: #069b62;
  --green-soft: #eaf9f2;
  --orange: #ff7b22;
  --orange-soft: #fff3e8;
  --shadow: 0 8px 26px rgba(28, 53, 97, 0.055);
  --radius: 16px;
}

* { box-sizing: border-box; }

html { background: var(--page); }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--page);
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

button, input, select { font: inherit; }
button { cursor: pointer; }

.loading-screen {
  display: grid;
  min-height: 100vh;
  place-items: center;
  color: var(--muted);
  font-weight: 700;
}

.pig-loader {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.pig-loader img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  animation: pig-calculate 1.05s ease-in-out infinite;
}

.pig-loader strong { color: var(--ink); font-size: 16px; }
.pig-loader small { color: var(--muted); font-weight: 600; }

@keyframes pig-calculate {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-8px) rotate(4deg); }
}

@media (prefers-reduced-motion: reduce) {
  .pig-loader img, .market-refresh-status img { animation: none; }
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: grid;
  grid-template-columns: 280px minmax(460px, 1fr) 260px;
  align-items: center;
  min-height: 72px;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 39px;
  height: 39px;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.4px;
}

.brand small { color: var(--muted); font-size: 11px; }

.global-nav {
  display: flex;
  justify-content: center;
  align-self: stretch;
  gap: 9px;
}

.nav-link {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-width: 86px;
  padding: 0 11px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
}

.nav-link:hover { color: var(--blue); }
.nav-link.active { color: var(--blue); border-bottom-color: var(--blue); }

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: nowrap;
}

.updated { color: var(--muted); font-size: 12px; white-space: nowrap; }

.market-refresh-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.market-refresh-status img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  animation: pig-calculate 1.05s ease-in-out infinite;
}

.icon-button, .secondary-button, .primary-button, .outline-button {
  min-height: 36px;
  border-radius: 9px;
  font-weight: 800;
}

.icon-button {
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  white-space: nowrap;
}

.icon-button:hover { border-color: var(--blue); color: var(--blue); }

.secondary-button, .outline-button {
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.secondary-button:hover, .outline-button:hover { border-color: var(--blue); color: var(--blue); }

.primary-button {
  padding: 0 16px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
  box-shadow: 0 5px 14px rgba(23, 105, 255, 0.2);
}

.primary-button:hover { background: #0758e6; }

.page-shell { width: min(1440px, calc(100% - 64px)); margin: 0 auto; padding: 32px 0 40px; }
.page-title { margin: 0 0 20px; font-size: 30px; line-height: 1.2; font-weight: 900; letter-spacing: -0.8px; }
.page-subtitle { margin: -8px 0 22px; color: var(--muted); }

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.section-title {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
}

.section-helper { margin: 4px 0 0; color: var(--muted); font-size: 12px; }

.overview-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.asset-summary { display: grid; grid-template-columns: repeat(4, 1fr); padding: 20px; }

.asset-summary > div {
  min-width: 0;
  padding: 0 24px;
  border-right: 1px solid var(--line);
}

.asset-summary > div:first-child { padding-left: 0; }
.asset-summary > div:last-child { padding-right: 0; border-right: 0; }
.metric-label { color: var(--muted); font-size: 14px; }
.metric-value { display: block; margin: 16px 0 6px; font-size: 34px; font-weight: 900; letter-spacing: -1px; line-height: 1; }
.metric-note { color: var(--muted); font-size: 12px; }
.metric-pct { display: inline-block; margin-left: 8px; padding: 3px 7px; border-radius: 5px; font-size: 12px; font-weight: 800; vertical-align: 5px; }

.info-tip { position: relative; display: inline-flex; margin-left: 5px; vertical-align: 1px; outline: none; }
.info-icon { display: inline-grid; width: 15px; height: 15px; place-items: center; border: 1px solid #aeb8c9; border-radius: 50%; color: #7f8ba0; font-family: Georgia, serif; font-size: 10px; font-style: italic; font-weight: 700; line-height: 1; }
.info-tip:hover .info-icon, .info-tip:focus-visible .info-icon { border-color: var(--blue); color: var(--blue); }
.info-popover { position: absolute; z-index: 30; bottom: calc(100% + 8px); left: -8px; display: none !important; width: 244px; padding: 10px 11px; border: 1px solid #dfe6f1; border-radius: 9px; background: #15213d; box-shadow: 0 10px 24px rgba(21, 33, 61, .18); color: #fff; font-size: 12px; font-style: normal; font-weight: 600; line-height: 1.55; pointer-events: none; }
.info-tip:hover .info-popover, .info-tip:focus .info-popover, .info-tip:focus-visible .info-popover { display: block !important; }

.positive { color: var(--red); }
.negative { color: var(--green); }
.neutral { color: var(--muted); }
.positive-bg { background: var(--red-soft); color: var(--red); }
.negative-bg { background: var(--green-soft); color: var(--green); }
.neutral-bg { background: #f2f4f8; color: var(--muted); }

.overview-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 16px;
  margin-top: 16px;
}

.chart-card { padding: 20px; }
.chart-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.chart-heading h2 { margin: 0; font-size: 18px; font-weight: 900; }
.segmented { display: flex; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; }
.segmented button { min-width: 46px; min-height: 32px; padding: 0 10px; border: 0; border-right: 1px solid var(--line); background: #fff; color: var(--muted); font-weight: 700; }
.segmented button:last-child { border-right: 0; }
.segmented button.active { background: var(--blue-soft); color: var(--blue); }
.chart-legend { display: flex; flex-wrap: wrap; gap: 18px; margin: 17px 0 6px; color: var(--muted); }
.legend-item { display: inline-flex; align-items: center; gap: 7px; }
.legend-dot { width: 8px; height: 8px; border-radius: 100%; background: var(--red); }
.legend-dot.blue { background: var(--blue); }
.canvas-wrap { position: relative; height: 270px; }
.line-chart { width: 100%; height: 100%; }

.side-stack { display: grid; align-content: start; gap: 14px; }
.side-card { padding: 17px 18px; }
.side-card h3 { margin: 0 0 12px; font-size: 16px; }
.contribution-row { display: grid; grid-template-columns: 1fr auto 54px; gap: 9px; align-items: center; min-height: 31px; border-bottom: 1px solid var(--line); font-size: 13px; }
.contribution-row:last-child { border-bottom: 0; }
.market-dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--blue); }
.market-dot.a { background: var(--orange); }.market-dot.us { background: #8c50ff; }
.market-badge { display: inline-grid; min-width: 39px; min-height: 28px; place-items: center; padding: 0 7px; border-radius: 7px; background: var(--blue-soft); color: var(--blue); font-size: 12px; font-weight: 900; }
.market-badge.hk { background: #eef5ff; color: #2175d9; }.market-badge.a { background: #fff0ec; color: #ef5b3b; }.market-badge.us { background: var(--orange-soft); color: var(--orange); }
.risk-number { margin-left: auto; text-align: right; font-size: 16px; font-weight: 900; }

.leaderboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 11px; }
.leaderboard-heading h3 { margin: 0; }
.leaderboard-tabs button { min-width: 74px; font-size: 11px; }
.rank-list { display: grid; }
.rank-row { display: grid; grid-template-columns: 23px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 55px; border-top: 1px solid var(--line); }
.rank-number { display: grid; width: 21px; height: 21px; place-items: center; border-radius: 5px; background: #f3f6fb; color: var(--muted); font-size: 11px; }
.rank-row > div { min-width: 0; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 7px; }
.rank-row .market-badge { min-width: 32px; min-height: 22px; padding: 0 4px; font-size: 10px; }
.rank-row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.rank-row small { grid-column: 2; color: var(--muted); font-size: 11px; }
.rank-row .risk-number { display: grid; gap: 1px; font-size: 13px; }
.rank-row .risk-number small { color: currentColor; font-size: 10px; }

.market-overview { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px; padding: 18px 20px; }
.market-block { padding: 0 20px; border-right: 1px solid var(--line); }
.market-block:first-child { padding-left: 0; }.market-block:last-child { padding-right: 0; border-right: 0; }
.market-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 18px; font-weight: 900; }
.market-kpis { display: grid; grid-template-columns: 1.25fr 1fr .7fr; gap: 10px; }
.market-kpis > div > span { display: block; color: var(--muted); font-size: 11px; }.market-kpis .info-tip { display: inline-flex; }.market-kpis b { display: block; margin-top: 3px; font-size: 14px; }
.market-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 14px; }
.market-detail-grid > div { min-width: 0; }
.market-detail-grid b { overflow: hidden; color: var(--ink); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.market-detail-grid b.positive { color: var(--red); }
.market-detail-grid b.negative { color: var(--green); }
.market-detail-grid small { display: block; overflow: hidden; margin-top: 2px; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }

.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.tab-group { display: flex; gap: 8px; padding: 5px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.tab-group button { min-width: 88px; min-height: 36px; padding: 0 16px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-weight: 800; }
.tab-group button.active { background: var(--blue); color: #fff; box-shadow: 0 4px 12px rgba(23,105,255,.2); }

.action-page { padding-bottom: 48px; }
.action-market-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 16px; overflow: hidden; }
.action-market-block { min-width: 0; padding: 19px 20px 20px; border-right: 1px solid var(--line); }
.action-market-block:last-child { border-right: 0; }
.action-market-head { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; color: var(--ink); font-size: 18px; }
.action-market-head strong { font-size: 18px; font-weight: 900; }
.action-market-stats { display: grid; grid-template-columns: .65fr 1.35fr 1.15fr 1.15fr; gap: 12px; }
.action-market-stats > div { min-width: 0; }
.action-market-stats span { color: var(--muted); font-size: 11px; white-space: nowrap; }
.action-market-stats .info-tip { display: inline-flex; }
.action-market-stats b { display: block; overflow: hidden; margin-top: 5px; color: var(--ink); font-size: 16px; font-weight: 900; letter-spacing: -.2px; text-overflow: ellipsis; white-space: nowrap; }
.action-market-stats b.positive { color: var(--red); }.action-market-stats b.negative { color: var(--green); }
.action-market-stats small { display: block; overflow: hidden; margin-top: 4px; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.action-count-metric b { font-size: 17px; }
.action-filter-bar { margin-top: 3px; margin-bottom: 16px; }

.table-card { overflow: hidden; }
.table-heading { display: flex; align-items: baseline; gap: 12px; padding: 18px 20px 11px; }
.table-heading h2 { margin: 0; font-size: 19px; }.table-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; min-width: 980px; border-collapse: collapse; }
th { padding: 11px 17px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fbfcff; color: #6e778d; font-size: 12px; font-weight: 800; text-align: left; white-space: nowrap; }
td { padding: 12px 17px; border-bottom: 1px solid var(--line); white-space: nowrap; font-size: 13px; }
tr:last-child td { border-bottom: 0; }
.stock-name { font-weight: 900; }.stock-code { margin-left: 5px; color: var(--muted); font-size: 12px; }.number-cell { font-family: "DM Mono", ui-monospace, monospace; font-size: 12px; }
.action-chip { display: inline-flex; min-height: 27px; align-items: center; padding: 0 9px; border: 1px solid #d9e5ff; border-radius: 6px; background: var(--blue-soft); color: var(--blue); font-size: 12px; font-weight: 900; }.action-chip.stop { border-color: #ffd4af; background: #fff5e9; color: #d66b09; }.action-chip.add { border-color: #bfd5ff; background: #f1f6ff; color: #1d67dc; }.action-chip.take { border-color: #bde9d2; background: #ecfaf3; color: #07965c; }.action-chip.hold, .action-chip.good { border-color: #d9ebe0; background: #f4fbf7; color: #16875b; }.action-chip.warn { background: var(--orange-soft); color: #d95e00; }

.priority-card { margin-bottom: 16px; overflow: hidden; }
.priority-card .table-heading { align-items: center; justify-content: space-between; padding-bottom: 11px; }.priority-card table { min-width: 1280px; }
.action-rule-note { display: inline-flex; align-items: center; white-space: nowrap; }
.analysis-copy { max-width: 285px; overflow: hidden; color: #4b556b; text-overflow: ellipsis; white-space: nowrap; }
.execution-price { color: #263653; font-family: "DM Mono", ui-monospace, monospace; font-size: 12px; font-weight: 800; }.execution-price.stop { color: #d66b09; }.execution-price.add { color: #1d67dc; }.execution-price.take { color: #07965c; }
.trend-chip { display: inline-flex; min-height: 27px; align-items: center; padding: 0 9px; border: 1px solid; border-radius: 6px; font-size: 12px; font-weight: 900; }.trend-chip.up { border-color: #ffd2ca; background: #fff2ef; color: #d94c3b; }.trend-chip.down { border-color: #cde9d9; background: #eef9f3; color: #16875b; }.trend-note { display: block; margin-top: 4px; color: #6b7488; font-size: 10px; }
.action-table-heading { align-items: center; justify-content: space-between; gap: 18px; }
.table-sort-button { display: inline-flex; align-items: center; gap: 5px; margin: -7px -8px; padding: 7px 8px; border: 0; border-radius: 5px; background: transparent; color: inherit; font: inherit; font-size: inherit; font-weight: inherit; white-space: nowrap; }.table-sort-button:hover, .table-sort-button:focus-visible { color: var(--blue); background: var(--blue-soft); outline: none; }.table-sort-button.active { color: var(--blue); }.sort-arrow { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; opacity: .45; transition: transform .18s ease, opacity .18s ease; }.table-sort-button.active .sort-arrow { opacity: 1; }.sort-arrow.desc { transform: rotate(180deg); }
.holding-action-table { min-width: 1510px; }
.holding-action-table td { vertical-align: middle; }
.table-money b { display: block; color: var(--ink); font-family: "DM Mono", ui-monospace, monospace; font-size: 12px; font-weight: 800; }.table-money small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.holding-action-table td .number-cell + small { display: block; margin-top: 3px; color: currentColor; font-size: 10px; }
.action-brief { display: block; max-width: 250px; overflow: hidden; margin-top: 5px; color: #647086; font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }

.radar-top { display: grid; grid-template-columns: 1.25fr .75fr; gap: 16px; margin-bottom: 16px; }
.radar-summary { display: flex; align-items: center; gap: 18px; padding: 21px 23px; }
.radar-target { display: grid; width: 62px; height: 62px; place-items: center; border: 9px solid #ffe8e5; border-top-color: var(--red); border-right-color: var(--red); border-radius: 50%; color: var(--red); font-weight: 900; }
.radar-summary h2 { margin: 0; font-size: 20px; }.radar-summary p { margin: 5px 0 0; color: var(--muted); }
.radar-side { padding: 19px 20px; }.radar-side h3 { margin: 0 0 9px; }.radar-side p { margin: 0; color: var(--muted); }
.watch-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; }
.watch-list { overflow: hidden; }
.watch-row { display: grid; grid-template-columns: 135px 110px 1.15fr 1fr 90px 112px; align-items: center; gap: 14px; min-height: 78px; padding: 12px 19px; border-bottom: 1px solid var(--line); }
.watch-row:last-child { border-bottom: 0; }.watch-row > div { min-width: 0; }.watch-row p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }.watch-row .reason { white-space: normal; }.watch-meta { color: var(--muted); font-size: 12px; }.priority-level { display: inline-flex; padding: 4px 7px; border-radius: 5px; background: var(--orange-soft); color: #c45a08; font-size: 12px; font-weight: 800; }
.watch-aside { padding: 18px; }.watch-aside h2 { margin: 0; font-size: 18px; }.saved-row { display: flex; align-items: center; gap: 9px; padding: 13px 0; border-bottom: 1px solid var(--line); }.saved-row:last-child { border-bottom: 0; }.saved-row span { color: var(--muted); font-size: 12px; }

.trade-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 16px; }.trade-kpi { padding: 20px 22px; }.trade-kpi span { color: var(--muted); }.trade-kpi strong { display: block; margin-top: 12px; font-size: 23px; }.trade-kpi small { color: var(--muted); }
.trade-toolbar { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }.trade-toolbar .tab-group { padding: 0; border: 0; }.trade-toolbar .tab-group button { min-width: 58px; border: 1px solid var(--line); border-radius: 6px; }.trade-toolbar .tab-group button.active { border-color: var(--blue); }
.trade-source { align-self: center; color: var(--muted); font-size: 12px; }.sold-record-table { min-width: 1240px; }
.trade-form-card { margin-top: 16px; padding: 20px; }.trade-form-card h2 { margin: 0 0 14px; font-size: 18px; }.trade-form { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }.form-field { display: grid; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 700; }.form-field input, .form-field select { width: 100%; min-height: 39px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 7px; color: var(--ink); background: #fff; outline: none; }.form-field input:focus, .form-field select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }.form-field.full { grid-column: span 2; }.form-submit { align-self: end; min-height: 39px; }

.review-grid { display: grid; grid-template-columns: 1.05fr .95fr 1fr; gap: 16px; }.review-card { min-height: 276px; padding: 20px; }.review-card h2 { margin: 0 0 15px; font-size: 18px; }.review-stat { display: flex; align-items: end; gap: 16px; margin-bottom: 8px; }.review-stat strong { font-size: 28px; }.review-stat span { color: var(--muted); }.review-canvas { height: 150px; }.bar-contribution { display: grid; grid-template-columns: 64px 1fr 74px; align-items: center; gap: 10px; margin: 16px 0; }.bar-track { overflow: hidden; height: 7px; border-radius: 4px; background: #f0f3f8; }.bar-fill { height: 100%; border-radius: 4px; background: var(--red); }.bar-fill.negative { background: var(--green); }.review-highlight { padding: 15px 0; border-bottom: 1px solid var(--line); }.review-highlight:last-child { border-bottom: 0; }.review-highlight span { color: var(--muted); }.review-highlight strong { display: block; margin-top: 5px; font-size: 26px; }
.review-bottom { display: grid; grid-template-columns: minmax(0, 1fr) 365px; gap: 16px; margin-top: 16px; }.timeline-card, .next-card { padding: 20px; }.timeline-card h2, .next-card h2 { margin: 0 0 14px; font-size: 18px; }.timeline-table { width: 100%; min-width: 670px; }.next-item { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); }.next-item:last-child { border-bottom: 0; }.order-num { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 900; }.next-item strong { display: block; }.next-item p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }.text-link { border: 0; background: transparent; color: var(--blue); font-weight: 800; }

.page-footer { width: min(1440px, calc(100% - 64px)); margin: 0 auto; padding: 0 0 30px; color: #9aa3b5; font-size: 12px; }
.empty { padding: 38px; color: var(--muted); text-align: center; }
.error { padding: 30px; color: #bd3f3f; text-align: center; }

@media (max-width: 1320px) {
  .updated { display: none; }
}

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 220px 1fr auto; padding: 0 20px; }.global-nav { gap: 0; }.nav-link { min-width: 70px; font-size: 14px; }.updated, .market-refresh-status { display: none; }
  .overview-top, .overview-main, .watch-layout, .review-bottom { grid-template-columns: 1fr; }.side-stack { grid-template-columns: repeat(2, 1fr); }.action-market-overview { grid-template-columns: 1fr; }.action-market-block { border-right: 0; border-bottom: 1px solid var(--line); }.action-market-block:last-child { border-bottom: 0; }.market-overview { grid-template-columns: 1fr; gap: 18px; }.market-block { padding: 0; border: 0; border-bottom: 1px solid var(--line); padding-bottom: 16px; }.market-block:last-child { padding-bottom: 0; }.trade-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }.review-grid { grid-template-columns: 1fr; }.review-card { min-height: auto; }
}

@media (max-width: 760px) {
  .site-header { position: static; grid-template-columns: 1fr auto; min-height: auto; padding: 13px 16px 0; }.brand strong { font-size: 16px; }.brand small { display: none; }.global-nav { grid-column: 1 / -1; grid-row: 2; width: 100%; overflow-x: auto; justify-content: flex-start; }.nav-link { min-width: 76px; min-height: 48px; padding: 0 7px; font-size: 13px; }.header-tools .secondary-button { display: none; }.icon-button { min-height: 32px; }
  .page-shell { width: min(100% - 28px, 1440px); padding-top: 23px; }.page-title { font-size: 25px; }.asset-summary { grid-template-columns: 1fr; gap: 16px; }.asset-summary > div { padding: 0; border: 0; }.metric-value { font-size: 29px; }.info-popover { right: auto; left: -8px; width: min(230px, calc(100vw - 32px)); }.side-stack { grid-template-columns: 1fr; }.market-kpis { grid-template-columns: 1fr 1fr 1fr; }.market-detail-grid { grid-template-columns: 1fr 1fr; }.filter-bar { align-items: flex-start; flex-direction: column; }.tab-group { width: 100%; overflow-x: auto; }.tab-group button { min-width: 80px; }.action-market-block { padding: 17px 16px; }.action-market-stats { grid-template-columns: 1fr 1.4fr; gap: 16px 14px; }.action-table-heading { align-items: flex-start; flex-direction: column; }.action-sort-controls { width: 100%; overflow-x: auto; }.action-sort-controls button { flex: 1 0 auto; }.priority-card .table-heading { align-items: flex-start; flex-direction: column; }.trade-kpis { grid-template-columns: 1fr 1fr; }.trade-form { grid-template-columns: 1fr 1fr; }.form-field.full { grid-column: span 2; }.watch-row { grid-template-columns: 1fr auto; gap: 8px; }.watch-row .reason, .watch-row .watch-meta { display: none; }.watch-row .primary-button { grid-column: 1 / -1; }.radar-top { grid-template-columns: 1fr; }.page-footer { width: min(100% - 28px, 1440px); }.chart-heading { align-items: flex-start; flex-direction: column; }.canvas-wrap { height: 235px; }
}
