:root {
  --ink: #202321;
  --muted: #727973;
  --green: #245c43;
  --green-dark: #16482f;
  --mint: #edf5ef;
  --bg: #fff;
  --line: #e9ece9;
  --radius: 14px;
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.4;
  font-weight: 600;
}
h2 {
  font-size: 18px;
}
h3 {
  font-size: 15px;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}
input,
textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #dce2dd;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  outline: none;
}
input:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px #245c430d;
}
textarea {
  resize: vertical;
  min-height: 100px;
}
input::placeholder,
textarea::placeholder {
  color: #929a94;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
  display: grid;
  gap: 16px;
}
summary {
  cursor: pointer;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1080px, calc(100% - 80px));
  margin-inline: auto;
}
.muted,
.form-note {
  color: var(--muted);
  font-size: 13px;
}
.full {
  width: 100%;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid #dce2dd;
  border-radius: 9px;
  background: #fff;
  font-weight: 500;
  white-space: nowrap;
}
.button:hover {
  background: #f6f8f6;
}
.button.primary {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.button.primary:hover {
  background: var(--green-dark);
}
.button.small {
  min-height: 36px;
  padding: 6px 12px;
  font-size: 12px;
  gap: 8px;
}
.text-button {
  border: 0;
  background: none;
  padding: 3px 0;
  color: var(--green);
  font-size: 13px;
}
.text-button:hover {
  text-decoration: underline;
}
.icon-button {
  border: 0;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  width: 40px;
  height: 40px;
  color: var(--muted);
  border-radius: 8px;
}
.icon-button:hover {
  background: #f3f5f3;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--green);
  color: #fff;
  font-size: 19px;
  border-radius: 9px;
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 400;
  color: var(--muted);
}
.consumer-body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.site-header {
  height: 88px;
  display: flex;
  align-items: center;
  gap: 56px;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--muted);
}
.desktop-nav a.active {
  color: var(--ink);
  font-weight: 600;
}
.account-entry {
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 7px 14px;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.consumer-body #main {
  flex: 1;
}
.search-home {
  width: min(660px, 100%);
  margin: clamp(65px, 12vh, 120px) auto 100px;
}
.search-heading {
  text-align: center;
  margin-bottom: 34px;
}
.overline {
  font-size: 12px !important;
  letter-spacing: 3px;
  color: var(--muted);
  margin-bottom: 16px;
}
.search-heading h1 {
  font-size: 42px;
  letter-spacing: -1.5px;
  margin-bottom: 14px;
}
.search-heading > p:last-child {
  font-size: 15px;
  color: var(--muted);
}
.search-box {
  border: 1px solid #dce2dd;
  border-radius: 16px;
  box-shadow: 0 8px 30px #1c382108;
  padding: 20px;
  transition: border-color 0.15s;
}
.search-box:focus-within {
  border-color: #7f9f8a;
}
.search-box textarea {
  border: 0;
  border-radius: 0;
  padding: 0;
  min-height: 74px;
  resize: none;
  font-size: 15px;
  box-shadow: none;
}
.search-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
}
.search-actions > span {
  font-size: 12px;
  color: #7d867f;
}
.search-actions .button {
  min-width: 135px;
}
.try-examples {
  text-align: center;
  margin-top: 23px;
  color: var(--muted);
  font-size: 12px;
}
.try-examples summary {
  display: inline-block;
  list-style: none;
  padding: 8px;
}
.try-examples summary::-webkit-details-marker {
  display: none;
}
.try-examples summary:after {
  content: ' ＋';
}
.try-examples[open] summary:after {
  content: ' −';
}
.try-examples > div {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 10px 0;
}
.try-examples button {
  border: 1px solid var(--line);
  background: #fafbfa;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  color: #828a84;
  font-size: 11px;
}
.site-footer a:hover {
  color: var(--green);
}
.mobile-nav {
  display: none;
}
.content-page {
  max-width: 880px;
  margin: 0 auto 50px;
}
.narrow-page {
  max-width: 620px;
  margin: 0 auto 50px;
}
.page-heading {
  padding: 45px 0 28px;
}
.page-heading h1 {
  font-size: 28px;
  margin-bottom: 8px;
}
.page-heading p {
  color: var(--muted);
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 20px;
  min-width: 0;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}
