.elementor-394 .elementor-element.elementor-element-34a3916{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-394 .elementor-element.elementor-element-11ba1ce{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}:root{--page-title-display:none;}/* Start custom CSS for container, class: .elementor-element-34a3916 *//* AI推荐器样式 */
.advisor-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 22px;
}

.advisor-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.advisor-head p {
  margin: 4px 0 0;
  color: var(--muted);
}

.advisor-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--highlight);
  color: var(--brand);
  font-weight: 900;
}

.advisor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
}

input, select {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}

.advisor-result {
  margin-top: 14px;
  padding: 16px;
  border-radius: 18px;
  background: var(--accent-soft);
}

.advisor-result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.advisor-result-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: #fff;
}

.advisor-result-card .result-chip {
  font-size: 11px;
  padding: 4px 8px;
  margin-bottom: 6px;
  display: inline-flex;
  background: #e4efff;
  color: var(--brand);
  border-radius: 999px;
  font-weight: 800;
}

.advisor-result-card h4 {
  margin: 4px 0 4px;
  font-size: 14px;
  color: var(--brand);
}

.advisor-result-card p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.advisor-chat-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.text-link {
  border: 0;
  background: transparent;
  color: var(--brand);
  font-weight: 800;
  cursor: pointer;
}

/* 聊天弹窗样式 */
.chat-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(11, 22, 39, 0.48);
}

.chat-dialog {
  width: min(760px, 100%);
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.chat-head, .chat-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
}

.chat-head {
  border-bottom: 1px solid var(--line);
}

.chat-head p {
  margin: 4px 0 0;
  color: var(--muted);
}

.chat-body {
  display: grid;
  gap: 12px;
  padding: 22px;
  background: #f8fafd;
}

.chat-bubble {
  max-width: 78%;
  padding: 14px 16px;
  border-radius: 18px;
  line-height: 1.6;
}

.chat-bubble.ai {
  background: #eef4fb;
  color: var(--brand);
}

.close-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

/* 全局提示框 */
.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow);
  z-index: 30;
}

.toast.hidden, .chat-modal.hidden {
  display: none;
}

/* 按钮样式 */
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #f5ab00, #ea8f00);
  box-shadow: 0 10px 20px rgba(245, 163, 0, 0.2);
  border: none;
  cursor: pointer;
}

.block {
  width: 100%;
}

/* 主题变量（与Astra对齐） */
:root {
  --bg: #f4f7fb;
  --panel: #ffffff;
  --line: #d7e2ef;
  --ink: #142740;
  --muted: #61748d;
  --brand: #112d65;
  --accent: #f6a300;
  --accent-soft: #fff5dc;
  --highlight: #e9f2ff;
  --shadow: 0 18px 40px rgba(19, 39, 64, 0.08);
}

/* 响应式适配 */
@media (max-width: 1100px) {
  .advisor-grid {
    grid-template-columns: 1fr;
  }
  .advisor-result-grid {
    grid-template-columns: 1fr;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-7f5bfd0 *//* 材料库样式 */
.library-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 20px;
}

.filters, .library-main {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 20px;
}

.filter-block + .filter-block {
  margin-top: 18px;
}

.filter-block label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  font-weight: 500;
  color: var(--ink);
}

.filter-block input[type="radio"],
.filter-block input[type="checkbox"] {
  min-height: auto;
}

.result-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.sticky-ai {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: #7c5100;
  font-size: 14px;
  font-weight: 700;
}

.sticky-ai button {
  border: 0;
  background: transparent;
  color: var(--brand);
  font-weight: 800;
  cursor: pointer;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.chip {
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef3f9;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
}

.material-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.material-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: #fff;
}

.material-card.exclusive {
  border-color: #d8f0e2;
  background: linear-gradient(180deg, var(--exclusive), #fff);
  --exclusive: #f2fbf6;
}

.material-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.material-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.material-swatch {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.material-title {
  margin: 0;
  font-size: 20px;
}

.material-sub {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.meta-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 12px 0;
}

.meta-badges span {
  padding: 5px 8px;
  border-radius: 999px;
  background: #eef3f9;
  font-size: 11px;
  font-weight: 800;
  color: var(--brand);
}

.metric-list {
  display: grid;
  gap: 7px;
  margin: 14px 0;
  color: var(--muted);
  font-size: 14px;
}

.material-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

/* 分页控件 */
.pagination-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.pagination-controls.hidden {
  display: none;
}

.page-indicator {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  min-width: 90px;
  text-align: center;
}

.zero-state {
  padding: 34px;
  border: 1px dashed var(--line);
  border-radius: 22px;
  text-align: center;
  background: #fbfcfe;
}

.zero-state.hidden {
  display: none;
}

.zero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--brand);
  cursor: pointer;
}

/* 响应式适配 */
@media (max-width: 1100px) {
  .library-layout {
    grid-template-columns: 1fr;
  }
  .material-grid {
    grid-template-columns: 1fr;
  }
}/* End custom CSS */