/* ============================================================
 * brand.css — CQTS 品牌组件层「国际奢华商业体」
 * 主页 + 全局骨架共用的高级组件
 * ============================================================ */

/* ========== 全局顶栏 ========== */
/* v23（客户要求「顶部导航栏变为磨砂玻璃质感，要高级」）：
   加深磨砂层次——背景透明度降到 0.72 让模糊可感知，blur 提到 20px、
   saturate 1.8 让透过的色彩更润；顶部叠 1px 内侧高光模拟玻璃切边，
   底部加极淡投影让顶栏「浮」在内容上 */
.site-header {
  position: sticky; top: 0; z-index: 200;
  display: flex; align-items: center; gap: 1rem;
  padding: 0 1.5rem; height: 3.75rem;
  background: hsl(var(--background) / 0.72);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid transparent;
  box-shadow: inset 0 1px 0 hsl(0 0% 100% / 0.07), 0 10px 30px -18px rgba(0, 0, 0, 0.25);
  transition: border-color var(--dur-med) var(--ease-lux), background var(--dur-med) var(--ease-lux);
}
.site-header.scrolled { border-bottom-color: hsl(var(--border) / 0.8); }

.site-brand {
  display: flex; align-items: baseline; gap: 0.625rem;
  text-decoration: none; white-space: nowrap;
}
.site-brand .brand-cn {
  font-family: var(--font-display);
  font-size: 1.125rem; font-weight: 700; letter-spacing: 0.06em;
  color: hsl(var(--foreground));
}
.site-brand .brand-en {
  font-size: 0.5625rem; font-weight: 600; letter-spacing: 0.18em;
  color: hsl(var(--gold)); text-transform: uppercase;
  display: block; line-height: 1.2;
}

.site-nav {
  display: flex; align-items: center; gap: 0.125rem;
  margin: 0 auto;
}
.site-nav a {
  position: relative;
  padding: 0.375rem 0.75rem;
  font-size: var(--fs-sm); font-weight: var(--fw-medium);
  color: hsl(var(--muted-foreground));
  border-radius: calc(var(--radius) - 2px);
  transition: color var(--dur-fast);
  display: inline-flex; align-items: center; gap: 0.375rem;
}
.site-nav a:hover { color: hsl(var(--foreground)); opacity: 1; }
.site-nav a.active { color: hsl(var(--foreground)); }
.site-nav a.active::after {
  content: ''; position: absolute; left: 0.75rem; right: 0.75rem; bottom: -2px;
  height: 2px; background: hsl(var(--gold)); border-radius: 1px;
}

.site-actions { display: flex; align-items: center; gap: 0.375rem; margin-left: auto; }

.icon-btn {
  width: 2.25rem; height: 2.25rem;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid transparent; border-radius: calc(var(--radius) - 2px);
  background: transparent; color: hsl(var(--muted-foreground));
  cursor: pointer; transition: all var(--dur-fast);
  font-size: var(--fs-xs); font-weight: var(--fw-semibold);
  text-decoration: none;
}
.icon-btn:hover { background: hsl(var(--accent)); color: hsl(var(--foreground)); opacity: 1; }

.site-user {
  display: inline-flex; align-items: center; gap: 0.375rem;
  font-size: var(--fs-xs); color: hsl(var(--muted-foreground));
  padding: 0.25rem 0.625rem;
  border: 1px solid hsl(var(--border)); border-radius: 999px;
  background: hsl(var(--card));
}
.site-user a { color: hsl(var(--muted-foreground)); display: inline-flex; align-items: center; gap: 0.25rem; }
.site-user a:hover { color: hsl(var(--foreground)); opacity: 1; }

/* ========== 通用品牌元素 ========== */

/* 小号大写标签（国际感关键元素） */
.kicker {
  font-size: 0.6875rem; font-weight: var(--fw-semibold);
  letter-spacing: 0.22em; text-transform: uppercase;
  color: hsl(var(--gold));
  display: inline-flex; align-items: center; gap: 0.625rem;
}
.kicker::before {
  content: ''; width: 2rem; height: 1px; background: hsl(var(--gold));
}

/* 衬线大标题 */
.display-title {
  font-family: var(--font-display);
  font-weight: 600; letter-spacing: 0.02em;
  color: hsl(var(--foreground));
  line-height: 1.15;
}

