:root {
  --sf-purple: #18181B;
  --sf-deep: #09090B;
  --sf-blue: #059669;
  --sf-pink: #10B981;
  --sf-emerald: #059669;
  --sf-ink: #09090B;
  --sf-muted: #5E5B54;
  --sf-line: #E6E2D8;
  --sf-bg-soft: #F3F0E8;
  --sf-radius: 12px;
  --sf-font: "Inter", "PingFang SC", "Microsoft YaHei UI", "HarmonyOS Sans SC", "Noto Sans SC", system-ui, sans-serif;
  --sf-serif: "Inter", "PingFang SC", "Microsoft YaHei UI", "HarmonyOS Sans SC", "Noto Sans SC", system-ui, sans-serif;
  --sf-mono: "JetBrains Mono", "Cascadia Code", Consolas, "SFMono-Regular", Menlo, monospace;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sf-font);
  -webkit-font-smoothing: antialiased;
  background: #FAF9F5;
  color: #09090B;
}

.xlh-aurora {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(820px 480px at 10% -6%, rgba(24, 24, 27, 0.16) 0%, transparent 62%),
    radial-gradient(860px 500px at 90% 8%, rgba(16, 185, 129, 0.12) 0%, transparent 62%),
    radial-gradient(720px 420px at 52% 115%, rgba(9, 9, 11, 0.10) 0%, transparent 60%);
}

.xlh-hero-title,
.xlh-hero-h1 {
  font-family: var(--sf-serif);
  font-size: clamp(36px, 4.8vw, 56px);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.12;
}

.xlh-grad-text {
  background: linear-gradient(105deg, #09090B 0%, #3F3F46 58%, #7A766E 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html[data-theme=dark] .xlh-grad-text {
  background: linear-gradient(105deg, #FFFFFF 0%, #DDD8CC 60%, #9C978E 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.xlh-btn-grad {
  background: #09090B !important;
  border: 1px solid #09090B !important;
  color: #FFFFFF !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
}
.xlh-btn-grad:hover {
  background: #27272A !important;
  border-color: #27272A !important;
}

.xlh-btn-ghost {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #fff !important;
  border-radius: 10px !important;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.xlh-card {
  background: #FFFFFF;
  border: 1px solid var(--sf-line);
  border-radius: var(--sf-radius);
  box-shadow: 0 2px 6px rgba(9, 9, 11, 0.03);
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.25, 1), box-shadow 0.22s ease, border-color 0.22s ease;
}

.xlh-card.hoverable:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(9, 9, 11, 0.08);
  border-color: #DFC3B4;
}

.xlh-section-title {
  font-family: var(--sf-serif);
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--sf-ink);
}

.xlh-section-sub {
  color: var(--sf-muted);
  font-size: 15px;
}

.xlh-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #09090B;
  background: #F3F0E8;
  border: 1px solid #E6E2D8;
  padding: 5px 13px;
  border-radius: 999px;
}

.xlh-code-block {
  background: #09090B;
  color: #EDE8DF;
  border-radius: 12px;
  font-size: 12.5px;
  line-height: 1.72;
  padding: 16px 18px;
  overflow-x: auto;
  font-family: "JetBrains Mono", SFMono-Regular, Menlo, Consolas, monospace;
  margin: 0;
}

