:root {
  --ink: #182523;
  --muted: #687370;
  --line: #dce2df;
  --surface: #ffffff;
  --canvas: #f3f5f2;
  --soft: #eaf1ee;
  --brand: #e95527;
  --brand-dark: #bd3513;
  --jade: #19766f;
  --jade-dark: #115a55;
  --gold: #b47a20;
  --danger: #c43c33;
  --shadow: 0 18px 45px rgba(24, 37, 35, 0.11);
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  font-size: 15px;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
  letter-spacing: 0;
}

button,
a,
.product-card,
.category-tile,
.case-card,
.choice,
.order-card {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(25, 118, 111, 0.26);
  outline-offset: 2px;
}

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

img {
  display: block;
  max-width: 100%;
}

svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  stroke-width: 1.9;
}

.app-shell {
  min-height: 100vh;
}

body.douyin-webview {
  padding-top: 0;
}

body.douyin-webview .topbar {
  display: none;
}

body.douyin-webview #app {
  min-height: 100vh;
}

body.douyin-webview .shortcut[href^="admin.html"] {
  display: none;
}

body.wechat-webview .topbar,
body.wechat-webview .mobile-nav {
  display: none;
}

body.wechat-webview .floating-ai {
  bottom: 24px;
}

.topbar {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(260px, 1fr);
  align-items: center;
  height: var(--header-height);
  padding: 0 max(28px, calc((100vw - 1440px) / 2));
  border-bottom: 1px solid rgba(220, 226, 223, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
  gap: 11px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease;
}

.brand:hover .brand-mark {
  transform: rotate(-7deg) scale(1.08);
  background: var(--brand);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-size: 17px;
  line-height: 1.1;
}

.brand-copy small {
  color: var(--muted);
  font-size: 11px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 5px;
}

.nav-link {
  position: relative;
  height: 100%;
  padding: 0 17px;
  background: transparent;
  color: #52605d;
  font-size: 14px;
  font-weight: 650;
  transition: color 180ms ease, transform 180ms ease;
}

.nav-link::after {
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--brand);
  content: "";
  opacity: 0;
  transform: scaleX(0.3);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-link:hover {
  color: var(--ink);
  transform: translateY(-2px);
}

.nav-link.active {
  color: var(--ink);
}

.nav-link.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.top-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 9px;
}

.icon-button,
.avatar,
.qty-button,
.round-button {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.icon-button:hover,
.avatar:hover,
.qty-button:hover,
.round-button:hover {
  border-color: var(--jade);
  background: var(--soft);
  color: var(--jade-dark);
  box-shadow: 0 8px 20px rgba(25, 118, 111, 0.14);
  transform: translateY(-3px) scale(1.05);
}

.service-button,
.primary-button,
.secondary-button,
.outline-button,
.ghost-button,
.danger-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 17px;
  border-radius: 6px;
  font-weight: 750;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.service-button,
.primary-button {
  background: var(--brand);
  color: #fff;
}

.service-button:hover,
.primary-button:hover {
  background: var(--brand-dark);
  box-shadow: 0 12px 24px rgba(233, 85, 39, 0.24);
  transform: translateY(-3px) scale(1.025);
}

.secondary-button {
  background: var(--jade);
  color: #fff;
}

.secondary-button:hover {
  background: var(--jade-dark);
  box-shadow: 0 12px 24px rgba(25, 118, 111, 0.22);
  transform: translateY(-3px) scale(1.025);
}

.outline-button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.outline-button:hover {
  border-color: var(--jade);
  color: var(--jade-dark);
  box-shadow: 0 10px 22px rgba(24, 37, 35, 0.1);
  transform: translateY(-3px) scale(1.02);
}

.ghost-button {
  min-height: 36px;
  padding: 0 10px;
  background: transparent;
  color: var(--jade-dark);
}

.ghost-button:hover {
  background: var(--soft);
  transform: translateY(-2px);
}

.danger-button {
  background: #fff0ee;
  color: var(--danger);
}

.avatar {
  border: 0;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

#app {
  min-height: calc(100vh - var(--header-height));
}

.page {
  animation: page-in 300ms ease both;
}

@keyframes page-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow-container {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 64px 0;
}

.section.compact {
  padding: 44px 0;
}

.section.white {
  background: #fff;
}

.section.dark {
  background: var(--ink);
  color: #fff;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.section-heading h2,
.page-title h1 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.18;
}

.section-heading p,
.page-title p {
  max-width: 620px;
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.section.dark .section-heading p {
  color: #b9c5c2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: flex;
  min-height: min(690px, calc(100vh - var(--header-height)));
  align-items: center;
  overflow: hidden;
  background-color: #19211f;
  background-image: linear-gradient(rgba(13, 21, 20, 0.72), rgba(13, 21, 20, 0.72)), url("assets/products/equipment.jpg");
  background-position: center;
  background-size: cover;
  color: #fff;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 6px;
  background: var(--brand);
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: center;
  gap: 72px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0;
}

.hero-copy h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy h1 em {
  color: #ff8a5e;
  font-style: normal;
}

.hero-copy > p {
  max-width: 600px;
  margin: 22px 0 28px;
  color: #dbe3e1;
  font-size: 18px;
  line-height: 1.8;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 4px;
  background: rgba(18, 27, 25, 0.58);
  color: #f7faf9;
  font-size: 13px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions .primary-button,
.hero-actions .outline-button {
  min-height: 50px;
  padding: 0 22px;
}

.hero-actions .outline-button {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hero-quote {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(248, 250, 249, 0.95);
  color: var(--ink);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.3);
}

.hero-quote-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.ai-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--jade-dark);
  font-size: 13px;
  font-weight: 800;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #36a26f;
  box-shadow: 0 0 0 5px rgba(54, 162, 111, 0.13);
}

.hero-quote-body {
  padding: 20px;
}

.quote-spec-title {
  margin: 0 0 15px;
  font-size: 18px;
}

.mini-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mini-spec {
  padding: 11px;
  border-radius: 5px;
  background: #edf2ef;
}

.mini-spec small {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 11px;
}

.mini-spec strong {
  font-size: 13px;
}

.hero-price-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px dashed #bdc7c4;
}

.hero-price-row small {
  display: block;
  color: var(--muted);
}

.price {
  color: var(--brand-dark);
  font-size: 26px;
  font-weight: 900;
}

.price::first-letter {
  font-size: 16px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.category-tile {
  display: flex;
  min-height: 126px;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.category-tile:hover {
  border-color: #a9c5bf;
  box-shadow: var(--shadow);
  transform: translateY(-7px) scale(1.015);
}

.category-icon {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 6px;
  background: var(--soft);
  color: var(--jade-dark);
}

.category-icon svg {
  width: 25px;
  height: 25px;
  transition: transform 180ms ease;
}

.category-tile:hover .category-icon svg {
  transform: rotate(-8deg) scale(1.2);
}

.category-tile h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.category-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.product-card:hover {
  border-color: #acc0bb;
  box-shadow: 0 22px 46px rgba(24, 37, 35, 0.13);
  transform: translateY(-8px);
}

.product-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #dde2df;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.product-image.contain,
.detail-main-image.contain {
  background: #eef2ef;
}

.product-image.contain img,
.detail-main-image.contain img {
  object-fit: contain;
}

.product-card:hover .product-image img {
  transform: scale(1.09);
}

.product-badge {
  position: absolute;
  top: 13px;
  left: 13px;
  padding: 6px 9px;
  border-radius: 4px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.product-favorite {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.91);
  color: var(--ink);
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 180ms ease, transform 180ms ease, color 180ms ease;
}

.product-card:hover .product-favorite {
  opacity: 1;
  transform: translateY(0);
}

.product-favorite:hover {
  color: var(--brand);
}

.product-body {
  padding: 18px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
}

.product-body h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
}

.product-desc {
  min-height: 44px;
  margin: 8px 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.product-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
}

.product-price strong {
  color: var(--brand-dark);
  font-size: 23px;
}

.product-price small {
  margin-left: 3px;
  color: var(--muted);
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--jade-dark);
  font-size: 13px;
  font-weight: 800;
}

.arrow-link svg {
  width: 16px;
  transition: transform 180ms ease;
}

.product-card:hover .arrow-link svg,
.arrow-link:hover svg {
  transform: translateX(5px);
}

.ai-showcase {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid #354541;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.ai-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
  background: #20302d;
  color: #fff;
}

.ai-intro h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.25;
}

.ai-intro p {
  margin: 17px 0 24px;
  color: #c6d1ce;
  line-height: 1.75;
}

.ai-feature-list {
  display: grid;
  gap: 12px;
}

.ai-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #eff5f3;
  font-size: 13px;
}

.ai-feature svg {
  color: #ff8a5e;
}

.chat-preview {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  padding: 26px;
  background: #f8faf9;
}

.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.chat-agent {
  display: flex;
  align-items: center;
  gap: 11px;
}

.agent-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 6px;
  background: var(--jade);
  color: #fff;
}

.chat-agent strong,
.chat-agent small {
  display: block;
}

.chat-agent small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.chat-messages {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  max-height: 480px;
  padding: 20px 2px;
  overflow: auto;
}

.bubble {
  max-width: 86%;
  padding: 12px 14px;
  border-radius: 4px 10px 10px 10px;
  background: #e7efec;
  font-size: 13px;
  line-height: 1.65;
}

.bubble.user {
  align-self: flex-end;
  border-radius: 10px 4px 10px 10px;
  background: var(--jade);
  color: #fff;
}

.chat-recommendation {
  max-width: 92%;
  padding: 15px;
  border: 1px solid #bbcec8;
  border-radius: 6px;
  background: #fff;
}

.chat-recommendation-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.chat-recommendation-head strong {
  font-size: 14px;
}

.fit-tag,
.status-tag,
.small-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 4px;
  background: #e0f0e9;
  color: #176b50;
  font-size: 11px;
  font-weight: 800;
}

.recommendation-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 13px;
}

.recommendation-specs span {
  padding: 5px 8px;
  border-radius: 4px;
  background: var(--canvas);
  color: #4d5b58;
  font-size: 11px;
}

.recommendation-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.recommendation-bottom .price {
  font-size: 20px;
}

.chat-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 7px 7px 14px;
  border: 1px solid #cbd4d1;
  border-radius: 6px;
  background: #fff;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.chat-input-wrap:focus-within {
  border-color: var(--jade);
  box-shadow: 0 0 0 4px rgba(25, 118, 111, 0.1);
}

.chat-input-wrap input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13px;
}

.chat-send {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 5px;
  background: var(--brand);
  color: #fff;
  transition: transform 180ms ease, background 180ms ease;
}

.chat-send:hover {
  background: var(--brand-dark);
  transform: rotate(-8deg) scale(1.08);
}

.case-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 18px;
}

.case-stack {
  display: grid;
  gap: 18px;
}

.case-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: 7px;
  background: #27322f;
  cursor: pointer;
}

.case-card.large {
  min-height: 458px;
}

.case-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: transform 450ms ease, opacity 200ms ease;
}