/* 金色描边按钮（主 CTA） */
.btn-gold {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  height: 2.875rem; padding: 0 2rem;
  font-size: var(--fs-sm); font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  color: hsl(var(--gold-foreground));
  background: hsl(var(--gold));
  border: 1px solid hsl(var(--gold));
  border-radius: 2px;   /* 奢华 = 锐利小圆角 */
  cursor: pointer; text-decoration: none;
  transition: all var(--dur-med) var(--ease-lux);
}
.btn-gold::after {   /* 扫光效果 */
  content: ''; position: absolute; top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, hsl(0 0% 100% / 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease-lux);
}
.btn-gold:hover { opacity: 1; box-shadow: var(--shadow-gold); transform: translateY(-1px); }
.btn-gold:hover::after { left: 130%; }

/* 幽灵描边按钮（次 CTA） */
.btn-ghost-lux {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  height: 2.875rem; padding: 0 2rem;
  font-size: var(--fs-sm); font-weight: var(--fw-medium);
  letter-spacing: 0.08em;
  color: hsl(var(--foreground));
  background: transparent;
  border: 1px solid hsl(var(--foreground) / 0.3);
  border-radius: 2px;
  cursor: pointer; text-decoration: none;
  transition: all var(--dur-med) var(--ease-lux);
}
.btn-ghost-lux:hover {
  border-color: hsl(var(--gold)); color: hsl(var(--gold)); opacity: 1;
}

/* ========== 主页 Hero ========== */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: hsl(42 16% 8%);   /* 深色 Hero 基底 */
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.55;
  transform: scale(1.08);   /* Ken Burns 起点，GSAP 接管 */
}
.hero-bg::after {   /* 深色蒙版：下深上浅保证文字可读 */
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    hsl(42 16% 8% / 0.55) 0%,
    hsl(42 16% 8% / 0.25) 40%,
    hsl(42 16% 8% / 0.82) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  text-align: center; padding: 6rem 1.5rem 4rem;
  color: hsl(40 33% 96%);
  max-width: 56rem;
}
.hero .kicker { color: hsl(var(--gold-bright)); justify-content: center; }
.hero .kicker::before { background: hsl(var(--gold-bright)); }
.hero .kicker::after { content: ''; width: 2rem; height: 1px; background: hsl(var(--gold-bright)); }

