:root {
  color-scheme: light;
  --ink: #172820;
  --text: #40554a;
  --green: #164738;
  --light: #c8efaa;
  --paper: #f8f8f0;
  --line: #d8ded1;
  --surface: #fffef8;
  --muted: #6a7c70;
  --radius: 20px;
  --network-bar-height: 50px;
  font-family: Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

button,input,textarea,select {
  font: inherit;
}

button {
  cursor: pointer;
}

a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible {
  outline: 3px solid #548e32;
  outline-offset: 3px;
}

.wrap {
  width: min(1180px,calc(100% - 88px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  top: -100px;
  z-index: 5;
  background: #fff;
  padding: 10px;
}

.skip:focus {
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.network {
  background: #000;
  color: #fff;
  font-size: 13px;
}

.network-inner,.masthead,.footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.network-inner {
  margin-inline: clamp(15px, 3vw, 40px);
  min-height: var(--network-bar-height);
  justify-content: flex-end;
}

.network nav,.masthead nav {
  display: flex;
  gap: 22px;
  align-items: center;
}

.network nav > :is(a,span) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 8px;
  white-space: nowrap;
}

.network nav {
  gap: 5px;
}

.site-logo {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 5px;
  flex: none;
}

.brand .site-logo {
  width: 35px;
  height: 35px;
  border-radius: 9px;
}

.network .site-logo-wordmark,
.brand .site-logo-wordmark {
  width: auto;
  height: 35px;
  max-width: 128px;
  border-radius: 0;
}

.brand .site-logo-wordmark {
  max-width: 168px;
}

.network a:not([aria-current]) .site-logo {
  filter: brightness(0) invert(1);
}

.network [data-brand="qianwai"]:not([aria-current]) .site-logo {
  filter: grayscale(1) contrast(4);
}

.network [data-brand="chat"]:not([aria-current]) .site-logo {
  filter: grayscale(1) invert(1) contrast(4);
}

.network nav a:hover {
  background: rgb(255 255 255 / 8%);
}

.network nav a[aria-current] {
  background: linear-gradient(to bottom, rgb(255 255 255 / 17%), rgb(255 255 255 / 4%));
  border-radius: 0;
  font-weight: 750;
}

.network .upcoming {
  color: #c8c8c8;
}

.masthead {
  min-height: 82px;
  border-bottom: 1px solid var(--line);
}

.masthead nav {
  font-size: 14px;
  color: var(--text);
}

.masthead nav a:hover,.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.brand {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  white-space: nowrap;
  font-weight: 780;
  font-size: 23px;
  letter-spacing: -.04em;
}

.brand-mark {
  width: 35px;
  height: 35px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: #c1ef9d;
  color: #174134;
  font-size: 25px;
  line-height: 1;
  font-style: normal;
  flex: none;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--green);
  border-radius: 10px;
  background: var(--green);
  color: #fffef8;
  font-size: 14px;
  font-weight: 680;
  padding: 12px 17px;
  white-space: nowrap;
  line-height: 1.4;
  min-height: 47px;
}

.button:hover {
  background: #24614e;
  border-color: #24614e;
}

.button:disabled {
  opacity: .65;
  cursor: wait;
}

.button.outline {
  background: transparent;
  border-color: #b9c8b9;
  color: var(--green);
}

.button.outline:hover {
  background: #e7efdf;
}

.button.small {
  min-height: 36px;
  padding: 7px 12px;
  font-size: 13px;
}

.quiet {
  border: 0;
  background: none;
  color: var(--green);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 8px;
}

.eyebrow {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #416456;
  letter-spacing: .13em;
  font-size: 12px;
  font-weight: 730;
  margin: 0 0 20px;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #76a85b;
}

.inner-page h1,.chat-welcome h1,.account-page h1,.admin-content h1 {
  font-size: clamp(46px,5.6vw,86px);
  letter-spacing: -.083em;
  line-height: 1.09;
  margin: 0 0 25px;
  font-weight: 760;
}

.actions,.row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
}

.plus-home {
  color-scheme: dark;
  --ink: #f6f5f1;
  --text: #c4c8cd;
  --green: #f6f5f1;
  --paper: #0b0e13;
  --surface: #141921;
  --line: rgb(255 255 255 / 15%);
  --muted: #a5adb7;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
}

.site-header-network {
  top: calc(-1 * var(--network-bar-height));
}

.site-header .masthead-frame {
  position: relative;
}

.site-header .masthead-frame::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: .5px;
  background: var(--line);
  pointer-events: none;
}