.case-card::after {
  position: absolute;
  inset: 0;
  background: rgba(9, 15, 14, 0.4);
  content: "";
}

.case-card:hover img {
  opacity: 0.84;
  transform: scale(1.07);
}

.case-content {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 22px;
  left: 22px;
  color: #fff;
}

.case-content h3 {
  margin: 7px 0 6px;
  font-size: 22px;
}

.case-content p {
  margin: 0;
  color: #dce5e2;
  font-size: 13px;
}

.promo-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 25px;
  padding: 30px 34px;
  border-left: 5px solid var(--brand);
  background: #fff;
}

.promo-band h2 {
  margin: 0 0 6px;
  font-size: 25px;
}

.promo-band p {
  margin: 0;
  color: var(--muted);
}

.promo-code {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px dashed var(--brand);
  border-radius: 5px;
  color: var(--brand-dark);
  font-weight: 850;
}

.footer {
  padding: 42px 0 100px;
  background: #111b19;
  color: #c5cecc;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 40px;
}

.footer .brand-copy strong {
  color: #fff;
}

.footer h4 {
  margin: 0 0 14px;
  color: #fff;
}

.footer p,
.footer a {
  color: #9faeaa;
  font-size: 13px;
  line-height: 1.8;
}

.footer a {
  display: block;
  transition: color 180ms ease, transform 180ms ease;
}

.footer a:hover {
  color: #fff;
  transform: translateX(4px);
}

.page-header {
  padding: 48px 0 28px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.page-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
}

.breadcrumb svg {
  width: 14px;
  height: 14px;
}

.filters-row {
  position: sticky;
  z-index: 10;
  top: var(--header-height);
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 245, 242, 0.94);
  backdrop-filter: blur(14px);
}

.filters-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 14px;
}

.product-search-bar {
  display: flex;
  grid-column: 1 / -1;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid #cbd4d1;
  border-radius: 5px;
  background: #fff;
  color: var(--muted);
}

.product-search-bar:focus-within {
  border-color: var(--jade);
  box-shadow: 0 0 0 3px rgba(25, 118, 111, 0.1);
}

.product-search-bar > svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.product-search-input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}

.product-search-input::placeholder {
  color: #84918d;
}

.product-search-clear {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.product-search-clear:hover {
  background: var(--soft);
  color: var(--ink);
}

.filter-chips {
  display: flex;
  gap: 8px;
  overflow: auto;
  scrollbar-width: none;
}

.filters-stack {
  display: grid;
  min-width: 0;
  gap: 10px;
}

.secondary-filter-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.secondary-filter-row > span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.filter-chips.secondary .filter-chip {
  min-height: 31px;
  border-style: dashed;
  background: rgba(255, 255, 255, 0.64);
  font-size: 12px;
}

.filter-chips.secondary .filter-chip.active {
  border-style: solid;
  border-color: var(--jade);
  background: var(--soft);
  color: var(--jade-dark);
}

.filter-chip {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: #53605d;
  font-size: 13px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.filter-chip:hover {
  border-color: var(--jade);
  color: var(--jade-dark);
  transform: translateY(-3px);
}

.filter-chip.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.sort-select,
.field-input,
.field-select,
.field-textarea {
  min-height: 42px;
  border: 1px solid #cbd4d1;
  border-radius: 5px;
  background: #fff;
  outline: 0;
}

.sort-select,
.field-select {
  padding: 0 34px 0 12px;
}

.field-input,
.field-textarea {
  width: 100%;
  padding: 10px 12px;
}

.field-textarea {
  min-height: 90px;
  resize: vertical;
}

.sort-select:focus,
.field-input:focus,
.field-select:focus,
.field-textarea:focus {
  border-color: var(--jade);
  box-shadow: 0 0 0 4px rgba(25, 118, 111, 0.1);
}

.product-list-section {
  min-height: 500px;
  padding: 28px 0 70px;
}

.results-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.88fr);
  gap: 38px;
  padding: 38px 0 78px;
}

.detail-gallery {
  position: sticky;
  top: calc(var(--header-height) + 22px);
  align-self: start;
}

.detail-main-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 7px;
  background: #d9dfdc;
}

.detail-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-main-image > video {
  width: 100%;
  height: 100%;
  background: #101614;
  object-fit: contain;
}

.detail-main-image > [hidden] {
  display: none;
}

.image-tool {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
}

.image-tools {
  position: absolute;
  top: 14px;
  right: 14px;
  bottom: auto;
  left: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.image-tools .image-tool {
  position: static;
}

.image-tool.light {
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  backdrop-filter: blur(8px);
}

.image-tool.light:hover {
  border-color: #fff;
  background: #fff;
  color: var(--brand-dark);
  transform: translateY(-3px) scale(1.04);
}

.thumbnail-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.thumbnail {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 5px;
  background: #dce1df;
}

.thumbnail.active {
  border-color: var(--brand);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail.video::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(10, 18, 16, 0.45);
  color: #fff;
  content: "▶";
}

.detail-info h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.3;
}

.detail-subtitle {
  margin: 10px 0 20px;
  color: var(--muted);
  line-height: 1.7;
}

.product-source-note {
  display: flex;
  gap: 10px;
  margin: 16px 0;
  padding: 13px 14px;
  border: 1px solid #c8ddd6;
  border-radius: 6px;
  background: #eff7f4;
  color: var(--jade-dark);
}

.product-source-note > svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  margin-top: 2px;
}

.product-source-note strong,
.product-source-note span {
  display: block;
}

.product-source-note strong {
  margin-bottom: 4px;
  font-size: 13px;
}

.product-source-note span {
  color: #526762;
  font-size: 12px;
  line-height: 1.6;
}

.detail-price-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  border-left: 4px solid var(--brand);
  background: #fff;
}

.detail-price-box .price {
  font-size: 32px;
}

.config-section {
  padding: 22px 0 0;
}

.config-group {
  margin-bottom: 20px;
}

.config-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
  font-size: 13px;
  font-weight: 800;
}

.config-label small {
  color: var(--muted);
  font-weight: 500;
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice {
  position: relative;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid #ccd4d1;
  border-radius: 5px;
  background: #fff;
  color: #465451;
  font-size: 13px;
  font-weight: 650;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.choice:hover {
  border-color: var(--jade);
  color: var(--jade-dark);
  transform: translateY(-3px);
}

.choice.active {
  border-color: var(--jade);
  background: var(--soft);
  color: var(--jade-dark);
  box-shadow: inset 0 0 0 1px var(--jade);
}

.choice span {
  margin-left: 5px;
  color: var(--brand-dark);
  font-size: 11px;
}

.choice-with-image {
  display: inline-flex;
  min-width: 142px;
  min-height: 58px;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 6px 6px;
  text-align: left;
}

.choice-with-image > .choice-image {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  margin: 0;
  border: 1px solid #dce4e1;
  border-radius: 4px;
  object-fit: contain;
  background: #fff;
}

.choice-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
  margin: 0 !important;
  color: inherit !important;
  font-size: 12px !important;
  line-height: 1.25;
}

.choice-copy strong {
  overflow-wrap: anywhere;
  font-size: 12px;
  font-weight: 750;
}

.choice-copy em {
  color: var(--brand-dark);
  font-size: 11px;
  font-style: normal;
  font-weight: 750;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.quantity-control input {
  width: 54px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  text-align: center;
  outline: 0;
}

.qty-button {
  width: 40px;
  height: 40px;
}

.detail-summary {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.detail-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
}

.detail-summary-row.total {
  align-items: end;
  margin-top: 14px;
  color: var(--ink);
}

.detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.detail-actions button {
  min-height: 50px;
}

.cart-detail-actions {
  grid-template-columns: .55fr 1fr 1.25fr;
}

.cart-nav-link,
.mobile-nav-item[data-page="cart"] {
  position: relative;
}

.cart-count,
.mobile-cart-count {
  display: grid;
  min-width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 99px;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
  line-height: 1;
}

.cart-count {
  position: absolute;
  top: 5px;
  right: 1px;
}

.cart-count[hidden],
.mobile-cart-count[hidden] {
  display: none;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.trust-item svg {
  width: 17px;
  color: var(--jade);
}

.product-detail-content {
  display: grid;
  gap: 18px;
  padding-bottom: 82px;
}

.product-detail-heading {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.product-detail-heading h2,
.product-detail-heading p,
.product-detail-section h3,
.product-notice-card h3,
.product-notice-card p {
  margin: 0;
}

.product-detail-heading h2 {
  margin-top: 5px;
  font-size: clamp(24px, 3vw, 34px);
}

.product-detail-heading p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.7;
}

.product-detail-section {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(15, 36, 31, 0.06);
}

.product-detail-section-title {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
  background: #f7f9f7;
}

.product-detail-section-title svg {
  width: 19px;
  color: var(--jade);
}

.product-detail-section-title h3 {
  font-size: 16px;
}

.product-spec-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-spec-table > div {
  display: grid;
  grid-template-columns: minmax(110px, 0.42fr) 1fr;
  gap: 16px;
  padding: 15px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-spec-table > div:nth-child(2n) {
  border-right: 0;
}

.product-spec-table span {
  color: var(--muted);
  font-size: 13px;
}

.product-spec-table strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.6;
}

.product-detail-copy {
  margin: 0;
  padding: 22px;
  color: #52605c;
  line-height: 1.9;
  white-space: pre-line;
}

.product-detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
  padding: 0 22px 22px;
}

.product-detail-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f5f6f5;
  object-fit: contain;
}

.product-notice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.product-notice-card {
  display: flex;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.product-notice-card:hover {
  border-color: #9dc6ba;
  box-shadow: 0 18px 38px rgba(15, 36, 31, 0.09);
  transform: translateY(-5px);
}

.product-notice-card > span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 7px;
  background: var(--soft);
  color: var(--jade-dark);
}

.product-notice-card > span svg {
  width: 20px;
}

.product-notice-card h3 {
  margin-bottom: 7px;
  font-size: 14px;
}

.product-notice-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
  white-space: pre-line;
}

.assistant-page {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr) 330px;
  height: calc(100vh - var(--header-height));
  min-height: 650px;
  background: #fff;
}

.assistant-sidebar {
  overflow: auto;
  border-right: 1px solid var(--line);
  background: #f5f7f5;
}

.assistant-sidebar.right {
  border-right: 0;
  border-left: 1px solid var(--line);
  background: #fff;
}

.assistant-side-head {
  padding: 24px 22px 16px;
}

.assistant-side-head h2,
.assistant-side-head h3 {
  margin: 0;
  font-size: 20px;
}

.assistant-side-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.assistant-presets {
  display: grid;
  gap: 9px;
  padding: 0 14px;
}

.preset-card {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.preset-card:hover {
  border-color: #9dbbb5;
  box-shadow: 0 10px 22px rgba(24, 37, 35, 0.09);
  transform: translateX(5px);
}

.preset-card strong {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
}

.preset-card small {
  color: var(--muted);
  line-height: 1.5;
}

.template-directory-card {
  border-color: #8fb7ad;
  background: #f3f8f6;
}

.assistant-main {
  display: flex;
  min-height: 0;
  min-width: 0;
  flex-direction: column;
}

.assistant-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
}

