:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color: #153129;
  background: #edf6f1;
  --bar-height: 54px;
  --songti: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
  --body-size: .875rem;
  --body-leading: 1.6;
  --title-weight: 650;
  --title-tracking: -.025em;
  --number-size: 1.4375rem;
  --number-weight: 600;
  --number-tracking: -.022em;
  --table-size: .875rem;
  --column-weight: 400;
  --item-weight: 550;
}

.theme-yunhe {
  --text: #153129;
  --muted: #526d60;
  --line: #375c4b22;
  --surface: linear-gradient(135deg, #ffffffa6, #ffffff66);
  --surface-border: #ffffffeb;
  --field: #ffffffa6;
  --field-border: #bfd5c7;
  --table-head: #eff6f180;
  --table-hover: #eaf4ed90;
  --green: #166b55;
  --green-dark: #115641;
  --green-light: #e1efe6;
  --button: #166b55;
  --button-hover: #115641;
  --card-shadow: inset 0 1px 0 #ffffffad, 0 15px 42px #2d4f4012;
  --button-radius: 12px;
  --sidebar-width: 238px;
  background: radial-gradient(circle at 91% 4%, #86cdae7a, transparent 29%),
    radial-gradient(circle at 7% 90%, #ffdfa059, transparent 30%),
    linear-gradient(135deg, #eef7f2, #eaf3ee 52%, #f4f4eb);
  background-attachment: fixed;
}

.theme-yuantang {
  --title-weight: 700;
  --title-tracking: -.035em;
  --number-size: 1.6875rem;
  --number-weight: 650;
  --number-tracking: -.035em;
  --column-weight: 500;
  --item-weight: 600;
  --text: #17201b;
  --muted: #5d6c60;
  --line: #e5e9e2;
  --surface: #fff;
  --surface-border: #e5eae3;
  --field: #fbfcf8;
  --field-border: #d8e1d6;
  --table-head: #f6f8f4;
  --table-hover: #f7faf3;
  --green: #4f7628;
  --green-dark: #325c1e;
  --green-light: #e2edce;
  --button: #16251c;
  --button-hover: #28472f;
  --card-shadow: 0 16px 40px #27352c0a;
  --button-radius: 999px;
  --sidebar-width: 248px;
  background: #f6f7f3;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; font-size: var(--body-size); line-height: var(--body-leading); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
:focus-visible { outline: 2px solid var(--green, #166b55); outline-offset: 3px; }
form, h1, h2, p, dl, dd { margin: 0; }

.product-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #183629;
  font-size: .9375rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.product-brand img { border-radius: 6px; object-fit: contain; }
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 5px 27px;
  text-decoration: none;
  white-space: nowrap;
}
.brand img { border-radius: 14px; object-fit: contain; flex: none; }
.brand strong { display: block; font-size: 1.3125rem; letter-spacing: .18em; }
.brand small { display: block; font-size: .8125rem; letter-spacing: .09em; color: #668653; }
.theme-yuantang .brand { padding-inline: 10px; }
.theme-yuantang .brand strong {
  color: #3f692b;
  font: 600 1.5rem/1.15 var(--songti);
  letter-spacing: .08em;
}
.theme-yuantang .brand img { box-shadow: 0 0 0 1px #e0e9db, 0 5px 15px #163d2820; }
.subtle { color: var(--muted); font-size: .875rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 39px;
  padding: 7px 15px;
  border: 1px solid transparent;
  border-radius: var(--button-radius);
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.primary { background: var(--button); color: white; box-shadow: 0 6px 16px #166b5518; }
.primary:hover { background: var(--button-hover); }
.secondary { background: var(--field); border-color: var(--field-border); color: var(--green-dark); }
.secondary:hover, .ghost:hover { background: var(--green-light); }
.ghost { background: transparent; color: var(--muted); }
input, select, textarea {
  width: 100%;
  min-height: 40px;
  color: var(--text);
  background-color: var(--field);
  border: 1px solid var(--field-border);
  border-radius: 10px;
  padding: 8px 11px;
}
textarea { resize: vertical; line-height: 1.55; }
select {
  appearance: none;
  padding-right: 33px;
  background-image: linear-gradient(45deg, transparent 50%, #496d59 50%), linear-gradient(135deg, #496d59 50%, transparent 50%);
  background-position: right 15px center, right 10px center;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 18px;
  color: var(--text);
}
.login-panel {
  width: min(100%, 440px);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(24px) saturate(135%);
  padding: 34px;
}
.login .product-brand { font-size: 1rem; }
.login .product-brand img { width: 34px; height: 34px; border-radius: 10px; }
.login h1 { margin-top: 25px; font-size: 1.75rem; line-height: 1.28; font-weight: var(--title-weight); letter-spacing: var(--title-tracking); }
.login-panel > p { margin: 10px 0 24px; color: var(--muted); line-height: 1.55; }
.stack { display: grid; gap: 15px; }
.stack label, .account-picker { display: grid; gap: 6px; }
.stack label, .field-label { font-size: .9375rem; font-weight: 550; }
.stack input, .stack select { font-size: 1rem; font-weight: 400; }
.account-picker { position: relative; }
.account-code { font-weight: 600; letter-spacing: .025em; }
.account-scope { color: var(--muted); font-size: .875rem; font-weight: 400; }
.account-trigger, .account-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.35;
  text-align: left;
}
.account-trigger { border: 1px solid var(--field-border); border-radius: 10px; background: var(--field); }
.account-trigger[aria-expanded="true"] { border-color: #81aa96; }
.account-trigger[aria-invalid="true"] { border-color: #a54e44; }
#account-choice { display: flex; align-items: center; gap: 12px; }
.picker-chevron {
  width: 8px;
  height: 8px;
  margin: 0 3px 3px 0;
  border: solid var(--green-dark);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.account-trigger[aria-expanded="true"] .picker-chevron { transform: translateY(3px) rotate(225deg); }
.account-options {
  position: absolute;
  z-index: 5;
  display: grid;
  gap: 3px;
  top: calc(100% + 6px);
  inset-inline: 0;
  padding: 5px;
  background: #f7fbf8;
  border: 1px solid #cfdfd4;
  border-radius: 12px;
  box-shadow: 0 14px 30px #15312920;
}
.account-trigger[hidden], .account-options[hidden] { display: none; }
.account-option { border: 0; border-radius: 8px; background: transparent; }
.account-option:hover, .account-option[aria-selected="true"], .account-option:focus-visible { background: #e2efe7; }
.account-option:focus-visible { outline-offset: -2px; }
.login-hint {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  margin-top: 20px;
  background: #edf5ef;
  border-radius: 8px;
  color: var(--muted);
  font-size: .875rem;
}
.login-hint code { color: var(--green-dark); font-size: 1em; }

.app { min-height: 100vh; color: var(--text); }
.workspace {
  min-height: calc(100vh - var(--bar-height));
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
}
.sidebar {
  height: calc(100vh - var(--bar-height));
  position: sticky;
  top: var(--bar-height);
  display: flex;
  flex-direction: column;
  padding: 25px 15px 18px;
}
.theme-yunhe .sidebar {
  height: calc(100vh - var(--bar-height) - 28px);
  top: calc(var(--bar-height) + 14px);
  margin: 14px 0 14px 14px;
  background: linear-gradient(150deg, #ffffffa8, #ffffff66);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(24px) saturate(135%);
}
.theme-yuantang .sidebar { background: #f0f2ed; border-right: 1px solid #e0e6dc; }
.book-switch {
  display: flex;
  gap: 6px;
}
.book-switch a {
  flex: 1;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  padding: 6px 15px;
  color: #435b4c;
  font-size: .9375rem;
}
.book-switch a:hover, .book-switch a[aria-current] { color: #194936; background: #dceee3; }
.book-switch a[aria-current] { font-weight: 650; }
.nav-label { padding: 0 12px 9px; color: var(--muted); font-size: .875rem; }
.main-nav { display: grid; gap: 5px; min-height: 0; overflow: auto; }
.main-nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  border-radius: 12px;
  padding: 7px 10px;
  color: var(--muted);
  font-size: .9375rem;
  font-weight: 600;
}
.main-nav a:hover { background: var(--field); }
.theme-yunhe .main-nav a[aria-current] { color: #125d49; background: linear-gradient(135deg, #20775d20, #ffffffb8); }
.theme-yuantang .main-nav a[aria-current] { color: #325c1e; background: #e2edce; box-shadow: inset 3px 0 #73a225; }
.nav-icon {
  display: grid;
  place-items: center;
  flex: 0 0 29px;
  height: 29px;
  border-radius: 9px;
  background: var(--field);
  color: var(--green);
  font-size: 1rem;
}
.main-nav a[aria-current] .nav-icon { background: #1b7059; color: white; }
.theme-yuantang .main-nav a[aria-current] .nav-icon { background: #6a9e16; }
.sidebar-footer {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 7px 1px;
  margin-top: auto;
  border-top: 1px solid var(--line);
  font-size: .875rem;
  color: var(--muted);
}
.demo-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.topbar {
  position: sticky;
  z-index: 4;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  min-height: var(--bar-height);
  padding: 5px 21px;
  border-bottom: 1px solid #dce5dc;
  background: #f7faf7;
  color: #435b4c;
  font-size: .875rem;
}
.account-bar { display: flex; gap: 13px; align-items: center; justify-content: flex-end; }
.account-bar strong { color: var(--text); white-space: nowrap; }
.top-version { font-variant-numeric: tabular-nums; white-space: nowrap; }
.content { min-width: 0; width: 100%; max-width: 1600px; margin: 0 auto; padding: 26px 34px 50px; }
.page-heading { margin-bottom: 24px; }
.page-heading h1 { font-size: clamp(1.5rem, 3vw, 1.75rem); font-weight: var(--title-weight); letter-spacing: var(--title-tracking); line-height: 1.25; overflow-wrap: anywhere; }
.page-heading p { margin-top: 8px; color: var(--muted); line-height: 1.55; }
.theme-yuantang .page-heading {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: center;
  overflow: hidden;
  min-height: 142px;
  padding: 23px 28px;
  margin-bottom: 17px;
  border: 1px solid #e0e7dd;
  border-radius: 22px;
  background: #edf1ea;
}
.theme-yuantang .page-heading::before, .theme-yuantang .page-heading::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.theme-yuantang .page-heading::before {
  z-index: -2;
  inset: -15px;
  background: url('/nature-sculpture.png') no-repeat right 43% center / 70% auto;
  filter: blur(8px) saturate(.7);
  opacity: .4;
}
.theme-yuantang .page-heading::after {
  z-index: -1;
  background: linear-gradient(90deg, #eff2ecf4, #eff2ecd6 43%, #eff2ec5c);
}
.theme-yuantang .page-heading h1 { font-size: clamp(1.55rem, 3vw, 2.0625rem); }
.theme-yuantang [data-view="overview"] .page-heading {
  display: block;
  min-height: 0;
  padding: 0;
  margin-bottom: 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.theme-yuantang [data-view="overview"] .page-heading::before,
.theme-yuantang [data-view="overview"] .page-heading::after { content: none; }
.theme-yuantang [data-view="overview"] .page-heading h1 {
  font-size: clamp(1.75rem, 3vw, 2.1875rem);
  margin-top: 8px;
}
.yuantang-overview-label { color: #647960; font-size: .8125rem; font-weight: 650; letter-spacing: .15em; }
.yuantang-hero {
  position: relative;
  isolation: isolate;
  min-height: 272px;
  overflow: hidden;
  margin-bottom: 16px;
  border-radius: 24px;
  border: 1px solid #e0e6dd;
  background: linear-gradient(110deg, #f1f3ee, #e9eee8 56%, #e5ece4);
}
.yuantang-hero::before {
  content: "";
  position: absolute;
  right: 17%;
  top: -190px;
  width: 500px;
  height: 500px;
  border: 1px solid #ffffff70;
  border-radius: 50%;
  box-shadow: 0 0 0 70px #ffffff1b, 0 0 0 71px #ffffff52;
}
.yuantang-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #f1f3eef0, #f1f3eec9 37%, #edf1ea6b 70%, #edf1ea74);
  pointer-events: none;
}
.yuantang-hero-copy { position: relative; z-index: 1; padding: 33px 34px; }
.yuantang-hero-kicker { color: #5c7c43; font-size: .75rem; font-weight: 700; letter-spacing: .16em; }
.yuantang-hero h2 {
  margin: 17px 0 12px;
  color: #132017;
  font: 500 clamp(2rem, 3.4vw, 3.125rem)/1.25 var(--songti);
  letter-spacing: .025em;
}
.yuantang-hero h2 em { color: #5e8a20; font-style: normal; }
.yuantang-hero-copy p { margin: 0 0 20px; color: #657467; }
.yuantang-hero-copy .record-link { color: #527b20; }
.yuantang-hero-art {
  position: absolute;
  right: -12%;
  bottom: -51%;
  width: 78%;
  opacity: .5;
  filter: blur(7px) saturate(.72);
  transform: scale(1.08);
  pointer-events: none;
}
.yuantang-overview-status {
  margin-bottom: 18px;
  padding: 11px 16px;
  border-left: 3px solid #9ab86e;
  border-radius: 10px;
  background: #edf2e7;
  color: #526754;
  font-size: .875rem;
}
.back { display: inline-block; margin-bottom: 12px; color: var(--green-dark); font-size: .875rem; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 20px; }
.metric {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 17px 19px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  text-decoration: none;
}
.metric:hover { border-color: var(--field-border); }
.metric span { font-size: .875rem; color: var(--muted); }
.metric strong {
  font-size: clamp(1.15rem, 2.3vw, var(--number-size));
  line-height: 1.35;
  font-weight: var(--number-weight);
  letter-spacing: var(--number-tracking);
  font-variant-numeric: tabular-nums;
}
.metric small { color: var(--green-dark); font-size: .8125rem; }
.yunhe-hero, .yunhe-lower, .customer-cards {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.yunhe-lower { grid-template-columns: minmax(0, .85fr) minmax(0, 1.5fr); }
.customer-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.yunhe-hero .panel, .yunhe-lower .panel { margin-top: 0; }
.overview-figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 19px 20px 22px;
}
.overview-figures span, .overview-figures strong, .overview-figures a { display: block; }
.overview-figures span, .overview-figures a { color: var(--muted); font-size: .875rem; }
.overview-figures strong {
  margin: 8px 0;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: var(--number-weight);
  letter-spacing: var(--number-tracking);
  font-variant-numeric: tabular-nums;
}
.mix-list { padding: 15px 19px; }
.mix-row {
  display: grid;
  grid-template-columns: 4.25em minmax(2em, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 35px;
  font-size: .875rem;
}
.mix-row meter { width: 100%; height: 12px; }
.mix-row meter::-webkit-meter-bar { background: #e3eee7; border: 0; }
.mix-row meter::-webkit-meter-optimum-value { background: #2b866c; }
.overview-tasks { padding: 0 18px; }
.overview-tasks > a, .recent-task {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  align-items: center;
  min-height: 54px;
  border-bottom: 1px solid var(--line);
  color: var(--green-dark);
  text-decoration: none;
}
.overview-tasks > :last-child { border-bottom: 0; }
.overview-tasks > a:hover { text-decoration: underline; }
.recent-task .record-code { margin-top: 0; grid-column: 1; }
.recent-task .status { grid-column: 2; grid-row: 1 / span 2; }
.customer-card { padding: 14px 18px; color: var(--muted); }
.customer-card ul { margin: 12px 0 3px; padding-inline-start: 18px; line-height: 1.8; }
.knowledge-text { padding: 18px; line-height: 1.75; white-space: pre-wrap; }
.detail-progress, .detail-columns { display: grid; gap: 14px; }
.detail-progress { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.detail-progress > div {
  display: grid;
  justify-items: start;
  gap: 8px;
  padding: 13px 15px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 14px;
}
.detail-progress > div > span:first-child { color: var(--muted); font-size: .875rem; }
.detail-columns { grid-template-columns: minmax(0, .85fr) minmax(0, 1.5fr); }
.detail-columns > .panel { min-width: 0; }
.detail-columns > .panel:first-child .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.detail-columns dd { overflow-wrap: anywhere; }
.theme-yuantang .metric {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 145px;
  padding: 20px 21px;
}
.theme-yuantang .metric::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -34px;
  top: -40px;
  width: 120px;
  height: 120px;
  border: 1px solid #dceacb;
  border-radius: 50%;
  box-shadow: 0 0 0 16px #f5f8f0, 0 0 0 17px #e5efdb;
  pointer-events: none;
}
.theme-yuantang .metric span { color: #586d55; font-weight: 600; }
.theme-yuantang .metric strong { color: #1a2c1d; font-weight: 700; letter-spacing: -.045em; }
.panel {
  margin-top: 16px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}
.theme-yunhe :is(.panel, .metric) { backdrop-filter: blur(24px) saturate(135%); }
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.panel-heading h2 { font-size: 1.0625rem; font-weight: 650; }
.panel-heading a { font-size: .875rem; }
.panel-text { padding: 16px 18px; line-height: 1.5; }
.panel-actions { display: flex; padding: 0 18px 15px; }
.pack-actions { padding-top: 14px; }
.filters {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.filters label:first-child { flex: 1; max-width: 370px; }
.desktop-toolbar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 15px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}
.filter-groups { display: grid; gap: 6px; }
.filter-tabs, .list-search { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.filter-tabs a {
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: var(--button-radius);
  padding: 6px 11px;
  text-decoration: none;
  font-size: .875rem;
}
.filter-tabs a[aria-current], .filter-tabs a:hover {
  background: var(--green-light);
  color: var(--green-dark);
}
.filter-tabs a[aria-current] { font-weight: 600; }
.list-search input[type="search"] { min-width: 190px; }
.table-wrap { overflow: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: var(--table-size); line-height: 1.6; }
th {
  font-weight: var(--column-weight);
  color: var(--muted);
  background: var(--table-head);
  white-space: nowrap;
  font-size: .875rem;
}
th, td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th:first-child, td:first-child { padding-left: 18px; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--table-hover); }
td { font-variant-numeric: tabular-nums; }
.record-link { color: var(--green-dark); font-weight: var(--item-weight); text-decoration: none; }
.record-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.record-code { display: block; margin-top: 3px; color: var(--muted); font-size: .8125rem; }
.status {
  display: inline-flex;
  border-radius: 6px;
  padding: 3px 7px;
  font-size: .8125rem;
  line-height: 1.5;
  white-space: nowrap;
}
.amber { background: #fbefd6; color: #75511c; }
.blue { background: #e8f1f8; color: #375a73; }
.green { background: #e3f2e9; color: #285a41; }
.gray { background: #eef1ee; color: #4c6154; }
.empty { padding: 18px; color: var(--muted); }
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px 20px;
  padding: 18px;
}
.facts dt { color: var(--muted); font-size: .875rem; }
.facts dd { margin-top: 5px; font-weight: var(--item-weight); font-variant-numeric: tabular-nums; }
.notes-list { display: grid; gap: 0; padding: 0 18px; margin: 0; list-style: none; }
.notes-list li { padding: 13px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.notes-list li:last-child { border-bottom: 0; }
.notes-list p { margin-top: 6px; line-height: 1.7; white-space: pre-wrap; }
.note-meta { display: flex; gap: 12px; align-items: baseline; font-size: .875rem; }
.note-meta time { color: var(--muted); }
.note-form {
  display: grid;
  justify-items: start;
  gap: 8px;
  padding: 15px 18px;
  border-top: 1px solid var(--line);
  background: var(--field);
}
.note-form label { font-size: .9375rem; font-weight: 600; }
.notice, .error { padding: 9px 12px; border-radius: 7px; font-size: .9375rem; line-height: 1.5; }
.notice { margin: 12px 18px; background: #e8f4eb; color: #23573b; }
.error { background: #faebe7; color: #852f25; }
.inset { margin: 12px 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 1150px) {
  .workspace { grid-template-columns: 205px minmax(0, 1fr); }
  .sidebar { padding-inline: 12px; }
  .content, .topbar { padding-inline: 21px; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yunhe-lower { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .workspace { display: block; }
  .sidebar, .theme-yunhe .sidebar, .theme-yuantang .sidebar {
    position: static;
    height: auto;
    padding: 14px;
  }
  .theme-yunhe .sidebar { margin: 10px; }
  .theme-yuantang .sidebar { border-right: 0; border-bottom: 1px solid var(--line); }
  .brand { padding-bottom: 12px; }
  .nav-label, .nav-icon, .sidebar-footer { display: none; }
  .main-nav { display: flex; overflow: auto; white-space: nowrap; }
  .topbar { position: static; display: flex; flex-wrap: wrap; justify-content: space-between; }
  .account-bar { gap: 8px; flex-wrap: wrap; }
  .yuantang-hero { min-height: 245px; }
  .yuantang-hero-copy { padding: 25px 22px; }
  .yuantang-hero-art { right: -28%; bottom: -12%; width: 106%; opacity: .42; }
  .theme-yuantang .page-heading::before { background-size: 100% auto; }
  .filters { flex-wrap: wrap; }
  .yunhe-hero, .customer-cards, .detail-columns { grid-template-columns: 1fr; }
  .detail-progress { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .login-panel { padding: 27px 22px; }
  .content, .topbar { padding-inline: 15px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric { padding-inline: 12px; }
  .theme-yuantang .metric { padding-inline: 13px; }
}