.site-header .masthead {
  border-bottom: 0;
}

.site-header .masthead .button {
  border-radius: 99px;
}

.plus-home .masthead-frame {
  position: absolute;
  top: 100%;
  inset-inline: 0;
}

.plus .masthead-frame::after {
  background: rgb(255 255 255 / 24%);
}

.plus-home .masthead {
  min-height: 72px;
}

.plus-home .masthead .site-logo {
  filter: brightness(0) invert(1);
}

.plus-home .masthead :is(.button,.quiet) {
  color: #fff;
  border-color: rgb(255 255 255 / 33%);
  border-radius: 99px;
}

.plus-home .masthead .button:hover {
  background: rgb(255 255 255 / 12%);
}

.home-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: calc(100svh - var(--network-bar-height));
  padding-top: 72px;
  background: #10161f;
  color: #f6f5f1;
}

.home-hero::before,
.home-slide-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero::before {
  content: "";
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(5 8 13 / 85%), rgb(5 8 13 / 53%) 47%, rgb(5 8 13 / 10%) 81%),
    linear-gradient(180deg, rgb(5 8 13 / 62%), transparent 26%, transparent 66%, rgb(5 8 13 / 92%));
}

.home-slide-image {
  z-index: -2;
  object-fit: cover;
  object-position: 65% center;
}

.home-slides {
  display: grid;
  align-content: center;
}

.home-slide:not([hidden]) .home-slide-image {
  animation: reveal-slide .55s ease-out both;
}

@keyframes reveal-slide {
  from { opacity: .25; }
  to { opacity: 1; }
}

.home-slide-content {
  padding-block: clamp(44px, 10vh, 118px);
}

.home-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: #e0c698;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .19em;
}

.home-kicker::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

.home-slide h1,
.home-slide h2 {
  margin: 0;
  font-size: clamp(48px, 7vw, 108px);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -.055em;
}

.home-slide h1 span,
.home-slide h2 span {
  color: #ded1bc;
}

.home-slide-description {
  max-width: 34em;
  margin: 25px 0 30px;
  color: #e0e1e2;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.8;
}

.home-hero .button {
  min-height: 48px;
  padding-inline: 19px;
  border-radius: 99px;
}

.home-hero .home-primary {
  border-color: #f6f5f1;
  background: #f6f5f1;
  color: #151820;
}

.home-hero .home-primary:hover {
  border-color: #e1d2b8;
  background: #e1d2b8;
}

.home-hero .home-secondary {
  border-color: rgb(255 255 255 / 42%);
  background: rgb(0 0 0 / 14%);
  color: #fff;
}

.home-hero .home-secondary:hover {
  border-color: rgb(255 255 255 / 72%);
  background: rgb(255 255 255 / 12%);
}

.home-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding-block: 0 24px;
}

.home-controls[hidden] {
  display: none;
}

.home-selectors,
.home-controls-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-selectors {
  grid-column: 2;
}

.home-controls-actions {
  justify-self: end;
}

.home-controls button {
  min-height: 42px;
  border: 1px solid transparent;
  background: transparent;
  color: #e0e1e2;
  font-size: 13px;
}

.home-selectors button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border: 0;
  white-space: nowrap;
}

.home-controls-actions button:hover {
  border-color: rgb(255 255 255 / 20%);
  background: rgb(255 255 255 / 11%);
  color: #fff;
}

.home-selectors button:hover,
.home-selectors button[aria-pressed="true"] {
  color: #fff;
}

.home-selectors button[aria-pressed="true"] > :last-child {
  text-decoration: underline #dfc08d;
  text-underline-offset: 5px;
}

.slide-index {
  color: #dfc08d;
  font: 11px ui-monospace, monospace;
}

.home-controls-actions button {
  width: 42px;
  padding: 0;
  border-color: rgb(255 255 255 / 28%);
  border-radius: 50%;
  font-size: 17px;
}

.plus-home :is(.home-hero,.masthead) :focus-visible,
.network :focus-visible {
  outline-color: #e7c795;
}

.plus-home .services {
  padding-block: 64px;
}

.plus-home .eyebrow {
  color: #dfc08d;
}

.plus-home .eyebrow span {
  background: #dfc08d;
}

