/* Baize unified single-page components for Zibll.
 * Scope:
 * - Resource detail template.
 * - Shared right sidebar panels.
 * - Global skin for Zibll pay widgets and author/user cards in sidebars.
 */

body:not(.dark-theme) {
  --baize-page: #f4f8ff;
  --baize-panel: rgba(255, 255, 255, 0.92);
  --baize-solid: #ffffff;
  --baize-text: #101828;
  --baize-subtext: #475467;
  --baize-muted: #667085;
  --baize-line: rgba(214, 228, 248, 0.96);
  --baize-soft: #eef5ff;
  --baize-soft-2: #f7faff;
  --baize-blue: #2f80ff;
  --baize-blue-deep: #1e5fd9;
  --baize-green: #18a36b;
  --baize-orange: #ff8a3d;
  --baize-radius: 8px;
  --baize-shadow: 0 16px 36px rgba(36, 72, 132, 0.10);
}

body:not(.dark-theme) .baize-single-container {
  padding-top: 22px;
  padding-bottom: 84px;
}

body:not(.dark-theme) .baize-resource-crumb {
  margin-bottom: 16px;
  color: var(--baize-muted);
  font-size: 13px;
}

body:not(.dark-theme) .baize-resource-crumb .breadcrumb {
  margin: 0;
  padding: 0;
  background: transparent;
}

body:not(.dark-theme) .baize-resource-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 28px;
  align-items: stretch;
  padding: 30px;
  border: 1px solid var(--baize-line);
  border-radius: var(--baize-radius);
  background:
    radial-gradient(circle at 96% 6%, rgba(47, 128, 255, 0.11), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(247,251,255,0.96));
  box-shadow: var(--baize-shadow);
}

body:not(.dark-theme) .baize-resource-hero-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body:not(.dark-theme) .baize-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

body:not(.dark-theme) .baize-pill,
body:not(.dark-theme) .baize-tag-list a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(194, 216, 252, 0.96);
  border-radius: 999px;
  background: #eef5ff;
  color: #2268e8;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

body:not(.dark-theme) .baize-pill-green {
  border-color: rgba(165, 226, 197, 0.9);
  background: #ecfff6;
  color: var(--baize-green);
}

body:not(.dark-theme) .baize-resource-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--baize-text);
  font-size: 40px;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
}

body:not(.dark-theme) .baize-resource-lead {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--baize-subtext);
  font-size: 16px;
  line-height: 1.9;
}

body:not(.dark-theme) .baize-resource-subtitle {
  max-width: 760px;
  margin-top: 10px;
  color: var(--baize-blue);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.7;
}

body:not(.dark-theme) .baize-resource-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

body:not(.dark-theme) .baize-resource-actions .but,
body:not(.dark-theme) .baize-buy-actions .but,
body:not(.dark-theme) .baize-mobile-buybar .but {
  border-radius: var(--baize-radius);
}

body:not(.dark-theme) .baize-resource-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin-top: 24px;
}

body:not(.dark-theme) .baize-resource-stats > div {
  min-height: 70px;
  padding: 13px;
  border: 1px solid var(--baize-line);
  border-radius: var(--baize-radius);
  background: rgba(255, 255, 255, 0.78);
}

body:not(.dark-theme) .baize-resource-stats strong {
  display: block;
  margin-bottom: 5px;
  color: var(--baize-text);
  font-size: 17px;
  line-height: 1.1;
}

body:not(.dark-theme) .baize-resource-stats span {
  color: var(--baize-muted);
  font-size: 12px;
  font-weight: 700;
}

body:not(.dark-theme) .baize-resource-cover {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid rgba(201, 219, 246, 0.96);
  border-radius: var(--baize-radius);
  background: #eaf2ff;
}

body:not(.dark-theme) .baize-resource-cover img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

body:not(.dark-theme) .baize-single-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
  margin-top: 24px;
}

body:not(.dark-theme) .baize-single-main {
  min-width: 0;
  display: grid;
  gap: 20px;
}

body:not(.dark-theme) .baize-resource-content-modules {
  display: grid;
  gap: 20px;
}

body:not(.dark-theme) .baize-content-panel,
body:not(.dark-theme) .baize-side-panel {
  border: 1px solid var(--baize-line);
  border-radius: var(--baize-radius);
  background: var(--baize-panel);
  box-shadow: 0 12px 28px rgba(36, 72, 132, 0.07);
}