.xlh-code-block .c { color: #7A766E; }
.xlh-code-block .k { color: #E6E2D8; }
.xlh-code-block .s { color: #6EE7B7; }
.xlh-code-block .n { color: #FCD34D; }
.xlh-code-block .o { color: #FDA4AF; }

.xlh-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13.5px;
  border: 1px solid var(--sf-line);
  border-radius: 12px;
  overflow: hidden;
}

.xlh-table th {
  background: #F3F0E8;
  color: #18181B;
  font-weight: 600;
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--sf-line);
}

.xlh-table td {
  padding: 11px 14px;
  border-bottom: 1px solid #EFECE6;
  color: #44403C;
}

.xlh-table tr:last-child td {
  border-bottom: none;
}

.xlh-table tr:hover td {
  background: #FAF9F5;
}

.xlh-foot-link {
  color: #A8A29A;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s;
}

.xlh-foot-link:hover {
  color: #E6E2D8;
}

.xlh-nav-mobile {
  display: none !important;
}

@media (max-width: 1280px) {
  .xlh-switcher-label, .xlh-icon-btn-label { display: none !important; }
}
@media (max-width: 1120px) {
  .xlh-nav { display: none !important; }
  .xlh-nav-mobile { display: inline-flex !important; }
}
@media (min-width: 1121px) {
  .xlh-nav-mobile { display: none !important; }
}
@media (max-width: 560px) {
  .xlh-auth-desktop, .xlh-console-desktop, .xlh-wordmark-en { display: none !important; }
  .xlh-header-inner { height: 56px !important; padding: 0 12px !important; gap: 8px !important; }
  .xlh-header-actions { gap: 5px !important; }
}
@media (max-width: 400px) {
  .xlh-wordmark-word { font-size: 15px !important; }
  .xlh-header-actions { gap: 3px !important; }
}
@media (max-width: 768px) {
  .xlh-foot-grid { flex-direction: column !important; align-items: center !important; text-align: center !important; gap: 26px !important; }
  .xlh-foot-grid > div { max-width: 100% !important; }
  .xlh-foot-grid .ant-space { justify-content: center; }
  .xlh-foot-bottom { justify-content: center !important; text-align: center !important; }
}

@keyframes xlh-rise {
  0% { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.xlh-anim-rise { animation: xlh-rise 0.55s cubic-bezier(0.22, 0.8, 0.3, 1) both; }

@keyframes xlh-fadein {
  0% { opacity: 0; }
  to { opacity: 1; }
}
.xlh-anim-fade { animation: xlh-fadein 0.7s ease both; }

.xlh-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s cubic-bezier(0.2, 0.8, 0.25, 1), transform 0.65s cubic-bezier(0.2, 0.8, 0.25, 1);
}
.xlh-reveal.xlh-in {
  opacity: 1;
  transform: none;
}

.xlh-count {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

@keyframes xlh-pulse-dot {
  0%, to { opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  50% { opacity: 0.8; box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); }
}
.xlh-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #059669;
  display: inline-block;
  animation: xlh-pulse-dot 1.8s infinite;
}

.xlh-dark-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.xlh-dark-card:hover {
  transform: translateY(-4px);
  border-color: rgba(24, 24, 27, 0.55);
  box-shadow: 0 18px 44px rgba(20, 16, 12, 0.5);
}

.xlh-grid-bg {
  background-image: radial-gradient(rgba(9, 9, 11, 0.11) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 25%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 25%, #000 30%, transparent 78%);
}

html[data-theme=dark] .xlh-grid-bg {
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
}

@keyframes xlh-float {
  0%, to { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.xlh-float { animation: xlh-float 5s ease-in-out infinite; }

@keyframes xlh-marquee {
  0% { transform: translate(0); }
  to { transform: translate(-50%); }
}
.xlh-marquee-track { display: inline-flex; gap: 12px; animation: xlh-marquee 26s linear infinite; }
.xlh-marquee:hover .xlh-marquee-track { animation-play-state: paused; }

.xlh-page { animation: xlh-fadein 0.35s ease both; }
.xlh-trust-dot { display: inline-block; flex-shrink: 0; }

/* Hero Layout */
.xlh-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: center;
  text-align: left;
}
.xlh-hero-copy, .xlh-hero-right { min-width: 0; }

@media (max-width: 920px) {
  .xlh-hero-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .xlh-hero-copy { text-align: center; }
  .xlh-hero-copy p { margin-left: auto !important; margin-right: auto !important; }
  .xlh-hero-cta { justify-content: center; }
}

/* 4-Column Architectural Bento Advantage Grid */
.xlh-adv-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.xlh-adv-grid .xlh-card {
  border-top: 3px solid #09090B;
  position: relative;
}
.xlh-adv-grid > *:nth-child(even) .xlh-card {
  border-top-color: #059669;
}

@media (max-width: 1080px) {
  .xlh-adv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 2x2 Editorial Manifesto About Grid */
.xlh-about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 768px) {
  .xlh-about-grid { grid-template-columns: 1fr; }
}

/* New Full-Width 3-Column Hero Bento Workbench & Architectural Grid */
.xlh-home-bento {
  display: grid;
  grid-template-columns: 1.28fr 1fr 0.72fr;
  gap: 16px;
  align-items: stretch;
  text-align: left;
}
.xlh-arch-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 1020px) {
  .xlh-home-bento { grid-template-columns: 1fr 1fr; }
  .xlh-home-bento > :last-child { grid-column: 1 / -1; flex-direction: row !important; }
  .xlh-arch-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .xlh-home-bento { grid-template-columns: 1fr; }
  .xlh-home-bento > :last-child { flex-direction: column !important; }
}

/* Dynamic Security, Routing & Stability Animations */
@keyframes xlh-scan {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(220%); }
}
.xlh-scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #18181B 45%, #10B981 80%, transparent);
  animation: xlh-scan 3.4s ease-in-out infinite;
  z-index: 4;
}

@keyframes xlh-flow {
  0% { left: -35%; opacity: 0.2; }
  50% { opacity: 1; }
  100% { left: 105%; opacity: 0.2; }
}
.xlh-flow-pulse {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 34%;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, #18181B, #059669);
  animation: xlh-flow 2.1s linear infinite;
}
.xlh-flow-pulse-2 {
  animation-delay: 0.7s;
  background: linear-gradient(90deg, transparent, #059669, #10B981);
}

@keyframes xlh-radar {
  0% { transform: scale(0.8); opacity: 0.9; }
  70% { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}
.xlh-shield-radar {
  position: relative;
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.xlh-shield-radar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #09090B;
  animation: xlh-radar 2.2s cubic-bezier(0.2, 0.8, 0.25, 1) infinite;
}
.xlh-shield-core {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #09090B;
}

@keyframes xlh-wave {
  0%, 100% { transform: scaleY(0.78); opacity: 0.68; }
  50% { transform: scaleY(1.06); opacity: 1; }
}
.xlh-wave-bar {
  flex: 1;
  min-width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, #10B981, #059669);
  transform-origin: bottom;
  animation: xlh-wave 2.4s ease-in-out infinite;
}

.xlh-node-row {
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.xlh-node-row:hover {
  transform: translateX(3px);
  border-color: #DFC3B4 !important;
  box-shadow: 0 4px 12px rgba(9, 9, 11, 0.05);
}

.xlh-integrate-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 22px;
  align-items: stretch;
}
@media (max-width: 920px) {
  .xlh-integrate-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .xlh-adv-grid { grid-template-columns: 1fr; }
  .xlh-code-sub { display: none !important; }
}
@media (max-width: 560px) {
  .xlh-float-row { right: 10px !important; gap: 8px !important; }
  .xlh-cs-panel > div { width: 268px !important; }
}

/* Console Sidebar & Menu - Warm Parchment Style */
.xlh-side-menu {
  font-size: 13.5px;
  padding: 6px 0;
}
.xlh-side-menu .ant-menu-item {
  height: 40px;
  line-height: 40px;
  margin: 3px 10px;
  border-radius: 9px;
  font-weight: 500;
  transition: all 0.16s ease;
}
.xlh-side-menu .ant-menu-item .ant-menu-item-icon {
  font-size: 15px;
}
.xlh-side-menu .ant-menu-item-selected {
  background: #F3F0E8 !important;
  box-shadow: inset 3px 0 0 #09090B;
  font-weight: 700;
}
.xlh-side-menu .ant-menu-item-selected:after {
  display: none;
}
.xlh-side-menu .ant-menu-item-selected .ant-menu-item-icon,
.xlh-side-menu .ant-menu-item-selected a,
.xlh-side-menu .ant-menu-item-selected {
  color: #09090B !important;
}
.xlh-side-menu .ant-menu-item:not(.ant-menu-item-selected) {
  color: #5E5B54;
}
.xlh-side-menu .ant-menu-item:not(.ant-menu-item-selected):hover {
  background: #EAE4D9 !important;
  color: #09090B;
}

/* Dark Theme Rules */
html[data-theme=dark] body,
body[data-theme=dark] {
  background: #09090B;
  color: #F5F2EB;
  color-scheme: dark;
}
html[data-theme=dark] .xlh-card {
  background: #18181B;
  border-color: #27272A;
}
html[data-theme=dark] .xlh-card.hoverable:hover {
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
  border-color: #09090B;
}
html[data-theme=dark] .xlh-section-title,
html[data-theme=dark] .xlh-count {
  color: #F5F2EB;
}
html[data-theme=dark] .xlh-section-sub {
  color: #A8A29A;
}
html[data-theme=dark] .xlh-kicker {
  color: #E6E2D8;
  background: rgba(9, 9, 11, 0.18);
  border-color: rgba(24, 24, 27, 0.35);
}
html[data-theme=dark] .xlh-table {
  border-color: #27272A;
}
html[data-theme=dark] .xlh-table th {
  background: #09090B;
  color: #E6E2D8;
  border-color: #27272A;
}
html[data-theme=dark] .xlh-table td {
  border-color: #18181B;
  color: #C4BDB3;
}
html[data-theme=dark] .xlh-table tr:hover td {
  background: #211F1B;
}

/* Announcements */
.xlh-ann-list { display: flex; flex-direction: column; gap: 11px; }
@keyframes xlh-ann-in {
  0% { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.xlh-ann-row {
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  padding-left: 22px;
  animation: xlh-ann-in 0.42s cubic-bezier(0.2, 0.8, 0.25, 1) both;
}
.xlh-ann-row:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #18181B, #059669);
  opacity: 0;
  transition: opacity 0.2s;
}
.xlh-ann-row.is-unread:before { opacity: 1; }
.xlh-ann-go { opacity: 0.38; transition: opacity 0.2s, transform 0.2s; }
.xlh-ann-row:hover .xlh-ann-go { opacity: 1; transform: translate(3px); }
.xlh-ann-row:hover { border-color: #E2C2B3; }
html[data-theme=dark] .xlh-ann-row:hover { border-color: #09090B; }

.xlh-ann-chip {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  color: #09090B;
  background: #F3F0E8;
  border: 1px solid #E6E2D8;
  border-radius: 999px;
  padding: 1px 8px;
  line-height: 1.5;
}
html[data-theme=dark] .xlh-ann-chip {
  color: #E6E2D8;
  background: rgba(9, 9, 11, 0.22);
  border-color: rgba(24, 24, 27, 0.38);
}
.xlh-ann-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #18181B;
  flex: none;
  animation: xlh-pulse-dot 1.6s infinite;
}

html[data-theme=dark] .xlh-side-menu .ant-menu-item-selected {
  background: rgba(9, 9, 11, 0.22) !important;
  box-shadow: inset 3px 0 0 #18181B;
}
html[data-theme=dark] .xlh-side-menu .ant-menu-item-selected .ant-menu-item-icon,
html[data-theme=dark] .xlh-side-menu .ant-menu-item-selected a,
html[data-theme=dark] .xlh-side-menu .ant-menu-item-selected {
  color: #E6E2D8 !important;
}
html[data-theme=dark] .xlh-side-menu .ant-menu-item:not(.ant-menu-item-selected) {
  color: #A8A29A;
}
html[data-theme=dark] .xlh-side-menu .ant-menu-item:not(.ant-menu-item-selected):hover {
  background: #24221D !important;
  color: #F5F2EB;
}

/* Switcher & Popover */
.xlh-switcher { position: relative; display: inline-flex; }
.xlh-switcher > button,
.xlh-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  height: 32px;
  padding: 0 10px;
  border-radius: 9px;
  font-size: 13.5px;
  background: #FFFFFF;
  border: 1px solid #E6E2D8;
  color: #18181B;
  transition: all 0.15s;
}
.xlh-switcher > button:hover,
.xlh-icon-btn:hover {
  border-color: #09090B;
  color: #09090B;
}
.xlh-switcher > button.dark,
.xlh-icon-btn.dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  color: #E6E2D8;
}
.xlh-switcher > button.dark:hover,
.xlh-icon-btn.dark:hover {
  border-color: #E6E2D8;
  color: #E6E2D8;
}
.xlh-switcher-label {
  font-size: 12.5px;
  min-width: 68px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.xlh-switcher > button.mini .xlh-switcher-label { min-width: 0; }
.xlh-icon-btn-label { font-size: 12.5px; white-space: nowrap; }

.xlh-count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, #E05D38, #B83A1B);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1px;
  box-shadow: 0 2px 6px rgba(184, 58, 27, 0.32);
  flex: none;
}

.xlh-pop {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 1200;
  min-width: 176px;
  padding: 6px;
  background: #FFFFFF;
  border: 1px solid #E6E2D8;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(9, 9, 11, 0.06), 0 18px 40px rgba(9, 9, 11, 0.14);
  transform-origin: top right;
  animation: xlh-pop-in 0.16s cubic-bezier(0.22, 0.8, 0.3, 1) both;
}
@keyframes xlh-pop-in {
  0% { opacity: 0; transform: translateY(-6px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
.xlh-pop button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  height: 36px;
  padding: 0 10px;
  border: none;
  background: transparent;
  border-radius: 9px;
  font-size: 13px;
  color: #44403C;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
}
.xlh-pop button > .xlh-pop-ico { flex: none; width: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.xlh-pop button > .xlh-pop-txt { flex: 1; white-space: nowrap; }
.xlh-pop button > .xlh-pop-check { flex: none; font-size: 12px; color: #09090B; opacity: 0; transition: opacity 0.13s; }
.xlh-pop button:hover { background: #F3F0E8; color: #09090B; }
.xlh-pop button.on { background: #F7E6DC; color: #09090B; font-weight: 700; }
.xlh-pop button.on > .xlh-pop-check { opacity: 1; }

html[data-theme=dark] .xlh-pop {
  background: #1F1D1A;
  border-color: #332F29;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 18px 44px rgba(0, 0, 0, 0.65);
}
html[data-theme=dark] .xlh-pop button { color: #C4BDB3; }
html[data-theme=dark] .xlh-pop button:hover { background: rgba(9, 9, 11, 0.18); color: #E6E2D8; }
html[data-theme=dark] .xlh-pop button.on { background: rgba(9, 9, 11, 0.28); color: #F5B799; }
html[data-theme=dark] .xlh-pop button.on > .xlh-pop-check { color: #E6E2D8; }

@media (max-width: 560px) {
  .xlh-tc-lockup { gap: 8px !important; }
  .xlh-tc-pill { height: 52px !important; padding: 8px 12px !important; border-radius: 12px !important; }
  .xlh-tc-pill img { height: 30px !important; }
  .xlh-tc-line { width: 12px !important; }
  .xlh-tc-kicker { font-size: 11.5px !important; padding: 4px 9px !important; }
  .xlh-hero-h1 { font-size: clamp(32px, 9.2vw, 38px) !important; letter-spacing: -0.8px !important; }
  .xlh-hero-sub { font-size: 15px !important; }
  .xlh-hero-sub2 { font-size: 13.5px !important; }
  .xlh-hero-cta { gap: 10px !important; margin-top: 26px !important; }
  .xlh-hero-cta .ant-btn-lg { height: 46px !important; padding: 0 18px !important; font-size: 14.5px !important; }
  .xlh-adv-grid .xlh-card { padding: 18px !important; }
  .xlh-about-card { padding: 20px 18px !important; }
  .xlh-cta-title { font-size: 24px !important; }
  .xlh-tc-title { font-size: 15px !important; }
  .xlh-code-block { font-size: 11.5px !important; }
  .ant-drawer-content-wrapper { max-width: 100vw !important; }
}

@media (max-width: 768px) {
  .xlh-series-grid { grid-template-columns: 1fr !important; }
  .xlh-series-grid .xlh-card { padding: 18px !important; }
  .xlh-docs-layout { display: block !important; padding: 0 14px 32px !important; }
  .xlh-docs-aside { display: none !important; }
  .xlh-rk-split { grid-template-columns: 1fr !important; }
}
@media (max-width: 560px) {
  .xlh-rk-bar { width: 64px !important; }
  .xlh-rk-row { gap: 8px !important; }
  .xlh-rk-card { padding: 18px 16px !important; }
  .xlh-ann-body { padding: 20px 16px !important; }
  .xlh-ann-row { padding: 15px 14px 14px 18px !important; gap: 10px !important; }
}

.xlh-legal-body p { word-break: break-word; overflow-wrap: break-word; }

.xlh-models-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 1100px) {
  .xlh-models-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .xlh-models-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .xlh-models-grid { grid-template-columns: 1fr; }
}

@keyframes xlhPulse {
  0%, to { opacity: 0.35; }
  50% { opacity: 1; }
}

/* Invite & Benefits */
.xlh-invite-board { display: flex; flex-direction: column; gap: 18px; }
.xlh-invite-my { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.xlh-invite-count { font-size: 34px; font-weight: 800; line-height: 1.1; letter-spacing: -0.4px; font-variant-numeric: tabular-nums; }
.xlh-invite-subhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.xlh-invite-grid { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: stretch; }
.xlh-invite-card-body { display: flex; flex-direction: column; gap: 8px; height: 100%; }
.xlh-invite-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 16px;
  padding: 7px 10px;
  border-radius: 9px;
  background: rgba(9, 9, 11, 0.06);
  border: 1px solid rgba(9, 9, 11, 0.14);
}
html[data-theme=dark] .xlh-invite-metrics {
  background: rgba(9, 9, 11, 0.16);
  border-color: rgba(24, 24, 27, 0.28);
}
.xlh-invite-metric { display: inline-flex; align-items: baseline; gap: 4px; min-width: 0; }
.xlh-invite-metric-label { font-size: 10px; opacity: 0.7; line-height: 1.4; white-space: nowrap; }
.xlh-invite-metric-value { font-size: 12.5px; font-weight: 800; line-height: 1.35; font-variant-numeric: tabular-nums; white-space: nowrap; }
.xlh-invite-metric-value span { font-size: 9.5px; font-weight: 500; opacity: 0.66; }
.xlh-invite-grant { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: 10px; border: 1px solid; }
.xlh-invite-usage-row { display: flex; gap: 18px; flex-wrap: wrap; margin: 2px 0; }
.xlh-invite-usage-line { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; line-height: 1.7; }
.xlh-invite-usage-line b { font-variant-numeric: tabular-nums; }
.xlh-invite-rules { margin: 4px 0 0; padding-left: 17px; font-size: 12px; line-height: 1.9; }
.xlh-invite-rules li { margin: 2px 0; }

@media (min-width: 900px) {
  .xlh-invite-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xlh-invite-grid > .ant-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .xlh-invite-grid { grid-template-columns: 1fr; }
  .xlh-invite-count { font-size: 29px; }
  .xlh-invite-usage-row { gap: 10px; }
  .xlh-invite-usage-row > div { min-width: 100% !important; }
}

.xlh-benefits-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(9, 9, 11, 0.12);
}
.xlh-benefits-hero:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  background:
    radial-gradient(720px 360px at 88% 8%, rgba(24, 24, 27, 0.16), transparent 62%),
    radial-gradient(640px 320px at 6% 100%, rgba(16, 185, 129, 0.12), transparent 60%);
  mask-image: radial-gradient(ellipse 92% 88% at 50% 20%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 92% 88% at 50% 20%, #000 25%, transparent 78%);
}
.xlh-benefits-hero-inner { position: relative; max-width: 1200px; margin: 0 auto; padding: 54px 20px 42px; }
.xlh-benefits-hero h1 { font-family: var(--sf-serif); margin: 14px 0 0; font-size: clamp(32px, 4.6vw, 48px); line-height: 1.12; font-weight: 800; letter-spacing: -0.6px; }
.xlh-benefits-hero-sub { max-width: 720px; margin: 14px 0 0; font-size: 14.5px; line-height: 1.85; }
.xlh-benefits-hero-stats { display: flex; align-items: flex-end; gap: 34px; flex-wrap: wrap; margin-top: 28px; }
.xlh-benefits-hero-stat { display: flex; flex-direction: column; gap: 2px; min-width: 90px; }
.xlh-benefits-hero-stat b { font-size: 24px; font-weight: 800; line-height: 1.15; font-variant-numeric: tabular-nums; letter-spacing: -0.4px; }
.xlh-benefits-hero-stat span { font-size: 11.5px; opacity: 0.72; }
.xlh-benefits-board { display: flex; flex-direction: column; gap: 18px; }
.xlh-benefits-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.xlh-benefits-heading h2 { font-family: var(--sf-serif); margin: 3px 0 0; font-size: 26px; font-weight: 800; line-height: 1.2; }
.xlh-benefits-feature-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; align-items: center; }
.xlh-benefits-big { margin-top: 8px; font-size: clamp(30px, 4vw, 46px); font-weight: 800; line-height: 1.15; letter-spacing: -0.8px; font-variant-numeric: tabular-nums; }
.xlh-benefits-models-panel { min-width: 0; }
.xlh-benefits-models-panel > div:last-child { word-break: break-word; }
.xlh-benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; align-items: stretch; }
.xlh-benefits-card-body { display: flex; flex-direction: column; gap: 9px; height: 100%; }
.xlh-benefits-ico { width: 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; flex: none; }
.xlh-benefits-pkg { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; font-size: 12.5px; flex-wrap: wrap; }
.xlh-benefits-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.xlh-benefits-step { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border-radius: 14px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.xlh-benefits-step:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(9, 9, 11, 0.08); }
.xlh-benefits-step-num { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; flex: none; }
.xlh-benefits-rules { margin: 6px 0 0; padding-left: 18px; font-size: 12.5px; line-height: 1.9; }
.xlh-benefits-rules li { margin: 2px 0; }

@media (max-width: 900px) {
  .xlh-benefits-feature-grid { grid-template-columns: 1fr; gap: 18px; }
  .xlh-benefits-models-panel { border-left: none !important; border-top: 1px dashed rgba(9, 9, 11, 0.28); padding-left: 0 !important; padding-top: 16px; }
  .xlh-benefits-steps { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .xlh-benefits-hero-inner { padding: 38px 16px 30px; }
  .xlh-benefits-hero-sub { font-size: 13.5px; }
  .xlh-benefits-hero-stats { gap: 20px; margin-top: 22px; }
  .xlh-benefits-hero-stat b { font-size: 20px; }
  .xlh-benefits-heading h2 { font-size: 23px; }
  .xlh-benefits-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .xlh-benefits-feature .ant-card-body { padding: 20px 16px !important; }
  .xlh-benefits-pkg { font-size: 12px; }
}

/* Global Ant Design Warm Editorial Overrides */
.ant-card {
  border-radius: 12px !important;
}
.ant-btn-primary {
  box-shadow: 0 4px 12px rgba(9, 9, 11, 0.22);
}
.ant-table-wrapper .ant-table-thead > tr > th {
  background: #F3F0E8 !important;
  color: #18181B !important;
  border-bottom-color: #E6E2D8 !important;
}
html[data-theme=dark] .ant-table-wrapper .ant-table-thead > tr > th {
  background: #09090B !important;
  color: #E6E2D8 !important;
  border-bottom-color: #27272A !important;
}
.ant-layout-sider-trigger {
  background: #E6E2D8 !important;
  color: #5E5B54 !important;
  border-top: 1px solid #E6E2D8 !important;
  border-right: 1px solid #E6E2D8 !important;
  transition: background 0.2s, color 0.2s;
}
.ant-layout-sider-trigger:hover {
  background: #E7DFD1 !important;
  color: #09090B !important;
}
html[data-theme=dark] .ant-layout-sider-trigger {
  background: #18181B !important;
  color: #9C978E !important;
  border-top-color: #27272A !important;
  border-right-color: #27272A !important;
}
html[data-theme=dark] .ant-layout-sider-trigger:hover {
  background: #18181B !important;
  color: #18181B !important;
}
.ant-layout-sider-children {
  padding-bottom: 52px;
}

/* Flagship Split Hero + Security Architecture + Model Plaza Workspace */
.xlh-split-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.08fr);
  gap: 36px;
  align-items: center;
}
.xlh-sec-split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
  gap: 20px;
  align-items: stretch;
}
.xlh-plaza-layout {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.xlh-plaza-rail {
  position: sticky;
  top: 76px;
}
.xlh-plaza-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.xlh-mcard {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.xlh-mcard:hover {
  transform: translateY(-3px);
  border-color: rgba(9, 9, 11, 0.45) !important;
  box-shadow: 0 14px 32px rgba(9, 9, 11, 0.08);
}
html[data-theme=dark] .xlh-mcard:hover {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.42);
}
.xlh-code-tab {
  padding: 4px 10px;
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.16s ease;
}
.xlh-rail-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.xlh-rail-item:hover {
  background: rgba(9, 9, 11, 0.07);
}
@media (max-width: 1180px) {
  .xlh-plaza-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .xlh-split-hero, .xlh-sec-split { grid-template-columns: 1fr; gap: 24px; }
  .xlh-plaza-layout { grid-template-columns: 1fr; }
  .xlh-plaza-rail { position: static; }
}
@media (max-width: 640px) {
  .xlh-plaza-grid { grid-template-columns: 1fr; }
}

/* Redesigned Header Utility Dock (Image 3) */
.xlh-util-dock {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px 4px;
  border-radius: 12px;
  background: rgba(9, 9, 11, 0.04);
  border: 1px solid #E6E2D8;
}
html[data-theme=dark] .xlh-util-dock {
  background: rgba(255, 255, 255, 0.05);
  border-color: #27272A;
}
.xlh-util-dock .ant-btn,
.xlh-util-dock button {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 8px !important;
}
.xlh-util-dock .ant-btn:hover,
.xlh-util-dock button:hover {
  background: rgba(9, 9, 11, 0.1) !important;
  color: #09090B !important;
}
.xlh-nav-link {
  position: relative;
  padding: 8px 14px;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.16s ease;
  white-space: nowrap;
}
.xlh-nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: #09090B;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.xlh-nav-link.is-active::after,
.xlh-nav-link:hover::after {
  transform: scaleX(1);
}

/* High-Impact Rankings Podium & Bars */
.xlh-podium-grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}
.xlh-rk-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.xlh-rk-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.95fr);
  gap: 20px;
  align-items: start;
}
@media (max-width: 960px) {
  .xlh-podium-grid, .xlh-rk-main-grid { grid-template-columns: 1fr; }
  .xlh-rk-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Crisp Light Architectural Console Sidebar (Zero Heavy Black Slabs) */
.xlh-dark-sider {
  background: #FFFFFF !important;
  border-right: 1px solid #E6E2D8 !important;
}
.xlh-dark-sider .ant-layout-sider-trigger {
  background: #FAF9F5 !important;
  color: #5E5B54 !important;
  border-top: 1px solid #E6E2D8 !important;
  border-right: 1px solid #E6E2D8 !important;
}
.xlh-dark-sider .ant-layout-sider-trigger:hover {
  background: #F3F0E8 !important;
  color: #09090B !important;
}
.xlh-dark-sider .xlh-side-menu {
  background: transparent !important;
  color: #5E5B54 !important;
  padding: 6px 10px !important;
}
.xlh-dark-sider .xlh-side-menu .ant-menu-item-group-title {
  color: #7A766E !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase;
  padding: 12px 10px 4px !important;
}
.xlh-dark-sider .xlh-side-menu .ant-menu-item {
  color: #3F3F46 !important;
  border-radius: 8px !important;
  margin: 2px 0 !important;
  height: 38px !important;
  line-height: 38px !important;
  font-size: 13.5px !important;
  font-weight: 500;
}
.xlh-dark-sider .xlh-side-menu .ant-menu-item:hover {
  background: #F3F0E8 !important;
  color: #09090B !important;
}
.xlh-dark-sider .xlh-side-menu .ant-menu-item-selected {
  background: #F3F0E8 !important;
  color: #09090B !important;
  font-weight: 700 !important;
  box-shadow: inset 2px 0 0 #09090B !important;
}
.xlh-dark-sider .xlh-side-menu .ant-menu-item-selected::before {
  display: none !important;
}
.xlh-dark-sider .xlh-side-menu a {
  color: inherit !important;
}
.xlh-dark-sider span[style*="color: rgb(250, 250, 250)"],
.xlh-dark-sider span[style*="color: #FAF9F5"],
.xlh-dark-sider span[style*="color: #E6E2D8"] {
  color: #09090B !important;
}
.xlh-dark-sider > div > div:last-child {
  background: #FAF9F5 !important;
  border-color: #E6E2D8 !important;
}
.xlh-dark-sider > div > div:last-child,
.xlh-dark-sider > div > div:last-child div {
  color: #5E5B54 !important;
}
.xlh-dark-sider > div > div:last-child a {
  color: #09090B !important;
  font-weight: 600;
}

/* Redesigned Console Pages Bento & Command Grids */
.xlh-ov-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: 18px;
  align-items: start;
}
.xlh-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.95fr);
  gap: 18px;
  align-items: start;
}
.xlh-ov-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.xlh-ov-quick {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.xlh-console-hero {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 22px 26px;
  background: #FFFFFF !important;
  border: 1px solid #E6E2D8 !important;
  border-top: 2px solid #09090B !important;
  color: #09090B !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
}
.xlh-console-hero h2,
.xlh-console-hero h3 {
  color: #09090B !important;
}
.xlh-console-hero [style*="color: rgb(250, 250, 250)"],
.xlh-console-hero [style*="color: rgb(228, 228, 231)"],
.xlh-console-hero [style*="color: #FAF9F5"],
.xlh-console-hero [style*="color: #E6E2D8"] {
  color: #09090B !important;
}
.xlh-console-hero [style*="color: rgb(161, 161, 170)"],
.xlh-console-hero [style*="color: #9C978E"] {
  color: #5E5B54 !important;
}
.xlh-console-hero [style*="background: rgba(255, 255, 255, 0.04)"],
.xlh-console-hero [style*="background: rgba(255, 255, 255, 0.05)"],
.xlh-console-hero [style*="background: rgba(255, 255, 255, 0.06)"],
.xlh-console-hero [style*="background: rgba(255, 255, 255, 0.08)"] {
  background: #FAF9F5 !important;
  border-color: #E6E2D8 !important;
  color: #09090B !important;
}
.xlh-console-hero [style*="border-top: 1px solid rgba(255, 255, 255"] {
  border-top-color: #E6E2D8 !important;
}
@media (max-width: 1024px) {
  .xlh-ov-grid, .xlh-two-col { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .xlh-ov-steps { grid-template-columns: 1fr; }
}

/* Base Reset */
html, body { width: 100%; height: 100%; }
input::-ms-clear, input::-ms-reveal { display: none; }
*, *:before, *:after { box-sizing: border-box; }
html { line-height: 1.15; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; -ms-overflow-style: scrollbar; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
body { margin: 0; }
[tabindex="-1"]:focus { outline: none; }
hr { box-sizing: content-box; height: 0; overflow: visible; }
h1, h2, h3, h4, h5, h6 { margin-top: 0; margin-bottom: 0.5em; font-weight: 500; }
p { margin-top: 0; margin-bottom: 1em; }
input[type=text], input[type=password], input[type=number], textarea { -webkit-appearance: none; }
ol, ul, dl { margin-top: 0; margin-bottom: 1em; }
ol ol, ul ul, ol ul, ul ol { margin-bottom: 0; }
b, strong { font-weight: bolder; }
small { font-size: 80%; }
pre, code, kbd, samp { font-size: 1em; font-family: "JetBrains Mono", SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace; }
pre { margin-top: 0; margin-bottom: 1em; overflow: auto; }
img { vertical-align: middle; border-style: none; }
a, area, button, [role=button], input:not([type=range]), label, select, summary, textarea { touch-action: manipulation; }
table { border-collapse: collapse; }
input, button, select, optgroup, textarea { margin: 0; color: inherit; font-size: inherit; font-family: inherit; line-height: inherit; }
button, input { overflow: visible; }
button, select { text-transform: none; }
button, html [type=button], [type=reset], [type=submit] { -webkit-appearance: button; }
button::-moz-focus-inner, [type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner { padding: 0; border-style: none; }
textarea { overflow: auto; resize: vertical; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
progress { vertical-align: baseline; }
[hidden] { display: none !important; }
mark { padding: 0.2em; background-color: #feffe6; }

/* Authentic Claude.ai Light Accent Override (Warm Alabaster #FAF9F5 + Claude Clay #D97757) */
body { background: #FAF9F5 !important; color: #1F1E1D !important; }
.xlh-grad-text {
  background: linear-gradient(100deg, #1F1E1D 0%, #B85D3E 58%, #D97757 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}
.xlh-btn-grad,
.ant-btn-primary:not(.ant-btn-dangerous) {
  background: #D97757 !important;
  border-color: #D97757 !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(217, 119, 87, 0.24) !important;
}
.xlh-btn-grad:hover,
.ant-btn-primary:not(.ant-btn-dangerous):hover {
  background: #C46546 !important;
  border-color: #C46546 !important;
}
.xlh-nav-link::after { background: #D97757 !important; }
.xlh-nav-link.is-active { color: #C46546 !important; }
.xlh-dark-sider .xlh-side-menu .ant-menu-item-selected,
.ant-layout-sider .xlh-side-menu .ant-menu-item-selected {
  background: #FDF3EE !important;
  box-shadow: inset 2px 0 0 #D97757 !important;
  color: #C46546 !important;
}
.ant-layout-sider .xlh-side-menu .ant-menu-item-selected .ant-menu-item-icon,
.ant-layout-sider .xlh-side-menu .ant-menu-item-selected a {
  color: #C46546 !important;
}
.xlh-console-hero,
.xlh-today-card,
.xlh-console .ant-card.xlh-today-card {
  background: #FFFFFF !important;
  border: 1px solid #E6E2D8 !important;
  border-top: 2px solid #D97757 !important;
}
.xlh-console .ant-segmented-item-selected {
  background: #D97757 !important;
  color: #FFFFFF !important;
}

/* Light footer + code blocks + forced-light polish */
.xlh-foot-link { color: #5E5B54 !important; }
.xlh-foot-link:hover { color: #D97757 !important; }
.xlh-code-block { background: #F3F0E8 !important; color: #1F1E1D !important; border: 1px solid #E6E2D8; }
.xlh-dark-sider .xlh-side-menu .ant-menu-item { color: #3F3B34 !important; }
.xlh-nav-link::after { background: #D97757 !important; }
.xlh-ann-dot, .xlh-shield-core { background: #D97757 !important; }
