:root {
  color-scheme: light;
  --red: #c91f37;
  --red-dark: #981329;
  --red-soft: #fff1f2;
  --ink: #202124;
  --muted: #73747a;
  --line: #e8e3df;
  --paper: #f8f5f2;
  --white: #fff;
  --green: #16865c;
  --amber: #b76b19;
  --blue: #3e66a2;
  --purple: #7a4fa4;
  --shadow: 0 18px 48px rgba(58, 37, 31, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font: 14px/1.65 "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  left: 18px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--white);
  background: var(--red);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  min-height: 76px;
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid rgba(232, 227, 223, .92);
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(16px);
}
.brand {
  display: grid;
  grid-template-columns: 42px auto;
  grid-template-rows: 22px 15px;
  column-gap: 11px;
  align-items: center;
  margin-right: 36px;
  text-decoration: none;
}
.brand > span {
  position: relative;
  grid-row: 1 / 3;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--red);
}
.brand > span::before,
.brand > span::after,
.brand > span i {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.brand > span::before { width: 28px; height: 28px; }
.brand > span::after { width: 13px; height: 13px; }
.brand > span i {
  width: 1px;
  height: 22px;
  border: 0;
  border-left: 2px solid var(--white);
  border-radius: 0;
  transform-origin: 50% 100%;
  transform: translate(-50%, -100%) rotate(43deg);
}
.brand b { font-size: 17px; letter-spacing: .08em; line-height: 1; }
.brand small { color: var(--muted); font-size: 10px; letter-spacing: .18em; }
.topbar nav { display: flex; align-items: stretch; align-self: stretch; }
.topbar nav a {
  display: grid;
  place-items: center;
  padding: 0 15px;
  border-bottom: 2px solid transparent;
  color: #55565b;
  text-decoration: none;
  font-size: 13px;
}
.topbar nav a:hover, .topbar nav a.active { color: var(--red); border-color: var(--red); }
.live-mark, .sync-status, .sync-badge { display: flex; align-items: center; gap: 8px; }
.live-mark { margin-left: auto; color: var(--muted); font-size: 11px; }
.live-mark i, .sync-status i, .sync-badge i, .ticker-strip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(22, 134, 92, .1);
}
.nav-toggle {
  display: none;
  margin-left: auto;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}

main {
  width: min(1240px, calc(100% - 48px));
  min-height: 72vh;
  margin: 0 auto;
  padding: 42px 0 96px;
  outline: none;
}
.home-hero {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 42px;
  min-height: 500px;
  align-items: stretch;
  padding: 24px 0 54px;
}
.hero-copy { align-self: center; padding: 24px 3vw 24px 0; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
}
.eyebrow i { width: 18px; height: 2px; background: var(--red); }
.hero-copy h1,
.page-head h1,
.manager-intro h1,
.security-hero h1 {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-weight: 700;
}
.hero-copy h1 {
  margin: 22px 0 20px;
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1.18;
  letter-spacing: -.04em;
}
.hero-copy h1 em { color: var(--red); font-style: normal; }
.hero-copy > p { max-width: 600px; margin: 0; color: var(--muted); font-size: 16px; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 34px; }
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 18px;
  border: 1px solid var(--red);
  border-radius: 7px;
  color: var(--white);
  background: var(--red);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.button:hover { border-color: var(--red-dark); background: var(--red-dark); transform: translateY(-1px); }