body:not(.dark-theme) .baize-content-panel {
  padding: 24px;
}

body:not(.dark-theme) .baize-section-head {
  margin-bottom: 18px;
}

body:not(.dark-theme) .baize-section-head h2 {
  margin: 0;
  color: var(--baize-text);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0;
}

body:not(.dark-theme) .baize-section-head p {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--baize-muted);
  font-size: 14px;
  line-height: 1.8;
}

body:not(.dark-theme) .baize-wp-content {
  color: var(--baize-subtext);
  font-size: 15px;
  line-height: 1.95;
}

body:not(.dark-theme) .baize-wp-content > h2:first-child,
body:not(.dark-theme) .baize-wp-content > h3:first-child {
  margin-top: 0;
}

body:not(.dark-theme) .baize-wp-content h2 {
  color: var(--baize-text);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
}

body:not(.dark-theme) .baize-wp-content h3 {
  color: var(--baize-text);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
}

body:not(.dark-theme) .baize-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}

body:not(.dark-theme) .baize-include-grid,
body:not(.dark-theme) .baize-scene-grid,
body:not(.dark-theme) .baize-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}

body:not(.dark-theme) .baize-feature-item {
  min-height: 140px;
  padding: 18px;
  border: 1px solid var(--baize-line);
  border-radius: var(--baize-radius);
  background: linear-gradient(180deg, #fff, #f7faff);
}

body:not(.dark-theme) .baize-feature-item.baize-item-title-only,
body:not(.dark-theme) .baize-scene-item.baize-item-title-only,
body:not(.dark-theme) .baize-case-item.baize-item-title-only,
body:not(.dark-theme) .baize-step-body.baize-item-title-only {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body:not(.dark-theme) .baize-feature-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: var(--baize-radius);
  color: #fff;
  background: linear-gradient(135deg, var(--baize-blue), var(--baize-blue-deep));
  font-weight: 900;
}

body:not(.dark-theme) .baize-feature-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--baize-text);
  font-size: 15px;
}

body:not(.dark-theme) .baize-feature-item p {
  margin: 0;
  color: var(--baize-muted);
  font-size: 13px;
  line-height: 1.75;
}

body:not(.dark-theme) .baize-item-title-only p {
  display: none;
}

body:not(.dark-theme) .baize-item-title-only strong {
  margin-bottom: 0 !important;
}

body:not(.dark-theme) .baize-text-list {
  display: grid;
  gap: 0;
}

body:not(.dark-theme) .baize-text-list-row {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(214, 228, 248, 0.82);
}

body:not(.dark-theme) .baize-text-list-row:first-child {
  padding-top: 4px;
}

body:not(.dark-theme) .baize-text-list-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

body:not(.dark-theme) .baize-text-list-row.baize-item-title-only {
  align-items: center;
  min-height: 54px;
}

body:not(.dark-theme) .baize-text-list-dot {
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--baize-blue);
  box-shadow: 0 0 0 4px rgba(47, 128, 255, 0.09);
}

body:not(.dark-theme) .baize-text-list-row.baize-item-title-only .baize-text-list-dot {
  margin-top: 0;
}

body:not(.dark-theme) .baize-text-list-row strong {
  color: var(--baize-text);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.65;
}

body:not(.dark-theme) .baize-text-list-row p {
  display: block;
  margin: 4px 0 0;
  color: var(--baize-subtext);
  font-size: 15px;
  line-height: 1.85;
}

body:not(.dark-theme) .baize-include-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 78px;
  padding: 16px;
  border: 1px solid var(--baize-line);
  border-radius: var(--baize-radius);
  background: #fff;
}

body:not(.dark-theme) .baize-include-item > span {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: var(--baize-radius);
  color: #fff;
  background: var(--baize-green);
  font-size: 14px;
  font-weight: 900;
}

body:not(.dark-theme) .baize-include-item.baize-item-title-only {
  align-items: center;
  justify-content: flex-start;
}

body:not(.dark-theme) .baize-include-item strong,
body:not(.dark-theme) .baize-scene-item strong,
body:not(.dark-theme) .baize-case-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--baize-text);
  font-size: 14px;
}