.plus-home .banner {
  border: 1px solid var(--line);
  background: var(--surface);
}

.plus-home .banner .button {
  border-color: #f6f5f1;
  background: #f6f5f1;
  color: #151820;
}

@media (prefers-reduced-motion: reduce) {
  .home-slide:not([hidden]) .home-slide-image {
    animation: none;
  }
}

.services {
  padding-block: 22px 58px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
}

.section-head h2,.banner h2 {
  font-size: clamp(25px,3.4vw,44px);
  line-height: 1.2;
  letter-spacing: -.055em;
  margin: 0;
}

.section-head .eyebrow,.banner .eyebrow {
  margin-bottom: 10px;
}

.text-link {
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
}

.service-grid article,.panel {
  padding: 23px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
}

.index {
  color: var(--muted);
  font: 11px ui-monospace,monospace;
  letter-spacing: .09em;
}

.service-grid h3 {
  font-size: 24px;
  margin: 14px 0 5px;
  letter-spacing: -.04em;
}

.service-grid p {
  margin: 0 0 18px;
  color: var(--text);
}

.service-grid a {
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.service-grid a:hover {
  text-decoration: underline;
}

.banner {
  background: #e8eedf;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 25px 35px;
  margin-bottom: 55px;
  border-radius: var(--radius);
}

.banner p:last-child {
  margin-bottom: 0;
}

.footer {
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text);
  padding-block: 19px;
  margin-top: 25px;
}

.footer .wrap>span:first-child {
  display: flex;
  gap: 7px;
  align-items: center;
  font-weight: 700;
}

.footer .brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  font-size: 16px;
}

.inner-page {
  padding-block: 55px;
  max-width: 850px;
  min-height: 56vh;
}

.inner-page h1,.account-page h1,.admin-content h1 {
  font-size: clamp(35px,5vw,57px);
  letter-spacing: -.065em;
}

.article-copy {
  font-size: 18px;
  color: var(--text);
}

.page-image {
  display: block;
  max-width: 100%;
  max-height: 420px;
  border-radius: var(--radius);
  object-fit: cover;
}

.contact-panel {
  margin-top: 24px;
  max-width: 620px;
}

.account-page {
  display: grid;
  place-items: center;
  min-height: 63vh;
  padding-block: 42px;
}

.account-card {
  width: min(100%,460px);
  padding: 35px;
}

.account-card .eyebrow {
  margin-bottom: 8px;
}

.account-card p:not(.eyebrow) {
  color: var(--text);
}

.stack {
  display: grid;
  gap: 13px;
}

.stack>.button {
  justify-self: start;
}

label {
  display: grid;
  gap: 5px;
  font-size: 14px;
  font-weight: 630;
}

input,textarea,select {
  min-width: 0;
  border: 1px solid #c7d2c6;
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  padding: 10px 12px;
  min-height: 42px;
}

textarea {
  resize: vertical;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 520;
}

.check input {
  min-height: auto;
  margin-top: 5px;
  accent-color: var(--green);
}

.notice {
  padding: 10px 13px;
  background: #ebf3e4;
  color: #244d38;
  border-radius: 8px;
  border: 1px solid #d2e3c7;
}

.notice.error {
  color: #7b271a;
  background: #fbe9e2;
  border-color: #e9c0b2;
}

.chat {
  background: #f4f7ef;
}

.chat-workspace .masthead,
.chat-workspace .footer .wrap {
  width: auto;
  margin-inline: clamp(16px,3vw,44px);
}

.chat-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  width: 100%;
  min-height: calc(100svh - 150px);
  background: radial-gradient(ellipse at 50% 0,#e4eedc 0,transparent 64%);
}

.chat-layout.signed-in {
  grid-template-columns: auto minmax(0,1fr);
}

.chat-sidebar {
  position: relative;
  border-right: 1px solid var(--line);
  background: #eef3e9;
}

.chat-history {
  position: sticky;
  top: 0;
  width: 54px;
  max-height: 100svh;
  overflow: auto;
  padding: 13px 10px;
}

.chat-history[open] {
  width: clamp(208px,20vw,264px);
  padding-inline: 14px;
}

.chat-history summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding-inline: 7px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--green);
  font-weight: 720;
  list-style: none;
}

.chat-history summary::-webkit-details-marker {
  display: none;
}

.chat-history summary:hover {
  background: #e1ebda;
}

.chat-history summary svg {
  flex: none;
}

