:root {
  /* Approved Knowledge Library background for every page. */
  --site-background: #fdfdfc;
  --sky-page: var(--site-background);
  --sky-paper: #fff;
  --sky-layer: #f5f5f3;
  --sky-border: #e0e6e1;
}

body.sky-theme {
  --page: var(--sky-page);
  --paper: var(--sky-paper);
  --sand: var(--sky-layer);
  --line: var(--sky-border);
  isolation: isolate;
  position: relative;
}
body.sky-theme, body.sky-theme.home.refreshed-home {
  background: var(--site-background);
}
body.sky-theme::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .14;
  pointer-events: none;
  background:
    radial-gradient(circle at 2px 2px, #7899b34d .7px, transparent 1.5px) 5px 13px / 47px 47px,
    repeating-radial-gradient(ellipse at 100% 10%, transparent 0 43px, #a5bbd037 44px, transparent 45px 62px) right top / 48% 60% no-repeat,
    repeating-radial-gradient(ellipse at 0% 96%, transparent 0 45px, #a5bbd02e 46px, transparent 47px 66px) left bottom / 37% 58% no-repeat;
  mask-image: linear-gradient(90deg, #000, transparent 31%, transparent 74%, #000);
}

.sky-theme.home.refreshed-home .home-hero,
.sky-theme .portal-stage { background: transparent; }
.sky-theme .site-header { background: var(--site-background); border-color: var(--sky-border); }
.sky-theme :is(.site-footer,.portal-footer) { background: var(--site-background); border-color: var(--sky-border); }
.sky-theme .library-section { background: var(--site-background); }
.sky-theme .topnav a::before { background: #ecf4fa; }

.sky-theme.home.refreshed-home .facts-bar {
  grid-template-columns: repeat(4, minmax(0,1fr));
  max-width: 860px;
  padding: 14px 0;
  border: 1px solid var(--sky-border);
  border-radius: 12px;
  background: #ffffffd9;
}
.sky-theme.home.refreshed-home .facts-bar > div { padding: 8px 12px; }
.sky-theme.home.refreshed-home .facts-bar > div + div { border-color: var(--sky-border); }
.sky-theme.home.refreshed-home .facts-bar dt { line-height: 1.16; }
.sky-theme.home.refreshed-home .facts-bar dd { margin-top: 4px; }

.sky-theme .home-route-panel {
  overflow: hidden;
  border: 1px solid var(--sky-border);
  border-radius: 14px;
  background: var(--sky-paper);
}
.sky-theme.home.refreshed-home .home-route-panel .map-callout {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 20px clamp(20px,4vw,56px);
  padding: clamp(22px,3.2vw,42px);
  border: 0;
  border-bottom: 1px solid var(--sky-border);
  background: linear-gradient(130deg,#fff 30%,#f2f7fb 100%);
}
.sky-theme .home-route-panel .map-callout h2 { padding-bottom: 0; }
.sky-theme.home.refreshed-home .home-route-panel .map-callout p { margin-top: 8px; }
.sky-theme.home.refreshed-home .home-route-panel .quick-row {
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 0;
  margin: 0;
}
.sky-theme.home.refreshed-home .home-route-panel .quick-card {
  min-width: 0;
  padding: 16px clamp(12px,1.9vw,27px);
  border: 0;
}
.sky-theme.home.refreshed-home .home-route-panel .quick-card + .quick-card {
  border-left: 1px solid var(--sky-border);
}
.sky-theme.home.refreshed-home .home-route-panel .quick-card:hover { background: var(--sky-layer); }
.sky-theme .home-route-panel .quick-card:focus-visible { outline-offset: -3px; }

.sky-theme.campus-page .editorial-band {
  grid-template-columns: minmax(130px,.68fr) minmax(0,2.32fr);
  align-items: start;
  gap: 16px clamp(22px,4vw,56px);
  margin-top: 12px;
  padding: clamp(20px,3vw,38px);
  border: 1px solid var(--sky-border);
  border-radius: 12px;
  background: #ffffffde;
}
.sky-theme.campus-page .editorial-band > h3 {
  font-size: clamp(20px,2.2vw,28px);
  line-height: 1.3;
}
.sky-theme.campus-page .editorial-pair { gap: 14px clamp(16px,3vw,43px); }
.sky-theme.campus-page :is(.editorial-pair h4,.editorial-roles h3) { line-height: 1.35; }
.sky-theme.campus-page :is(.editorial-pair p,.editorial-roles p) { margin: 0; }
.sky-theme.campus-page .editorial-roles {
  gap: 0;
  padding: clamp(18px,2.8vw,36px);
  border: 1px solid var(--sky-border);
  border-radius: 12px;
  background: #ffffffde;
}
.sky-theme.campus-page .editorial-roles article {
  min-width: 0;
  padding: 0 clamp(14px,2.3vw,32px);
  border: 0;
}
.sky-theme.campus-page .editorial-roles article + article { border-left: 1px solid var(--sky-border); }
.sky-theme.campus-page .editorial-roles article:first-child { padding-left: 0; }
.sky-theme.campus-page .editorial-roles article:last-child { padding-right: 0; }

.sky-theme .ref-poster-art .ref-poster-band,
.sky-theme.home.refreshed-home .ref-poster-art .ref-poster-band { color: #fffaf0; }

.sky-theme.ref-map.route-page {
  --map-base: var(--sky-page);
  --map-label: var(--sky-paper);
  --map-edge: var(--sky-border);
  --map-ink: #22364b;
  --map-muted: #3e576d;
}
.sky-theme.ref-map .route-field { background: var(--site-background); }
.sky-theme.ref-map .route-field:not(.is-overview)::after {
  background: linear-gradient(180deg, var(--sky-page) 0%, #fdfdfcdf 19%, transparent 100%);
}
.sky-theme.ref-map :is(.route-deck,[data-map-help]) { background: #fcfdff; }
.sky-theme.ref-map .route-variants { background: var(--sky-layer); }
.sky-theme.ref-map :is(.route-directions,.route-variants) button:hover { background: var(--sky-layer); }

@media (max-width: 930px) {
  .sky-theme.home.refreshed-home .home-route-panel .map-callout {
    grid-template-columns: minmax(0,1fr);
  }
  .sky-theme.campus-page .editorial-band { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 760px) {
  body.sky-theme::before { position: absolute; bottom: auto; height: 100svh; }
  .sky-theme.home.refreshed-home .home-route-panel .quick-row { grid-template-columns: minmax(0,1fr); }
  .sky-theme.home.refreshed-home .home-route-panel .quick-card + .quick-card {
    border-left: 0;
    border-top: 1px solid var(--sky-border);
  }
  .sky-theme.campus-page .editorial-roles { grid-template-columns: minmax(0,1fr); }
  .sky-theme.campus-page .editorial-roles article { padding: 0; }
  .sky-theme.campus-page .editorial-roles article + article {
    border: 0;
    border-top: 1px solid var(--sky-border);
    padding-top: 16px;
    margin-top: 16px;
  }
}
@media (max-width: 580px) {
  .sky-theme.home.refreshed-home .facts-bar {
    grid-template-columns: repeat(2,minmax(0,1fr));
    padding: 0;
  }
  .sky-theme.home.refreshed-home .facts-bar > div { padding: 12px 6px; }
  .sky-theme.home.refreshed-home .facts-bar > div:nth-child(odd) { border-left: 0; }
  .sky-theme.home.refreshed-home .facts-bar > div:nth-child(n+3) { border-top: 1px solid var(--sky-border); }
  .sky-theme .home-route-panel .callout-actions { width: 100%; }
  .sky-theme .home-route-panel .callout-actions .button { flex: 1 1 115px; justify-content: center; }
}

/* The supplied PNG stays intact. The frame removes only the empty export margins. */
.sky-theme .brand-image {
  display: block; position: relative; overflow: hidden; flex: none;
  width: clamp(119px, 11vw, 154px); aspect-ratio: 2055 / 775;
}
.sky-theme .brand-image > .brand-logo {
  position: absolute; top: 50%; left: 50%; display: block;
  transform: translate(-50%, -50%); width: 174.94%; max-width: none; height: auto;
  border: 0; background: none; border-radius: 0; object-fit: contain;
}
.sky-theme .portal-wordmark { width: clamp(133px, 14vw, 180px); margin-bottom: clamp(15px, 2vw, 26px); }
.sky-theme .footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 16px; }
.sky-theme .footer-brand .brand-image { width: 126px; }
.sky-theme .footer-brand > small { display: block; }

/* The supplied company logo includes the complete Chinese and English lockup. */
.company-lockup {
  display: block; position: relative; width: min(216px,100%); aspect-ratio: 5960 / 920;
  flex: none; overflow: hidden;
}
.company-lockup img {
  position: absolute; left: 50%; top: 50%; width: 145.85%; max-width: none; height: auto;
  transform: translate(-50%,-50%); mix-blend-mode: multiply;
}
.entry-page .company-lockup { width: clamp(170px,17vw,226px); }
.sky-theme .float-site-ai { display: inline-flex; white-space: nowrap; padding-inline: 13px; }
@media (max-width: 600px) {
  .sky-theme .float-site-ai {
    display: inline-flex !important; bottom: max(13px,env(safe-area-inset-bottom));
    right: 13px; min-height: 44px; padding: 8px 12px; gap: 6px; font-size: 12px;
  }
  .sky-theme .float-site-ai svg { width: 17px; height: 17px; }
}

.site-chat {
  box-sizing:border-box; position:fixed; inset:0 0 0 auto; margin:0; padding:0;
  width:min(100%,430px); max-width:none; max-height:none; height:var(--site-chat-height,100dvh);
  border:0; background:var(--site-background,#fdfdfc); color:#202928; overscroll-behavior:contain;
  box-shadow:-16px 0 56px #26363827;
}
.site-chat[open] { animation:site-chat-in 235ms cubic-bezier(.2,.76,.26,1) both; }
.site-chat::backdrop { background:#18232538; }
.site-chat[open]::backdrop { animation:site-chat-dim 180ms ease-out both; }
@keyframes site-chat-in { from { transform:translate3d(44px,0,0); opacity:.15; } }
@keyframes site-chat-dim { from { opacity:0; } }
.site-chat-pane { display:grid; grid-template-rows:auto minmax(0,1fr) auto; height:100%; min-height:0; }
.site-chat-header {
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  padding:18px 18px 16px 24px; border-bottom:1px solid #e3e9e6;
}
.site-chat-header h2 { margin:0; font-size:19px; font-weight:720; line-height:1.32; }
.site-chat-close {
  display:grid; place-items:center; width:42px; height:42px; border:1px solid #dce5e2;
  background:#fff; color:#31413f; border-radius:50%; font-size:24px; line-height:1;
}
.site-chat-close:hover { background:#edf3ef; }
.site-chat-body {
  overflow:auto; overscroll-behavior:contain; overflow-anchor:none;
  padding:22px 23px 26px; min-height:0; scrollbar-width:thin;
}
.site-chat-intro { margin:0 0 20px; font-size:20px; line-height:1.56; font-weight:650; }
.site-chat-starters { display:grid; gap:8px; margin-top:10px; }
.site-chat-starters button {
  min-height:43px; padding:10px 11px; border:1px solid #dce5e2; border-radius:9px;
  background:#fff; color:#314745; font-size:13px; text-align:left;
}
.site-chat-starters button:hover { border-color:#91aaa8; background:#f0f6f3; }
.site-chat-turn { display:grid; justify-items:start; gap:12px; margin:0 0 21px; }
.site-chat-user {
  justify-self:end; max-width:90%; margin:0; padding:8px 12px; border-radius:13px 13px 3px 13px;
  background:#e7efeb; white-space:pre-wrap; overflow-wrap:anywhere; font-size:14px;
}
.site-chat-reply { width:100%; min-width:0; }
.site-chat-reply p { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.75; font-size:14px; }
.site-chat-reply .site-chat-wait { color:#5d7271; }
.site-chat-links { display:flex; flex-wrap:wrap; gap:7px; margin-top:12px; }
.site-chat-links a {
  padding:5px 9px; border:1px solid #d6e1dc; border-radius:6px;
  color:#2b5550; text-decoration:underline; text-underline-offset:3px; font-size:12px;
}
.site-chat-form {
  display:grid; grid-template-columns:minmax(0,1fr) 42px; gap:8px; align-items:end;
  padding:13px 18px calc(14px + env(safe-area-inset-bottom)); border-top:1px solid #e1e8e4;
}
.site-chat-form textarea {
  min-width:0; field-sizing:content; min-height:43px; max-height:122px; resize:none; padding:11px 12px;
  border:1px solid #d7e0dc; border-radius:10px; background:#fff; color:#243632; font-family:inherit;
  font-size:16px; line-height:1.38;
}
.site-chat-form button {
  min-height:42px; border:0; border-radius:9px; background:#293d3a; color:#fff; font-size:21px; line-height:1;
}
.site-chat-form button:disabled { opacity:.52; }
.sky-theme button.float-site-ai { border:0; font-family:inherit; }
.atlas-page .float-site-ai { bottom:17px; right:18px; }
.atlas-page .route-field.panel-open ~ .float-site-ai { display:none; }
@media(max-width:600px) {
  .site-chat-header { padding-inline:17px; }
  .site-chat-body { padding-inline:17px; }
}
@media(prefers-reduced-motion:reduce) { .site-chat[open],.site-chat[open]::backdrop { animation:none; } }

.sky-theme .brand-image > .brand-logo, .company-lockup img { inset:0; width:100%; height:100%; transform:none; object-fit:contain; }