body:not(.dark-theme) .baize-include-item p,
body:not(.dark-theme) .baize-scene-item p,
body:not(.dark-theme) .baize-case-item p {
  margin: 0;
  color: var(--baize-muted);
  font-size: 13px;
  line-height: 1.7;
}

body:not(.dark-theme) .baize-scene-item,
body:not(.dark-theme) .baize-case-item {
  min-height: 110px;
  padding: 18px;
  border: 1px solid var(--baize-line);
  border-radius: var(--baize-radius);
  background: var(--baize-soft-2);
}

body:not(.dark-theme) .baize-case-item {
  background: #fff;
}

body:not(.dark-theme) .baize-step-list {
  display: grid;
  gap: 12px;
  margin: 14px 0;
}

body:not(.dark-theme) .baize-step-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

body:not(.dark-theme) .baize-step-item.baize-item-title-only {
  align-items: stretch;
}

body:not(.dark-theme) .baize-step-num {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(194, 216, 252, 0.96);
  border-radius: var(--baize-radius);
  color: var(--baize-blue);
  background: var(--baize-soft);
  font-size: 18px;
  font-weight: 900;
}

body:not(.dark-theme) .baize-step-body {
  min-height: 56px;
  padding: 16px 18px;
  border: 1px solid var(--baize-line);
  border-radius: var(--baize-radius);
  background: #fff;
}

body:not(.dark-theme) .baize-step-body strong {
  display: block;
  margin-bottom: 6px;
  color: var(--baize-text);
  font-size: 15px;
}

body:not(.dark-theme) .baize-step-body p {
  margin: 0;
  color: var(--baize-muted);
  font-size: 13px;
  line-height: 1.75;
}

body:not(.dark-theme) .baize-faq-list {
  display: grid;
  gap: 0;
}

body:not(.dark-theme) .baize-update-list {
  display: grid;
  gap: 0;
}

body:not(.dark-theme) .baize-update-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--baize-line);
}

body:not(.dark-theme) .baize-update-row.baize-item-title-only {
  grid-template-columns: 1fr;
  align-items: center;
  min-height: 54px;
}

body:not(.dark-theme) .baize-update-row:last-child {
  border-bottom: 0;
}

body:not(.dark-theme) .baize-update-row time {
  color: var(--baize-blue);
  font-size: 13px;
  font-weight: 900;
}

body:not(.dark-theme) .baize-update-row p {
  margin: 0;
  color: var(--baize-subtext);
  font-size: 13px;
  line-height: 1.75;
}

body:not(.dark-theme) .baize-faq-item {
  padding: 18px 0;
  border-bottom: 1px dashed var(--baize-line);
}

body:not(.dark-theme) .baize-faq-item:last-child {
  border-bottom: 0;
}

body:not(.dark-theme) .baize-faq-item summary {
  cursor: pointer;
  color: var(--baize-text);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.55;
}

body:not(.dark-theme) .baize-faq-item div {
  margin-top: 12px;
  color: var(--baize-muted);
  font-size: 14px;
  line-height: 1.9;
}

body:not(.dark-theme) .baize-faq-item div p {
  margin: 0;
}

body:not(.dark-theme) .baize-preview-box {
  margin: 14px 0;
  padding: 18px;
  overflow: hidden;
  border-radius: var(--baize-radius);
  color: #eaf3ff;
  background: linear-gradient(135deg, rgba(37,76,134,0.96), rgba(14,35,72,0.98));
}

body:not(.dark-theme) .baize-preview-box strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
}

body:not(.dark-theme) .baize-preview-box pre {
  margin: 0;
  overflow: auto;
  color: #eaf3ff;
  background: transparent;
  border: 0;
  font-family: Consolas, "SFMono-Regular", Menlo, monospace;
  font-size: 13px;
  line-height: 1.85;
  white-space: pre-wrap;
}

body:not(.dark-theme) .baize-resource-footer-actions {
  overflow: hidden;
}

body:not(.dark-theme) .baize-resource-footer-actions > .box-body {
  padding: 8px 0 16px !important;
  color: var(--baize-muted) !important;
  font-size: 13px !important;
}

body:not(.dark-theme) .baize-resource-footer-actions .post-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 2px;
}