.hero-title-cn {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 700; letter-spacing: 0.08em;
  line-height: 1.1; margin: 1.5rem 0 0.75rem;
  text-shadow: 0 2px 24px rgb(0 0 0 / 0.35);
}
.hero-title-en {
  font-family: var(--font-display);
  font-size: clamp(0.8125rem, 1.8vw, 1.125rem);
  font-weight: 500; letter-spacing: 0.42em; text-transform: uppercase;
  color: hsl(var(--gold-bright));
  margin-bottom: 1.75rem;
}
.hero-sub {
  font-size: clamp(0.9375rem, 1.6vw, 1.125rem);
  color: hsl(40 20% 82%);
  max-width: 36rem; margin: 0 auto 2.5rem;
  font-weight: var(--fw-normal);
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero .btn-ghost-lux { color: hsl(40 33% 92%); border-color: hsl(40 33% 92% / 0.4); }
.hero .btn-ghost-lux:hover { border-color: hsl(var(--gold-bright)); color: hsl(var(--gold-bright)); }

/* 向下滚动提示 */
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: hsl(40 20% 70%); font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.hero-scroll::after {
  content: ''; width: 1px; height: 2.5rem;
  background: linear-gradient(180deg, hsl(var(--gold-bright)), transparent);
  animation: scrollPulse 2s var(--ease-lux) infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ========== 主页数据带 ========== */
.stats-band {
  position: relative; z-index: 2;
  background: hsl(42 16% 8%);
  border-top: 1px solid hsl(var(--gold) / 0.25);
  padding: 3.5rem 1.5rem;
}
.stats-inner {
  max-width: 72rem; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
}
.stat-item { text-align: center; position: relative; }
.stat-item + .stat-item::before {
  content: ''; position: absolute; left: -1rem; top: 15%; bottom: 15%;
  width: 1px; background: hsl(40 20% 90% / 0.12);
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 700;
  color: hsl(40 33% 94%); line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat-value .stat-unit { font-size: 0.45em; font-weight: 500; color: hsl(var(--gold-bright)); margin-left: 0.25rem; letter-spacing: 0.05em; }
.stat-label {
  margin-top: 0.625rem;
  font-size: 0.6875rem; font-weight: var(--fw-medium);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: hsl(40 15% 60%);
}

/* ========== 主页功能入口 ========== */
.entries { padding: 6rem 1.5rem; max-width: 80rem; margin: 0 auto; }
.entries-head { text-align: center; margin-bottom: 3.5rem; }
.entries-head .kicker { justify-content: center; }
.entries-head .kicker::after { content: ''; width: 2rem; height: 1px; background: hsl(var(--gold)); }
.entries-title { font-family: var(--font-display); font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 700; margin-top: 1rem; }
.entries-sub { color: hsl(var(--muted-foreground)); margin-top: 0.75rem; font-size: var(--fs-base); }

.entry-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.entry-card {
  position: relative;
  display: block; padding: 2rem 1.75rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 4px;
  text-decoration: none; color: inherit;
  transition: all var(--dur-med) var(--ease-lux);
  overflow: hidden;
}
.entry-card::before {   /* 顶部金线 */
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: hsl(var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-med) var(--ease-lux);
}
.entry-card:hover { opacity: 1; transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: hsl(var(--gold) / 0.4); }
.entry-card:hover::before { transform: scaleX(1); }
.entry-icon {
  width: 2.75rem; height: 2.75rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid hsl(var(--gold) / 0.35); border-radius: 2px;
  color: hsl(var(--gold)); margin-bottom: 1.25rem;
  transition: all var(--dur-med) var(--ease-lux);
}
.entry-card:hover .entry-icon { background: hsl(var(--gold)); color: hsl(var(--gold-foreground)); }
.entry-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; display: flex; align-items: center; justify-content: space-between; }
.entry-name .icon { color: hsl(var(--muted-foreground)); transition: all var(--dur-med) var(--ease-lux); }
.entry-card:hover .entry-name .icon { color: hsl(var(--gold)); transform: translate(2px, -2px); }
.entry-desc { margin-top: 0.5rem; font-size: var(--fs-sm); color: hsl(var(--muted-foreground)); line-height: 1.7; }

/* ========== 主页画廊 ========== */
.gallery { padding: 0 0 6rem; overflow: hidden; }
.gallery-head { text-align: center; margin-bottom: 2.5rem; padding: 0 1.5rem; }
.gallery-head .kicker { justify-content: center; }
.gallery-head .kicker::after { content: ''; width: 2rem; height: 1px; background: hsl(var(--gold)); }
.gallery-title { font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; margin-top: 1rem; }
.gallery-sub { color: hsl(var(--muted-foreground)); margin-top: 0.5rem; font-size: var(--fs-sm); }
.gallery-track {
  display: flex; gap: 1rem; width: max-content;
  animation: galleryScroll 45s linear infinite;
}
.gallery-track:hover { animation-play-state: paused; }
.gallery-track img {
  height: 15rem; width: auto; border-radius: 4px; object-fit: cover;
  filter: saturate(0.9);
  transition: filter var(--dur-med);
}
.gallery-track img:hover { filter: saturate(1.1); }
@keyframes galleryScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ========== 主页页脚 ========== */
.site-footer {
  background: hsl(42 16% 8%);
  color: hsl(40 15% 62%);
  padding: 3.5rem 1.5rem 2.5rem;
  text-align: center;
}
.site-footer .footer-brand {
  font-family: var(--font-display);
  font-size: 1.375rem; font-weight: 700; letter-spacing: 0.1em;
  color: hsl(40 33% 92%);
}
.site-footer .footer-line { margin-top: 0.75rem; font-size: var(--fs-xs); letter-spacing: 0.08em; }
.site-footer .footer-links { margin-top: 1.5rem; display: flex; gap: 1.5rem; justify-content: center; font-size: var(--fs-xs); }
.site-footer .footer-links a { color: hsl(40 15% 62%); }
.site-footer .footer-links a:hover { color: hsl(var(--gold-bright)); opacity: 1; }
.site-footer .footer-copy { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid hsl(40 20% 90% / 0.08); font-size: 0.6875rem; }

/* ========== Preloader ========== */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: hsl(42 16% 8%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem;
  transition: opacity 0.6s var(--ease-lux), visibility 0.6s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-text {
  font-family: var(--font-display);
  font-size: 1.25rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: hsl(40 33% 92%);
  display: flex;
}
.preloader-text span { opacity: 0; transform: translateY(12px); display: inline-block; animation: preloaderChar 0.7s var(--ease-lux) forwards; }
@keyframes preloaderChar { to { opacity: 1; transform: translateY(0); } }
.preloader-bar {
  width: 8rem; height: 1px; background: hsl(40 20% 90% / 0.15);
  position: relative; overflow: hidden;
}
.preloader-bar::after {
  content: ''; position: absolute; inset: 0;
  background: hsl(var(--gold-bright));
  transform: translateX(-100%);
  animation: preloaderBar 1.2s var(--ease-lux) forwards;
}
@keyframes preloaderBar { to { transform: translateX(0); } }

/* ========== 内容浮现（GSAP 增强，无 JS 时降级可见） ========== */
.reveal { opacity: 0; transform: translateY(28px); }
html:not(.js) .reveal, .reveal.revealed { opacity: 1; transform: none; }

/* ========== 主页顶栏：Hero 上悬浮透明 → 滚动后毛玻璃 ========== */
.home-header {
  position: fixed; left: 0; right: 0;
  background: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
/* 品牌区：LOGO 与文字垂直居中（修 baseline 造成的视觉偏移） */
.home-header .site-brand { align-items: center; }
.home-header .brand-logo { height: 2.25rem; width: auto; }
/* 头图上用金色 lux 版；滚出浅色毛玻璃后换灰色标准版 */
.home-header .brand-logo.logo-std { display: none; }
.home-header.scrolled .brand-logo.logo-lux { display: none; }
.home-header.scrolled .brand-logo.logo-std { display: block; }
/* 深色主题下毛玻璃也是深色 → 继续用 lux 版 */
[data-theme="dark"] .home-header.scrolled .brand-logo.logo-lux { display: block; }
[data-theme="dark"] .home-header.scrolled .brand-logo.logo-std { display: none; }
.home-header .brand-cn { color: hsl(40 33% 96%); transition: color var(--dur-med); }
.home-header .icon-btn { color: hsl(40 20% 88%); }
.home-header .icon-btn:hover { background: hsl(0 0% 100% / 0.12); color: hsl(0 0% 100%); }
/* 头图上的导航链接：亮色保证可读（默认 muted 灰在深色图上不可见） */
.home-header .site-nav a { color: hsl(40 22% 90%); text-shadow: 0 1px 8px rgba(0,0,0,0.45); }
.home-header .site-nav a:hover { color: hsl(0 0% 100%); }
.home-header .site-nav a.active { color: hsl(var(--gold-bright)); }
.home-header .site-nav a.active::after { background: hsl(var(--gold-bright)); }
/* v23：滚动后磨砂玻璃与 .site-header 同参数（子页顶栏常驻 scrolled 态，
   此规则优先级更高，须同步升级，否则磨砂只改了基础层不生效） */
.home-header.scrolled {
  background: hsl(var(--background) / 0.72);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  box-shadow: inset 0 1px 0 hsl(0 0% 100% / 0.07), 0 10px 30px -18px rgba(0, 0, 0, 0.25);
}
.home-header.scrolled .brand-cn { color: hsl(var(--foreground)); }
.home-header.scrolled .icon-btn { color: hsl(var(--muted-foreground)); }
.home-header.scrolled .icon-btn:hover { background: hsl(var(--accent)); color: hsl(var(--foreground)); }
.home-header.scrolled .site-nav a { color: hsl(var(--muted-foreground)); text-shadow: none; }
.home-header.scrolled .site-nav a:hover { color: hsl(var(--foreground)); }
.home-header.scrolled .site-nav a.active { color: hsl(var(--foreground)); }
.home-header.scrolled .site-nav a.active::after { background: hsl(var(--gold)); }

/* ============================================================
 * 响应式
 * ============================================================ */
@media (max-width: 900px) {
  .entry-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1rem; }
  .stat-item:nth-child(3)::before { display: none; }
}

@media (max-width: 768px) {
  .site-header { padding: 0 1rem; height: 3.25rem; gap: 0.5rem; }
  .site-brand .brand-cn { font-size: 1rem; }
  .site-brand .brand-en { display: none; }
  .site-nav { display: none; }   /* 移动端用抽屉导航（JS 控制） */
  .hero-content { padding: 5rem 1.25rem 3rem; }
  .hero-cta .btn-gold, .hero-cta .btn-ghost-lux { height: 2.625rem; padding: 0 1.5rem; }
  .gallery-track img { height: 11rem; }
  .entries { padding: 4rem 1.25rem; }
}

@media (max-width: 560px) {
  .entry-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}

/* 移动端抽屉导航 */
.mobile-nav {
  position: fixed; inset: 0; z-index: 300;
  background: hsl(var(--background));
  display: flex; flex-direction: column;
  padding: 1rem 1.5rem 2rem;
  transform: translateX(100%);
  transition: transform var(--dur-med) var(--ease-lux);
  visibility: hidden;
}
.mobile-nav.open { transform: translateX(0); visibility: visible; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; height: 3.25rem; margin-bottom: 2rem; }
.mobile-nav a {
  display: flex; align-items: center; gap: 0.875rem;
  padding: 1rem 0.5rem;
  font-family: var(--font-display);
  font-size: 1.375rem; font-weight: 600;
  color: hsl(var(--foreground));
  border-bottom: 1px solid hsl(var(--border));
}
.mobile-nav a .icon { color: hsl(var(--gold)); }
.mobile-nav a.active { color: hsl(var(--gold)); }

/* 汉堡按钮：仅移动端显示 */
.nav-burger { display: none; }
@media (max-width: 768px) {
  .nav-burger { display: inline-flex; }
  .site-header .site-user span { display: none; }   /* 用户胶囊只留图标 */
}

/* ============================================================
 * 系统内页 — 奢华组件覆写
 * ============================================================ */

/* KPI 指标网格 */
.kpi-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.875rem; margin-bottom: 1.25rem;
}
.card.kpi-card-new {
  margin-bottom: 0;
  border-left: 2px solid hsl(var(--gold));
  transition: transform var(--dur-med) var(--ease-lux), box-shadow var(--dur-med) var(--ease-lux);
}
.card.kpi-card-new:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.kpi-label-new {
  display: flex; align-items: center; gap: 0.375rem;
  font-size: 0.6875rem; font-weight: var(--fw-semibold);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}
.kpi-label-new .icon { color: hsl(var(--gold)); }
.kpi-number-new {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 700; line-height: 1.2;
  color: hsl(var(--foreground));
  margin-top: 0.375rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.kpi-sub-new { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi-sub-new {
  margin-top: 0.25rem;
  font-size: var(--fs-xs); color: hsl(var(--muted-foreground));
}

/* 卡片标题图标对齐 + 衬线化 */
.card h2 {
  display: flex; align-items: center; gap: 0.625rem;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}
.card h2 .icon { color: hsl(var(--gold)); flex-shrink: 0; }

/* 空状态提示 */
.empty-note { color: hsl(var(--muted-foreground)); font-size: var(--fs-sm); }

/* 表格细节：表头小号大写、行 hover */
.card table th {
  font-size: 0.6875rem; font-weight: var(--fw-semibold);
  letter-spacing: 0.06em;
  color: hsl(var(--muted-foreground));
  white-space: nowrap;
}
.card table tbody tr, .card table tr:has(td) {
  transition: background var(--dur-fast);
}
.card table tr:has(td):hover { background: hsl(var(--gold-soft) / 0.5); }

/* 年度分区标题 */
.year-title {
  font-family: var(--font-display);
  font-weight: 600; letter-spacing: 0.03em;
}

/* 档期名称链接 → 金色调 */
.schedule-name-link { color: hsl(var(--gold)) !important; text-decoration: none; }
.schedule-name-link:hover { text-decoration: underline; opacity: 1; }

/* 复选筛选标签 */
.preset-filter-checkbox, .holiday-filter-checkbox { accent-color: hsl(var(--gold)); }

/* 水平翻转图标（用于“上一周”左箭头） */
.flip-h { transform: scaleX(-1); }


/* ============================================================
 * 表格排版规范（港资财报习惯）
 * 表头居中；数字/金额右对齐+等宽数字+不换行；日期居中不换行
 * ============================================================ */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl-wrap table th { text-align: center; white-space: nowrap; }
.tbl-wrap table td.num, .card table td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tbl-wrap table td.c, .card table td.c { text-align: center; white-space: nowrap; }
.tbl-wrap table td { vertical-align: middle; }
/* YOY 单元格本身含括号百分比，允许整体不换行 */
.tbl-wrap table td.yoy-positive, .tbl-wrap table td.yoy-negative { white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }

/* ===== 数据系统顶栏：品牌返回链接 + 分隔 ===== */
.site-nav .back-brand { color: hsl(var(--gold)); }
.site-nav .nav-divider { width: 1px; height: 1.25rem; background: hsl(var(--gold) / 0.4); margin: 0 0.375rem; align-self: center; }
