.zhimeng-jian__header-kicker,
.zhimeng-jian__eyebrow {
  margin: 0;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(34, 34, 34, 0.42);
}

.zhimeng-jian__header-title,
.zhimeng-jian__title {
  margin: 0;
  color: rgba(18, 18, 18, 0.92);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.zhimeng-jian__header-title {
  font-size: 24px;
}

.zhimeng-jian__title {
  font-size: 24px;
  line-height: 1.25;
}

.zhimeng-jian__subtitle,
.zhimeng-jian__section-text,
.zhimeng-jian__plain-text,
.zhimeng-jian__muted-text,
.zhimeng-jian__empty-text {
  margin: 0;
  color: rgba(24, 24, 24, 0.58);
  font-size: 13px;
  line-height: 1.75;
}

.zhimeng-jian__section-title,
.zhimeng-jian__preview-title,
.zhimeng-jian__empty-title,
.zhimeng-jian__duplicate-title {
  margin: 0;
  color: rgba(18, 18, 18, 0.9);
  font-weight: 500;
}

.zhimeng-jian__section-title {
  font-size: 15px;
  line-height: 1.45;
}

.zhimeng-jian__preview-title,
.zhimeng-jian__duplicate-title {
  font-size: 13px;
  line-height: 1.5;
}

.zhimeng-jian__empty-title {
  font-size: 16px;
  line-height: 1.4;
}

.zhimeng-jian__muted-text {
  font-size: 12px;
}

.zhimeng-jian__plain-text {
  font-size: 13px;
}

.zhimeng-jian__panel {
  position: relative;
  padding: 16px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 18px;
  box-shadow:
    0 10px 30px rgba(16, 16, 16, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
}

.zhimeng-jian__stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 12px;
  border: 1px solid rgba(20, 20, 20, 0.06);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.42);
}

.zhimeng-jian__stat-value {
  color: rgba(16, 16, 16, 0.92);
  font-size: 24px;
  line-height: 1;
  font-weight: 500;
}

.zhimeng-jian__stat-label {
  color: rgba(16, 16, 16, 0.54);
  font-size: 12px;
  line-height: 1.4;
}

.zhimeng-jian__button,
.zhimeng-jian__mini-button,
.zhimeng-jian__footer-button,
.zhimeng-jian__category-tab {
  appearance: none;
  border: 1px solid rgba(18, 18, 18, 0.08);
  background: rgba(255, 255, 255, 0.68);
  color: rgba(18, 18, 18, 0.86);
  cursor: pointer;
  font-family: inherit;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.zhimeng-jian__button {
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.zhimeng-jian__button:hover,
.zhimeng-jian__mini-button:hover,
.zhimeng-jian__footer-button:hover,
.zhimeng-jian__category-tab:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(18, 18, 18, 0.14);
}

.zhimeng-jian__button:active,
.zhimeng-jian__mini-button:active,
.zhimeng-jian__footer-button:active,
.zhimeng-jian__category-tab:active {
  transform: translateY(1px);
}

.zhimeng-jian__button:disabled,
.zhimeng-jian__mini-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.zhimeng-jian__button--primary {
  background: rgba(24, 24, 24, 0.92);
  color: rgba(255, 255, 255, 0.96);
  border-color: rgba(24, 24, 24, 0.92);
  box-shadow: 0 10px 20px rgba(12, 12, 12, 0.08);
}

.zhimeng-jian__button--primary:hover {
  background: rgba(12, 12, 12, 0.96);
  border-color: rgba(12, 12, 12, 0.96);
}

.zhimeng-jian__button--ghost {
  background: rgba(255, 255, 255, 0.2);
}

.zhimeng-jian__mini-button {
  min-height: 32px;
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1;
}

.zhimeng-jian__mini-button--danger {
  color: #8f3f3f;
  border-color: rgba(143, 63, 63, 0.18);
  background: rgba(143, 63, 63, 0.04);
}

.zhimeng-jian__mini-button--danger:hover {
  background: rgba(143, 63, 63, 0.08);
  border-color: rgba(143, 63, 63, 0.28);
}

.zhimeng-jian__footer-button {
  min-height: 44px;
  padding: 12px 10px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.5);
}

.zhimeng-jian__footer-button.is-active {
  background: rgba(22, 22, 22, 0.92);
  color: rgba(255, 255, 255, 0.96);
  border-color: rgba(22, 22, 22, 0.92);
  box-shadow: 0 10px 24px rgba(16, 16, 16, 0.1);
}