body:not(.dark-theme) .baize-resource-footer-actions .post-actions .action {
  min-width: 110px;
  min-height: 40px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 1px solid var(--baize-line) !important;
  border-radius: var(--baize-radius) !important;
  background: #f7faff !important;
  color: var(--baize-subtext) !important;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

body:not(.dark-theme) .baize-resource-footer-actions .post-actions .action:hover,
body:not(.dark-theme) .baize-resource-footer-actions .post-actions .action.actived,
body:not(.dark-theme) .baize-resource-footer-actions .post-actions .action.active {
  border-color: rgba(47, 128, 255, 0.36) !important;
  background: var(--baize-soft) !important;
  color: var(--baize-blue) !important;
}

body:not(.dark-theme) .baize-resource-footer-actions .post-actions .action svg,
body:not(.dark-theme) .baize-resource-footer-actions .post-actions .action i {
  margin: 0 !important;
  font-size: 15px;
}

body:not(.dark-theme) .baize-content-taxonomy {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

body:not(.dark-theme) .baize-tax-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

body:not(.dark-theme) .baize-tax-row > span {
  color: var(--baize-muted);
  font-size: 13px;
  font-weight: 800;
}

body:not(.dark-theme) .baize-tax-row a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 3px 6px 3px 0;
  padding: 0 10px;
  border: 1px solid var(--baize-line);
  border-radius: 999px;
  background: var(--baize-soft);
  color: var(--baize-blue);
  font-size: 12px;
  font-weight: 800;
}

body:not(.dark-theme) .baize-resource-footer-actions .theme-box,
body:not(.dark-theme) .baize-resource-footer-actions .box-body {
  background: transparent !important;
  box-shadow: none !important;
}

body:not(.dark-theme) .baize-unified-sidebar {
  position: sticky;
  top: 82px;
  display: grid;
  gap: 16px;
  min-width: 0;
}

body:not(.dark-theme) .baize-side-panel {
  overflow: hidden;
  padding: 20px;
}

body:not(.dark-theme) .baize-side-panel h3 {
  margin: 0 0 14px;
  color: var(--baize-text);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
}

body:not(.dark-theme) .baize-purchase-panel {
  padding: 0;
  background: var(--baize-solid);
}

body:not(.dark-theme) .baize-purchase-head {
  padding: 24px 22px 22px;
  border-bottom: 1px solid var(--baize-line);
  background: linear-gradient(180deg, #fff, #f6faff);
}

body:not(.dark-theme) .baize-side-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 10px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--baize-soft);
  color: var(--baize-blue);
  font-size: 12px;
  font-weight: 900;
}

body:not(.dark-theme) .baize-price-wrap {
  margin-top: 16px;
}

body:not(.dark-theme) .baize-price-wrap .price-box,
body:not(.dark-theme) .baize-mobile-price .price-box {
  margin: 0;
}

body:not(.dark-theme) .baize-price-card {
  display: block !important;
  padding: 0;
  border: 0;
  background: transparent;
}

body:not(.dark-theme) .baize-price-card > span {
  display: block;
  margin-bottom: 10px;
  color: var(--baize-subtext);
  font-size: 13px;
  font-weight: 900;
}

body:not(.dark-theme) .baize-price-card strong {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: var(--baize-blue);
  font-size: 36px;
  font-weight: 900;
  line-height: 1.05;
}

body:not(.dark-theme) .baize-price-card em {
  font-style: normal;
  font-size: 22px;
}

body:not(.dark-theme) .baize-points-price-card strong {
  color: #18a36b;
}

body:not(.dark-theme) .baize-points-price-card .baize-points-number {
  color: inherit;
}

body:not(.dark-theme) .baize-points-price-card .baize-points-mark {
  color: inherit;
  font-size: 15px;
  font-weight: 900;
}

body:not(.dark-theme) .baize-pay-price {
  color: var(--baize-blue);
}

body:not(.dark-theme) .baize-pay-price .em3x,
body:not(.dark-theme) .baize-pay-price b {
  color: var(--baize-blue);
  font-size: 34px;
  line-height: 1;
}

body:not(.dark-theme) .baize-vip-price-wrap {
  margin-top: 12px;
}

body:not(.dark-theme) .baize-purchase-panel .vip-price-buts,
body:not(.dark-theme) .baize-vip-price-wrap .vip-price-buts {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 8px;
  width: 100%;
}