.chat-history:not([open]) summary span {
  display: none;
}

.chat-history-content {
  margin-top: 12px;
}

.chat-history-content > .button {
  width: 100%;
}

.chat-sidebar nav {
  display: grid;
  gap: 5px;
  margin-top: 14px;
}

.chat-sidebar nav p {
  font-size: 13px;
  color: var(--muted);
}

.chat-sidebar nav a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 8px 9px;
  border-radius: 7px;
  font-size: 13px;
}

.chat-sidebar nav a:hover,.chat-sidebar nav a[aria-current] {
  background: #e4eddb;
}

.chat-stage {
  width: min(100%,820px);
  margin: 0 auto;
  padding: 32px clamp(14px,3vw,34px) 44px;
  display: flex;
  flex-direction: column;
}

.chat-stage-starter {
  width: min(100%,744px);
  padding-top: clamp(46px,9vh,96px);
}

.chat-welcome {
  text-align: center;
  display: grid;
  justify-items: center;
  padding-bottom: 30px;
}

.chat-welcome h1 {
  font-size: clamp(35px,5vw,64px);
  letter-spacing: -.045em;
  margin: 0 0 14px;
}

.chat-welcome p:not(.eyebrow) {
  color: var(--text);
  max-width: 500px;
  margin: 0;
}

.chat-welcome .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--green);
}

.chat-welcome .brand-mark {
  width: 26px;
  height: 26px;
  font-size: 16px;
  border-radius: 8px;
}