.panel-heading h2 {
  font-size: 16px;
}
.record-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  text-align: left;
  background: transparent;
}
.record-row:last-child {
  border-bottom: 0;
}
button.record-row:hover {
  background: #fafbfa;
}
.record-symbol {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f2f5f2;
  display: grid;
  place-items: center;
  color: #617969;
  font-size: 16px;
}
.record-text {
  flex: 1;
  min-width: 0;
}
.record-text strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.record-text small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}
.record-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 5px;
  background: #f3f5f3;
  color: #69756d;
  font-size: 11px;
  white-space: nowrap;
}
.badge.warning {
  background: #f8f3e8;
  color: #8a7139;
}
.badge.good {
  background: #edf5ef;
  color: var(--green);
}
.empty-state {
  text-align: center;
  padding: 34px 16px;
}
.empty-icon {
  display: block;
  color: #bec8c0;
  font-size: 24px;
  margin-bottom: 10px;
}
.empty-state h3 {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 5px;
}
.empty-state p {
  font-size: 12px;
  color: var(--muted);
}
.stack-form {
  display: grid;
  gap: 20px;
}
.stack-form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
}
.stack-form .check-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}
.check-row input {
  width: 16px;
  height: 16px;
  margin: 3px 0 0;
  accent-color: var(--green);
  flex-shrink: 0;
}
.contribution-row {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contribution-row:last-child {
  border-bottom: 0;
}
.contribution-row strong {
  font-weight: 500;
}
.contribution-row p {
  color: var(--muted);
  font-size: 13px;
  margin: 6px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.contribution-row small {
  color: var(--muted);
  font-size: 11px;
}
.contribution-row .badge {
  align-self: flex-start;
}
.notice {
  padding: 14px 16px;
  background: #f7f6f1;
  color: #7a715b;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.8;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  width: min(480px, calc(100% - 32px));
  max-height: calc(100svh - 40px);
  overflow: auto;
  color: var(--ink);
  box-shadow: 0 24px 80px #14251a24;
}
dialog::backdrop {
  background: #14251a52;
}
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
dialog h2 {
  font-size: 25px;
  letter-spacing: -0.5px;
}
.quote-product {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
}
.quote-product h3 {
  margin-bottom: 6px;
}
.price-breakdown > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  color: var(--muted);
  font-size: 13px;
}
.price-breakdown strong {
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.price-breakdown .price-total {
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 16px;
  color: var(--ink);
}
.price-total strong {
  font-size: 34px;
  color: var(--green);
  letter-spacing: -1px;
}
.price-total small {
  font-size: 18px;
  margin-right: 4px;
}
.calculation,
.account-security {
  color: var(--muted);
  font-size: 12px;
  margin: 18px 0;
}
.calculation p,
.account-security p {
  margin-top: 10px;
}
.quote-caveat {
  font-size: 12px;
  color: var(--muted);
  margin: 18px 0;
}
.dialog-footnote {
  display: block;
  color: #8d968f;
  font-size: 10px;
  margin-top: 18px;
}
.success-note {
  color: var(--green);
  background: var(--mint);
  padding: 12px;
  border-radius: 8px;
  margin: 14px 0;
  font-size: 13px;
}
.auth-intro {
  color: var(--muted);
  font-size: 13px;
  margin: 12px 0 24px;
}
.auth-switch {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin: 20px 0;
}
.form-error {
  color: #a83628;
  background: #fff3f0;
  border-radius: 8px;
  padding: 10px;
  font-size: 12px;
}
.form-note {
  font-size: 12px;
  line-height: 1.8;
}
.profile-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green);
  font-size: 22px;
}
.profile-heading h2 {
  overflow-wrap: anywhere;
}
.account-row {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.guest-panel {
  text-align: center;
  padding: 40px 24px;
}
.guest-panel p {
  margin: 14px 0 24px;
}
.loading-panel {
  padding: 80px 20px;
  text-align: center;
  color: var(--muted);
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.15s,
    transform 0.15s;
  background: #26392e;
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 13px;
  max-width: calc(100% - 40px);
  width: max-content;
  z-index: 100;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
/* 管理端共用基础组件；与用户端导航／布局隔离。 */
.admin-body {
  background: #f7f8f7;
  min-height: 100svh;
}
.admin-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 216px;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.admin-sidebar .brand {
  padding: 0 10px;
  margin-bottom: 30px;
}
.sidebar-label {
  font-size: 10px;
  color: #99a09a;
  margin: 14px 14px 8px;
  letter-spacing: 1px;
}
.admin-sidebar nav > a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  margin: 3px 0;
  color: #737e76;
  font-size: 13px;
  border-radius: 7px;
}
.admin-sidebar nav > a.active {
  color: var(--green);
  background: var(--mint);
  font-weight: 600;
}
.admin-sidebar nav > a:hover {
  background: #f4f7f4;
}
.admin-sidebar nav > a > span {
  width: 16px;
  font-size: 16px;
  font-weight: 400;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 32px 12px 0;
  font-size: 11px;
  color: var(--muted);
}
.sidebar-bottom p {
  font-size: 10px;
  margin: 6px 0 16px;
}
.status-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 6px;
}
.admin-shell {
  margin-left: 216px;
  min-width: 0;
}
.admin-topbar {
  height: 72px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  font-size: 12px;
}
.crumb {
  padding: 0 14px;
  color: #c3c9c4;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
#admin-main {
  padding: 34px;
  max-width: 1540px;
  margin: auto;
}
.admin-page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
}
.admin-page-heading h1 {
  font-size: 25px;
  margin-bottom: 6px;
}
.admin-page-heading p {
  color: var(--muted);
  font-size: 12px;
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.stat-card > span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.stat-card > strong {
  display: block;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.4;
  margin: 10px 0;
}
.stat-card > small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.stat-card.featured {
  border-color: #b5caba;
}
.admin-grid,
.policy-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
.admin-grid .panel {
  margin: 0;
}
.audit-row {
  display: flex;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.audit-row:last-child {
  border: 0;
}
.audit-bullet {
  height: 6px;
  width: 6px;
  background: #a5bbac;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 9px;
}
.audit-row strong {
  display: block;
  font-weight: 500;
  font-size: 12px;
}
.audit-row small {
  color: var(--muted);
  font-size: 10px;
}
.readiness-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  font-size: 12px;
  color: var(--muted);
}
.readiness-list li {
  display: flex;
  gap: 12px;
  padding: 9px 0;
}
.readiness-list li > span {
  color: var(--green);
}
.readiness-list .pending {
  color: #a6aca7;
}
.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
.admin-table th {
  font-weight: 500;
  color: var(--muted);
  background: #fafbfa;
  padding: 13px 18px;
  white-space: nowrap;
}
.admin-table td {
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  vertical-align: top;
}
.admin-table td small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 6px;
}
.reference {
  overflow-wrap: anywhere;
  word-break: break-all;
  max-width: 380px;
  color: var(--muted);
}
.admin-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.account-card,
.workflow-card,
.review-card {
  background: #fff;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 20px;
  min-width: 0;
}
.account-card h2 {
  margin: 12px 0 6px;
}
.account-card code,
.workflow-card code {
  display: block;
  overflow-wrap: anywhere;
  font-size: 11px;
  color: var(--muted);
  margin: 12px 0;
}
.account-card p,
.workflow-card p,
.review-card > p {
  color: var(--muted);
  font-size: 12px;
  margin: 12px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.account-card small,
.review-card small {
  color: var(--muted);
  font-size: 10px;
  display: block;
  margin-top: 10px;
}
.platform-label {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 11px;
  background: #f3f5f3;
  color: var(--green);
}
.capability-section {
  margin-top: 16px;
}
.workflow-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.workflow-heading h2 {
  font-size: 16px;
}
.workflow-track {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  margin: 18px 0;
  flex-wrap: wrap;
  color: var(--muted);
}
.workflow-track span {
  background: #f5f7f5;
  padding: 6px 12px;
  border-radius: 5px;
}
.workflow-track i {
  font-style: normal;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.policy-layout .stack-form {
  margin-top: 24px;
}
.contribution-guide {
  padding: 24px;
  background: #f0f4f0;
  border-radius: var(--radius);
  align-self: start;
}
.contribution-guide > p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 16px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-bottom: 12px;
}
.login-panel {
  max-width: 430px;
  margin: 70px auto;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.login-panel h1 {
  font-size: 25px;
}
.login-panel > p {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0 24px;
}
.login-panel .form-note {
  margin-top: 24px;
}
.review-form {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.review-form input {
  flex: 1;
}
.section-space {
  margin: 24px 0;
}
.user-toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  align-items: center;
}
.user-toolbar input {
  max-width: 360px;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  font-size: 12px;
  color: var(--muted);
}
.user-detail {
  margin-top: 24px;
}
.user-detail .panel-heading {
  flex-wrap: wrap;
}
.user-detail h3 {
  margin: 24px 0 12px;
}
.user-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}
@media (min-width: 1450px) {
  .search-home {
    margin-top: 15vh;
  }
}
@media (max-width: 1050px) {
  .admin-sidebar {
    width: 190px;
  }
  .admin-shell {
    margin-left: 190px;
  }
  #admin-main {
    padding: 26px;
  }
  .admin-stats {
    grid-template-columns: 1fr 1fr;
  }
  .admin-grid,
  .policy-layout {
    grid-template-columns: 1fr;
  }
  .gift-row {
    flex-wrap: wrap;
  }
  .gift-row .record-actions {
    width: 100%;
    padding-top: 6px;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 76px;
    gap: 16px;
  }
  .brand {
    font-size: 18px;
    gap: 8px;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
  }
  .desktop-nav {
    display: none;
  }
  .account-entry {
    font-size: 12px;
    max-width: 145px;
    padding: 7px 12px;
  }
  .search-home {
    margin: 75px auto 70px;
  }
  .search-heading {
    margin-bottom: 28px;
  }
  .search-heading h1 {
    font-size: 32px;
    letter-spacing: -1px;
  }
  .search-heading > p:last-child {
    font-size: 14px;
  }
  .search-box {
    padding: 18px;
    border-radius: 14px;
  }
  .search-box textarea {
    min-height: 104px;
    font-size: 16px;
  }
  .search-actions {
    gap: 8px;
  }
  .search-actions .button {
    min-width: 110px;
    gap: 18px;
    padding: 10px 16px;
  }
  .search-actions > span {
    font-size: 10px;
  }
  .site-footer {
    padding: 20px 0 86px;
    font-size: 10px;
    flex-wrap: wrap;
  }
  .consumer-body {
    padding-bottom: 0;
  }
  .mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: #fffffff5;
    border-top: 1px solid var(--line);
    padding: 8px 12px max(8px, env(safe-area-inset-bottom));
    z-index: 5;
  }
  .mobile-nav a {
    font-size: 12px;
    min-height: 42px;
    display: grid;
    place-items: center;
    padding: 0 18px;
    color: var(--muted);
  }
  .mobile-nav a.active {
    color: var(--green);
    font-weight: 600;
  }
  .page-heading {
    padding: 26px 0 22px;
  }
  .page-heading h1 {
    font-size: 24px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .panel {
    padding: 20px 16px;
    border-radius: 12px;
  }
  .panel-heading {
    gap: 8px;
  }
  .panel-heading .muted {
    font-size: 10px;
  }
  .record-row {
    gap: 10px;
    flex-wrap: wrap;
  }
  .record-row .record-text {
    flex-basis: 60%;
  }
  .record-symbol {
    width: 34px;
    height: 34px;
  }
  .record-row > .badge {
    margin-left: 44px;
  }
  .record-row > .badge + span {
    margin-left: auto;
  }
  .gift-row > .badge {
    margin-left: 0;
  }
  .record-text strong {
    font-size: 13px;
  }
  .record-text small {
    font-size: 10px;
  }
  .record-actions {
    gap: 16px;
  }
  .contribution-row {
    flex-wrap: wrap;
    gap: 10px;
  }
  .stack-form input,
  .stack-form textarea {
    font-size: 16px;
  }
  .stack-form label {
    font-size: 12px;
  }
  .content-page,
  .narrow-page {
    margin-bottom: 24px;
  }
  .guest-panel {
    padding: 32px 20px;
  }
  dialog {
    padding: 22px 20px;
    max-height: calc(100svh - 24px);
  }
  dialog h2 {
    font-size: 24px;
  }
  .auth-intro {
    font-size: 12px;
  }
  .dialog-footnote {
    font-size: 9px;
  }
  #toast {
    bottom: 84px;
    font-size: 12px;
  }
  .admin-sidebar {
    position: static;
    width: 100%;
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    overflow: visible;
  }
  .admin-sidebar .brand {
    padding: 0;
    margin-bottom: 14px;
  }
  .admin-sidebar nav {
    display: flex;
    gap: 4px;
    overflow-x: auto;
  }
  .admin-sidebar nav > a {
    flex-shrink: 0;
    margin: 0;
    padding: 8px 12px;
    font-size: 12px;
  }
  .admin-sidebar nav > a > span,
  .sidebar-label,
  .sidebar-bottom {
    display: none;
  }
  .admin-shell {
    margin-left: 0;
  }
  .admin-topbar {
    height: 56px;
    padding: 0 20px;
    font-size: 11px;
  }
  .topbar-actions {
    gap: 12px;
  }
  #admin-main {
    padding: 24px 16px;
  }
  .admin-page-heading {
    align-items: flex-start;
    gap: 12px;
  }
  .admin-page-heading h1 {
    font-size: 22px;
  }
  .admin-page-heading p {
    font-size: 11px;
  }
  .admin-page-heading > .button {
    min-width: 60px;
  }
  .admin-stats {
    gap: 10px;
    margin: 16px 0;
  }
  .stat-card {
    padding: 16px;
  }
  .stat-card > strong {
    font-size: 26px;
  }
  .stat-card > small {
    font-size: 9px;
  }
  .admin-grid,
  .admin-cards,
  .policy-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .admin-table {
    min-width: 560px;
  }
  .admin-table td,
  .admin-table th {
    padding: 12px;
  }
  .account-card,
  .workflow-card,
  .review-card {
    padding: 18px;
  }
  .workflow-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .workflow-track {
    gap: 8px;
  }
  .workflow-track span {
    padding: 5px 8px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .review-form {
    flex-wrap: wrap;
  }
  .review-form input {
    flex-basis: 100%;
  }
  .login-panel {
    margin: 30px auto;
    padding: 24px;
  }
  .user-toolbar {
    flex-wrap: wrap;
    gap: 8px;
  }
  .user-toolbar input {
    width: 100%;
    max-width: none;
    font-size: 16px;
  }
  .user-meta {
    gap: 8px;
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* 内容发现与需求清单：沿用单一强调色，图片为本地品类示意，不借用商品素材。 */
select {
  font: inherit;
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid #dedfdb;
  border-radius: 10px;
  background: #fff;
  color: #253b31;
}
select:focus-visible {
  outline: 2px solid #729887;
  outline-offset: 2px;
}
.back-link {
  display: inline-block;
  margin: 0 0 28px;
  color: #67776f;
  font-size: 13px;
}
.discovery-heading,
.guide-heading {
  padding: 22px 0 32px;
}
.discovery-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.discovery-heading h1,
.guide-heading h1 {
  font-size: clamp(27px, 3vw, 39px);
  font-weight: 600;
  letter-spacing: -1.2px;
  margin: 14px 0;
}
.discovery-heading p,
.guide-heading p {
  color: #748078;
  font-size: 14px;
  line-height: 1.8;
}
.discovery-heading .overline,
.guide-heading .overline {
  font-size: 10px;
  letter-spacing: 2px;
  color: #587266;
}
.discovery-heading > .button {
  flex-shrink: 0;
}
.discovery-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid #e9ebe7;
}
.category-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  padding: 9px 14px;
  font-size: 12px;
  border-radius: 7px;
  color: #6c756e;
  background: #f6f7f4;
}
.chip.selected {
  background: #234939;
  color: white;
}
.platform-filter {
  display: flex;
  gap: 17px;
  font-size: 12px;
  color: #869087;
}
.platform-filter .selected {
  color: #234939;
  font-weight: 600;
}
.feed-caption {
  color: #8a928b;
  font-size: 12px;
  margin: 2px 0 20px;
}
.demo-strip {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  background: #f7f3e9;
  color: #8a7250;
  font-size: 12px;
  line-height: 1.8;
  padding: 12px 16px;
  border-radius: 8px;
  margin: 0 0 24px;
}
.demo-strip a {
  text-decoration: underline;
  flex-shrink: 0;
}
.deal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.deal-card {
  display: block;
  border: 1px solid #ebede7;
  border-radius: 16px;
  overflow: hidden;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.deal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px #2547330c;
}
.deal-art {
  height: 196px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #f0f3ee;
  color: #798e7d;
}
.deal-art svg {
  width: 128px;
  height: 112px;
}
.deal-art > span {
  position: absolute;
  bottom: 13px;
  right: 16px;
  color: #838b81;
  font-size: 10px;
}
.tone-home {
  background: #f2eee4;
  color: #9f9377;
}
.tone-food {
  background: #f4ece5;
  color: #a18571;
}
.deal-card-body {
  padding: 23px;
}
.deal-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #8a928b;
  font-size: 11px;
}
.deal-card h2 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
  margin: 15px 0 10px;
  overflow-wrap: anywhere;
}
.deal-card p {
  font-size: 12px;
  color: #869087;
  line-height: 1.8;
  min-height: 44px;
  margin: 0 0 20px;
  overflow-wrap: anywhere;
}
.deal-price {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding-top: 17px;
  border-top: 1px solid #f0f1ed;
}
.deal-price small,
.detail-price small {
  display: block;
  font-size: 11px;
  color: #90968e;
}
.deal-price strong {
  display: block;
  font-size: 22px;
  font-weight: 600;
  margin-top: 6px;
  color: #254d3b;
}
.deal-price > span {
  color: #677c6e;
}
.discovery-foot {
  margin-top: 48px;
  padding: 28px 30px;
  border-radius: 12px;
  background: #f6f7f3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.discovery-foot strong {
  display: block;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
}
.discovery-foot div span {
  color: #899087;
  font-size: 12px;
}
.discovery-foot > span {
  font-size: 13px;
  flex-shrink: 0;
}
.catalog-empty {
  text-align: center;
  padding: 56px 20px 70px;
  border: 1px dashed #e4e8df;
  border-radius: 14px;
}
.catalog-empty h2 {
  font-size: 22px;
  font-weight: 500;
}
.catalog-empty p {
  color: #859080;
  font-size: 13px;
  line-height: 2;
  margin-bottom: 28px;
}
.catalog-empty .text-button {
  display: block;
  width: fit-content;
  margin: 20px auto 0;
}
.deal-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.deal-detail-art {
  background: #f0f3ee;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 350px;
}
.deal-detail-art.tone-home {
  background: #f2eee4;
}
.deal-detail-art.tone-food {
  background: #f4ece5;
}
.deal-detail-art svg {
  width: 210px;
  max-width: 60%;
}
.deal-detail-art small {
  position: absolute;
  bottom: 20px;
  font-size: 11px;
  color: #929888;
}
.deal-detail-info {
  padding: 18px 0;
}
.deal-detail-info h1 {
  font-weight: 600;
  font-size: 28px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  margin: 20px 0 14px;
}
.detail-summary {
  color: #869087;
  line-height: 1.8;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.detail-price {
  padding: 23px 0 8px;
}
.detail-price strong {
  display: block;
  font-size: 37px;
  font-weight: 500;
  color: #234939;
  margin: 8px 0;
}
.detail-price p {
  font-size: 12px;
  color: #919889;
  line-height: 1.8;
}
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.detail-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  border-top: 1px solid #e8ebe3;
  padding-top: 30px;
  margin-top: 40px;
}
.detail-notes h2 {
  font-size: 16px;
  font-weight: 500;
}
.detail-notes p,
.help-list p {
  font-size: 13px;
  color: #7c877b;
  line-height: 1.9;
}
.preserve-lines {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.guide-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
  align-items: start;
}
.guide-aside {
  padding: 30px 20px;
}
.guide-number {
  font-size: 11px;
  letter-spacing: 2px;
  color: #9caa99;
}
.guide-aside h2 {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.6;
  margin: 28px 0;
}
.guide-aside ol {
  padding-left: 22px;
  color: #6e806e;
}
.guide-aside li {
  font-size: 13px;
  margin: 22px 0;
  padding-left: 6px;
}
.guide-aside strong {
  font-weight: 500;
}
.guide-aside p {
  color: #929b8b;
  font-size: 12px;
}
.brief-history {
  margin-top: 24px;
}
.help-list details {
  padding: 22px 0;
  border-bottom: 1px solid #eef0e9;
}
.help-list details:first-child {
  padding-top: 0;
}
.help-list details:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.help-list summary {
  cursor: pointer;
  font-size: 14px;
  line-height: 1.7;
}
.ops-card {
  border: 1px solid #e3e8df;
  padding: 24px;
  border-radius: 12px;
  background: #fff;
  margin-bottom: 18px;
  overflow-wrap: anywhere;
}
.ops-card h2 {
  font-size: 17px;
  margin: 0;
}
.ops-card > p {
  color: #7a8777;
  line-height: 1.8;
  font-size: 13px;
}
.ops-card > details {
  margin-top: 20px;
}
.ops-card > details > summary {
  cursor: pointer;
  font-size: 13px;
  margin-bottom: 18px;
}
.ops-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}
.ops-actions .check-row {
  flex: 1 1 250px;
  font-size: 12px;
  color: #75816e;
}
.source-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  color: #8a9382;
  font-size: 12px;
}
.new-content {
  margin-bottom: 25px;
}
.new-content > summary {
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 0;
}
.new-content[open] > summary {
  margin-bottom: 24px;
}
@media (max-width: 900px) {
  .deal-grid {
    gap: 16px;
  }
  .deal-card-body {
    padding: 18px;
  }
  .deal-card h2 {
    font-size: 15px;
  }
  .deal-detail {
    gap: 30px;
  }
  .guide-layout {
    gap: 24px;
  }
}
@media (max-width: 760px) {
  .discovery-heading {
    align-items: start;
    padding-top: 5px;
    gap: 10px;
  }
  .discovery-heading h1,
  .guide-heading h1 {
    font-size: 25px;
    letter-spacing: -0.8px;
  }
  .discovery-heading .overline {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .discovery-heading > .button {
    font-size: 11px;
    padding: 10px 12px;
    margin-top: 5px;
  }
  .discovery-heading > .button > span {
    display: none;
  }
  .discovery-heading p {
    font-size: 12px;
  }
  .category-chips {
    gap: 6px;
  }
  .chip {
    padding: 8px 10px;
    font-size: 11px;
  }
  .demo-strip {
    flex-direction: column;
    gap: 3px;
    padding: 10px 12px;
    font-size: 11px;
  }
  .deal-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .deal-art {
    height: 170px;
  }
  .deal-card h2 {
    font-size: 17px;
  }
  .deal-card p {
    min-height: 0;
  }
  .deal-card-body {
    padding: 22px;
  }
  .discovery-foot {
    margin-top: 28px;
    padding: 22px 18px;
  }
  .discovery-foot strong {
    font-size: 14px;
  }
  .discovery-foot div span {
    line-height: 1.8;
  }
  .deal-detail {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .deal-detail-art {
    min-height: 245px;
  }
  .deal-detail-art svg {
    width: 160px;
  }
  .deal-detail-info {
    padding-top: 0;
  }
  .deal-detail-info h1 {
    font-size: 24px;
  }
  .detail-notes {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 25px;
  }
  .guide-layout {
    grid-template-columns: 1fr;
  }
  .guide-aside {
    display: none;
  }
  .guide-heading {
    padding-top: 5px;
  }
  .catalog-empty {
    padding: 45px 12px;
  }
  .catalog-empty h2 {
    font-size: 19px;
  }
  .ops-card {
    padding: 18px;
  }
  .mobile-nav a {
    padding-left: 7px;
    padding-right: 7px;
    font-size: 12px;
  }
}