body:not(.dark-theme) .baize-purchase-panel .vip-price,
body:not(.dark-theme) .baize-vip-price-wrap .vip-price,
body:not(.dark-theme) .baize-purchase-panel .vip-price-buts > * {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 38px;
  margin: 0 !important;
  padding: 9px 12px !important;
  border: 1px solid rgba(194, 216, 252, 0.96) !important;
  border-radius: var(--baize-radius) !important;
  background: #f6f8fc !important;
  color: #475467 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  white-space: nowrap;
  line-height: 1.35;
}

body:not(.dark-theme) .baize-vip-name,
body:not(.dark-theme) .baize-vip-value {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
}

body:not(.dark-theme) .baize-vip-value {
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 900;
}

body:not(.dark-theme) .baize-vip-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: currentColor !important;
}

body:not(.dark-theme) .baize-purchase-panel .baize-vip-level-1 {
  border-color: rgba(255, 214, 166, 0.72) !important;
  background: #fff7ed !important;
  color: #667085 !important;
}

body:not(.dark-theme) .baize-purchase-panel .baize-vip-level-1 .baize-vip-icon {
  color: #ff7a3d !important;
}

body:not(.dark-theme) .baize-purchase-panel .baize-vip-level-2 {
  border-color: rgba(210, 214, 255, 0.8) !important;
  background: #f4f5ff !important;
  color: #667085 !important;
}

body:not(.dark-theme) .baize-purchase-panel .baize-vip-level-2 .baize-vip-icon {
  color: #9b8cf6 !important;
}

body:not(.dark-theme) .baize-purchase-panel .vip-price-buts > * *,
body:not(.dark-theme) .baize-vip-price-wrap .vip-price *,
body:not(.dark-theme) .baize-vip-price-wrap .badg,
body:not(.dark-theme) .baize-vip-price-wrap b,
body:not(.dark-theme) .baize-vip-price-wrap span,
body:not(.dark-theme) .baize-vip-price-wrap i {
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
  background: transparent !important;
  text-shadow: none !important;
}

body:not(.dark-theme) .baize-member-price-card {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(180, 207, 250, 0.96);
  border-radius: var(--baize-radius);
  background: #f7faff;
}

body:not(.dark-theme) .baize-member-price-card span {
  width: max-content;
  max-width: 100%;
  padding: 6px 10px;
  border-radius: 999px;
  background: #ffffff;
  color: #2268e8;
  font-size: 12px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(194, 216, 252, 0.96);
}

body:not(.dark-theme) .baize-member-price-card strong {
  color: #101828;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.35;
}

body:not(.dark-theme) .baize-member-price-card small {
  color: #475467;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.65;
}

body:not(.dark-theme) .baize-paid-state {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 12px;
  border-radius: var(--baize-radius);
  color: var(--baize-green);
  background: #ecfff6;
  font-weight: 900;
}

body:not(.dark-theme) .baize-purchase-body {
  padding: 18px 22px 22px;
}

body:not(.dark-theme) .baize-pay-doc {
  color: var(--baize-muted);
  font-size: 13px;
  line-height: 1.75;
}

body:not(.dark-theme) .baize-service-row {
  margin-top: 12px;
  color: var(--baize-muted);
  font-size: 12px;
  line-height: 1.7;
}

body:not(.dark-theme) .baize-buy-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

body:not(.dark-theme) .baize-buy-actions .pay-button,
body:not(.dark-theme) .baize-pay-main-button,
body:not(.dark-theme) .baize-purchase-panel .cashier-link,
body:not(.dark-theme) .baize-buy-actions .pay-vip,
body:not(.dark-theme) .baize-buy-actions .signin-loader,
body:not(.dark-theme) .baize-buy-actions .but.btn-block {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  border-radius: var(--baize-radius) !important;
  border-color: var(--baize-blue) !important;
  border-width: 0 !important;
  background: linear-gradient(135deg, var(--baize-blue), var(--baize-blue-deep)) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-shadow: none !important;
  font-size: 14px !important;
  font-weight: 900;
  line-height: 1.2;
}

body:not(.dark-theme) .baize-buy-actions .pay-button *,
body:not(.dark-theme) .baize-pay-main-button *,
body:not(.dark-theme) .baize-purchase-panel .cashier-link *,
body:not(.dark-theme) .baize-buy-actions .pay-vip *,
body:not(.dark-theme) .baize-buy-actions .signin-loader *,
body:not(.dark-theme) .baize-buy-actions .but.btn-block * {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-shadow: none !important;
}