.button.secondary { color: var(--red); background: var(--white); }
.button.secondary:hover { color: var(--white); background: var(--red); }
.text-link { color: var(--red); text-underline-offset: 5px; }
.radar-card {
  position: relative;
  display: flex;
  min-height: 430px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 40px;
  border-radius: 4px 48px 4px 4px;
  color: var(--white);
  background: linear-gradient(145deg, #dc2842, #a81029 72%);
  box-shadow: 0 26px 60px rgba(154, 19, 41, .22);
}
.radar-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255,255,255,.09), transparent 42%);
  pointer-events: none;
}
.radar-rings { position: absolute; width: 340px; height: 340px; right: -35px; top: -34px; }
.radar-rings i, .radar-rings::before, .radar-rings::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(255,255,255,.27);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.radar-rings i:nth-child(1) { width: 90px; height: 90px; }
.radar-rings i:nth-child(2) { width: 190px; height: 190px; }
.radar-rings i:nth-child(3), .radar-rings::before { width: 290px; height: 290px; }
.radar-rings::after { width: 410px; height: 410px; }
.radar-rings b {
  position: absolute;
  left: 50%;
  bottom: 50%;
  width: 2px;
  height: 150px;
  background: linear-gradient(transparent, rgba(255,255,255,.94));
  transform-origin: 50% 100%;
  transform: rotate(44deg);
}
.radar-copy, .radar-meta { position: relative; z-index: 1; }
.radar-copy span { font-size: 11px; letter-spacing: .18em; opacity: .78; }
.radar-copy strong { display: block; margin-top: 4px; font-size: 42px; }
.radar-copy p { max-width: 360px; margin: 8px 0 28px; opacity: .78; }
.radar-meta { display: grid; grid-template-columns: 1fr 1fr; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.28); }
.radar-meta span { font-size: 12px; opacity: .78; }
.radar-meta b { display: block; margin-top: 2px; color: var(--white); font-size: 17px; }