.model-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 5px;
  background: var(--soft);
  color: var(--jade-dark);
  font-size: 12px;
  font-weight: 800;
}

.assistant-chat {
  flex: 1;
  min-height: 0;
  padding: 26px max(24px, calc((100% - 720px) / 2));
  overflow: auto;
  overscroll-behavior: contain;
  background: #fbfcfb;
}

.assistant-welcome {
  max-width: 720px;
  margin: 18px auto 30px;
  text-align: center;
}

.assistant-welcome .agent-mark {
  width: 50px;
  height: 50px;
  margin: 0 auto 14px;
}

.assistant-welcome h1 {
  margin: 0;
  font-size: 26px;
}

.assistant-welcome p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.assistant-template-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
  text-align: left;
}

.assistant-template-group {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.assistant-template-group h3 {
  margin: 0;
  padding: 9px 11px;
  border-bottom: 1px solid var(--line);
  background: #f3f8f6;
  color: var(--jade-dark);
  font-size: 12px;
}

.assistant-template-group > div {
  display: grid;
}

.assistant-template-name {
  display: flex;
  min-width: 0;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border: 0;
  border-bottom: 1px solid #edf1ef;
  background: #fff;
  color: var(--ink);
  text-align: left;
  transition: background 160ms ease, color 160ms ease;
}

.assistant-template-name:last-child {
  border-bottom: 0;
}

.assistant-template-name span {
  min-width: 0;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.assistant-template-name svg {
  width: 14px;
  flex: 0 0 auto;
  color: #71978e;
}

.assistant-template-name:hover {
  background: #f7faf9;
  color: var(--jade-dark);
}

.assistant-message {
  display: flex;
  gap: 11px;
  max-width: 720px;
  margin: 0 auto 20px;
}

.assistant-message.user {
  flex-direction: row-reverse;
}

.message-avatar {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 5px;
  background: var(--jade);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.assistant-message.user .message-avatar {
  background: var(--ink);
}

.message-content {
  max-width: min(82%, 590px);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  line-height: 1.75;
}

.assistant-message.user .message-content {
  border-color: var(--jade);
  background: var(--jade);
  color: #fff;
}

.quote-flow-confirm,
.quote-flow-warning {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #e9f5f0;
  color: #245c4f;
  line-height: 1.55;
}

.quote-flow-confirm svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.quote-flow-warning {
  border: 1px solid #f2d5a3;
  background: #fff8e8;
  color: #8b5b0b;
}

.quote-flow-card {
  min-width: min(500px, 68vw);
}

.quote-flow-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.quote-flow-head span {
  color: var(--jade);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
}

.quote-flow-head strong {
  font-size: 16px;
}

.quote-flow-progress {
  height: 5px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 99px;
  background: #e6ece9;
}

.quote-flow-progress i {
  display: block;
  height: 100%;
  min-width: 5%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--jade), #62a88f);
  transition: width 260ms ease;
}

.quote-flow-card > p {
  margin: 10px 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.quote-flow-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.quote-flow-option {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid #dce5e1;
  border-radius: 7px;
  background: #f8faf9;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.quote-flow-option span {
  min-width: 0;
}

.quote-flow-option strong,
.quote-flow-option small {
  display: block;
}

.quote-flow-option strong {
  color: var(--ink);
  font-size: 13px;
}

.quote-flow-option small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.quote-flow-option svg {
  width: 16px;
  flex: 0 0 auto;
  color: var(--jade);
}

.costing-plan-option em {
  flex: 0 0 auto;
  padding: 3px 6px;
  border: 1px solid #c9ddd6;
  border-radius: 4px;
  color: #356f62;
  font-size: 10px;
  font-style: normal;
  white-space: nowrap;
}

.costing-directory-back {
  margin-top: 12px;
}

.costing-config-preview {
  margin: 12px 0;
  overflow: hidden;
  border: 1px solid #dce5e1;
  border-radius: 7px;
  background: #fff;
}

.costing-config-preview-head,
.costing-config-preview-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.costing-config-preview-head {
  padding: 9px 11px;
  background: #f3f8f6;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.costing-config-preview-head small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
}

.costing-config-preview-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.costing-config-preview-list > div {
  min-width: 0;
  padding: 8px 11px;
  border-top: 1px solid #edf1ef;
}

.costing-config-preview-list > div:nth-child(odd) {
  border-right: 1px solid #edf1ef;
}

.costing-config-preview-list span,
.costing-config-preview-list strong,
.costing-config-preview-list small {
  display: block;
  min-width: 0;
}

.costing-config-preview-list strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.costing-config-preview-list small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.costing-config-preview-list b {
  flex: 0 0 auto;
  color: #356f62;
  font-size: 11px;
}

.quote-flow-option:hover {
  z-index: 1;
  border-color: var(--jade);
  background: #fff;
  box-shadow: 0 10px 24px rgba(18, 66, 54, .14);
  transform: translateY(-4px) scale(1.025);
}

.quote-flow-complete {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  min-width: min(500px, 68vw);
  padding: 14px;
  border: 1px solid #cfe4db;
  border-radius: 8px;
  background: linear-gradient(135deg, #f3faf7, #fff);
}

.quote-flow-complete-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--jade);
  color: #fff;
}

.quote-flow-complete p {
  margin: 5px 0 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.quote-flow-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 11px;
  padding-top: 9px;
  border-top: 1px dashed #cfe0d9;
}

.quote-flow-total b {
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 22px;
}

.quote-flow-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 12px;
}

.quote-flow-complete > div > small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.live-config-item.pending strong {
  color: #9a7a36;
}

.assistant-composer {
  padding: 14px max(24px, calc((100% - 760px) / 2)) 20px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.quick-prompts {
  display: flex;
  gap: 7px;
  margin-bottom: 9px;
  overflow: auto;
  scrollbar-width: none;
}

.quick-prompt {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 4px;
  background: #eff3f1;
  color: #54615e;
  font-size: 11px;
  transition: transform 180ms ease, background 180ms ease;
}

.quick-prompt:hover {
  background: #dfeae6;
  transform: translateY(-2px);
}

.casserole-eye-options {
  margin: 14px 0 4px;
}

.casserole-eye-options .quick-prompt.active {
  border-color: var(--jade);
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 18px rgba(16, 77, 67, 0.2);
}

.assistant-composer .chat-input-wrap {
  min-height: 52px;
}

.live-config {
  padding: 0 18px 24px;
}

.config-progress {
  height: 5px;
  overflow: hidden;
  border-radius: 5px;
  background: #e5e9e7;
}

.config-progress span {
  display: block;
  width: 78%;
  height: 100%;
  background: var(--brand);
}

.live-config-list {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.live-config-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 9px;
  border-bottom: 1px dashed var(--line);
  font-size: 12px;
}

.live-config-item span {
  color: var(--muted);
}

.live-config-item strong {
  max-width: 160px;
  text-align: right;
}

.live-quote-total {
  padding: 15px;
  border-radius: 6px;
  background: #f3f5f2;
}

.live-quote-total small {
  display: block;
  color: var(--muted);
}

.live-quote-total strong {
  display: block;
  margin-top: 4px;
  color: var(--brand-dark);
  font-size: 27px;
}

.live-config .primary-button {
  width: 100%;
  margin-top: 12px;
}

.shell-chat-quotes,
.shell-quote-grid,
.logistics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.shell-chat-quotes {
  margin: 16px 0 12px;
}

.shell-quote-card,
.logistics-option {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.shell-quote-card {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 14px;
}

.shell-quote-card:hover,
.logistics-option:hover {
  border-color: var(--jade);
  box-shadow: 0 12px 26px rgba(16, 77, 67, 0.12);
  transform: translateY(-4px);
}

.shell-quote-card.active,
.logistics-option.active {
  border-color: var(--jade);
  background: var(--soft);
  box-shadow: inset 0 0 0 1px var(--jade);
}

.shell-quote-card span,
.shell-quote-card small {
  color: var(--muted);
}

.shell-quote-card strong {
  color: var(--brand-dark);
  font-size: 22px;
}

.shell-quote-card small,
.chat-pricing-note {
  font-size: 11px;
  line-height: 1.6;
}

.chat-pricing-note {
  padding: 10px 12px;
  border-radius: 6px;
  background: #f3f5f2;
  color: var(--muted);
}

.shell-quote-page {
  display: grid;
  gap: 24px;
  padding-top: 30px;
  padding-bottom: 60px;
}

.shell-quote-panel,
.shell-logistics-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.shell-price-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 8px;
  background: #f3f5f2;
}

.shell-price-summary strong {
  margin-left: auto;
  color: var(--brand-dark);
  font-size: 26px;
}

.shell-price-summary small {
  color: var(--muted);
}

.logistics-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.logistics-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  padding: 18px;
}

.logistics-option span small,
.logistics-option span strong,
.logistics-option p {
  display: block;
}

.logistics-option span small {
  color: var(--brand);
  font-size: 10px;
}

.logistics-option span strong {
  margin-top: 4px;
}

.logistics-option em {
  color: var(--brand-dark);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.logistics-option p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.logistics-address-form {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.7fr) auto;
  align-items: end;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.logistics-disclaimer {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.logistics-disclaimer svg {
  width: 17px;
  flex: 0 0 auto;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 24px;
  padding: 32px 0 80px;
}

.cart-list,
.cart-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.cart-list-head,
.cart-list-foot {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
}

.cart-list-head {
  border-bottom: 1px solid var(--line);
}

.cart-list-head strong,
.cart-list-head small {
  display: block;
}

.cart-list-head strong {
  font-size: 16px;
}

.cart-list-head small,
.cart-list-foot span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.danger-text {
  color: #b94138;
}

.cart-item {
  display: grid;
  grid-template-columns: 112px minmax(220px, 1fr) 105px 126px 105px;
  align-items: center;
  gap: 17px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.cart-item > img {
  width: 112px;
  height: 90px;
  border: 1px solid var(--line);
  border-radius: 6px;
  object-fit: contain;
  background: #f7f8f7;
}

.cart-item-image,
.quote-item-image {
  position: relative;
  display: block;
  overflow: visible;
}

.cart-item-image > img {
  display: block;
  width: 112px;
  height: 90px;
  border: 1px solid var(--line);
  border-radius: 6px;
  object-fit: contain;
  background: #f7f8f7;
}

.cart-item-image > span,
.quote-item-image > span {
  position: absolute;
  right: 4px;
  bottom: 4px;
  padding: 2px 5px;
  border-radius: 3px;
  background: rgba(24, 37, 35, .78);
  color: #fff;
  font-size: 9px;
  line-height: 1.2;
}

.cart-item-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.cart-item-title small,
.cart-item-main p,
.cart-item-price small,
.cart-item-quantity > small,
.cart-item-total small {
  color: var(--muted);
  font-size: 11px;
}

.cart-item-title h3 {
  margin: 4px 0 0;
  font-size: 15px;
}

.cart-item-main p {
  margin: 8px 0;
  line-height: 1.55;
}

.cart-remove {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.cart-remove:hover {
  background: #fff0ee;
  color: #b94138;
  transform: scale(1.12) rotate(6deg);
}

.cart-remove svg,
.cart-edit svg {
  width: 15px;
}

.cart-edit {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  color: var(--jade-dark);
  font-size: 11px;
  font-weight: 750;
}

.cart-item-price,
.cart-item-quantity,
.cart-item-total {
  display: grid;
  gap: 7px;
}

.cart-item-price strong,
.cart-item-total strong {
  font-size: 15px;
}

.cart-item-price em {
  color: #198151;
  font-size: 10px;
  font-style: normal;
}

.cart-item-quantity .quantity-control {
  gap: 0;
}

.cart-item-quantity .quantity-control span {
  display: grid;
  width: 38px;
  height: 34px;
  place-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  font-size: 12px;
}

.cart-item-quantity .qty-button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
}

.cart-item-total {
  text-align: right;
}

.cart-item-total strong {
  color: var(--brand);
}

.cart-list-foot {
  min-height: 72px;
}

.cart-summary {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  padding: 22px;
}

.cart-summary h3 {
  margin: 0 0 18px;
  font-size: 18px;
}

.cart-shipping-picker {
  min-width: 0;
  margin: 16px 0;
  padding: 14px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.cart-shipping-picker legend {
  padding: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.cart-shipping-option {
  display: flex;
  gap: 10px;
  margin-top: 9px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}

.cart-shipping-option.active {
  border-color: var(--jade);
  background: color-mix(in srgb, var(--jade) 6%, white);
}

.cart-shipping-option input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  flex: 0 0 auto;
  accent-color: var(--jade);
}

.cart-shipping-option span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.cart-shipping-option strong {
  color: var(--ink);
  font-size: 12px;
}

.cart-shipping-option small,
.cart-shipping-hint {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.cart-shipping-hint {
  display: block;
  margin-top: 8px;
}

.cart-checkout-button {
  width: 100%;
  min-height: 50px;
  margin-top: 3px;
}

.cart-summary-note,
.cart-warning {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.cart-summary-note svg,
.cart-warning svg {
  width: 16px;
  flex: 0 0 auto;
}

.cart-warning {
  margin-bottom: 13px;
  padding: 10px;
  border-radius: 5px;
  background: #fff7e8;
  color: #8b5b0b;
}

.cart-empty {
  display: grid;
  min-height: 430px;
  place-items: center;
  align-content: center;
  padding: 70px 20px;
  text-align: center;
}

.cart-empty > span {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  color: var(--jade);
}

.cart-empty > span svg {
  width: 32px;
  height: 32px;
}

.cart-empty h2 {
  margin: 18px 0 0;
}

.cart-empty p {
  margin: 9px 0 20px;
  color: var(--muted);
  font-size: 13px;
}

.combined-quote-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 28px;
  border-bottom: 1px solid var(--line);
  background: #f7f8f7;
  color: var(--muted);
  font-size: 12px;
}

.combined-quote-product {
  grid-template-columns: 32px 82px minmax(0, 1fr) auto;
  padding-top: 18px;
  padding-bottom: 18px;
}

.combined-quote-product img {
  width: 82px;
  height: 68px;
  object-fit: contain;
  background: #f7f8f7;
}

.combined-quote-product .quote-item-image {
  width: 82px;
  height: 68px;
}

.combined-quote-product .quote-item-image img {
  width: 82px;
  height: 68px;
}

.quote-product > .quote-item-image {
  width: 96px;
  height: 76px;
}

.quote-product > .quote-item-image img {
  width: 96px;
  height: 76px;
}

.quote-line-number {
  color: #a0aaa7;
  font-family: Consolas, monospace;
  font-size: 12px;
}

.combined-quote-product em {
  display: block;
  margin-top: 5px;
  color: #9b650c;
  font-size: 10px;
  font-style: normal;
}

.combined-quote-product .quote-product-price {
  display: grid;
  justify-items: end;
  gap: 5px;
}

.combined-quote-product .quote-product-price small {
  color: var(--muted);
  font-weight: 500;
}

.checkout-cart-list {
  display: grid;
  gap: 10px;
  max-height: 250px;
  overflow: auto;
}

.checkout-cart-list > div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.checkout-cart-list img {
  width: 54px;
  height: 48px;
  object-fit: contain;
  background: #f7f8f7;
}

.checkout-cart-list strong,
.checkout-cart-list small {
  display: block;
}

.checkout-cart-list strong {
  font-size: 12px;
}

.checkout-cart-list small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.checkout-cart-list b {
  font-size: 12px;
}

.checkout-total {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 16px 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.checkout-total strong {
  color: var(--brand);
  font-size: 24px;
}

.checkout-shipping-summary {
  display: grid;
  gap: 6px;
  margin: 0 0 18px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
  font-size: 12px;
  line-height: 1.55;
}

.checkout-shipping-summary strong {
  color: var(--ink);
}

.checkout-shipping-summary span,
.checkout-shipping-summary small {
  color: var(--muted);
}

.order-shipping-note {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
}

.order-image-stack {
  position: relative;
}

.order-image-stack b {
  position: absolute;
  right: -6px;
  bottom: -6px;
  display: grid;
  min-width: 25px;
  height: 25px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--jade);
  color: #fff;
  font-size: 10px;
}

.combined-order-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
  color: var(--jade-dark);
  font-size: 10px;
  font-weight: 750;
}

.combined-order-tag svg {
  width: 14px;
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  align-items: start;
  gap: 24px;
  padding: 32px 0 80px;
}

.quote-sheet {
  border: 1px solid var(--line);
  background: #fff;
}

.quote-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 26px 28px;
  border-bottom: 1px solid var(--line);
}

.quote-sheet-head h2 {
  margin: 0;
  font-size: 22px;
}

.quote-sheet-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.quote-number {
  color: var(--muted);
  font-family: Consolas, monospace;
  font-size: 12px;
  text-align: right;
}

.quote-product {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 16px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
}

.quote-product img {
  width: 96px;
  height: 76px;
  border-radius: 5px;
  object-fit: cover;
}

.quote-product h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.quote-product p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.quote-product-price {
  align-self: center;
  font-weight: 850;
}

.quote-bom {
  padding: 22px 28px 24px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfb;
}

.quote-bom-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.quote-bom-head span {
  color: var(--jade-dark);
  font-size: 10px;
  font-weight: 800;
}

.quote-bom-head h3 {
  margin: 3px 0 0;
  font-size: 17px;
}

.quote-bom-head small {
  color: var(--muted);
  font-size: 11px;
}

.quote-bom-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.quote-bom-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
}

.quote-bom-kind {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 24px;
  border-radius: 3px;
  background: #e5f3ef;
  color: var(--jade-dark);
  font-size: 10px;
  font-weight: 800;
}

.quote-bom-row strong,
.quote-bom-row small {
  display: block;
}

.quote-bom-row strong {
  font-size: 12px;
}

.quote-bom-row small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.quote-bom-qty {
  color: var(--ink);
  font-size: 11px;
  font-weight: 750;
  text-align: right;
}

.quote-bom-fuel {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 12px;
}

.quote-bom-fuel svg {
  width: 15px;
  color: var(--orange);
}

.quote-bom-fuel strong {
  margin-left: auto;
  color: var(--ink);
}

.quote-table {
  width: 100%;
  border-collapse: collapse;
}

.quote-table th,
.quote-table td {
  padding: 14px 28px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 13px;
}

.quote-table th {
  background: #f7f8f7;
  color: var(--muted);
  font-weight: 650;
}

.quote-table td:last-child,
.quote-table th:last-child {
  text-align: right;
}

.quote-notes {
  padding: 20px 28px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.quote-pdf-totals,
.quote-pdf-branding {
  display: none;
}

.quote-summary {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.quote-summary h3 {
  margin: 0 0 18px;
  font-size: 18px;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 11px 0;
  color: var(--muted);
  font-size: 13px;
}

.summary-row strong {
  color: var(--ink);
}

.summary-row.saving strong {
  color: #198151;
}

.summary-total {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 18px 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.summary-actions {
  display: grid;
  gap: 9px;
}

.summary-actions button {
  width: 100%;
}

.orders-layout {
  padding: 28px 0 80px;
}

.order-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.order-tab {
  position: relative;
  min-height: 44px;
  padding: 0 17px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.order-tab.active {
  color: var(--ink);
}

.order-tab.active::after {
  position: absolute;
  right: 12px;
  bottom: -1px;
  left: 12px;
  height: 3px;
  background: var(--brand);
  content: "";
}

.order-list {
  display: grid;
  gap: 14px;
}

.order-card {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.order-card:hover {
  border-color: #acbeba;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.order-head,
.order-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
}

.order-head {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.order-body {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 17px 18px;
}

.order-body img {
  width: 78px;
  height: 65px;
  border-radius: 5px;
  object-fit: cover;
}

.order-body h3 {
  margin: 0 0 5px;
  font-size: 15px;
}

.order-body p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.order-amount {
  align-self: center;
  text-align: right;
}

.order-amount strong,
.order-amount small {
  display: block;
}

.order-amount small {
  margin-top: 3px;
  color: var(--muted);
}

.order-foot {
  justify-content: flex-end;
  border-top: 1px solid var(--line);
}

.order-foot button {
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
}

.profile-hero {
  padding: 36px 0;
  background: var(--ink);
  color: #fff;
}

.profile-overview {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}

.member-user {
  display: flex;
  align-items: center;
  gap: 17px;
}

.member-avatar {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: var(--brand);
  font-size: 20px;
  font-weight: 900;
}

.member-user h1 {
  margin: 0 0 6px;
  font-size: 24px;
}

.member-user p {
  margin: 0;
  color: #bdc9c6;
  font-size: 13px;
}

.member-stats {
  display: flex;
  gap: 36px;
}

.member-stat {
  text-align: center;
}

.member-stat strong,
.member-stat small {
  display: block;
}

.member-stat strong {
  font-size: 24px;
}

.member-stat small {
  margin-top: 4px;
  color: #acbbb7;
  font-size: 11px;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  padding: 28px 0 80px;
}

.profile-panel {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.profile-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.profile-panel-head h2 {
  margin: 0;
  font-size: 17px;
}

.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.shortcut {
  display: flex;
  min-height: 115px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  border-right: 1px solid var(--line);
  background: #fff;
  color: #4f5c59;
  font-size: 12px;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.shortcut:last-child {
  border-right: 0;
}

.shortcut svg {
  width: 25px;
  height: 25px;
  color: var(--jade);
  transition: transform 180ms ease;
}

.shortcut:hover {
  background: #f2f6f4;
  color: var(--ink);
  transform: translateY(-4px);
}

.shortcut:hover svg {
  transform: scale(1.2) rotate(-8deg);
}

.member-progress-wrap {
  padding: 22px 20px;
}

.member-progress-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 9px;
  font-size: 13px;
}

.member-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 8px;
  background: #e8ecea;
}

.member-progress span {
  display: block;
  width: 62%;
  height: 100%;
  background: var(--gold);
}

.member-progress span.vip-progress-fill {
  background: linear-gradient(90deg, #d4a64c, #f0c96a);
}

.member-progress-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
}

.small-tag.vip-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(212, 166, 76, 0.5);
  background: linear-gradient(135deg, #fbf1d8, #f6e3b4);
  color: #8a6410;
}

.small-tag.vip-tag svg {
  width: 12px;
  height: 12px;
}

.member-avatar.vip-avatar {
  border-color: rgba(240, 201, 106, 0.85);
  background: linear-gradient(135deg, #d4a64c, #a8761f);
}

.benefit.benefit-active {
  border: 1px solid rgba(212, 166, 76, 0.45);
  background: linear-gradient(135deg, #fcf5e3, #f7ead0);
}

.benefit.benefit-active strong {
  color: #94690f;
}

.benefit-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.benefit {
  flex: 1;
  padding: 12px;
  border-radius: 5px;
  background: #f4f6f4;
  text-align: center;
}

.benefit strong,
.benefit small {
  display: block;
}

.benefit small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.referral-panel {
  position: relative;
  min-height: 290px;
  overflow: hidden;
  padding: 26px;
  background: #e8f0ed;
}

.referral-panel::after {
  position: absolute;
  right: -48px;
  bottom: -80px;
  width: 210px;
  height: 210px;
  border: 38px solid rgba(25, 118, 111, 0.12);
  border-radius: 50%;
  content: "";
}

.referral-panel h2 {
  margin: 0;
  font-size: 25px;
}

.referral-panel p {
  max-width: 330px;
  margin: 12px 0 20px;
  color: var(--muted);
  line-height: 1.7;
}

.reward-amount {
  margin-bottom: 20px;
  color: var(--brand-dark);
  font-size: 34px;
  font-weight: 900;
}

.reward-amount small {
  font-size: 13px;
  font-weight: 600;
}

.empty-state {
  display: grid;
  min-height: 330px;
  place-items: center;
  color: var(--muted);
  text-align: center;
}

.empty-state svg {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  color: #9eaaa7;
}

.mobile-nav {
  display: none;
}

.floating-ai {
  position: fixed;
  z-index: 35;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: 25px;
  background: var(--jade);
  color: #fff;
  box-shadow: 0 16px 35px rgba(17, 90, 85, 0.28);
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.floating-ai:hover {
  background: var(--jade-dark);
  box-shadow: 0 20px 42px rgba(17, 90, 85, 0.35);
  transform: translateY(-7px) scale(1.06);
}

.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(10, 17, 16, 0.58);
  backdrop-filter: blur(7px);
  animation: fade-in 180ms ease both;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal {
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.26);
  animation: modal-in 220ms ease both;
}

.modal.wide {
  width: min(880px, 100%);
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-head {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.modal-head h2 {
  margin: 0;
  font-size: 19px;
}

.modal-body {
  padding: 22px;
}

.drawer-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  background: rgba(10, 17, 16, 0.5);
  backdrop-filter: blur(5px);
  animation: fade-in 180ms ease both;
}

.drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(520px, 100%);
  height: 100%;
  overflow: auto;
  background: #f7f8f7;
  box-shadow: -24px 0 70px rgba(0, 0, 0, 0.2);
  animation: drawer-in 240ms ease both;
}

@keyframes drawer-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.drawer-head {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.drawer-head h2 {
  margin: 0;
  font-size: 20px;
}

.drawer-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.drawer-body {
  padding: 18px;
}

.settings-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  border-radius: 6px;
  background: #e8ecea;
}

.settings-tab {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.settings-tab.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(24, 37, 35, 0.08);
}

.settings-panel {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.settings-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 17px;
  border-bottom: 1px solid var(--line);
}

.settings-panel-head strong {
  font-size: 14px;
}

.form-stack {
  display: grid;
  gap: 16px;
  padding: 17px;
}

.form-field label {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 750;
}

.form-field small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.range-row {
  display: grid;
  grid-template-columns: 1fr 52px;
  align-items: center;
  gap: 10px;
}

.range-row input[type="range"] {
  width: 100%;
  accent-color: var(--jade);
}

.range-value {
  padding: 6px;
  border-radius: 4px;
  background: #eef2f0;
  text-align: center;
  font-size: 11px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
}

.switch input {
  width: 0;
  height: 0;
  opacity: 0;
}

.switch span {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: #bdc5c2;
  cursor: pointer;
  transition: background 180ms ease;
}

.switch span::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  content: "";
  transition: transform 180ms ease;
}

.switch input:checked + span {
  background: var(--jade);
}

.switch input:checked + span::after {
  transform: translateX(18px);
}

.drawer-foot {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 9px;
  padding: 0 18px 24px;
}

.search-box-large {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid #bbc5c2;
  border-radius: 6px;
}

.search-box-large input {
  width: 100%;
  min-height: 50px;
  border: 0;
  outline: 0;
}

.search-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.service-layout {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 430px;
}

.service-sidebar {
  padding: 18px 10px;
  border-right: 1px solid var(--line);
  background: #f5f7f5;
}

.service-contact {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 9px;
  padding: 11px;
  border-radius: 5px;
  background: transparent;
  text-align: left;
}

.service-contact.active,
.service-contact:hover {
  background: #e5eeeb;
}

.service-chat {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.service-chat-messages {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  overflow: auto;
}

.service-chat-composer {
  padding: 14px;
  border-top: 1px solid var(--line);
}

.support-section + .support-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

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

.support-section-head .eyebrow {
  margin-bottom: 4px;
}

.support-section-head h3 {
  margin: 0;
  font-size: 18px;
}

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

.support-video-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.support-video-card:hover {
  border-color: #9dbbb5;
  box-shadow: 0 12px 25px rgba(24, 37, 35, 0.12);
  transform: translateY(-5px) scale(1.01);
}

.support-video-thumb {
  position: relative;
  display: block;
  height: 112px;
  overflow: hidden;
  background: #26322f;
}

.support-video-thumb::after {
  position: absolute;
  inset: 0;
  background: rgba(10, 17, 16, 0.28);
  content: "";
}

.support-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.support-video-card:hover .support-video-thumb img {
  transform: scale(1.08);
}

.support-video-play {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.support-video-card:hover .support-video-play {
  transform: translate(-50%, -50%) scale(1.13);
}

.support-video-play svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.support-video-source {
  position: absolute;
  z-index: 1;
  right: 8px;
  bottom: 8px;
  padding: 3px 7px;
  border-radius: 3px;
  background: rgba(16, 24, 22, 0.78);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.support-video-body {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  padding: 11px 12px 13px;
}

.support-video-body small {
  color: var(--brand-dark);
  font-size: 10px;
  font-weight: 850;
}

.support-video-body strong {
  margin: 5px 0;
  font-size: 13px;
  line-height: 1.45;
}

.support-video-body > span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.support-safety {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 12px 0 0;
  padding: 11px 12px;
  border-left: 3px solid var(--gold);
  background: #f6f2e9;
  color: #6b5a39;
  font-size: 11px;
  line-height: 1.65;
}

.support-safety svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.faq-list {
  display: grid;
  gap: 9px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.faq-item summary {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 15px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary svg {
  color: var(--jade);
  transition: transform 180ms ease;
}

.faq-item[open] summary svg {
  transform: rotate(180deg);
}

.faq-item p {
  margin: 0;
  padding: 0 15px 15px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.faq-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 16px;
  border-radius: 6px;
  background: var(--soft);
}

.faq-contact p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  padding: 4px 0;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 11px;
  min-height: 68px;
}

.timeline-dot {
  position: relative;
  z-index: 1;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 2px solid #cbd4d1;
  border-radius: 50%;
  background: #fff;
  color: #8d9895;
}

.timeline-item:not(:last-child) .timeline-dot::after {
  position: absolute;
  top: 24px;
  left: 10px;
  width: 2px;
  height: 44px;
  background: #d9dfdc;
  content: "";
}

.timeline-item.done .timeline-dot,
.timeline-item.active .timeline-dot {
  border-color: var(--jade);
  background: var(--jade);
  color: #fff;
}

.timeline-content strong,
.timeline-content small {
  display: block;
}

.timeline-content small {
  margin-top: 4px;
  color: var(--muted);
}

.poster-preview {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 24px;
  align-items: start;
}

#poster-canvas {
  width: 330px;
  max-width: 100%;
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(24, 37, 35, 0.18);
}

.poster-options h3 {
  margin: 0 0 15px;
  font-size: 18px;
}

.poster-options p {
  color: var(--muted);
  line-height: 1.7;
}

.poster-actions {
  display: grid;
  gap: 9px;
  margin-top: 20px;
}

.video-preview {
  overflow: hidden;
  border-radius: 7px;
  background: #0f1816;
  color: #fff;
}

.video-stage {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 9;
  place-items: center;
  overflow: hidden;
}

.video-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.46;
}

.video-stage-content {
  position: relative;
  z-index: 1;
  max-width: 500px;
  padding: 30px;
  text-align: center;
}

.video-stage-content h3 {
  margin: 10px 0;
  font-size: 29px;
}

.video-play {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  transition: transform 180ms ease;
}

.video-play:hover {
  transform: scale(1.12);
}

.video-timeline {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.8fr;
  gap: 4px;
  padding: 12px;
}

.video-clip {
  min-height: 54px;
  padding: 9px;
  border-top: 4px solid var(--jade);
  background: #21302d;
  font-size: 11px;
}

.video-clip:nth-child(2) { border-color: var(--brand); }
.video-clip:nth-child(3) { border-color: var(--gold); }

.generation-progress {
  margin: 18px 0;
}

.generation-progress-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 8px;
  background: #e5e9e7;
}

.generation-progress-bar span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--jade);
  transition: width 700ms ease;
}

.toast {
  position: fixed;
  z-index: 200;
  right: 22px;
  bottom: 22px;
  display: flex;
  max-width: min(390px, calc(100% - 40px));
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.22);
  font-size: 13px;
  animation: toast-in 220ms ease both;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.industry-hero {
  overflow: hidden;
  padding: 72px 0 66px;
  background:
    radial-gradient(circle at 82% 12%, rgba(224, 112, 62, 0.2), transparent 25%),
    linear-gradient(125deg, #152724 0%, #1e4039 64%, #285c50 100%);
  color: #fff;
}

.industry-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.industry-hero .eyebrow {
  color: #9ed4c6;
}

.industry-hero h1 {
  max-width: 720px;
  margin: 17px 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.1;
}

.industry-hero p {
  max-width: 690px;
  margin: 0;
  color: #c5d6d1;
  font-size: 15px;
  line-height: 1.9;
}

.industry-update {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 25px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  color: #dce8e4;
  font-size: 11px;
}

.industry-hero-mark {
  display: grid;
  width: 190px;
  height: 190px;
  flex: 0 0 190px;
  place-items: center;
  align-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.16);
  transition: transform 220ms ease, background 220ms ease;
}

.industry-hero-mark:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: rotate(-5deg) scale(1.06);
}

.industry-hero-mark svg {
  width: 34px;
  height: 34px;
  color: #ff8a58;
}

.industry-hero-mark strong {
  margin-top: 9px;
  font-size: 42px;
}

.industry-hero-mark span {
  color: #bbcec8;
  font-size: 11px;
}

.industry-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.75fr);
  align-items: start;
  gap: 24px;
  padding-top: 44px;
  padding-bottom: 84px;
}

.industry-main,
.quote-watch {
  min-width: 0;
}

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

.industry-section-head h2 {
  margin: 8px 0 0;
  font-size: 25px;
}

.source-rule,
.verify-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--jade);
  font-size: 10px;
  font-weight: 750;
}

.industry-news-list {
  display: grid;
  gap: 13px;
}

.industry-category-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.industry-category-tabs button { min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--muted); cursor: pointer; }
.industry-category-tabs button.active { border-color: var(--jade); background: var(--jade); color: #fff; font-weight: 700; }
.industry-original-title { display: block; margin: -2px 0 12px; color: #73827d; line-height: 1.6; }
.industry-editorial { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.industry-editorial > div { padding: 13px; border-left: 3px solid #b8cbc5; background: #f5f8f7; }
.industry-editorial > div:last-child { border-left-color: var(--orange); background: #fff8f2; }
.industry-editorial strong { font-size: 11px; }
.industry-editorial p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.industry-sources { border-bottom: 1px solid rgba(255,255,255,.14); }
.industry-source-list { display: grid; gap: 1px; background: rgba(255,255,255,.08); }
.industry-source-list article { padding: 14px 17px; background: #192f2b; }
.industry-source-list article > div { display: flex; justify-content: space-between; gap: 8px; }
.industry-source-list span { font-size: 10px; }
.industry-source-list span.verified { color: #8fe0c7; }
.industry-source-list span.pending { color: #ffc58f; }
.industry-source-list p { margin: 6px 0; color: #b8c9c4; font-size: 10px; line-height: 1.6; }
.industry-source-list a { color: #fff; font-size: 10px; }

.industry-news-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.industry-news-card:hover {
  border-color: #9fc6ba;
  box-shadow: 0 18px 42px rgba(27, 52, 46, 0.11);
  transform: translateY(-6px);
}

.industry-news-index {
  color: #cad5d1;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.industry-news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
}

.industry-news-meta span:first-child {
  padding: 4px 7px;
  border-radius: 20px;
  background: var(--soft);
  color: var(--jade);
  font-weight: 750;
}

.industry-news-meta time {
  margin-left: auto;
}

.industry-news-copy h3 {
  margin: 12px 0 8px;
  font-size: 18px;
  line-height: 1.45;
}

.industry-news-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.industry-news-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #edf1ef;
}

.industry-news-foot a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  transition: color 180ms ease, transform 180ms ease;
}

.industry-news-foot a:hover {
  color: var(--orange);
  transform: translateX(4px);
}

.no-source {
  color: #9aa5a1;
  font-size: 10px;
}

.quote-watch {
  position: sticky;
  top: 92px;
  overflow: hidden;
  border: 1px solid #294a43;
  border-radius: 9px;
  background: #192f2b;
  color: #fff;
}

.quote-watch-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.quote-watch-head > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 7px;
  background: rgba(255, 126, 78, 0.14);
  color: #ff895d;
}

.quote-watch h2,
.quote-watch p {
  margin: 0;
}

.quote-watch h2 {
  font-size: 17px;
}

.quote-watch p {
  margin-top: 4px;
  color: #9fb3ad;
  font-size: 10px;
}

.quote-watch-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 16px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: #b8cac4;
  font-size: 9px;
  line-height: 1.65;
}

.quote-watch-note svg {
  width: 15px;
  flex: 0 0 auto;
  margin-top: 1px;
  color: #ff895d;
}

.quote-watch-list {
  display: grid;
  gap: 10px;
  padding: 0 16px 16px;
}

.quote-watch-card {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  transition: background 180ms ease, transform 180ms ease;
}

.quote-watch-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(5px);
}

.quote-watch-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.quote-watch-title > span {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 11px;
  font-weight: 750;
}

.quote-watch-title strong {
  flex: 0 0 auto;
  color: #ff895d;
  font-size: 17px;
}

.quote-watch-title small {
  color: #9db0aa;
  font-size: 8px;
}

.quote-watch-card dl {
  display: grid;
  gap: 6px;
  margin: 13px 0 10px;
}

.quote-watch-card dl div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 7px;
  font-size: 9px;
}

.quote-watch-card dt {
  color: #829c95;
}

.quote-watch-card dd {
  min-width: 0;
  margin: 0;
  color: #c7d5d1;
  overflow-wrap: anywhere;
  text-align: right;
}

.quote-watch-card time {
  color: #728b84;
  font-size: 8px;
}

.quote-watch > .primary-button {
  width: calc(100% - 32px);
  margin: 0 16px 18px;
}

.empty-state.compact {
  min-height: 150px;
}

.shortcut-grid {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

@media (max-width: 1120px) {
  .industry-layout {
    grid-template-columns: minmax(0, 1fr) 330px;
  }
  .topbar {
    grid-template-columns: auto 1fr auto;
  }

  .desktop-nav {
    justify-content: center;
  }

  .nav-link {
    padding: 0 10px;
  }

  .brand-copy small,
  .service-button span {
    display: none;
  }

  .assistant-page {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .assistant-sidebar.right {
    display: none;
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: static;
    order: -1;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 60px;
  }

  body {
    padding-bottom: 70px;
  }

  .industry-layout {
    grid-template-columns: 1fr;
  }

  .quote-watch {
    position: static;
  }

  .topbar {
    grid-template-columns: 1fr auto;
    padding: 0 15px;
  }

  .desktop-nav,
  .service-button,
  .top-actions .avatar,
  .top-actions [data-action="model-settings"] {
    display: none;
  }

  .top-actions .search-trigger {
    display: inline-flex;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .top-actions {
    display: flex;
  }

  .mobile-nav {
    position: fixed;
    z-index: 60;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    height: calc(68px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
  }

  .mobile-nav-item {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    background: transparent;
    color: #77817f;
    font-size: 10px;
  }

  .mobile-nav-item svg {
    width: 21px;
    height: 21px;
  }

  .mobile-nav-item.active {
    color: var(--brand);
  }

  .ai-nav-icon {
    display: grid;
    width: 42px;
    height: 42px;
    margin-top: -24px;
    place-items: center;
    border: 4px solid #fff;
    border-radius: 50%;
    background: var(--jade);
    color: #fff;
  }

  .ai-nav > span:last-child {
    margin-top: 1px;
  }

  .floating-ai {
    display: none;
  }

  .container,
  .narrow-container {
    width: min(100% - 28px, 720px);
  }

  .section {
    padding: 46px 0;
  }

  .hero {
    min-height: calc(100svh - var(--header-height) - 140px);
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 28px;
    width: min(100% - 28px, 720px);
    padding: 28px 0 38px;
  }

  .hero-copy h1 {
    font-size: clamp(37px, 10.5vw, 56px);
    overflow-wrap: anywhere;
  }

  .hero-copy > p {
    margin: 16px 0 21px;
    font-size: 15px;
  }

  .hero-badges {
    margin-bottom: 22px;
  }

  .hero-quote {
    display: none;
  }

  .category-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ai-showcase,
  .case-grid,
  .profile-grid,
  .quote-layout,
  .cart-layout,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 86px minmax(0, 1fr) auto;
  }

  .cart-item > img {
    width: 86px;
    height: 76px;
  }

  .cart-item-price,
  .cart-item-quantity {
    grid-column: 2;
    grid-auto-flow: column;
    align-items: center;
    justify-content: start;
  }

  .cart-item-total {
    grid-column: 3;
    grid-row: 2 / span 2;
  }

  .detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .detail-gallery,
  .detail-info {
    min-width: 0;
  }

  .ai-intro {
    padding: 32px 26px;
  }

  .case-card.large {
    min-height: 360px;
  }

  .case-stack {
    grid-template-columns: 1fr 1fr;
  }

  .promo-band {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .filters-row {
    top: var(--header-height);
  }

  .detail-gallery {
    position: static;
  }

  .quote-summary {
    position: static;
    order: -1;
  }

  .assistant-page {
    display: block;
    height: calc(100svh - var(--header-height) - 68px);
    min-height: 560px;
  }

  .assistant-sidebar {
    display: none;
  }

  .assistant-main {
    height: 100%;
  }

  .page-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .poster-preview {
    grid-template-columns: 1fr;
  }

  #poster-canvas {
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  body {
    overflow-x: hidden;
  }

  .industry-hero {
    padding: 45px 0 40px;
  }

  .industry-hero-inner {
    gap: 18px;
  }

  .industry-hero h1 {
    font-size: 34px;
  }

  .industry-hero p {
    font-size: 13px;
  }

  .industry-hero-mark {
    display: none;
  }

  .industry-layout {
    padding-top: 28px;
    padding-bottom: 52px;
  }

  .industry-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .industry-news-card {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 17px;
  }

  .industry-news-index {
    font-size: 15px;
  }

  .industry-news-meta time {
    width: 100%;
    margin-left: 0;
  }

  .industry-news-copy h3 {
    font-size: 16px;
  }

  .image-tools {
    top: 9px;
    right: 9px;
    bottom: auto;
    left: 9px;
    justify-content: flex-start;
  }

  .image-tools .image-tool {
    min-height: 34px;
    padding: 0 9px;
    font-size: 11px;
  }

  .detail-price-box {
    max-width: 100%;
    flex-wrap: wrap;
    gap: 12px;
  }

  .detail-price-box .fit-tag {
    max-width: 100%;
  }

  .product-source-note span {
    overflow-wrap: anywhere;
  }

  .detail-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cart-detail-actions {
    grid-template-columns: .65fr 1fr;
  }

  .cart-detail-actions .primary-button {
    grid-column: 1 / -1;
  }

  .mobile-cart-count {
    position: absolute;
    top: 7px;
    left: calc(50% + 7px);
    min-width: 17px;
    height: 17px;
    border: 2px solid #fff;
    font-size: 8px;
  }

  .cart-layout {
    gap: 13px;
    padding-top: 16px;
  }

  .cart-summary {
    padding: 17px;
  }

  .cart-list-head,
  .cart-list-foot {
    padding: 12px 14px;
  }

  .cart-list-head .ghost-button {
    padding: 0 6px;
    font-size: 11px;
  }

  .cart-item {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px 12px;
    padding: 14px;
  }

  .cart-item > img {
    width: 72px;
    height: 66px;
    align-self: start;
  }

  .cart-item-price,
  .cart-item-quantity,
  .cart-item-total {
    grid-column: 2;
    grid-row: auto;
    grid-auto-flow: column;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  .cart-item-price em {
    display: none;
  }

  .cart-list-foot {
    align-items: stretch;
    flex-direction: column;
  }

  .cart-list-foot span {
    margin: 0;
  }

  .combined-quote-caption {
    padding-right: 16px;
    padding-left: 16px;
  }

  .quote-product.combined-quote-product {
    grid-template-columns: 22px 60px minmax(0, 1fr);
    gap: 10px;
  }

  .quote-product.combined-quote-product img {
    width: 60px;
    height: 56px;
  }

  .quote-product.combined-quote-product .quote-item-image {
    width: 60px;
    height: 56px;
  }

  .combined-quote-product .quote-product-price {
    grid-column: 3;
    align-items: center;
    grid-auto-flow: column;
    justify-content: space-between;
    justify-items: stretch;
  }

  .checkout-cart-list > div {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .checkout-cart-list img {
    width: 46px;
    height: 42px;
  }

  .checkout-cart-list b {
    grid-column: 2;
  }

  .detail-actions button {
    width: 100%;
    overflow: hidden;
    font-size: 12px;
    white-space: nowrap;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading h2,
  .page-title h1 {
    font-size: 24px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .hero-actions button {
    min-width: 0;
    width: 100%;
    padding: 0 12px !important;
    white-space: normal;
  }

  .hero-badge:nth-child(3) {
    display: none;
  }

  .category-grid {
    gap: 9px;
  }

  .category-tile {
    min-height: 128px;
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
    padding: 16px;
  }

  .category-icon {
    width: 42px;
    height: 42px;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .product-image {
    height: 150px;
  }

  .product-body {
    padding: 12px;
  }

  .product-body h3 {
    min-height: 44px;
    font-size: 15px;
  }

  .product-desc {
    display: none;
  }

  .product-meta {
    font-size: 10px;
  }

  .product-price strong {
    font-size: 18px;
  }

  .arrow-link span {
    display: none;
  }

  .product-favorite {
    opacity: 1;
  }

  .chat-preview {
    min-height: 470px;
    padding: 18px 14px;
  }

  .ai-intro h2 {
    font-size: 26px;
  }

  .case-stack {
    grid-template-columns: 1fr;
  }

  .case-card.large,
  .case-card {
    min-height: 270px;
  }

  .promo-band {
    padding: 24px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-grid > div:nth-child(3),
  .footer-grid > div:nth-child(4) {
    display: none;
  }

  .filters-inner {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .secondary-filter-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .sort-select {
    display: block;
    width: 100%;
  }

  .detail-layout {
    gap: 24px;
    padding-top: 20px;
  }

  .detail-info h1 {
    font-size: 24px;
  }

  .trust-row {
    grid-template-columns: 1fr;
  }

  .product-detail-content {
    gap: 13px;
    padding-bottom: 58px;
  }

  .product-spec-table,
  .product-notice-grid {
    grid-template-columns: 1fr;
  }

  .product-spec-table > div,
  .product-spec-table > div:nth-child(2n) {
    grid-template-columns: 94px 1fr;
    padding: 13px 15px;
    border-right: 0;
  }

  .product-detail-copy {
    padding: 17px;
  }

  .product-detail-gallery {
    grid-template-columns: 1fr;
    padding: 0 17px 17px;
  }

  .detail-actions {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    position: sticky;
    z-index: 15;
    bottom: 68px;
    margin-right: -14px;
    margin-left: -14px;
    padding: 10px 14px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
  }

  .detail-actions button {
    min-width: 0;
    padding-right: 9px;
    padding-left: 9px;
    white-space: normal;
  }

  .assistant-topline {
    height: 54px;
    padding: 0 14px;
  }

  .assistant-chat {
    padding: 16px 13px;
  }

  .assistant-welcome {
    margin-top: 4px;
  }

  .assistant-welcome h1 {
    font-size: 21px;
  }

  .assistant-template-directory {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 15px;
  }

  .assistant-template-name span {
    white-space: normal;
  }

  .assistant-composer {
    padding: 10px 12px 12px;
  }

  .message-content {
    max-width: 88%;
  }

  .quote-flow-card,
  .quote-flow-complete {
    min-width: 0;
    width: 100%;
  }

  .quote-flow-options {
    grid-template-columns: 1fr;
  }

  .costing-config-preview-list {
    grid-template-columns: 1fr;
  }

  .costing-config-preview-list > div:nth-child(odd) {
    border-right: 0;
  }

  .quote-sheet-head,
  .quote-product,
  .quote-bom,
  .quote-table th,
  .quote-table td,
  .quote-notes {
    padding-right: 16px;
    padding-left: 16px;
  }

  .quote-product {
    grid-template-columns: 72px 1fr;
  }

  .quote-product img {
    width: 72px;
    height: 62px;
  }

  .quote-product > .quote-item-image,
  .quote-product > .quote-item-image img {
    width: 72px;
    height: 62px;
  }

  .quote-product-price {
    grid-column: 2;
  }

  .quote-bom-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .quote-bom-list {
    grid-template-columns: 1fr;
  }

  .quote-table th:nth-child(2),
  .quote-table td:nth-child(2) {
    display: none;
  }

  .order-body {
    grid-template-columns: 64px 1fr;
  }

  .order-body img {
    width: 64px;
    height: 58px;
  }

  .order-amount {
    grid-column: 2;
    text-align: left;
  }

  .order-tabs {
    overflow: auto;
  }

  .order-tab {
    flex: 0 0 auto;
  }

  .profile-overview {
    grid-template-columns: 1fr;
  }

  .member-stats {
    justify-content: space-between;
    gap: 12px;
  }

  .shortcut-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shortcut:nth-child(2) {
    border-right: 0;
  }

  .shortcut:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .benefit-row {
    flex-wrap: wrap;
  }

  .benefit {
    flex-basis: calc(50% - 6px);
  }

  .service-layout {
    grid-template-columns: 1fr;
  }

  .faq-contact {
    align-items: stretch;
    flex-direction: column;
  }

  .support-video-grid {
    grid-template-columns: 1fr 1fr;
  }

  .faq-contact .primary-button {
    width: 100%;
  }

  .service-sidebar {
    display: flex;
    gap: 5px;
    padding: 8px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-contact {
    justify-content: center;
  }

  .service-contact span {
    display: none;
  }

  .modal-backdrop {
    align-items: end;
    padding: 0;
  }

  .modal {
    max-height: calc(100svh - 28px);
    border-radius: 10px 10px 0 0;
  }

  .poster-preview {
    gap: 18px;
  }
}

@media (max-width: 720px) {
  .shell-chat-quotes,
  .shell-quote-grid,
  .logistics-grid,
  .logistics-address-form {
    grid-template-columns: 1fr;
  }

  .shell-quote-panel,
  .shell-logistics-panel {
    padding: 18px;
  }

  .shell-price-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .shell-price-summary strong {
    margin-left: 0;
  }
}

.partner-application-status { display: grid; gap: 16px; text-align: center; justify-items: center; }
.partner-application-status > svg { width: 40px; height: 40px; color: var(--primary, #087f76); }
.partner-application-status p { overflow-wrap: anywhere; line-height: 1.7; }
.partner-application-status small { color: var(--muted); }
.referral-panel > .outline-button { margin-top: 12px; }
.hero-actions { flex-wrap: wrap; }

@media (max-width: 600px) {
  .hero-actions > [data-action="partner-apply"] { width: 100%; }
  [data-form="partner-apply"] .field-input { font-size: 16px; }
  .industry-editorial { grid-template-columns: 1fr; }
  .industry-category-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .industry-category-tabs button { flex: 0 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@page {
  size: A4;
  margin: 10mm;
}

@media print {
  html,
  body {
    width: 210mm;
    min-height: 297mm;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    color: #172522 !important;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  body.pdf-exporting * {
    visibility: hidden !important;
  }

  body.pdf-exporting #quote-sheet,
  body.pdf-exporting #quote-sheet * {
    visibility: visible !important;
  }

  body.pdf-exporting #quote-sheet {
    position: absolute;
    inset: 0 auto auto 0;
    width: 190mm;
    margin: 0;
    border: 0;
    overflow: visible;
    background: #fff;
    box-shadow: none;
  }

  body.pdf-exporting #quote-sheet::before {
    content: "丰鸿智厨";
    position: fixed;
    top: 44%;
    left: 50%;
    z-index: 0;
    color: rgba(13, 105, 94, .055);
    font-size: 56pt;
    font-weight: 900;
    letter-spacing: 10pt;
    white-space: nowrap;
    transform: translate(-50%, -50%) rotate(-28deg);
    pointer-events: none;
  }

  body.pdf-exporting #quote-sheet > * {
    position: relative;
    z-index: 1;
  }

  body.pdf-exporting .quote-sheet-head {
    padding: 7mm 6mm 5mm;
  }

  body.pdf-exporting .quote-product,
  body.pdf-exporting .quote-bom,
  body.pdf-exporting .quote-table th,
  body.pdf-exporting .quote-table td,
  body.pdf-exporting .quote-notes {
    padding-right: 6mm;
    padding-left: 6mm;
  }

  body.pdf-exporting .quote-product {
    grid-template-columns: 24mm minmax(0, 1fr) auto;
    gap: 4mm;
    padding-top: 5mm;
    padding-bottom: 5mm;
  }

  body.pdf-exporting .quote-product img,
  body.pdf-exporting .quote-product > .quote-item-image,
  body.pdf-exporting .quote-product > .quote-item-image img {
    width: 24mm;
    height: 19mm;
  }

  body.pdf-exporting .quote-bom {
    padding-top: 4mm;
    padding-bottom: 4mm;
  }

  body.pdf-exporting .quote-bom-row {
    min-height: 13mm;
    padding: 2mm 2.5mm;
  }

  body.pdf-exporting .combined-quote-block,
  body.pdf-exporting .quote-table,
  body.pdf-exporting .quote-pdf-totals,
  body.pdf-exporting .quote-notes,
  body.pdf-exporting .quote-pdf-branding {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  body.pdf-exporting .quote-pdf-totals {
    display: grid;
    margin: 5mm 6mm 0;
    border: 1px solid #dce5e2;
    border-radius: 2mm;
    background: #fbfcfb;
  }

  body.pdf-exporting .quote-pdf-totals > div {
    display: flex;
    justify-content: space-between;
    gap: 8mm;
    padding: 2.5mm 4mm;
    border-bottom: 1px solid #e5ebe9;
    font-size: 9pt;
  }

  body.pdf-exporting .quote-pdf-totals > div:last-child {
    border-bottom: 0;
  }

  body.pdf-exporting .quote-pdf-totals .grand {
    color: #0f6b61;
    font-size: 12pt;
    font-weight: 800;
  }

  body.pdf-exporting .quote-pdf-branding {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8mm;
    margin: 5mm 6mm 0;
    padding: 4mm 0 0;
    border-top: 1px solid #dce5e2;
  }

  body.pdf-exporting .quote-pdf-brand-copy {
    display: grid;
    gap: 1.5mm;
  }

  body.pdf-exporting .quote-pdf-brand-copy > img {
    width: 42mm;
    height: auto;
    margin-bottom: 1mm;
  }

  body.pdf-exporting .quote-pdf-brand-copy strong {
    font-size: 9pt;
  }

  body.pdf-exporting .quote-pdf-brand-copy span,
  body.pdf-exporting .quote-pdf-qr small,
  body.pdf-exporting .quote-pdf-qr em {
    color: #63736f;
    font-size: 7pt;
    font-style: normal;
  }

  body.pdf-exporting .quote-pdf-qr {
    display: flex;
    align-items: center;
    gap: 3mm;
  }

  body.pdf-exporting .quote-pdf-qr > img {
    width: 24mm;
    height: 24mm;
    border: 1px solid #dce5e2;
  }

  body.pdf-exporting .quote-pdf-qr > span {
    display: grid;
    gap: 1mm;
    max-width: 44mm;
  }

  body.pdf-exporting .quote-pdf-qr strong {
    color: #0f6b61;
    font-size: 8pt;
  }
}

/* ===== 每日精选（首页聚合区） ===== */
.daily-highlights {
  padding: 46px 0 8px;
  background: var(--canvas);
}
.daily-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.daily-head .eyebrow { color: var(--jade); }
.daily-head h2 { margin: 6px 0 6px; font-size: 26px; letter-spacing: -0.5px; }
.daily-head p { margin: 0; color: var(--muted); font-size: 14px; }
.daily-stamp {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
}
.daily-stamp svg { width: 15px; height: 15px; color: var(--jade); }
.daily-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.daily-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 8px 26px rgba(24, 37, 35, 0.05);
}
.daily-card-head { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.daily-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  background: var(--soft);
  color: var(--jade);
}
.daily-icon svg { width: 20px; height: 20px; }
.daily-card-head h3 { margin: 0; font-size: 17px; }
.daily-card-head small { color: var(--muted); font-size: 12px; }
.daily-more {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  padding: 6px 8px;
  border: 0;
  background: none;
  color: var(--jade);
  font-size: 12px;
  cursor: pointer;
}
.daily-more svg { width: 14px; height: 14px; }
.daily-new-list, .daily-news-list { display: flex; flex-direction: column; gap: 8px; }
.daily-news-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.daily-news-item { height: 100%; }
.daily-new-item {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--canvas);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.daily-new-item:hover { border-color: var(--jade); background: var(--soft); }
.daily-new-item img { width: 52px; height: 52px; flex: none; object-fit: cover; border-radius: 9px; background: #e8ece9; }
.daily-new-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.daily-new-copy strong { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.daily-new-copy small { color: var(--muted); font-size: 12px; }
.daily-new-item > svg { width: 15px; height: 15px; flex: none; color: var(--jade); }
.daily-news-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.daily-news-item:hover { border-color: var(--jade); background: var(--soft); }
.daily-news-meta { color: var(--jade); font-size: 11px; }
.daily-news-item strong { font-size: 13px; line-height: 1.5; }
.daily-news-item small { color: var(--muted); font-size: 11px; }
.daily-empty { margin: 0; padding: 18px 0; color: var(--muted); font-size: 13px; text-align: center; }
.daily-promo { background: linear-gradient(160deg, var(--jade-dark), var(--jade)); border-color: transparent; color: #fff; }
.daily-promo .daily-icon { background: rgba(255, 255, 255, 0.16); color: #fff; }
.daily-promo .daily-card-head small { color: rgba(255, 255, 255, 0.72); }
.daily-promo .daily-more { color: #fff; }
.daily-promo-body { display: flex; flex-direction: column; gap: 14px; }
.daily-coupon {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border: 1px dashed rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
}
.daily-coupon span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.daily-coupon span svg { width: 16px; height: 16px; }
.daily-coupon strong { font-size: 34px; line-height: 1.1; }
.daily-coupon small { color: rgba(255, 255, 255, 0.75); font-size: 12px; }
.daily-promo-body .primary-button { background: #fff; color: var(--jade-dark); border: 0; }
.daily-promo-note { margin: 0; color: rgba(255, 255, 255, 0.82); font-size: 12px; line-height: 1.6; }

@media (max-width: 900px) {
  .daily-grid { grid-template-columns: 1fr; }
  .daily-news-list { grid-template-columns: 1fr; gap: 8px; }
  .daily-head { align-items: flex-start; flex-direction: column; }
}

/* ===== 消息中心 / 客服会话 ===== */
.msg-nav-link,
.mobile-nav-item[data-page="messages"] { position: relative; }
.msg-count,
.mobile-msg-count {
  display: grid;
  min-width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 99px;
  background: var(--brand, #c8553d);
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
  line-height: 1;
  padding: 0 4px;
}
.mobile-msg-count { position: absolute; top: 6px; right: calc(50% - 20px); min-width: 15px; height: 15px; font-size: 9px; }
.messages-wrap { max-width: 860px; margin: 0 auto; }
.msg-service-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(135deg, var(--jade-dark, #10332f), var(--jade, #1d5c53));
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.msg-service-hero:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(16, 51, 47, .18); }
.msg-service-avatar {
  display: grid; width: 50px; height: 50px; flex: none; place-items: center;
  border-radius: 14px; background: rgba(255,255,255,.16); color: #fff;
}
.msg-service-avatar svg { width: 26px; height: 26px; }
.msg-service-copy { display: flex; flex: 1; flex-direction: column; gap: 5px; min-width: 0; }
.msg-service-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.msg-service-top strong { font-size: 16px; }
.msg-service-online { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: rgba(255,255,255,.85); }
.msg-service-online i { width: 7px; height: 7px; border-radius: 50%; background: #6ee7a8; box-shadow: 0 0 0 3px rgba(110,231,168,.2); }
.msg-service-preview { font-size: 12px; color: rgba(255,255,255,.75); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-service-enter { display: inline-flex; align-items: center; gap: 2px; flex: none; font-size: 13px; font-weight: 600; }
.msg-service-enter svg { width: 16px; height: 16px; }
.msg-section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 28px 0 12px; }
.msg-section-head h2 { margin: 0; font-size: 18px; }
.msg-section-head span { color: var(--muted); font-size: 12px; }
.msg-list { display: flex; flex-direction: column; gap: 10px; }
.msg-item {
  position: relative; display: flex; align-items: center; gap: 13px; width: 100%;
  padding: 15px 16px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface); text-align: left; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.msg-item:hover { border-color: var(--jade); background: var(--soft, var(--canvas)); }
.msg-item-icon { display: grid; width: 42px; height: 42px; flex: none; place-items: center; border-radius: 12px; background: var(--soft, #eef2ef); color: var(--jade); }
.msg-item-icon svg { width: 21px; height: 21px; }
.msg-item-icon.kind-news { background: #e8f1fb; color: #2b6cb0; }
.msg-item-icon.kind-product { background: #eaf6ee; color: #2f855a; }
.msg-item-icon.kind-promo { background: #fff0e6; color: #c05621; }
.msg-item-body { display: flex; flex: 1; flex-direction: column; gap: 4px; min-width: 0; }
.msg-item-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.msg-item-label { color: var(--jade); font-size: 11px; font-weight: 600; }
.msg-item-top small { color: var(--muted); font-size: 11px; flex: none; }
.msg-item-body strong { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-item-desc { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-unread-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--brand, #c8553d); }
.msg-item-arrow { width: 16px; height: 16px; flex: none; color: var(--muted); }
.msg-contact-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; padding: 18px 20px; border: 1px dashed var(--line); border-radius: 14px; background: var(--canvas); }
.msg-contact-card strong { font-size: 14px; }
.msg-contact-card p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.msg-contact-card .outline-button { flex: none; }
.service-quick-row { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px 0; }
.service-quick { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--jade); font-size: 11px; cursor: pointer; }
.service-quick:hover { border-color: var(--jade); background: var(--soft, var(--canvas)); }
.service-chat-messages .bubble.agent, .service-chat-messages .bubble.user { position: relative; }
.bubble-time { display: block; margin-top: 4px; font-size: 10px; opacity: .6; }
.bubble-ai-tag { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 6px; padding: 2px 8px; border-radius: 999px; background: linear-gradient(135deg, #e0f0e9, #d2ece0); color: #12694f; font-size: 10px; font-weight: 700; }
.bubble-ai-tag svg { width: 12px; height: 12px; }
.modal-head-actions { display: flex; align-items: center; gap: 8px; }
.faq-learn-entry { position: relative; white-space: nowrap; }
.faq-learn-badge { display: inline-grid; min-width: 18px; height: 18px; margin-left: 4px; padding: 0 5px; place-items: center; border-radius: 999px; background: var(--jade); color: #fff; font-size: 10px; }
.faq-learn-body { padding: 16px 20px 22px; max-height: 70vh; overflow: auto; }
.faq-learn-tip { display: flex; gap: 9px; padding: 11px 13px; border-radius: 8px; background: linear-gradient(135deg, #eef8f3, #e3f2ea); color: #1c5f4b; font-size: 12px; line-height: 1.6; }
.faq-learn-tip svg { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.faq-train-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; margin: 14px 0 18px; }
.faq-train-field input { width: 100%; height: 38px; padding: 0 11px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink); font-size: 12px; }
.faq-train-field input:focus { outline: none; border-color: var(--jade); }
.faq-train-form .primary-button { height: 38px; white-space: nowrap; }
.faq-learn-list { display: flex; flex-direction: column; gap: 10px; }
.faq-learn-item { padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.faq-learn-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.faq-learn-q { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink); }
.faq-learn-q svg { flex: none; width: 15px; height: 15px; color: var(--jade); }
.faq-learn-actions { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.faq-learn-hit { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; background: #eef1f0; color: var(--muted); font-size: 11px; white-space: nowrap; }
.faq-learn-hit svg { width: 12px; height: 12px; }
.faq-del { width: 26px; height: 26px; color: var(--muted); }
.faq-del:hover { color: #c0392b; }
.faq-learn-a { margin: 8px 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.faq-learn-source { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; }
.faq-learn-source.source-seed { background: #edf1ef; color: #5c6b66; }
.faq-learn-source.source-auto { background: #e0f0e9; color: #12694f; }
.faq-learn-source.source-manual { background: #fbf1d8; color: #8a6410; }

@media (max-width: 900px) {
  .ai-nav-icon { width: 38px; height: 38px; margin-top: -20px; }
  .faq-train-form { grid-template-columns: 1fr; }
  .faq-learn-body { padding: 14px; }
  .faq-learn-entry { font-size: 11px; padding: 0 8px; }
  .msg-item { padding: 13px 12px; gap: 10px; }
  .msg-item-icon { width: 38px; height: 38px; }
  .msg-contact-card { flex-direction: column; align-items: stretch; }
}

/* 非 VIP 会员升级引导提示 */
.vip-upsell > span { color: #d9822b; }
.detail-summary-row.vip-upsell > span,
.summary-row.vip-upsell > span { font-weight: 500; }