body:not(.dark-theme) .baize-purchase-panel .cashier-link:hover,
body:not(.dark-theme) .baize-pay-main-button:hover,
body:not(.dark-theme) .baize-buy-actions .pay-vip:hover {
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(47, 128, 255, 0.22);
}

body:not(.dark-theme) .baize-demo-link .but,
body:not(.dark-theme) .baize-pay-secondary-button {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  border-radius: var(--baize-radius) !important;
  background: var(--baize-soft);
  color: var(--baize-blue);
}

body:not(.dark-theme) .baize-sales-note {
  margin-top: 12px;
  color: var(--baize-muted);
  font-size: 12px;
  text-align: center;
}

body:not(.dark-theme) .baize-info-list,
body:not(.dark-theme) .baize-related-list {
  display: grid;
  gap: 10px;
}

body:not(.dark-theme) .baize-info-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--baize-line);
  color: var(--baize-muted);
  font-size: 13px;
}

body:not(.dark-theme) .baize-info-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

body:not(.dark-theme) .baize-info-row strong,
body:not(.dark-theme) .baize-info-row .attr-value {
  color: var(--baize-text);
  font-weight: 800;
  text-align: right;
}

body:not(.dark-theme) .baize-author-card {
  display: flex;
  align-items: center;
  gap: 12px;
}

body:not(.dark-theme) .baize-author-avatar {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(180, 207, 250, 0.9);
  border-radius: var(--baize-radius);
  background: linear-gradient(135deg, rgba(47, 128, 255, 0.14), rgba(24, 163, 107, 0.1));
  color: var(--baize-blue);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

body:not(.dark-theme) .baize-author-card img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  flex: 0 0 auto;
  border-radius: var(--baize-radius);
  object-fit: cover;
}

body:not(.dark-theme) .baize-author-avatar-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

body:not(.dark-theme) .baize-author-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--baize-text);
  font-size: 14px;
}

body:not(.dark-theme) .baize-author-card p {
  margin: 0;
  color: var(--baize-muted);
  font-size: 12px;
  line-height: 1.55;
}

body:not(.dark-theme) .baize-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body:not(.dark-theme) .baize-related-item {
  display: block;
  padding: 14px;
  border: 1px solid var(--baize-line);
  border-radius: var(--baize-radius);
  background: #fff;
}

body:not(.dark-theme) .baize-related-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--baize-text);
  font-size: 13px;
  line-height: 1.45;
}

body:not(.dark-theme) .baize-related-item span {
  color: var(--baize-muted);
  font-size: 12px;
  line-height: 1.65;
}

body:not(.dark-theme) .baize-purchase-panel .pay-attr,
body:not(.dark-theme) .baize-info-panel .pay-attr {
  margin-top: 0;
}

body:not(.dark-theme) .baize-purchase-panel .but-download {
  display: flex;
  width: 100%;
  margin-bottom: 8px;
}

body:not(.dark-theme) .baize-purchase-panel .but-download .but {
  flex: 1 1 auto;
  justify-content: center;
  border-radius: var(--baize-radius) !important;
}

body:not(.dark-theme) .baize-mobile-buybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-top: 1px solid var(--baize-line);
  background: rgba(255,255,255,0.96);
  box-shadow: 0 -10px 26px rgba(36, 72, 132, 0.12);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

body:not(.dark-theme) .baize-mobile-price {
  min-width: 0;
  display: grid;
  gap: 2px;
}

body:not(.dark-theme) .baize-mobile-price strong,
body:not(.dark-theme) .baize-mobile-price .em3x {
  color: var(--baize-blue);
  font-size: 18px;
  line-height: 1.1;
}

body:not(.dark-theme) .baize-mobile-price span {
  color: var(--baize-muted);
  font-size: 12px;
}

body:not(.dark-theme) .baize-resource-archive {
  padding-top: 28px;
  padding-bottom: 84px;
}