.zhimeng-jian__category-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.zhimeng-jian__category-tab.is-active {
  background: rgba(20, 20, 20, 0.92);
  border-color: rgba(20, 20, 20, 0.92);
  color: rgba(255, 255, 255, 0.96);
}

.zhimeng-jian__category-tab-name,
.zhimeng-jian__category-tab-count {
  font-size: 12px;
  line-height: 1;
}

.zhimeng-jian__category-tab-name {
  font-weight: 500;
}

.zhimeng-jian__category-tab-count {
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
}

.zhimeng-jian__category-tab.is-active .zhimeng-jian__category-tab-count {
  background: rgba(255, 255, 255, 0.16);
}

.zhimeng-jian__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.zhimeng-jian__field-label {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(18, 18, 18, 0.56);
}

.zhimeng-jian__input,
.zhimeng-jian__select,
.zhimeng-jian__textarea {
  width: 100%;
  border: 1px solid rgba(18, 18, 18, 0.08);
  background: rgba(255, 255, 255, 0.74);
  color: rgba(18, 18, 18, 0.9);
  border-radius: 12px;
  padding: 11px 13px;
  font-size: 13px;
  line-height: 1.6;
  font-family: inherit;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.zhimeng-jian__input:focus,
.zhimeng-jian__select:focus,
.zhimeng-jian__textarea:focus {
  outline: none;
  border-color: rgba(18, 18, 18, 0.16);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0 0 3px rgba(18, 18, 18, 0.04);
}

.zhimeng-jian__textarea {
  min-height: 112px;
  resize: vertical;
}

.zhimeng-jian__card {
  border-radius: 16px;
  border-left: 1px solid rgba(18, 18, 18, 0.08);
}

.zhimeng-jian__card:hover {
  box-shadow:
    0 14px 28px rgba(16, 16, 16, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.zhimeng-jian__card-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.05);
  color: rgba(18, 18, 18, 0.6);
  font-size: 11px;
  line-height: 1;
}

.zhimeng-jian__card-text {
  margin: 0;
  color: rgba(18, 18, 18, 0.9);
  font-size: 14px;
  line-height: 1.8;
  word-break: break-word;
}

.zhimeng-jian__card-meta {
  color: rgba(18, 18, 18, 0.46);
  font-size: 11px;
  line-height: 1.5;
}

.zhimeng-jian__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 160px;
  text-align: center;
}

.zhimeng-jian__duplicate-item {
  padding: 12px 14px;
  border: 1px dashed rgba(18, 18, 18, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.4);
}

.zhimeng-jian__duplicate-cards li {
  color: rgba(18, 18, 18, 0.7);
  font-size: 12px;
  line-height: 1.7;
}

.zhimeng-jian__preview-panel {
  padding: 14px;
  border: 1px dashed rgba(18, 18, 18, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.38);
}

.zhimeng-jian__preview-item {
  padding: 10px 12px;
  border: 1px solid rgba(18, 18, 18, 0.06);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.64);
}

.zhimeng-jian__preview-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: rgba(18, 18, 18, 0.88);
}

.zhimeng-jian__preview-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.05);
  color: rgba(18, 18, 18, 0.58);
  font-size: 11px;
  line-height: 1;
}

.zhimeng-jian__preview-text {
  color: rgba(18, 18, 18, 0.84);
  font-size: 13px;
  line-height: 1.7;
  word-break: break-word;
}

#zhimengImportFileInput {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px dashed rgba(18, 18, 18, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.44);
  color: rgba(18, 18, 18, 0.66);
  font-size: 12px;
  font-family: inherit;
}

@media (max-width: 640px) {
  .zhimeng-jian__header-title,
  .zhimeng-jian__title {
    font-size: 21px;
  }

  .zhimeng-jian__button,
  .zhimeng-jian__footer-button {
    min-height: 42px;
  }

  .zhimeng-jian__panel {
    padding: 14px;
    border-radius: 16px;
  }

  .zhimeng-jian__card-text,
  .zhimeng-jian__subtitle,
  .zhimeng-jian__section-text,
  .zhimeng-jian__plain-text {
    font-size: 12px;
  }

  .zhimeng-jian__stat-value {
    font-size: 21px;
  }
}
