:root {
  --bg: #f4f8fc;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --panel: #edf5ff;
  --ink: #172033;
  --muted: #66748a;
  --line: #dbe6f2;
  --line-soft: #e8f0f8;
  --blue: #5e9ff2;
  --blue-deep: #156fe8;
  --mint: #72c7be;
  --lavender: #a9a5ee;
  --rose: #ee8f9d;
  --amber: #f0bd6b;
  --green: #2fa56f;
  --red: #e06473;
  --shadow: 0 16px 40px rgba(41, 74, 112, 0.10);
  --sidebar-width: 244px;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--ink); font-size: 16px; line-height: 1.62; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.shell { display: grid; grid-template-columns: var(--sidebar-width) minmax(0, 1fr); min-height: 100vh; }
.sidebar {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column;
  padding: 24px 18px; border-right: 1px solid var(--line); background: rgba(255,255,255,.82);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; border-radius: 8px; background: linear-gradient(135deg, var(--blue), var(--lavender)); color: white; font-weight: 900; }
.brand strong, .brand small { display: block; letter-spacing: 0; }
.brand strong { font-size: 15px; }
.brand small { margin-top: 1px; color: var(--muted); font-size: 12px; }
.nav-list { display: grid; gap: 6px; margin-top: 38px; }
.nav-link { min-height: 40px; display: flex; align-items: center; padding: 0 12px; border: 1px solid transparent; border-radius: 8px; color: var(--muted); font-size: 15px; font-weight: 750; }
.nav-link:hover, .nav-link:focus-visible { border-color: var(--line); background: var(--surface-soft); color: var(--ink); outline: none; }
.nav-link.active { border-color: #c8dcf6; background: #eaf3ff; color: var(--blue-deep); }
.sidebar-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; padding: 10px; color: var(--muted); font-size: 11px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(114,199,190,.18); }
main { min-width: 0; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 88px; padding: 20px clamp(22px, 5vw, 68px); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.64); }
.topbar h1 { margin: 3px 0 0; font-size: 24px; font-weight: 820; }
.topbar p { margin: 5px 0 0; color: var(--muted); font-size: 15px; }
.eyebrow { display: block; color: var(--blue-deep); font-size: 11px; font-weight: 900; letter-spacing: 0; text-transform: uppercase; }
.updated { text-align: right; color: var(--muted); font-size: 13px; }
.updated span, .updated time { display: block; }
.updated time { margin-top: 2px; color: var(--ink); font-variant-numeric: tabular-nums; }
h1, h2, h3, p { margin-top: 0; }