body:not(.dark-theme) .baize-archive-hero {
  margin-bottom: 24px;
  padding: 30px;
  border: 1px solid var(--baize-line);
  border-radius: var(--baize-radius);
  background:
    radial-gradient(circle at 92% 8%, rgba(47, 128, 255, 0.12), transparent 28%),
    linear-gradient(135deg, #fff, #f7fbff);
  box-shadow: var(--baize-shadow);
}

body:not(.dark-theme) .baize-archive-hero h1 {
  margin: 16px 0 10px;
  color: var(--baize-text);
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 0;
}

body:not(.dark-theme) .baize-archive-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--baize-subtext);
  font-size: 15px;
  line-height: 1.85;
}

body:not(.dark-theme) .baize-resource-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body:not(.dark-theme) .baize-resource-card {
  overflow: hidden;
  border: 1px solid var(--baize-line);
  border-radius: var(--baize-radius);
  background: rgba(255,255,255,0.94);
  box-shadow: 0 12px 28px rgba(36, 72, 132, 0.07);
}

body:not(.dark-theme) .baize-resource-card-cover {
  display: block;
  height: 170px;
  overflow: hidden;
  background: var(--baize-soft);
}

body:not(.dark-theme) .baize-resource-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body:not(.dark-theme) .baize-resource-card-body {
  padding: 16px;
}

body:not(.dark-theme) .baize-card-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

body:not(.dark-theme) .baize-card-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--baize-soft);
  color: var(--baize-blue);
  font-size: 12px;
  font-weight: 800;
}

body:not(.dark-theme) .baize-resource-card h2 {
  min-height: 50px;
  margin: 0 0 8px;
  color: var(--baize-text);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0;
}

body:not(.dark-theme) .baize-resource-card p {
  min-height: 68px;
  margin: 0;
  color: var(--baize-muted);
  font-size: 13px;
  line-height: 1.7;
}

body:not(.dark-theme) .baize-resource-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--baize-line);
  color: var(--baize-muted);
  font-size: 12px;
  font-weight: 800;
}

body:not(.dark-theme) .baize-archive-pagination {
  margin-top: 28px;
}

/* Global sidebar unification for existing Zibll widgets. */
body:not(.dark-theme) .sidebar .zib-widget,
body:not(.dark-theme) .sidebar .theme-box,
body:not(.dark-theme) .sidebar .pay-widget,
body:not(.dark-theme) .sidebar .author {
  overflow: hidden;
  border: 1px solid var(--baize-line) !important;
  border-radius: var(--baize-radius) !important;
  background: rgba(255,255,255,0.92) !important;
  box-shadow: 0 12px 28px rgba(36, 72, 132, 0.07) !important;
}

body:not(.dark-theme) .sidebar .pay-widget {
  padding: 0 !important;
}