.people-section { padding: 70px 0; border-top: 1px solid var(--line); }
.section { margin-top: 72px; scroll-margin-top: 96px; }
.section-head, .page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}
.section-head h2, .page-head h1 { margin: 7px 0 0; }
.section-head h2 { font-size: 29px; line-height: 1.3; }
.section-head p, .page-head p { max-width: 720px; margin: 9px 0 0; color: var(--muted); }
.section-head > a { color: var(--red); text-decoration: none; white-space: nowrap; }
.section-head > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.person-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 10px 34px rgba(48, 31, 27, .05);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.person-card:hover { transform: translateY(-4px); border-color: #d9b8bd; box-shadow: var(--shadow); }
.person-image { height: 290px; overflow: hidden; background: #f7f3ef; }
.person-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .35s ease; }
.person-card:hover .person-image img { transform: scale(1.025); }
.person-card:nth-child(2) .person-image img { object-position: center 28%; }
.person-info { padding: 22px 24px 25px; border-top: 3px solid var(--red); }
.person-info span { color: var(--red); font-size: 11px; }
.person-info h3 { margin: 5px 0; font-size: 25px; }
.person-info p { margin: 0; color: var(--muted); }
.person-info b { display: block; margin-top: 18px; color: var(--red); font-size: 12px; }
.ticker-strip {
  display: flex;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  scrollbar-width: none;
}
.ticker-strip::-webkit-scrollbar { display: none; }
.ticker-strip span { display: flex; align-items: center; gap: 9px; padding: 13px 22px; border-right: 1px solid var(--line); color: var(--muted); white-space: nowrap; font-size: 11px; }
.ticker-strip span:first-child { color: var(--ink); font-weight: 700; }

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi {
  position: relative;
  min-height: 142px;
  overflow: hidden;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}
.kpi::after { content: ""; position: absolute; right: -25px; bottom: -42px; width: 100px; height: 100px; border: 1px solid #f1ece9; border-radius: 50%; }
.kpi span, .kpi small { display: block; color: var(--muted); }
.kpi span { font-size: 11px; }
.kpi strong { display: block; margin: 10px 0 3px; font-size: 30px; }
.kpi.featured { border-top: 3px solid var(--red); }
.kpi.featured strong, .kpi.negative strong { color: var(--red); }
.kpi.positive { border-top: 3px solid var(--green); }
.kpi.positive strong { color: var(--green); }
.kpi.negative { border-top: 3px solid var(--red); }
.cockpit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.panel { border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: 0 12px 34px rgba(48, 31, 27, .045); }
.cockpit-grid .panel { min-width: 0; min-height: 390px; padding: 26px; }
.panel-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.panel-head span { color: var(--muted); font-size: 10px; }
.panel-head h3 { margin: 3px 0 0; font-size: 20px; }
.panel-head > b { color: var(--red); font-size: 10px; }
.donut-wrap { display: grid; grid-template-columns: minmax(180px, 230px) 1fr; gap: 24px; align-items: center; padding: 28px 8px 2px; }
.donut { width: 100%; overflow: visible; }
.donut circle { fill: none; stroke-width: 14; transform: rotate(-90deg); transform-origin: center; }
.donut .donut-hole { fill: var(--white); stroke: var(--line); stroke-width: 1; }
.donut text { fill: var(--muted); font-size: 8px; text-anchor: middle; transform: none; }
.donut .donut-value { fill: var(--ink); font-size: 12px; font-weight: 800; }
.tone-0 { stroke: var(--red); } .tone-1 { stroke: var(--amber); } .tone-2 { stroke: var(--purple); }
.tone-3 { stroke: var(--blue); } .tone-4 { stroke: var(--green); } .tone-5 { stroke: #a46173; } .tone-6 { stroke: #ded8d4; }
.tone-bg-0 { background: var(--red); } .tone-bg-1 { background: var(--amber); } .tone-bg-2 { background: var(--purple); }
.tone-bg-3 { background: var(--blue); } .tone-bg-4 { background: var(--green); } .tone-bg-5 { background: #a46173; }
.legend { display: grid; gap: 8px; }
.legend a { display: grid; grid-template-columns: 8px minmax(0,1fr) auto; gap: 10px; align-items: center; padding-bottom: 8px; border-bottom: 1px solid var(--line); text-decoration: none; }
.legend i { width: 7px; height: 7px; border-radius: 50%; }
.legend span { overflow: hidden; color: #55565b; text-overflow: ellipsis; white-space: nowrap; }
.legend b { font-size: 12px; }
.legend a:hover span { color: var(--red); }
.movement-chart { display: grid; gap: 10px; padding: 27px 4px 0; }
.movement-row { display: grid; grid-template-columns: 120px 1fr 64px; gap: 12px; align-items: center; color: #55565b; font-size: 12px; text-decoration: none; }
.movement-row > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.movement-row svg { height: 24px; overflow: visible; }
.movement-row line { stroke: #ccc5c0; stroke-width: .4; }
.movement-row rect.positive { fill: var(--green); }
.movement-row rect.negative { fill: var(--red); }
.movement-row b { text-align: right; }
.up { color: var(--green); } .down { color: var(--red); }
.axis { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 64px 0 132px; color: #a29b96; font-size: 9px; }
.axis span:nth-child(2) { text-align: center; }
.axis span:last-child { text-align: right; }
.dual-section { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; }
.consensus-list, .filing-feed { border-top: 1px solid var(--line); }
.consensus-list a, .filing-feed a { display: grid; align-items: center; gap: 14px; min-height: 70px; border-bottom: 1px solid var(--line); text-decoration: none; }
.consensus-list a { grid-template-columns: 34px minmax(0,1fr) auto; }
.filing-feed a { grid-template-columns: 8px minmax(0,1fr) auto; }
.consensus-list em { color: #aaa29d; font-style: normal; font-weight: 700; }
.consensus-list div, .filing-feed div { min-width: 0; }
.consensus-list strong, .consensus-list span, .filing-feed strong, .filing-feed span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.consensus-list span, .filing-feed span { color: var(--muted); font-size: 11px; }
.consensus-list > a > b, .filing-feed > a > b { color: var(--red); font-size: 12px; }
.consensus-list a:hover strong, .filing-feed a:hover strong { color: var(--red); }
.filing-feed i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.page-head { align-items: center; padding: 26px 0 12px; }
.page-head h1 { font-size: clamp(38px, 4.3vw, 56px); line-height: 1.2; }
.page-counter { display: flex; align-items: end; gap: 10px; }
.page-counter b { color: var(--red); font-size: 60px; line-height: .85; }
.page-counter span { color: var(--muted); font-size: 11px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin: 22px 0; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tabs button {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: #5d5e63;
  background: var(--white);
  cursor: pointer;
}
.tabs button:hover, .tabs button.active { color: var(--white); border-color: var(--red); background: var(--red); }
input, select {
  min-height: 44px;
  min-width: 190px;
  padding: 10px 13px;
  border: 1px solid #d8d2ce;
  border-radius: 7px;
  color: var(--ink);
  background: var(--white);
}
input::placeholder { color: #a19a96; }
input:focus, select:focus, .button:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid rgba(201,31,55,.24); outline-offset: 2px; }
.manager-list { border-top: 1px solid var(--line); }
.manager-row {
  display: grid;
  grid-template-columns: 36px 64px minmax(240px, 1.2fr) minmax(190px, .9fr) minmax(300px, 1fr) 24px;
  gap: 18px;
  align-items: center;
  min-height: 124px;
  padding: 14px 10px;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: background .18s ease;
}
.manager-row:hover { background: linear-gradient(90deg, var(--red-soft), transparent 75%); }
.manager-row > em { color: #b0a8a3; font-style: normal; font-weight: 700; }
.manager-avatar { display: grid; place-items: center; width: 58px; height: 58px; overflow: hidden; border: 1px solid var(--line); border-radius: 50%; color: var(--red); background: var(--paper); font-weight: 800; }
.manager-avatar .portrait-image { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.portrait-image.institution-image { object-position: center; }
.badge { color: var(--red); font-size: 10px; }
.manager-name h3 { margin: 2px 0; font-size: 18px; }
.manager-name small, .manager-holdings span, .manager-metrics small { display: block; color: var(--muted); font-size: 11px; }
.manager-name small { line-height: 1.65; }
.manager-holdings strong { display: block; margin-top: 7px; overflow: hidden; color: #4d4744; font-size: 13px; line-height: 1.55; text-overflow: ellipsis; white-space: nowrap; }
.manager-metrics { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 16px; }
.manager-metrics strong { display: block; margin-top: 6px; font-size: 15px; white-space: nowrap; }
.manager-arrow { color: var(--red); font-size: 20px; transition: transform .18s ease; }
.manager-row:hover .manager-arrow { transform: translate(3px,-3px); }
.table-action {
  justify-self: end;
  padding: 8px 11px;
  border: 1px solid #ddb9bf;
  border-radius: 6px;
  color: var(--red);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
}
.table-action:hover { color: var(--white); border-color: var(--red); background: var(--red); }

.breadcrumb { display: flex; align-items: center; gap: 9px; padding: 18px 0 4px; color: var(--muted); font-size: 12px; }
.breadcrumb a { color: var(--red); text-decoration: none; }
.breadcrumb strong { color: var(--ink); }
.manager-hero {
  display: grid;
  grid-template-columns: 300px 1fr 260px;
  gap: 38px;
  align-items: center;
  min-height: 344px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(115deg, var(--paper), var(--white) 62%);
  box-shadow: var(--shadow);
}
.manager-portrait { align-self: stretch; min-height: 342px; overflow: hidden; background: #f7f3ef; }
.manager-portrait .portrait-image { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.manager-portrait .portrait-fallback { height: 100%; }
.portrait-fallback { display: grid; place-items: center; color: #d8b8bd; font: 800 58px/1 system-ui, sans-serif; }
.manager-intro h1 { margin: 11px 0 6px; font-size: 46px; line-height: 1.15; }
.manager-intro p { margin: 0; color: var(--muted); }
.manager-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.manager-tags span, .manager-tags a { padding: 6px 9px; border: 1px solid var(--line); border-radius: 5px; color: #66676c; background: var(--white); text-decoration: none; font-size: 10px; }
.manager-tags a { color: var(--red); }
.manager-hero-value { margin-right: 34px; padding: 23px; border-left: 3px solid var(--red); background: var(--red-soft); }
.manager-hero-value span, .manager-hero-value small { display: block; color: var(--muted); }
.manager-hero-value strong { display: block; margin: 7px 0; color: var(--red); font-size: 28px; }
.detail-tabs {
  position: sticky;
  top: 76px;
  z-index: 20;
  display: flex;
  gap: 5px;
  margin: 20px 0 0;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255,255,255,.96);
}
.detail-tabs a { padding: 8px 13px; border-radius: 6px; color: #5e5f64; text-decoration: none; font-size: 12px; }
.detail-tabs a:hover { color: var(--red); background: var(--red-soft); }
.manager-kpis { margin-top: 18px; }
.notice { display: flex; gap: 14px; margin: 22px 0; padding: 16px 18px; border-left: 3px solid var(--red); color: #6b5b5e; background: var(--red-soft); }
.notice b { color: var(--red); white-space: nowrap; }
.section-tools { display: flex; gap: 8px; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
table { width: 100%; min-width: 840px; border-collapse: collapse; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { color: #827c78; background: var(--paper); font-size: 10px; font-weight: 700; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fffafa; }
td.num, th.num { text-align: right; }
.security, .manager-link { color: var(--ink); font-weight: 750; text-decoration: none; }
.security:hover, .manager-link:hover { color: var(--red); }
.security-name { color: var(--ink); }
.source { color: #8a8581; font-size: 10px; }
.source.industry { max-width: 230px; overflow: hidden; text-overflow: ellipsis; }
.sector { display: inline-block; padding: 3px 7px; border-radius: 4px; color: var(--blue); background: #f0f5fb; font-size: 10px; }
.change { font-size: 11px; font-weight: 750; }
.increase, .new { color: var(--green); }
.decrease, .sold { color: var(--red); }
.unchanged { color: var(--muted); }
.timeline { display: grid; gap: 13px; padding: 24px; }
.bar-row { display: grid; grid-template-columns: 100px 1fr 135px; gap: 16px; align-items: center; }
.bar-row span { color: var(--muted); font-size: 11px; }
.bar-row strong { text-align: right; font-size: 12px; }
progress { width: 100%; height: 8px; border: 0; border-radius: 9px; background: #eee9e6; }
progress::-webkit-progress-bar { border-radius: 9px; background: #eee9e6; }
progress::-webkit-progress-value { border-radius: 9px; background: var(--red); }
progress::-moz-progress-bar { border-radius: 9px; background: var(--red); }

.search-console { display: grid; grid-template-columns: 1fr 260px auto; gap: 8px; margin: 14px 0 24px; padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.security-hero { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 42px 0 28px; }
.security-hero h1 { margin: 8px 0; font-size: 54px; line-height: 1.1; }
.security-hero p { color: var(--muted); }
.security-meta { text-align: right; }
.security-meta span, .security-meta b { display: block; }
.security-meta span { color: var(--red); font-size: 11px; }
.security-meta b { max-width: 440px; margin-top: 8px; }
.compact-head { margin-top: 18px; }
.compare-panel { padding: 22px; }
.compare-picks { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 18px; }
.compare-picks label span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 10px; }
.compare-picks select { width: 100%; min-width: 0; }
.compare-summary { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; margin-top: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--line); }
.compare-summary article { padding: 20px; background: var(--white); }
.compare-summary span, .compare-summary strong, .compare-summary small { display: block; }
.compare-summary span, .compare-summary small { color: var(--muted); font-size: 10px; }
.compare-summary strong { margin: 8px 0; font-size: 19px; }
.alert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.alert-card { display: grid; grid-template-columns: 74px 1fr; gap: 22px; padding: 30px; }
.alert-card h3 { margin: 0; font-size: 21px; }
.alert-card p { color: var(--muted); }
.alert-icon { display: grid; place-items: center; width: 68px; height: 68px; border: 1px solid var(--red); border-radius: 50%; color: var(--red); font-weight: 900; }
.alert-icon.pulse { color: var(--green); border-color: var(--green); font-size: 28px; }
.alert-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.sync-status { color: var(--muted); font-size: 11px; }
.sync-badge { padding: 8px 12px; border: 1px solid #cde0d8; border-radius: 20px; color: var(--green); background: #f4faf7; font-size: 11px; }
.source-stack { border-top: 1px solid var(--line); }
.source-stack article { display: grid; grid-template-columns: 70px 1fr 240px; gap: 24px; align-items: center; min-height: 190px; border-bottom: 1px solid var(--line); }
.source-stack > article > em { color: #e5d9d6; font: 900 38px/1 system-ui, sans-serif; }
.source-stack article > div > span { color: var(--red); font-size: 10px; }
.source-stack h2 { margin: 3px 0; font-size: 24px; }
.source-stack p { max-width: 700px; color: var(--muted); }
.source-stack a { color: var(--red); font-size: 11px; text-underline-offset: 4px; }
.source-count { padding: 20px; border-left: 1px solid var(--line); }
.source-count strong, .source-count span, .source-count small { display: block; }
.source-count strong { color: var(--red); font-size: 28px; }
.source-count span, .source-count small { color: var(--muted); font-size: 10px; }
.source-count small { margin-top: 12px; }
.data-boundary { margin-top: 50px; padding: 34px; border: 1px solid #ecd4d8; border-radius: 12px; background: linear-gradient(120deg, var(--red-soft), var(--white)); }
.data-boundary > div:last-child { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.data-boundary p { color: var(--muted); }
.data-boundary b { color: var(--red-dark); }
.empty, .loading, .error { display: grid; place-items: center; min-height: 220px; padding: 40px 20px; border: 1px dashed #d8d1cd; border-radius: 10px; color: var(--muted); background: var(--paper); text-align: center; }
.loading::before { content: ""; width: 26px; height: 26px; border: 2px solid #e4ddda; border-top-color: var(--red); border-radius: 50%; animation: spin .8s linear infinite; }
.compact { min-height: 100px; }
.error h2 { margin: 5px; color: var(--ink); }
.error-code { color: var(--red); font-size: 10px; letter-spacing: .16em; }
@keyframes spin { to { transform: rotate(360deg); } }

footer {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 60px;
  padding: 42px max(24px, calc((100vw - 1240px) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--paper);
  font-size: 11px;
}
footer strong { color: var(--red); font-size: 18px; }
footer p { margin: 6px 0 0; }

@media (max-width: 1050px) {
  .live-mark { display: none; }
  .home-hero { grid-template-columns: 1fr 1fr; gap: 26px; }
  .radar-card { padding: 30px; }
  .donut-wrap { grid-template-columns: 180px 1fr; }
  .manager-row { grid-template-columns: 30px 58px minmax(220px,1fr) minmax(300px,.9fr) 20px; }
  .manager-holdings { display: none; }
  .manager-hero { grid-template-columns: 260px 1fr; }
  .manager-hero-value { grid-column: 2; margin: 0 28px 26px 0; }
  .manager-portrait { grid-row: 1 / 3; }
  .compare-picks, .compare-summary { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  .topbar { min-height: 68px; padding: 0 20px; }
  .nav-toggle { display: block; }
  .topbar nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    display: none;
    align-items: stretch;
    padding: 10px 20px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 14px 24px rgba(58,37,31,.08);
  }
  .topbar nav.open { display: grid; grid-template-columns: 1fr 1fr; }
  .topbar nav a { min-height: 44px; justify-content: start; border: 0; border-radius: 7px; }
  .topbar nav a:hover, .topbar nav a.active { background: var(--red-soft); }
  main { width: min(100% - 36px, 720px); padding-top: 28px; }
  .home-hero { grid-template-columns: 1fr; padding-top: 8px; }
  .hero-copy { padding-right: 0; }
  .radar-card { min-height: 360px; }
  .people-grid { grid-template-columns: 1fr; }
  .person-card { display: grid; grid-template-columns: 40% 60%; }
  .person-image { height: 270px; }
  .person-info { display: flex; flex-direction: column; justify-content: center; border-top: 0; border-left: 3px solid var(--red); }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .cockpit-grid, .dual-section, .alert-grid { grid-template-columns: 1fr; }
  .manager-row { grid-template-columns: 30px 58px minmax(190px,1fr) 20px; }
  .manager-holdings { display: none; }
  .manager-metrics { grid-column: 3 / 5; width: min(100%, 360px); }
  .manager-arrow { grid-column: 4; grid-row: 1; }
  .manager-hero { grid-template-columns: 220px 1fr; gap: 24px; }
  .detail-tabs { top: 68px; overflow: auto; white-space: nowrap; }
  .search-console { grid-template-columns: 1fr 190px; }
  .search-console .button { grid-column: 1 / 3; }
  .source-stack article { grid-template-columns: 48px 1fr; }
  .source-count { grid-column: 2; padding: 0 0 20px; border-left: 0; }
  .data-boundary > div:last-child { grid-template-columns: 1fr; }
  .security-hero { align-items: start; flex-direction: column; }
  .security-meta { text-align: left; }
}

@media (max-width: 560px) {
  .brand { grid-template-columns: 38px auto; margin-right: 0; }
  .brand > span { width: 38px; height: 38px; }
  .brand small { display: none; }
  .brand b { grid-row: 1 / 3; }
  main { width: calc(100% - 28px); padding-bottom: 64px; }
  .hero-copy h1 { font-size: 41px; }
  .hero-copy > p { font-size: 14px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .radar-card { min-height: 330px; padding: 25px; border-radius: 4px 32px 4px 4px; }
  .radar-rings { right: -92px; }
  .radar-copy strong { font-size: 36px; }
  .people-section { padding: 52px 0; }
  .section { margin-top: 52px; }
  .section-head { align-items: start; flex-direction: column; }
  .section-head h2 { font-size: 24px; }
  .person-card { display: block; }
  .person-image { height: 275px; }
  .person-info { border-top: 3px solid var(--red); border-left: 0; }
  .page-head { align-items: start; }
  .page-head h1 { font-size: 36px; }
  .page-counter { display: none; }
  .kpi { min-height: 126px; padding: 18px; }
  .kpi strong { font-size: 25px; }
  .cockpit-grid .panel { min-height: 0; padding: 18px; }
  .donut-wrap { grid-template-columns: 140px minmax(0,1fr); gap: 9px; padding: 20px 0 0; }
  .movement-row { grid-template-columns: 82px 1fr 56px; gap: 7px; }
  .axis { margin-right: 56px; margin-left: 89px; }
  .manager-row { grid-template-columns: 24px 48px minmax(0,1fr) 18px; gap: 10px; padding: 14px 0; }
  .manager-metrics { grid-column: 3 / 5; gap: 8px; }
  .manager-metrics strong { font-size: 13px; }
  .manager-avatar { width: 46px; height: 46px; }
  .manager-name h3 { font-size: 15px; }
  .manager-hero { display: block; }
  .manager-portrait { height: 330px; min-height: 0; }
  .manager-intro { padding: 22px; }
  .manager-intro h1 { font-size: 35px; }
  .manager-hero-value { margin: 0 22px 22px; }
  .notice { display: block; }
  .notice b { display: block; margin-bottom: 4px; }
  .section-tools { width: 100%; flex-wrap: wrap; }
  .section-tools select, .section-tools a { flex: 1; }
  .bar-row { grid-template-columns: 78px 1fr; }
  .bar-row strong { display: none; }
  .search-console { grid-template-columns: 1fr; }
  .search-console .button { grid-column: auto; }
  .compare-picks, .compare-summary { grid-template-columns: 1fr; }
  .alert-card { grid-template-columns: 1fr; }
  .source-stack article { grid-template-columns: 34px 1fr; gap: 14px; }
  .source-stack > article > em { font-size: 23px; }
  .source-count { grid-column: 2; }
  .security-hero h1 { font-size: 40px; }
  footer { grid-template-columns: 1fr; gap: 18px; padding: 32px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