.prompts {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.prompt {
  padding: 6px 12px;
  border: 1px solid #c9d5c6;
  border-radius: 999px;
  background: #eff5e9;
  color: var(--green);
  font-size: 13px;
}

.prompt:hover {
  background: #e7efdf;
}

.fine {
  font-size: 12px;
  color: #5c6e61;
  margin: 8px 0 0;
}

.composer {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: end;
  gap: 10px;
  padding: 12px;
  border: 1px solid #bdcdbb;
  border-radius: 15px;
  background: #fff;
}

.composer textarea {
  border: 0;
  background: transparent;
  padding: 5px;
  min-height: 54px;
}

.composer .send {
  font-size: 23px;
  min-height: 42px;
  width: 42px;
  padding: 0;
}

.composer-starter {
  grid-template-columns: minmax(0,1fr);
  align-items: stretch;
  gap: 14px;
  padding: clamp(12px,2.5vw,20px);
  border-color: #d3dfcd;
  border-radius: 23px;
  box-shadow: 0 16px 50px rgb(38 69 43 / 9%);
}

.composer-starter textarea {
  min-height: 108px;
  padding: 14px 15px;
  background: #f7faf5;
  border: 1px solid #d7e2d4;
  border-radius: 13px;
}

.composer-starter .send {
  width: 100%;
  min-height: 45px;
  border-radius: 999px;
  font-size: 15px;
}

.chat-stage-starter .chat-fine {
  margin-top: 14px;
  text-align: center;
}

.conversation {
  display: grid;
  gap: 13px;
  margin-bottom: 20px;
}

.question,.answer {
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 15px;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.question {
  margin-left: min(40px,10%);
  background: #e8efdf;
}

.answer {
  margin-right: min(40px,10%);
  background: #fff;
}

.conversation p {
  margin: 7px 0;
}

.conversation article>span {
  font-weight: 740;
  font-size: 13px;
}

.answer .brand-mark {
  width: 19px;
  height: 19px;
  font-size: 13px;
  border-radius: 5px;
}

.source {
  display: block;
  background: #f0f4eb;
  border-radius: 9px;
  padding: 8px 10px;
  margin: 10px 0;
  font-size: 14px;
}

.source a {
  font-weight: 700;
  color: var(--green);
  text-decoration: underline;
}

.source small {
  display: block;
  color: var(--text);
  margin-top: 3px;
}

.chat-controls {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.chat-controls details {
  flex: 1;
}

.chat-controls summary {
  cursor: pointer;
  color: var(--green);
  font-size: 14px;
}

.chat-controls .stack {
  margin-top: 10px;
}

.admin-shell {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  min-height: 100svh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100svh;
  overflow: auto;
  padding: 28px 16px 20px;
  background: #0b0e13;
  color: #f8f8f0;
}

.admin-brand {
  display: grid;
  gap: 8px;
  padding: 0 10px 22px;
  border-bottom: 1px solid rgb(255 255 255 / 16%);
  font-size: 13px;
  color: #d8dce1;
}

.admin-brand img {
  width: 142px;
  height: auto;
}

.admin-sidebar nav {
  display: grid;
  gap: 5px;
  padding-block: 18px;
}

.admin-sidebar nav a {
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 14px;
  color: #d8dce1;
}

.admin-sidebar nav a:hover,
.admin-sidebar nav a[aria-current="page"] {
  background: rgb(255 255 255 / 11%);
  color: #fff;
}

.admin-sidebar nav a[aria-current="page"] {
  box-shadow: inset 2px 0 #dfbd83;
}

.admin-identity {
  display: grid;
  margin-top: auto;
  padding: 12px 10px 0;
  border-top: 1px solid rgb(255 255 255 / 16%);
  color: #d8dce1;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.admin-content {
  padding: 32px clamp(20px, 4vw, 56px) 52px;
}

.admin-workspace {
  max-width: 1080px;
  margin-inline: auto;
}

.admin-content .section-head {
  margin-bottom: 20px;
  align-items: end;
  flex-wrap: wrap;
}

.admin-content .section-head .row {
  align-items: end;
}

.admin-content h1 {
  margin: 0;
}

.admin-panels {
  display: grid;
  gap: 16px;
}

.admin-panel h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.admin-panel p {
  overflow-wrap: anywhere;
}

.admin-item {
  border-top: 1px solid var(--line);
  padding-block: 10px;
}

.admin-item summary {
  cursor: pointer;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.admin-item small {
  color: var(--muted);
  font-weight: 500;
}

.admin-item form {
  margin-top: 10px;
}

.preline {
  white-space: pre-line;
}

.staff-list {
  padding-left: 19px;
  overflow-wrap: anywhere;
}

fieldset {
  border: 1px solid var(--line);
  border-radius: 8px;
}

.media-list {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(85px,1fr));
  gap: 8px;
  margin-top: 10px;
}

.media-list figure {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 12px;
}

.media-list img {
  width: 100%;
  height: 65px;
  object-fit: cover;
  border-radius: 5px;
}

@media(max-width:900px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .masthead nav {
    gap: 13px;
  }
}

@media(max-width:770px) {
  .network-inner {
    margin-inline: 0;
  }
  .network nav {
    width: 100%;
    height: var(--network-bar-height);
    gap: 4px;
    padding-inline: 15px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .network nav > :is(a,span) {
    flex: none;
    min-height: 40px;
    padding: 0 8px;
  }
  .network nav > a[aria-current="page"] {
    display: none;
  }
  .network .site-logo {
    width: 20px;
    height: 20px;
  }
  .network .site-logo-wordmark {
    width: auto;
    height: 28px;
    max-width: 100%;
  }
}

@media(max-width:660px) {
  .wrap {
    width: calc(100% - 30px);
  }
  .masthead {
    flex-wrap: wrap;
    min-height: 64px;
    gap: 7px;
    padding-block: 8px;
  }
  .masthead nav:not(:empty) {
    order: 3;
    width: 100%;
    overflow: auto;
    white-space: nowrap;
    padding-bottom: 6px;
  }
  .masthead nav:empty {
    display: none;
  }
  .brand {
    font-size: 21px;
  }
  .home-hero {
    padding-top: 104px;
  }
  .home-hero::before {
    background:
      linear-gradient(90deg, rgb(5 8 13 / 79%), rgb(5 8 13 / 38%)),
      linear-gradient(180deg, rgb(5 8 13 / 63%), transparent 30%, rgb(5 8 13 / 87%));
  }
  .home-slide-image {
    object-position: 80% center;
  }
  .home-slide-content {
    padding-block: 34px;
  }
  .home-slide h1,
  .home-slide h2 {
    font-size: clamp(38px, 10.6vw, 62px);
  }
  .home-slide-description {
    margin-block: 17px 22px;
  }
  .home-controls {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 4px;
    padding-bottom: 15px;
  }
  .home-selectors {
    grid-column: auto;
    gap: 3px;
  }
  .home-selectors button {
    gap: 4px;
    padding-inline: 5px;
    font-size: 12px;
  }
  .home-selectors .slide-index {
    display: none;
  }
  .home-controls-actions {
    gap: 4px;
    justify-self: center;
  }
  .home-controls-actions button {
    width: 35px;
    min-height: 35px;
  }
  .services {
    padding-bottom: 32px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .banner {
    margin-bottom: 27px;
    align-items: start;
    padding: 18px;
    flex-direction: column;
  }
  .chat-sidebar {
    width: 44px;
  }
  .chat-history {
    width: 43px;
    padding-inline: 5px;
  }
  .chat-history[open] {
    position: absolute;
    z-index: 1;
    inset: 0 auto auto 0;
    width: min(264px,calc(100vw - 44px));
    background: #eef3e9;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 8px 12px 28px rgb(38 69 43 / 12%);
  }
  .chat-stage-starter {
    padding-top: 38px;
  }
  .chat-welcome {
    padding-bottom: 22px;
  }
  .section-head {
    align-items: start;
    flex-wrap: wrap;
  }
  .account-card {
    padding: 23px;
  }
  .inner-page {
    padding-block: 38px;
  }
  .admin-shell {
    grid-template-columns: minmax(0, 1fr);
  }
  .admin-sidebar {
    position: static;
    height: auto;
    padding: 14px 16px 0;
  }
  .admin-brand {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 0 12px;
  }
  .admin-sidebar nav {
    display: flex;
    flex-wrap: wrap;
    padding-block: 8px;
  }
  .admin-identity {
    padding: 8px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
  }
  .admin-content {
    padding: 24px 16px 40px;
  }
}

/* 移民+官网 */
.plus, .admin {
  --platform-gold: #dbb675;
  --platform-gold-ink: #79531a;
  --ink: #201c16;
  --text: #5d5446;
  --green: #74501c;
  --paper: #f7f4ed;
  --surface: #fffdf7;
  --line: #e1d8c9;
  --muted: #746a5c;
}

.plus-home {
  --ink: #faf6ee;
  --text: #cbc2b4;
  --green: #e8c990;
  --paper: #0b0e13;
  --surface: #14171e;
  --line: rgb(255 255 255 / 15%);
  --muted: #bcb4a7;
  --platform-gold-ink: #e6c58c;
}

.plus :focus-visible, .admin :focus-visible { outline-color: #bb8a42; }
.plus .skip { background: #fff8e9; color: #19150e; }
.plus .masthead-frame {
  background: #0b0d12;
  color: #f9f5eb;
}
.plus-home .masthead-frame { background: transparent; }
.plus-home .site-header.past-hero .masthead-frame { background: #0b0d12; }
.plus .masthead {
  width: min(1330px, calc(100% - 64px));
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  gap: clamp(12px, 2vw, 30px);
}
.plus .masthead nav {
  justify-content: center;
  color: #f9f5eb;
  font-size: 13px;
  gap: clamp(10px, 1.45vw, 23px);
  white-space: nowrap;
}
.plus .masthead nav a:hover, .plus .masthead-actions a:hover { color: #f2cd8d; }
.plus .masthead-actions { display: flex; gap: clamp(9px, 1vw, 16px); align-items: center; }
.plus .masthead-actions .button, .plus .masthead-actions .quiet {
  color: #f4ead7;
  border-color: rgb(255 255 255 / 30%);
  min-height: 36px;
  padding: 7px 12px;
}
.header-search {
  display: grid;
  min-width: 28px;
  min-height: 36px;
  place-items: center;
}
.header-consult { white-space: nowrap; font-size: 13px; font-weight: 700; color: #edc78c; }
.plus .button:not(.outline, .home-primary, .home-secondary),
.platform-home .button {
  color: #18130d;
  background: #dfbd82;
  border-color: #dfbd82;
}
.plus .button:not(.outline, .home-primary, .home-secondary):hover { background: #efd09a; border-color: #efd09a; }
.plus .text-link { color: var(--platform-gold-ink); }
.platform-home { background: #101115; }
.platform-home .platform-section { padding-block: clamp(48px, 7vw, 88px); }
.platform-home .platform-section + .platform-section { border-top: 1px solid var(--line); }
.platform-kicker {
  margin: 0 0 10px;
  color: var(--platform-gold-ink);
  font-size: .74rem;
  font-weight: 750;
  letter-spacing: .14em;
}
.platform-kicker span { margin-right: 10px; }
.platform-home h2, .catalog-hero h1, .platform-cta h2 {
  margin: 0;
  line-height: 1.18;
  font-size: clamp(29px, 4vw, 50px);
  letter-spacing: -.045em;
}
.catalog-quick { background: #191713; border-block: 1px solid #3b3022; }
.catalog-quick .wrap {
  display: grid;
  grid-template-columns: 1fr minmax(0, 1.85fr);
  align-items: center;
  gap: 24px;
  padding-block: 28px;
}
.quick-intro h2 { font-size: clamp(22px, 2.7vw, 34px); }
.catalog-search { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; max-width: 720px; }
.catalog-search :is(input,select), .catalog-filters :is(input,select) {
  min-width: 0;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  background: var(--surface);
  color: var(--ink);
}
.catalog-search input::placeholder { color: var(--muted); }
.catalog-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 30px;
}
.catalog-more {
  display: inline-block;
  color: var(--platform-gold-ink);
  font-size: 14px;
  font-weight: 700;
}
.catalog-more:hover, .listing-card h3 a:hover, .platform-footer a:hover, .destination-links a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.listing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: 210px;
  padding: clamp(17px,2.2vw,28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
}
.platform-home .listing-card { background: linear-gradient(145deg,#1e1b17,#16161a 58%); }
.listing-card:hover { border-color: #b18b52; }
.listing-meta {
  margin: 0;
  color: var(--platform-gold-ink);
  font-size: 13px;
  font-weight: 680;
}
.listing-card .listing-meta { display: flex; width: 100%; justify-content: space-between; gap: 8px; }
.listing-card > img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 4px; margin-bottom: 15px; }
.listing-card h3 { margin: 12px 0 7px; line-height: 1.35; font-size: clamp(17px, 1.75vw, 23px); }
.listing-card p { margin: 0 0 15px; color: var(--text); font-size: 14px; overflow-wrap: anywhere; }
.listing-arrow {
  display: grid;
  place-items: center;
  align-self: end;
  margin-top: auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--platform-gold-ink);
}
.listing-arrow:hover { border-color: #b18b52; }
.platform-destinations {
  background: #181611;
  border-block: 1px solid #3b3022;
  padding-block: clamp(48px, 7vw, 84px);
}
.destination-groups { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; }
.destination-groups section { padding: 18px 16px; border: 1px solid var(--line); border-top: 2px solid #b58b51; }
.destination-groups h3 { margin: 0 0 13px; font-size: 22px; }
.destination-links { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; }
.destination-links a { padding: 4px 9px; border: 1px solid var(--line); font-size: 14px; }
.destination-links a:hover { color: var(--platform-gold-ink); border-color: #b58b51; }
.service-panels { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.service-panels article { border-top: 1px solid #b58b51; padding: 22px; background: var(--surface); }
.service-panels h3, .service-panels h2 { margin: 0; font-size: clamp(18px,2.3vw,25px); }
.service-panels p:not(.platform-kicker) { margin: 9px 0 15px; color: var(--text); }
.service-panels a { color: var(--platform-gold-ink); font-size: 14px; font-weight: 700; }
.service-panels a:hover { text-decoration: underline; text-underline-offset: 4px; }
.eb5-promo, .home-company { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); align-items: center; gap: clamp(22px,5vw,65px); }
.eb5-promo p:not(.platform-kicker), .home-company p:not(.platform-kicker) { color: var(--text); }
.eb5-promo img { width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover; border: 1px solid var(--line); border-radius: 8px; }
.platform-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.platform-cta {
  background: #191713;
  color: #f9f3e7;
  border: 1px solid #4b3924;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-block: 36px 64px;
  padding: clamp(20px,4vw,44px);
}
.platform-cta h2 { font-size: clamp(24px,3.2vw,37px); }
.platform-cta p { margin-bottom: 0; color: #dccdb7; }
.platform-cta .platform-kicker { margin-bottom: 8px; color: #e7c38c; }
.platform-home .platform-cta { margin-bottom: 0; }
.platform-home > .wrap:last-child { padding-bottom: 64px; }
.platform-footer { background: #0b0d12; color: #cec4b2; border-top: 1px solid #332c20; padding-block: 44px 20px; }
.platform-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3,1fr); gap: 24px; }
.platform-footer-grid img { width: 142px; height: auto; }
.platform-footer-grid p { font-size: 14px; margin: 8px 0; }
.platform-footer-grid h2 { font-size: 15px; color: #ead2ac; margin: 0 0 8px; }
.platform-footer-grid a { display: block; width: fit-content; margin-bottom: 5px; font-size: 14px; }
.platform-footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 15px; border-top: 1px solid #332c20; margin-top: 24px; padding-top: 16px; font-size: 12px; }
.catalog-hero {
  color: #f9f4e9;
  background: radial-gradient(ellipse at right top,#34281c,transparent 64%), #15151a;
  border-bottom: 1px solid #533d25;
  padding-block: clamp(25px,5vw,56px) clamp(34px,6vw,72px);
}
.catalog-hero .platform-kicker { color: #e4bd7e; }
.catalog-hero .crumbs { display: flex; flex-wrap: wrap; gap: 0 10px; margin-bottom: 27px; font-size: 13px; color: #ded0b8; }
.catalog-hero .crumbs a:hover { text-decoration: underline; }
.catalog-intro { max-width: 52rem; color: #e6dccb; margin: 13px 0 0; }
.catalog-body { padding-block: 35px 50px; min-height: 42vh; }
.catalog-body > .platform-cta { margin-bottom: 0; }
.catalog-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 0 0 15px; }
.catalog-filters label { display: grid; gap: 4px; font-size: 13px; font-weight: 650; }
.catalog-filters .catalog-more, .admin-catalog-filter .text-link { align-self: center; margin-top: 16px; }
.result-count, .catalog-empty { color: var(--muted); font-size: 14px; }
.catalog-empty { padding: 16px; border: 1px dashed var(--line); }
.collection-group { margin-top: 27px; }
.collection-group h2 { margin: 0 0 12px; font-size: 23px; }
.article-layout { display: grid; grid-template-columns: minmax(0,2.4fr) minmax(225px,1fr); align-items: start; gap: clamp(19px,4vw,50px); }
.catalog-article { padding: clamp(18px,4vw,42px); border: 1px solid var(--line); background: var(--surface); border-radius: 8px; overflow-wrap: anywhere; }
.catalog-article .listing-meta + .page-image { margin-top: 15px; }
.article-aside { padding: 21px; background: #efe6d6; border: 1px solid var(--line); border-radius: 8px; }
.article-aside h2 { margin: 0; font-size: 19px; }
.article-aside p { font-size: 14px; color: var(--text); }
.article-aside .catalog-more { display: block; margin-top: 12px; }
.bulletin-actions { margin-block: 18px; }
.search-destinations { margin-bottom: 16px; }
.admin-catalog-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.admin-catalog-fields label:last-child { grid-column: 1 / -1; }
.admin-pagination { display: flex; gap: 16px; margin-top: 18px; }

@media (max-width: 1080px) {
  .plus .masthead { width: calc(100% - 42px); gap: 12px; }
  .plus .masthead nav { justify-content: start; overflow-x: auto; padding-block: 7px; }
  .plus .masthead .site-logo-wordmark { height: 31px; max-width: 126px; }
  .destination-groups { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 750px) {
  .catalog-grid, .service-panels { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .catalog-quick .wrap, .article-layout { grid-template-columns: minmax(0,1fr); }
  .platform-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 660px) {
  .plus .masthead { grid-template-columns: minmax(0,1fr) auto; width: calc(100% - 30px); gap: 4px 8px; }
  .plus .masthead nav { grid-column: 1 / -1; grid-row: 2; gap: 15px; }
  .plus .masthead-actions { grid-column: 2; grid-row: 1; }
  .plus .masthead-actions .button { padding: 5px 9px; }
  .plus .masthead-actions .button span { display: none; }
  .destination-groups { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .eb5-promo, .home-company { grid-template-columns: minmax(0,1fr); }
  .platform-cta { flex-wrap: wrap; }
  .catalog-filters label { flex: 1 1 120px; min-width: 0; }
  .catalog-filters label:has(input) { flex-basis: 100%; }
}

@media (max-width: 420px) {
  .catalog-grid, .service-panels { grid-template-columns: minmax(0,1fr); }
  .catalog-search { gap: 5px; }
  .catalog-search :is(input,select) { padding-inline: 6px; font-size: 13px; }
  .catalog-search .button { padding-inline: 10px; }
  .admin-catalog-fields { grid-template-columns: minmax(0,1fr); }
}

.contact-phone { margin: 0 0 18px; }
.contact-phone a { color: var(--platform-gold-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.listing-card-member > img { aspect-ratio: 4 / 3; object-position: center 25%; }
.member-profile .page-image { max-width: min(100%, 330px); }