body:not(.dark-theme) .sidebar .pay-widget .relative-h {
  background:
    radial-gradient(circle at 88% 6%, rgba(47,128,255,0.12), transparent 30%),
    linear-gradient(180deg, #fff, #f6faff) !important;
}

body:not(.dark-theme) .sidebar .pay-widget .relative-h > .absolute {
  display: none;
}

body:not(.dark-theme) .sidebar .pay-widget .pay-tag {
  border-radius: 999px;
  background: var(--baize-soft);
  color: var(--baize-blue);
}

body:not(.dark-theme) .sidebar .pay-widget .price-box b {
  color: var(--baize-blue);
}

body:not(.dark-theme) .sidebar .pay-widget .pay-button,
body:not(.dark-theme) .sidebar .pay-widget .but.btn-block,
body:not(.dark-theme) .sidebar .pay-widget .cashier-link {
  border-radius: var(--baize-radius) !important;
  font-weight: 900;
}

body:not(.dark-theme) .sidebar .pay-widget .cashier-link,
body:not(.dark-theme) .sidebar .pay-widget .pay-button {
  border-color: var(--baize-blue) !important;
  background: linear-gradient(135deg, var(--baize-blue), var(--baize-blue-deep)) !important;
  color: #fff !important;
}

@media (max-width: 1199px) {
  body:not(.dark-theme) .baize-resource-hero,
  body:not(.dark-theme) .baize-single-grid {
    grid-template-columns: 1fr;
  }

  body:not(.dark-theme) .baize-unified-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:not(.dark-theme) .baize-purchase-panel {
    grid-column: 1 / -1;
  }

  body:not(.dark-theme) .baize-resource-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body:not(.dark-theme) .baize-single-container {
    padding-top: 14px;
  }

  body:not(.dark-theme) .baize-resource-hero {
    gap: 18px;
    padding: 18px;
  }

  body:not(.dark-theme) .baize-resource-hero h1 {
    font-size: 30px;
  }

  body:not(.dark-theme) .baize-resource-lead {
    font-size: 15px;
  }

  body:not(.dark-theme) .baize-resource-stats,
  body:not(.dark-theme) .baize-feature-grid,
  body:not(.dark-theme) .baize-include-grid,
  body:not(.dark-theme) .baize-scene-grid,
  body:not(.dark-theme) .baize-case-grid,
  body:not(.dark-theme) .baize-unified-sidebar {
    grid-template-columns: 1fr;
  }

  body:not(.dark-theme) .baize-step-item {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px;
  }

  body:not(.dark-theme) .baize-step-num {
    width: 46px;
    height: 46px;
    font-size: 15px;
  }

  body:not(.dark-theme) .baize-update-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  body:not(.dark-theme) .baize-resource-cover,
  body:not(.dark-theme) .baize-resource-cover img {
    min-height: 250px;
  }

  body:not(.dark-theme) .baize-content-panel,
  body:not(.dark-theme) .baize-side-panel {
    padding: 18px;
  }

  body:not(.dark-theme) .baize-purchase-panel {
    padding: 0;
  }

  body:not(.dark-theme) .baize-purchase-head,
  body:not(.dark-theme) .baize-purchase-body {
    padding-left: 18px;
    padding-right: 18px;
  }

  body:not(.dark-theme) .baize-mobile-buybar {
    display: flex;
  }

  body:not(.dark-theme) .baize-resource-card-grid {
    grid-template-columns: 1fr;
  }

  body:not(.dark-theme) .baize-archive-hero {
    padding: 20px;
  }

  body:not(.dark-theme) .baize-archive-hero h1 {
    font-size: 30px;
  }
}

/* Resource detail typography refinement: align module text scale with AI tool detail pages. */
body:not(.dark-theme) .baize-resource-content-modules .baize-section-head h2,
body:not(.dark-theme) .baize-resource-module .baize-section-head h2 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4;
}

body:not(.dark-theme) .baize-resource-content-modules .baize-section-head p,
body:not(.dark-theme) .baize-resource-module .baize-section-head p,
body:not(.dark-theme) .baize-resource-content-modules .baize-wp-content,
body:not(.dark-theme) .baize-resource-module .baize-wp-content {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.9;
}

body:not(.dark-theme) .baize-resource-content-modules .baize-wp-content h2,
body:not(.dark-theme) .baize-resource-module .baize-wp-content h2 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
}

body:not(.dark-theme) .baize-resource-content-modules .baize-wp-content h3,
body:not(.dark-theme) .baize-resource-module .baize-wp-content h3 {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.6;
}

body:not(.dark-theme) .baize-resource-content-modules strong,
body:not(.dark-theme) .baize-resource-module strong,
body:not(.dark-theme) .baize-text-list-row strong,
body:not(.dark-theme) .baize-feature-item strong,
body:not(.dark-theme) .baize-include-item strong,
body:not(.dark-theme) .baize-scene-item strong,
body:not(.dark-theme) .baize-case-item strong,
body:not(.dark-theme) .baize-step-body strong {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
}

body:not(.dark-theme) .baize-resource-content-modules p,
body:not(.dark-theme) .baize-resource-module p,
body:not(.dark-theme) .baize-text-list-row p,
body:not(.dark-theme) .baize-feature-item p,
body:not(.dark-theme) .baize-include-item p,
body:not(.dark-theme) .baize-scene-item p,
body:not(.dark-theme) .baize-case-item p,
body:not(.dark-theme) .baize-step-body p,
body:not(.dark-theme) .baize-update-row p {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
}

body:not(.dark-theme) .baize-text-list-row strong {
  font-size: 15px;
  font-weight: 600;
}

body:not(.dark-theme) .baize-faq-item summary {
  font-size: 15px;
  font-weight: 650;
  line-height: 1.65;
}

body:not(.dark-theme) .baize-faq-item div {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.85;
}

body:not(.dark-theme) .baize-preview-box strong {
  font-size: 14px;
  font-weight: 600;
}

body:not(.dark-theme) .baize-preview-box pre {
  font-size: 13px;
  font-weight: 400;
}