.hero-panel { display: grid; grid-template-columns: minmax(320px, .9fr) minmax(420px, 1.1fr); min-height: 390px; border-bottom: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.hero-copy { align-self: center; padding: 52px 24px 52px clamp(22px, 5vw, 68px); }
.hero-copy h2 { max-width: 720px; margin: 8px 0 16px; font-size: clamp(34px, 4.2vw, 58px); line-height: 1.1; font-weight: 860; }
.hero-copy p { max-width: 620px; color: var(--muted); font-size: 17px; }
.network-art { width: 100%; height: 100%; min-height: 390px; object-fit: cover; object-position: 58% center; border-left: 1px solid var(--line-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.primary-action, .secondary-action { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px; border-radius: 8px; font-size: 14px; font-weight: 850; }
.primary-action { background: var(--blue-deep); color: white; }
.secondary-action { border: 1px solid var(--line); background: var(--surface); color: var(--muted); }
.primary-action:hover, .secondary-action:hover, .primary-action:focus-visible, .secondary-action:focus-visible { transform: translateY(-1px); outline: none; }

.section { padding: 48px clamp(22px, 5vw, 68px); border-bottom: 1px solid var(--line); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 24px; }
.section-heading h2 { margin: 4px 0 0; font-size: 34px; line-height: 1.2; font-weight: 820; }
.section-heading p { max-width: 500px; margin-bottom: 2px; color: var(--muted); font-size: 14px; text-align: right; }
.section-heading.compact { margin-bottom: 16px; }
.section-heading.compact h2 { font-size: 23px; }
.monitor-workbench { background: var(--bg); }
.subwindow { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.subwindow-tabs { display: flex; gap: 8px; padding: 12px; border-bottom: 1px solid var(--line); background: #f7fbff; }
.subwindow-tabs button { min-height: 34px; padding: 0 14px; border: 1px solid #c8dcf6; border-radius: 8px; background: #eaf3ff; color: var(--blue-deep); font-size: 14px; font-weight: 900; }
.subwindow-body { padding: 16px; }
.panel-entry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; align-items: stretch; gap: 14px; margin-bottom: 16px; }
.panel-entry { display: grid; align-content: start; gap: 7px; width: 100%; min-width: 0; min-height: 128px; height: 100%; padding: 16px; border-radius: 8px; border: 1px solid var(--line); text-decoration: none; color: var(--text); background: linear-gradient(135deg, #f9fcff 0%, #eef7ff 100%); box-shadow: var(--shadow-soft); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.panel-entry:hover { transform: translateY(-1px); border-color: rgba(0,108,255,.35); box-shadow: 0 16px 34px rgba(15, 58, 114, .11); }
.panel-entry span { color: var(--accent); font-size: 12px; font-weight: 950; letter-spacing: 0; text-transform: uppercase; }
.panel-entry strong { font-size: 18px; line-height: 1.25; }
.panel-entry small { color: var(--muted); font-size: 13px; font-weight: 800; }
.beszel-entry { background: linear-gradient(135deg, #fbfdff 0%, #f3f0ff 100%); }
.komari-entry { background: linear-gradient(135deg, #fbfdff 0%, #eefcff 100%); }
.probe-summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.metric-card, .panel-card, .index-card, .chart-panel, .vps-card, .insight-block, .summary-card { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.metric-card { min-height: 112px; padding: 16px; }
.metric-card span, .metric-card small { display: block; color: var(--muted); font-size: 13px; }
.metric-card strong { display: block; margin-top: 8px; font-size: 28px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.probe-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: stretch; }
.panel-card { min-width: 0; padding: 16px; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.panel-head h3 { margin: 3px 0 0; font-size: 20px; }
.panel-head small { color: var(--muted); font-size: 13px; text-align: right; font-variant-numeric: tabular-nums; }
.icon-button { min-width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-soft); color: var(--blue-deep); cursor: pointer; }
.icon-button:hover, .icon-button:focus-visible { border-color: var(--blue); outline: none; }
.vps-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; align-items: stretch; }
.home-vps-card { display: grid; gap: 13px; min-height: 260px; padding: 18px; border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 8px; background: var(--surface-soft); }
.home-vps-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.home-vps-head h3 { margin: 0; font-size: 20px; line-height: 1.25; }
.home-vps-head small { display: block; margin-top: 3px; color: var(--muted); font-size: 14px; }
.home-vps-head > span { padding: 6px 10px; border-radius: 999px; background: #e7f3ff; color: var(--blue-deep); font-size: 14px; font-weight: 900; }
.traffic-ring { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: conic-gradient(var(--blue) 0 0%, #e5edf6 0 100%); }
.traffic-ring div { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--surface); text-align: center; }
.traffic-ring strong { font-size: 15px; font-variant-numeric: tabular-nums; }
.home-vps-card dl { display: grid; gap: 8px; margin: 0; }
.home-vps-card dl div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 10px; font-size: 15px; }
.home-vps-card dt { color: var(--muted); font-weight: 900; }
.home-vps-card dd { margin: 0; font-weight: 850; overflow-wrap: anywhere; }
.placeholder-card, .error-card { display: grid; place-items: center; min-height: 132px; border: 1px dashed var(--line); border-radius: 8px; background: var(--surface-soft); color: var(--muted); font-size: 15px; text-align: center; padding: 18px; }
#home-latency-chart { display: block; width: 100%; height: 460px; border: 1px solid var(--line); border-radius: 8px; background: #ffffff; }
.latency-current-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 10px; }
.latency-pill { display: grid; gap: 2px; min-width: 0; padding: 11px 12px; border: 1px solid var(--line); border-left: 4px solid var(--line-color, var(--blue)); border-radius: 8px; background: #fbfdff; box-shadow: 0 8px 18px rgba(41, 74, 112, 0.06); }
.latency-pill b { color: var(--muted); font-size: 12px; line-height: 1.2; }
.latency-pill strong { color: var(--ink); font-size: 22px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.latency-pill small { color: var(--muted); font-size: 12px; }
.latency-pill.muted { grid-column: 1 / -1; color: var(--muted); text-align: center; border-left-color: var(--line); }
.chart-legend, .latency-legend { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 14px; font-weight: 850; }
.chart-legend span, .latency-legend span { display: inline-flex; align-items: center; gap: 7px; }
.chart-legend i, .latency-legend i { display: inline-block; width: 18px; height: 3px; border-radius: 99px; }
.legend-dmit, .legend-gomani { background: var(--blue); }
.legend-bwg { background: var(--green); }
.legend-vmrack { background: var(--rose); }
.legend-loss { background: repeating-linear-gradient(90deg, var(--lavender), var(--lavender) 4px, transparent 4px, transparent 7px); }
.latency-table-wrap { margin-top: 12px; overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.latency-table { width: 100%; border-collapse: collapse; min-width: 680px; font-size: 15px; }
.latency-table th, .latency-table td { padding: 12px 14px; border-bottom: 1px solid var(--line-soft); text-align: left; font-variant-numeric: tabular-nums; }
.latency-table th { color: var(--muted); background: #f8fbff; font-weight: 900; }
.latency-table tr:last-child td { border-bottom: 0; }
.page-titlebar { justify-content: center; position: relative; text-align: center; }
.page-titlebar .updated { position: absolute; right: clamp(22px, 5vw, 68px); }
.page-titlebar h1 { font-size: clamp(28px, 3vw, 42px); }
.page-titlebar p { margin: 4px 0 0; }
.market-brief, .vps-brief { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; padding: 42px clamp(22px, 5vw, 68px); border-bottom: 1px solid var(--line); background: var(--surface); }
.market-brief h2, .vps-brief h2 { margin: 4px 0 10px; font-size: clamp(30px, 4vw, 52px); line-height: 1.12; }
.market-brief p, .vps-brief p { max-width: 780px; margin: 0; color: var(--muted); font-size: 15px; }
.market-stats, .vps-stats { display: grid; grid-template-columns: repeat(3, minmax(80px, 1fr)); min-width: 300px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface-soft); }
.market-stats div, .vps-stats div { padding: 13px 14px; border-right: 1px solid var(--line); }
.market-stats div:last-child, .vps-stats div:last-child { border-right: 0; }
.market-stats span, .market-stats strong, .vps-stats span, .vps-stats strong { display: block; }
.market-stats span, .vps-stats span { color: var(--muted); font-size: 10px; font-weight: 900; }
.market-stats strong, .vps-stats strong { margin-top: 4px; font-size: 20px; font-variant-numeric: tabular-nums; }
.positive { color: var(--red); }
.negative { color: var(--green); }
.neutral { color: var(--amber); }
.market-section { background: var(--bg); }
.index-strip { display: grid; grid-template-columns: repeat(5, minmax(150px, 1fr)); gap: 12px; }
.index-card { display: grid; gap: 18px; min-height: 126px; padding: 18px; cursor: pointer; }
.index-card:hover, .index-card:focus-visible { border-color: #bad3f2; outline: none; }
.index-top, .index-bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.index-top strong, .index-top small, .index-bottom span { display: block; }
.index-top small { color: var(--muted); font-size: 11px; text-align: right; }
.index-bottom span:first-child { font-size: 22px; font-weight: 850; font-variant-numeric: tabular-nums; }
.index-bottom span:last-child { font-size: 14px; font-weight: 900; }
.market-workspace, .insight-grid { display: grid; grid-template-columns: minmax(420px, .95fr) minmax(420px, 1.05fr); gap: 28px; align-items: start; background: var(--surface); }
.stock-tools { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(150px, 1.1fr) auto auto; gap: 8px; margin-bottom: 8px; }
.stock-tools input { min-height: 36px; min-width: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); padding: 0 11px; font-size: 14px; }
.stock-tools button { min-height: 36px; border: 1px solid var(--blue-deep); border-radius: 8px; background: var(--blue-deep); color: white; padding: 0 12px; font-size: 14px; font-weight: 850; cursor: pointer; }
.stock-tools button:last-child { border-color: var(--line); background: var(--surface); color: var(--muted); }
.tool-status, .empty-line { color: var(--muted); font-size: 12px; }
.stock-table { border-top: 1px solid var(--line); }
.stock-row { display: grid; grid-template-columns: minmax(140px, 1fr) 104px 78px 78px 56px; align-items: center; gap: 10px; width: 100%; min-height: 60px; border: 0; border-bottom: 1px solid var(--line-soft); background: transparent; color: inherit; text-align: left; }
button.stock-row { cursor: pointer; }
button.stock-row:hover, button.stock-row:focus-visible, button.stock-row.selected { background: #f5faff; outline: none; }
button.stock-row.selected { box-shadow: inset 3px 0 0 var(--blue); }
.stock-head { min-height: 38px; color: var(--muted); font-size: 13px; font-weight: 900; }
.stock-identity strong, .stock-identity small { display: block; }
.stock-identity strong { font-size: 16px; }
.stock-identity small { margin-top: 1px; color: var(--muted); font-size: 12px; }
.trend-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 24px; padding: 0 8px; border-radius: 999px; background: #e9eef6; font-size: 10px; font-weight: 900; }
.trend-pill.positive { background: #ffe9ed; }
.trend-pill.negative { background: #e7f6ee; }
.trend-pill.neutral { background: #fff2da; }
.stock-row > span:not(.stock-identity):not(.trend-pill) { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.heat-value { color: var(--blue-deep); }
.chart-panel { position: sticky; top: 20px; min-width: 0; padding: 18px; background: var(--surface-soft); box-shadow: 0 14px 32px rgba(41, 74, 112, 0.08); }
.chart-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; margin-bottom: 12px; }
.chart-heading span, .chart-heading strong { display: block; }
.chart-heading span:first-child { color: var(--blue-deep); font-size: 11px; font-weight: 900; }
.chart-heading strong { font-size: 18px; line-height: 1.25; }
.chart-price-box { min-width: 96px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); text-align: right; }
.chart-price-box span { color: var(--muted); font-size: 10px; }
.chart-price-box strong { margin-top: 3px; font-size: 16px; font-variant-numeric: tabular-nums; }
.chart-toolbar { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: 12px; }
.chart-toolbar button { min-height: 32px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--muted); font-size: 11px; font-weight: 900; cursor: pointer; }
.chart-toolbar button:hover, .chart-toolbar button:focus-visible, .chart-toolbar button.active { border-color: var(--blue); background: #eaf3ff; color: var(--blue-deep); outline: none; }
#stock-chart { display: block; width: 100%; height: 380px; border: 1px solid var(--line); border-radius: 8px; background: #fbfdff; }
.chart-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 12px; border: 1px solid var(--line); background: var(--line); }
.chart-metrics span { display: block; padding: 10px; background: var(--surface); color: var(--muted); font-size: 10px; }
.chart-metrics strong { display: block; margin-top: 2px; color: var(--ink); font-size: 12px; }
.chart-legend { margin-top: 8px; }
.legend-price { background: var(--red); }
.legend-ma5 { background: var(--amber); }
.legend-ma20 { background: var(--blue); }
.headline-mini, .block-list { display: grid; gap: 9px; margin-top: 12px; }
.headline-mini a, .headline-mini p { margin: 0; padding-top: 10px; border-top: 1px solid var(--line-soft); }
.headline-mini strong, .headline-mini small { display: block; }
.headline-mini strong { font-size: 12px; line-height: 1.35; }
.headline-mini small, .headline-mini p { color: var(--muted); font-size: 10px; }
.theme-row, .recommendation-row { padding: 15px; background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%); box-shadow: 0 8px 20px rgba(41, 74, 112, 0.06); }
.theme-row div, .recommendation-row div { display: flex; justify-content: space-between; gap: 12px; }
.theme-row strong, .recommendation-row strong { font-size: 17px; }
.theme-row p, .recommendation-row p { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.theme-row span { color: var(--blue-deep); font-size: 11px; font-weight: 900; }
.recommendation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.recommendation-grid h3 { margin: 0 0 10px; font-size: 17px; }
.recommendation-row small { display: block; margin-top: 8px; color: #9a6a18; font-size: 12px; line-height: 1.45; }
.source-section { background: var(--surface); }
.source-section p { max-width: 780px; color: var(--muted); font-size: 12px; }
.source-list { display: flex; flex-wrap: wrap; gap: 8px; }
.source-list a { padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 10px; }
.source-list a:hover { border-color: var(--blue); color: var(--blue-deep); }
.vps-groups { display: grid; gap: 28px; background: var(--surface); }
.vps-card-grid-wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vps-card { display: grid; gap: 12px; min-height: 240px; padding: 16px; border-top: 3px solid var(--blue); }
.vps-card.bandwagon { border-top-color: var(--rose); }
.vps-card-head, .vps-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.vps-provider, .vps-status { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border-radius: 999px; font-size: 10px; font-weight: 900; }
.vps-provider { background: #eaf3ff; color: var(--blue-deep); }
.vps-provider.bandwagon { background: #ffe9ed; color: var(--red); }
.vps-status.available { background: #e7f6ee; color: var(--green); }
.vps-status.soldout { background: #ffe9ed; color: var(--red); }
.vps-status.unknown { background: #fff2da; color: #a46f1c; }
.vps-card h3 { margin: 0; font-size: 17px; }
.vps-card p { margin: 0; color: var(--muted); font-size: 14px; }
.vps-card-price { display: block; color: var(--blue-deep); font-size: 18px; }
.vps-spec-list { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 5px 8px; margin: 0; color: var(--muted); font-size: 13px; }
.vps-spec-list dt { color: var(--ink); font-weight: 900; }
.vps-spec-list dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.invite-note { color: #a46f1c; font-weight: 900; }
.vps-actions { display: grid; grid-template-columns: 1fr 1fr; margin-top: auto; }
.vps-buy, .vps-product-link { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: 14px; font-weight: 900; }
.vps-buy.hot { border-color: var(--green); background: var(--green); color: white; }
.vps-buy.disabled { background: var(--surface); color: var(--muted); cursor: default; }
.vps-buy:hover, .vps-product-link:hover, .vps-buy:focus-visible, .vps-product-link:focus-visible { border-color: var(--blue); color: var(--blue-deep); outline: none; }
footer { display: flex; justify-content: space-between; gap: 18px; padding: 24px clamp(22px, 5vw, 68px); color: var(--muted); font-size: 10px; }

@media (max-width: 1160px) {
  .probe-grid, .market-workspace, .insight-grid { grid-template-columns: 1fr; }
  .probe-summary-grid, .panel-entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vps-card-grid-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chart-panel { position: static; }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .nav-list { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; margin-top: 16px; }
  .sidebar-foot { display: none; }
  .hero-panel { grid-template-columns: 1fr; }
  .network-art { min-height: 240px; max-height: 300px; border-left: 0; border-top: 1px solid var(--line); }
  .market-brief, .vps-brief { grid-template-columns: 1fr; }
  .page-titlebar { justify-content: flex-start; text-align: left; }
  .page-titlebar .updated { position: static; }
}
@media (max-width: 620px) {
  .topbar { align-items: flex-start; flex-direction: column; min-height: auto; }
  .updated { text-align: left; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .section-heading p { text-align: left; }
  .probe-summary-grid, .panel-entry-grid, .vps-card-grid, .index-strip, .recommendation-grid, .vps-card-grid-wide, .stock-tools, .vps-actions { grid-template-columns: 1fr; }
  .latency-current-strip { grid-template-columns: 1fr; }
  .market-stats, .vps-stats { width: 100%; min-width: 0; }
  .chart-heading { grid-template-columns: 1fr; }
  .chart-price-box { text-align: left; }
  .stock-row { grid-template-columns: minmax(92px, 1fr) 62px 50px 50px 38px; gap: 6px; }
  .stock-row > span:not(.stock-identity):not(.trend-pill) { font-size: 11px; }
  #home-latency-chart, #stock-chart { height: 320px; }
  footer { flex-direction: column; }
}
