/* ═══════════════════════════════════════════════════════
   MuseCrea V5.1 — SHIQI Dark Theme
   Deep black + orange, 12px radius, Inter + Noto Sans SC
   ═══════════════════════════════════════════════════════ */


/* ── Design Tokens ── */
:root {
  color-scheme: dark;
  /* SHIQI-inspired palette — deep black + orange */
  --primary: #ff6b00;
  --primary-hover: #ff8c33;
  --primary-shadow: rgba(255,107,0,0.25);
  --secondary: #f093fb;
  --secondary-hover: #e070e8;
  --secondary-shadow: rgba(240,147,251,0.25);
  --success: #22c55e;
  --success-hover: #16a34a;
  --success-shadow: rgba(34,197,94,0.25);
  --warning: #f59e0b;
  --warning-hover: #d97706;
  --warning-shadow: rgba(245,158,11,0.25);
  --accent: #f093fb;

  /* Dark theme base — deep charcoal */
  --bg: #0d0d0d;
  --bg-card: #161616;
  --bg-card-hover: #1e1e1e;
  --bg-surface: #111111;
  --bg-input: #0d0d0d;
  --text: #f0f0f0;
  --text-light: #b0b0b0;
  --text-muted: #707070;
  --border: rgba(255,255,255,0.14);
  --border-light: rgba(255,255,255,0.2);
  --border-solid: #333333;

  /* Fonts — Inter + Noto Sans SC */
  --font-pixel: 'Inter', 'Noto Sans SC', -apple-system, sans-serif;
  --font-body: 'Inter', 'Noto Sans SC', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

  /* Border radius */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;

  /* Sizing */
  --border-size: 1px;
  --btn-shadow: rgba(255,255,255,0.06);
}

/* ── Light Theme Overrides ── */
[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f7f5;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f0ee;
  --bg-surface: #eeecea;
  --bg-input: #ffffff;
  --text: #1a1a1a;
  --text-light: #4a4a4a;
  --text-muted: #8a8a8a;
  --border: rgba(0,0,0,0.08);
  --border-light: rgba(0,0,0,0.12);
  --border-solid: #d4d4d4;
  --btn-shadow: rgba(0,0,0,0.06);
}

[data-theme="light"] .section-card,
[data-theme="light"] .auth-card {
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}


/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-solid); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ========== Layout ========== */
html, body { overflow-x: hidden; }

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

.app-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  color: var(--text);
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
}
.app-header .logo {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.app-header .logo .logo-icon {
  width: 28px;
  height: 28px;
  color: var(--primary);
  flex-shrink: 0;
}
.app-header .logo span {
  font-family: var(--font-body);
  font-weight: 300;
  opacity: 0.6;
  font-size: 12px;
  margin-left: 8px;
  color: var(--text-light);
}
.app-header .header-right { display: flex; align-items: center; gap: 16px; }
.app-header .header-left { display: flex; align-items: center; gap: 12px; }

.sidebar-toggle-btn {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.sidebar-toggle-btn:hover {
  color: var(--primary);
  border-color: rgba(255,107,0,0.3);
  background: rgba(255,107,0,0.06);
}
.app-header .credits-badge {
  background: rgba(255,107,0,0.1);
  border: 1px solid rgba(255,107,0,0.3);
  padding: 4px 14px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  height: 32px;
  border-radius: var(--radius-sm);
}

.lang-toggle-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--primary);
  padding: 0 12px;
  cursor: pointer;
  font-size: 14px;
  font-family: var(--font-body);
  letter-spacing: 0;
  margin-right: 12px;
  transition: background 0.15s, color 0.15s;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.lang-toggle-btn:hover {
  background: var(--primary);
  color: #fff;
}

.theme-toggle-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--primary);
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  font-size: 16px;
  transition: background 0.15s, color 0.15s;
  line-height: 1;
  border-radius: var(--radius-sm);
}
.theme-toggle-btn:hover {
  background: var(--primary);
  color: #fff;
}

.user-dropdown-trigger {
  color: var(--text);
  cursor: pointer;
  font-size: 14px;
}
.user-dropdown-trigger:hover { color: var(--primary); }

.app-main { margin-top: 60px; padding: 24px; min-height: calc(100vh - 60px); }

.app-sidebar {
  position: fixed;
  left: 0; top: 60px; bottom: 0;
  width: 220px;
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  padding: 20px 0;
  z-index: 50;
  transform: translateX(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  opacity: 1;
  display: flex;
  flex-direction: column;
}
.app-content { margin-left: 220px; padding: 24px; min-height: calc(100vh - 120px); transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1); }

/* Sidebar collapsed state */
.sidebar-collapsed .app-sidebar {
  transform: translateX(-220px);
  opacity: 0;
  pointer-events: none;
}
.sidebar-collapsed .app-content { margin-left: 0; }
.sidebar-collapsed .app-footer { margin-left: 0; }

.app-footer {
  text-align: center;
  padding: 24px 16px;
  margin-left: 220px;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  line-height: 1.8;
  transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.site-profile-section {
  margin-left: 220px;
  padding: 56px 5%;
  border-top: 1px solid var(--border);
  background: var(--bg);
  transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.sidebar-collapsed .site-profile-section { margin-left: 0; }
.site-profile-inner { max-width: 1050px; margin: 0 auto; display: grid; grid-template-columns: 150px 1fr; gap: 36px; align-items: center; text-align: left; }
.site-profile-photo { width: 150px; aspect-ratio: 1; border-radius: 14px; object-fit: cover; }
.site-profile-label { color: var(--primary); font-size: 11px; letter-spacing: 2px; margin-bottom: 8px; }
.site-profile-inner h2 { margin: 0 0 12px; font-size: 27px; }
.site-profile-bio { color: var(--text-muted); font-size: 13px; line-height: 1.9; max-width: 760px; }
.site-profile-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.site-profile-links a { padding: 8px 14px; border: 1px solid var(--border); border-radius: 8px; color: var(--text-light); font-size: 12px; text-decoration: none; }
.site-profile-links a:hover { color: var(--primary); border-color: var(--primary); }
.footer-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.footer-icon {
  display: block;
  flex-shrink: 0;
}
.footer-sep {
  margin: 0 10px;
  color: var(--border);
}
.footer-email {
  color: var(--primary);
  text-decoration: none;
}
.footer-email:hover {
  text-decoration: underline;
}
.footer-author {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-author:hover {
  color: var(--primary);
  text-decoration: underline;
}
.footer-version {
  margin-top: 8px;
  font-size: 11px;
  opacity: 0.5;
  font-family: var(--font-mono);
}

.sidebar-menu { list-style: none; }
.sidebar-menu li {
  padding: 12px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--text-light);
  transition: background 0.15s, color 0.15s;
  border-left: 3px solid transparent;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-right: 8px;
}
.sidebar-menu li:hover {
  background: var(--bg-card-hover);
  color: var(--primary);
  border-left-color: var(--primary);
}
.sidebar-menu li.active {
  background: rgba(255,107,0,0.08);
  color: var(--primary);
  font-weight: 600;
  border-left-color: var(--primary);
}
.sidebar-menu li .icon {
  width: 28px;
  height: 28px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}
.sidebar-bottom-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--text-light);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.sidebar-bottom-link:hover {
  background: var(--bg-card-hover);
  color: var(--primary);
  border-left-color: var(--primary);
}

/* ═══ Element Plus Button Layout ═══ */
.el-button {
  display: inline-flex !important;
  align-items: center !important;
}
.el-button .el-button__content {
  display: inline-flex !important;
  align-items: center !important;
}

/* ========== Landing Page ========== */
.landing {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text);
  text-align: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}
.landing h1 {
  font-family: var(--font-body);
  font-size: 36px;
  margin-bottom: 16px;
  color: var(--primary);
  letter-spacing: 0;
  font-weight: 700;
  position: relative;
  z-index: 1;

}
.landing .tagline {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 600px;
  position: relative;
  z-index: 1;
}
.landing .features {
  display: flex;
  gap: 24px;
  margin-bottom: 50px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.landing .feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  width: 220px;
  text-align: center;
  transition: transform 0.1s;
  position: relative;
}
.landing .feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(255,107,0,0.08); }
.landing .feature-card .icon { font-size: 36px; margin-bottom: 12px; }
.landing .feature-card h3 {
  font-family: var(--font-body);
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--primary);
  line-height: 1.4;
  font-weight: 600;
}
.landing .feature-card p { font-size: 12px; color: var(--text-light); line-height: 1.6; }
.landing .cta-buttons { display: flex; gap: 16px; position: relative; z-index: 1; }
.landing .cta-btn {
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 16px;
  cursor: pointer;
  position: relative;
  letter-spacing: 0.5px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: background 0.15s, transform 0.15s;
  font-weight: 600;
}
.landing .cta-primary {
  background: var(--primary);
  color: #fff;
}

.landing .cta-primary:hover { background: var(--primary-hover); }


.landing .cta-secondary {
  background: var(--bg-card);
  color: var(--primary);
}

.landing .cta-secondary:hover { background: var(--bg-card-hover); }

/* ========== Auth Page ========== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}
.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  width: 440px;
  position: relative;
}
.auth-card::before {
  content: '';
}
.auth-card h2 {
  font-family: var(--font-body);
  font-size: 22px;
  text-align: center;
  margin-bottom: 10px;
  color: var(--primary);
  font-weight: 700;
}
.auth-card .subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 30px;
  font-size: 13px;
  font-family: var(--font-body);
}
.auth-card .switch-link { text-align: center; margin-top: 20px; font-size: 13px; color: var(--text-light); }
.auth-card .switch-link a { color: var(--primary); cursor: pointer; text-decoration: none; }
.auth-card .switch-link a:hover { color: var(--primary-hover); }

/* ========== Dashboard ========== */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.15s, border-color 0.15s, background 0.15s, box-shadow 0.15s;
  cursor: default;
}
.stat-card:hover { transform: translateY(-2px); border-color: var(--primary); background: var(--bg-card-hover); box-shadow: 0 4px 16px rgba(255,107,0,0.1); }
.stat-card .stat-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.stat-card .stat-icon img {
  background: transparent;
  border-radius: var(--radius-sm);
}
.stat-icon--eval { border-color: rgba(255,107,0,0.3); background: rgba(255,107,0,0.06); }
.stat-icon--score { border-color: rgba(240,147,251,0.3); background: rgba(240,147,251,0.06); }
.stat-icon--credits { border-color: rgba(34,197,94,0.3); background: rgba(34,197,94,0.06); }
.stat-icon--products { border-color: rgba(245,158,11,0.3); background: rgba(245,158,11,0.06); }
.stat-card .stat-info h3 {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
}
.stat-card .stat-info p { font-size: 12px; color: var(--text-light); }

.dashboard-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 768px) {
  .dashboard-two-col { grid-template-columns: 1fr; }
}

.section-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.section-card:hover {
  border-color: rgba(255,107,0,0.4);
  box-shadow: 0 4px 20px rgba(255,107,0,0.08);
}
.section-card h2 {
  font-family: var(--font-body);
  font-size: 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  line-height: 1.4;
  font-weight: 700;
}

/* ========== Upload ========== */
.upload-zone {
  border: 2px dashed var(--border-solid);
  border-radius: var(--radius);
  padding: 60px 40px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  background: var(--bg-surface);
}
.upload-zone:hover {
  border-color: var(--primary);
  background: var(--bg-card-hover);
}
.upload-zone .upload-icon { font-size: 48px; color: var(--primary); margin-bottom: 16px; }
.upload-zone h3 { font-family: var(--font-body); font-size: 16px; font-weight: 600; margin-bottom: 10px; color: var(--text); }
.upload-zone p { font-size: 13px; color: var(--text-light); }

.template-download-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border: 1px solid rgba(255,107,0,0.4);
  border-radius: 20px;
  font-size: 12px;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.15s;
  background: rgba(255,107,0,0.06);
}
.template-download-link:hover {
  border-color: var(--primary);
  color: #fff;
  background: var(--primary);
}
.template-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border: 1px solid var(--primary);
  border-radius: 22px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  background: transparent;
  transition: all 0.15s;
  margin-left: 4px;
}
.template-download-btn:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255,107,0,0.35);
}

.product-select-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.product-select-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  background: var(--bg-surface);
}
.product-select-item:hover { border-color: var(--primary); background: var(--bg-card-hover); }
.product-select-item.selected {
  border-color: var(--primary);
  background: var(--bg-card-hover);
  box-shadow: 0 0 0 2px rgba(255,107,0,0.2);
}
.product-select-item .pid { font-family: var(--font-mono); font-size: 16px; font-weight: 600; color: var(--primary); }
.product-select-item .count { font-size: 11px; color: var(--text-light); margin-top: 4px; }

.product-img-upload { margin-top: 12px; }
.product-img-dropzone {
  border: 2px dashed rgba(255,107,0,0.4);
  border-radius: var(--radius-sm);
  padding: 18px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: border-color 0.1s, background 0.1s;
  background: var(--bg-surface);
}
.product-img-dropzone:hover {
  border-color: var(--secondary);
  background: var(--bg-card-hover);
}
.img-upload-icon { font-size: 28px; }
.img-upload-text { font-size: 14px; color: var(--primary); font-weight: 600; font-family: var(--font-body); }
.product-img-preview {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.product-img-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.15s;
  cursor: pointer;
}
.product-img-preview:hover .product-img-overlay { opacity: 1; }
.product-img-overlay span {
  color: white;
  font-size: 12px;
  font-weight: 600;
  background: var(--secondary);
  padding: 4px 12px;
  border: 2px solid white;
}

.product-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,107,0,0.08);
  border: 1px solid rgba(255,107,0,0.3);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--primary);
}

/* ========== Results ========== */
.result-product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 24px;
}
.result-header { display: flex; gap: 24px; margin-bottom: 24px; align-items: stretch; }
.result-header .product-img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border: 1px solid rgba(255,107,0,0.3);
  border-radius: var(--radius);
  background: var(--bg-surface);
  flex-shrink: 0;
}
.result-img-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  align-self: stretch;
}
.result-img-col .el-button:hover {
  background: #409eff !important;
  border-color: #409eff !important;
  color: #fff !important;
}
.product-img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  background: var(--bg-surface);
  cursor: pointer;
  color: var(--primary);
}
.creativity-score {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,107,0,0.08);
  border: 1px solid rgba(255,107,0,0.3);
  border-radius: var(--radius);
  color: var(--primary);
  padding: 10px 24px;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
}
.dimension-bars { margin: 20px 0; }
.dim-bar-row { display: flex; align-items: center; margin-bottom: 12px; }
.dim-bar-label {
  width: 90px;
  font-size: 12px;
  color: var(--text-light);
  text-align: right;
  padding-right: 14px;
}
.dim-bar-track {
  flex: 1;
  height: 28px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.dim-bar-fill {
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #fff;
  font-weight: bold;
  transition: width 0.6s ease;
  border-radius: 5px;
}
.dim-bar-score {
  width: 55px;
  text-align: right;
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 800;
}
.dim-bar-value {
  width: 70px;
  text-align: center;
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

.rank-badge {
  display: inline-block;
  padding: 2px 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-surface);
  color: var(--text-light);
}
.rank-1 { color: var(--warning); border-color: var(--warning); }
.rank-2 { color: var(--primary); border-color: var(--primary); }
.rank-3 { color: var(--accent); border-color: var(--accent); }
.rank-4 { color: var(--success); border-color: var(--success); }
.rank-5 { color: var(--secondary); border-color: var(--secondary); }

.score-highlight {
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-mono);
}

.hist-thumb {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
}
.hist-thumb--placeholder {
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
  border-color: var(--primary);
}

.radar-container { display: flex; justify-content: center; margin: 20px 0; }
.radar-container canvas { max-width: 500px; max-height: 500px; }

.analysis-block {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px;
  margin-top: 16px;
}
.analysis-block h3 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.6;
}
.analysis-block .content { font-size: 13px; line-height: 1.8; color: var(--text); white-space: pre-wrap; }

.suggestions-block {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--secondary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px;
  margin-top: 12px;
}
.suggestions-block h3 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 12px;
  line-height: 1.6;
}

.report-link {
  color: var(--primary);
  text-decoration: none;
  font-family: var(--font-mono);
}
.report-link:hover { color: var(--primary-hover); }

.report-iframe {
  width: calc(100vw - 304px);
  height: calc(100vh - 220px);
  min-height: 600px;
  margin: 0 -18px;
  border: none;
  background: #f5f7fa;
  border-radius: var(--radius);
}
/* ── Results Feedback Widget ── */
.fb-widget {
  width: 300px;
  min-width: 260px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-surface);
}
.fb-widget-title {
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--text-primary);
}
.fb-widget-desc {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 12px;
}
.fb-widget-thumbs {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.fb-widget-thumb {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.2s;
}
.fb-widget-thumb:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.fb-up-active {
  border-color: #05ffa1 !important;
  color: #05ffa1 !important;
  background: rgba(5, 255, 161, 0.08) !important;
}
.fb-down-active {
  border-color: #ff2a6d !important;
  color: #ff2a6d !important;
  background: rgba(255, 42, 109, 0.08) !important;
}
.fb-widget-textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-main);
  color: var(--text-primary);
  font-size: 12px;
  resize: vertical;
  margin-bottom: 8px;
  font-family: var(--font-main);
}
.fb-widget-textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.fb-widget-input {
  width: 100%;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-main);
  color: var(--text-primary);
  font-size: 12px;
  margin-bottom: 6px;
  font-family: var(--font-main);
}
.fb-widget-input:focus {
  outline: none;
  border-color: var(--primary);
}
.fb-widget-privacy {
  font-size: 11px;
  color: var(--text-light);
  opacity: 0.6;
  margin-bottom: 10px;
  line-height: 1.4;
}
.fb-widget-success {
  text-align: center;
  color: #05ffa1;
  font-size: 12px;
  margin-top: 8px;
}

.fb-section {
  margin-top: 20px;
  padding-top: 4px;
}
.fb-divider {
  height: 2px;
  background: var(--border);
  margin-bottom: 20px;
}

/* ========== Feedback UI ========== */
.fb-thumb-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: var(--font-main);
  font-size: 14px;
}
.fb-thumb-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--bg-card-hover);
}
.fb-thumb-btn.fb-active-up {
  border-color: #05ffa1;
  color: #05ffa1;
  background: rgba(5, 255, 161, 0.08);
}
.fb-thumb-btn.fb-active-down {
  border-color: #ff2a6d;
  color: #ff2a6d;
  background: rgba(255, 42, 109, 0.08);
}
.fb-thumb-label {
  font-size: 18px;
  line-height: 1;
}
.fb-textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 12px;
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
  outline: none;
  transition: border-color 0.15s;
}
.fb-textarea:focus {
  border-color: var(--primary);
}
.fb-textarea::placeholder {
  color: var(--text-light);
  opacity: 0.6;
}

/* ========== Markdown Content ========== */
.md-content { font-size: 13px; line-height: 1.9; color: var(--text); }
.md-content h1, .md-content h2 {
  font-size: 15px; font-weight: 700; color: var(--primary);
  margin: 20px 0 10px 0; padding-bottom: 6px; border-bottom: 1px solid var(--border);
}
.md-content h3, .md-content h4 { font-size: 14px; font-weight: 600; color: var(--text); margin: 16px 0 8px 0; }
.md-content p { margin: 8px 0; }
.md-content strong { color: var(--primary); font-weight: 700; }
.md-content em { font-style: italic; color: var(--text-light); }
.md-content ul, .md-content ol { margin: 8px 0 8px 20px; padding: 0; }
.md-content li { margin: 4px 0; line-height: 1.8; }
.md-content blockquote {
  border-left: 3px solid var(--primary); background: var(--bg-surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 10px 16px; margin: 12px 0; color: var(--text-light); font-size: 13px;
}
.md-content code {
  background: var(--bg-surface); padding: 2px 6px; font-size: 12px;
  font-family: var(--font-mono); color: var(--success); border: 1px solid var(--border); border-radius: 4px;
}
.md-content pre { background: var(--bg-surface); padding: 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow-x: auto; margin: 12px 0; }
.md-content pre code { background: none; padding: 0; border: none; }
.md-content hr { border: none; border-top: 2px solid var(--border); margin: 16px 0; }
.md-content table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 12px; line-height: 1.6; }
.md-content table th {
  background: var(--bg-surface); color: var(--primary); font-weight: 600;
  padding: 10px 14px; text-align: left; border: 1px solid var(--border); font-family: var(--font-mono);
}
.md-content table td { padding: 9px 14px; border: 2px solid var(--border); color: var(--text); }
.md-content table tr:nth-child(even) { background: rgba(255,255,255,0.02); }

/* ========== Step Indicator ========== */
.step-indicator { display: flex; justify-content: center; gap: 0; margin-bottom: 30px; }
.step-item { display: flex; align-items: center; }
.step-num {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 14px; font-weight: 600;
  background: var(--bg-surface); color: var(--text-muted);
}
.step-item.active .step-num {
  background: rgba(255,107,0,0.1);
  border-color: var(--primary);
  color: var(--primary);
}
.step-item.done .step-num {
  background: var(--bg-card-hover);
  border-color: var(--success);
  color: var(--success);
}
.step-label { margin-left: 8px; font-size: 12px; color: var(--text-light); }
.step-item.active .step-label { color: var(--primary); font-weight: 600; }
.step-connector { width: 60px; height: 2px; background: var(--border); margin: 0 8px; align-self: center; border-radius: 1px; }
.step-connector.done { background: var(--success); }

/* ========== Cost Preview ========== */
.cost-preview {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 20px 0;
}
.cost-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 13px; color: var(--text-light); }
.cost-row.total {
  border-top: 1px solid var(--border);
  margin-top: 8px; padding-top: 12px;
  font-weight: 700; font-size: 15px; color: var(--primary); font-family: var(--font-mono);
}

/* ========== History ========== */
.history-item {
  display: flex; align-items: center; padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  border-left: 3px solid transparent;
  transition: background 0.15s, border-color 0.15s; cursor: pointer;
  border-radius: var(--radius-sm);
  margin: 0 -4px;
}
.history-item:hover { background: var(--bg-card-hover); border-left-color: var(--primary); }
.history-item .h-product { font-weight: 600; width: 100px; color: var(--text); }
.history-item .h-score {
  font-family: var(--font-mono); font-size: 18px; font-weight: 700;
  color: var(--primary); width: 80px;
}
.history-item .h-dims { flex: 1; font-size: 12px; color: var(--text-light); }
.history-item .h-date { font-size: 11px; color: var(--text-muted); width: 120px; text-align: right; font-family: var(--font-mono); }

/* ========== Admin ========== */
.admin-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
.admin-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px; text-align: center;
  transition: border-color 0.15s, background 0.15s;
}
.admin-stat:hover { border-color: var(--primary); background: var(--bg-card-hover); }
.admin-stat .value {
  font-family: var(--font-mono); font-size: 28px; font-weight: 700;
  color: var(--primary);
}
.admin-stat .label { font-size: 12px; color: var(--text-light); margin-top: 4px; }

/* ========== Profile ========== */
.profile-credits {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-mono);
}

/* ========== Image Library Modal ========== */
.img-lib-upload {
  border: 2px dashed var(--border-solid); border-radius: var(--radius); cursor: pointer; transition: border-color 0.15s, background 0.15s; background: var(--bg-surface);
}
.img-lib-upload:hover { border-color: var(--primary); background: var(--bg-card-hover); }
.img-lib-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px; max-height: 400px; overflow-y: auto; padding: 4px;
}
.img-lib-item { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; transition: border-color 0.15s; background: var(--bg-surface); }
.img-lib-item:hover { border-color: var(--primary); }
.img-lib-assigned-item .img-lib-thumb img { filter: grayscale(50%); opacity: 0.6; }
.img-lib-assigned-item:hover .img-lib-thumb img { filter: grayscale(30%); opacity: 0.8; }
.img-lib-thumb { width: 100%; aspect-ratio: 1; overflow: hidden; background: var(--bg); }
.img-lib-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-lib-info { padding: 8px 10px; }
.img-lib-name { font-size: 12px; font-weight: 600; color: var(--text); }
.img-lib-meta { font-size: 10px; color: var(--text-muted); margin-top: 2px; font-family: var(--font-mono); }
.img-lib-assigned { margin-top: 4px; }
.img-lib-actions { padding: 6px 10px; border-top: 1px solid var(--border); display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }

.imglib-tips-toggle { cursor: pointer; font-size: 13px; color: var(--primary); user-select: none; }
.imglib-tips-toggle:hover { color: var(--primary-hover); }
.imglib-tips-content { font-size: 13px; color: var(--text-light); line-height: 1.8; padding: 8px 0; }
.imglib-tips-content p { margin: 4px 0; }
.imglib-folder-path {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin: 4px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--success);
}

/* ========== Utilities ========== */
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-light { color: var(--text-light); }
.text-muted { color: var(--text-muted); }
.fade-enter-active, .fade-leave-active { transition: opacity 0.2s; }
.fade-enter-from, .fade-leave-to { opacity: 0; }

/* ========== Sidebar SVG Icons ========== */
.sidebar-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  stroke: currentColor;
}

/* ========== Dashboard Hero ========== */
.dash-hero {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 32px;
  margin-bottom: 24px;
  position: relative;
  overflow: visible;
}
.dash-hero::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,107,0,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.dash-hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.dash-hero-text { flex: 1; }
.dash-hero-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.dash-hero h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 4px;
  margin-bottom: 8px;
  font-family: var(--font-body);
}
.dash-hero-sub {
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 500;
}
.dash-hero-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 24px;
}
.dash-hero-actions {
  display: flex;
  gap: 12px;
}
.dash-hero-visual {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

/* ========== Criteria Cards ========== */
.criteria-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
@media (max-width: 900px) {
  .criteria-grid { grid-template-columns: repeat(2, 1fr); }
}
.criteria-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  position: relative;
  overflow: hidden;
}
.criteria-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--cc);
  border-radius: var(--radius) var(--radius) 0 0;
}
.criteria-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  border-color: var(--cc);
}
.criteria-card svg {
  margin-bottom: 12px;
}
.criteria-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  font-family: var(--font-body);
}
.criteria-card p {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ========== News Section ========== */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.news-item {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 18px 12px;
  border-bottom: 1px solid var(--border);
  border-left: 3px solid transparent;
  border-radius: var(--radius-sm);
  transition: background 0.15s, border-color 0.15s;
  cursor: default;
  margin: 0 -12px;
}
.news-item:last-child {
  border-bottom: none;
}
.news-item:hover {
  background: var(--bg-card-hover);
  border-left-color: var(--primary);
}
.news-item:hover .news-content h4 {
  color: var(--primary);
}
.news-date {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  width: 100px;
  flex-shrink: 0;
  padding-top: 2px;
}
.news-content {
  flex: 1;
}
.news-content h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  font-family: var(--font-body);
  transition: color 0.15s;
}
.news-content p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}
.news-pinned-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(255,107,0,0.08);
  border: 1px solid rgba(255,107,0,0.3);
  border-radius: 4px;
  padding: 1px 8px;
  margin-left: 8px;
  flex-shrink: 0;
  font-family: var(--font-body);
}

/* ══════════════════════════════════════════════════════
   Element Plus Dark Overrides — SHIQI V5.1
   ══════════════════════════════════════════════════════ */

html.dark {
  --el-bg-color: var(--bg-card);
  --el-bg-color-overlay: var(--bg-card);
  --el-text-color-primary: var(--text);
  --el-text-color-regular: var(--text-light);
  --el-border-color: var(--border-solid);
  --el-fill-color-blank: var(--bg-card);
  --el-color-primary: #ff6b00;
  --el-color-success: #22c55e;
  --el-color-warning: #f59e0b;
  --el-color-danger: #ef4444;
  --el-border-radius-base: 8px;
  --el-border-radius-small: 6px;
  --el-border-radius-round: 20px;
  --el-border-radius-circle: 50%;
}

/* ── Buttons ── */
.el-button {
  border-radius: var(--radius-sm) !important;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  font-weight: 500;
  letter-spacing: 0;
  transition: all 0.15s ease;
}
.el-button--primary {
  background: var(--primary) !important;
  border: 1px solid var(--primary) !important;
  color: #fff !important;
  box-shadow: none !important;
}
.el-button--primary:hover {
  background: var(--primary-hover) !important;
  border-color: var(--primary-hover) !important;
  box-shadow: 0 4px 12px rgba(255,107,0,0.25) !important;
}
.el-button--primary:active {
  box-shadow: none !important;
  transform: translateY(1px);
}
.el-button--default {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-solid) !important;
  color: var(--text) !important;
  box-shadow: none !important;
  --el-button-hover-bg-color: var(--bg-card) !important;
  --el-button-hover-border-color: var(--primary) !important;
  --el-button-hover-text-color: var(--primary) !important;
  --el-button-active-bg-color: var(--bg-card) !important;
  --el-button-active-border-color: var(--primary) !important;
  --el-button-active-text-color: var(--primary) !important;
}
html.dark .el-button--default:hover,
html.dark .el-button--default:focus,
html.dark .el-button--default.is-round:hover,
html.dark .el-button--default:not(.is-disabled):hover,
html.dark .el-button--default:not(.is-disabled):focus,
html[data-theme="dark"] .el-button--default:hover,
html[data-theme="dark"] .el-button--default:focus,
.el-button--default:hover,
.el-button--default:focus,
.el-button--default.is-round:hover,
.el-button--default:not(.is-disabled):hover,
.el-button--default:not(.is-disabled):focus {
  background: var(--bg-card) !important;
  border-color: var(--primary) !important;
  color: var(--primary) !important;
  box-shadow: none !important;
}
.el-button--default:active {
  box-shadow: none !important;
  transform: translateY(1px);
}
html.dark .el-button.btn-ghost,
html[data-theme="dark"] .el-button.btn-ghost,
.el-button.btn-ghost {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-solid) !important;
  color: var(--text) !important;
  box-shadow: none !important;
  --el-button-hover-bg-color: var(--bg-card) !important;
  --el-button-hover-border-color: var(--primary) !important;
  --el-button-hover-text-color: var(--primary) !important;
}
html.dark .el-button.btn-ghost:hover,
html.dark .el-button.btn-ghost:focus,
html[data-theme="dark"] .el-button.btn-ghost:hover,
html[data-theme="dark"] .el-button.btn-ghost:focus,
.el-button.btn-ghost:hover,
.el-button.btn-ghost:focus {
  background: var(--bg-card) !important;
  border-color: var(--primary) !important;
  color: var(--primary) !important;
  box-shadow: none !important;
}
.el-button--danger {
  background: #ef4444 !important;
  border: 1px solid #ef4444 !important;
  color: #fff !important;
  box-shadow: none !important;
}
.el-button--danger:hover {
  background: #dc2626 !important;
  border-color: #dc2626 !important;
  box-shadow: 0 4px 12px rgba(239,68,68,0.25) !important;
}
.el-button--danger:active {
  box-shadow: none !important;
  transform: translateY(1px);
}
.el-button--success {
  background: var(--success) !important;
  border: 1px solid var(--success) !important;
  color: #fff !important;
  box-shadow: none !important;
}
.el-button--success:hover {
  background: var(--success-hover) !important;
  border-color: var(--success-hover) !important;
  box-shadow: 0 4px 12px rgba(34,197,94,0.25) !important;
}

.el-button--primary.is-link {
  color: var(--primary) !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  font-family: var(--font-body) !important;
  font-size: 13px !important;
}
.el-button--primary.is-link:hover {
  color: var(--primary-hover) !important;
  box-shadow: none !important;
}
.el-button.is-link {
  font-family: var(--font-body) !important;
  font-size: 13px !important;
  box-shadow: none !important;
}
.el-button--primary.is-plain {
  background: transparent !important;
  border: 1px solid var(--primary) !important;
  color: var(--primary) !important;
  box-shadow: none !important;
}
.el-button--primary.is-plain:hover {
  background: var(--primary) !important;
  color: #fff !important;
}

/* ── Inputs ── */
.el-input__wrapper, .el-textarea__inner {
  background: var(--bg-input) !important;
  border: 1px solid var(--border-solid) !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: none !important;
  color: var(--text) !important;
  transition: border-color 0.15s !important;
}
.el-input__wrapper:focus-within, .el-textarea__inner:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(255,107,0,0.12) !important;
}
.el-input__inner { color: var(--text) !important; }
.el-input.is-disabled .el-input__wrapper {
  background: var(--bg) !important;
  border-color: var(--border) !important;
  box-shadow: none !important;
}
.el-input.is-disabled .el-input__inner {
  color: var(--text-muted) !important;
  -webkit-text-fill-color: var(--text-muted) !important;
}

.el-form-item__label {
  color: var(--text) !important;
  font-weight: 500;
}

/* ── Tables ── */
.el-table { background: var(--bg-card) !important; border: 1px solid var(--border) !important; border-radius: var(--radius-sm) !important; overflow: hidden; }
.el-table th.el-table__cell {
  background: var(--bg-surface) !important;
  color: var(--primary) !important;
  border-color: var(--border) !important;
  font-family: var(--font-body);
  font-weight: 600;
  white-space: nowrap;
}
.el-table td.el-table__cell {
  background: var(--bg-card) !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
  vertical-align: middle;
}
.el-table tr:hover td.el-table__cell { background: var(--bg-card-hover) !important; transition: background 0.15s; }
.el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell { background: rgba(255,255,255,0.02) !important; }

/* ── Cards & Dialogs ── */
.el-card {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  color: var(--text) !important;
}
.el-card__header { border-bottom: 1px solid var(--border) !important; }

.el-dialog {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5) !important;
}
.el-dialog__header { border-bottom: 1px solid var(--border); }
.el-dialog__title { color: var(--primary) !important; font-family: var(--font-body); font-size: 18px; font-weight: 700; }
.el-dialog__body { color: var(--text) !important; }

/* ── Tags ── */
.el-tag { border-radius: 6px !important; font-family: var(--font-body) !important; border-width: 1px !important; }
.el-tag--info { background: var(--bg-surface) !important; border-color: var(--border) !important; color: var(--text-light) !important; }
.el-tag--success { background: rgba(34,197,94,0.1) !important; border-color: rgba(34,197,94,0.3) !important; color: var(--success) !important; }
.el-tag--warning { background: rgba(245,158,11,0.1) !important; border-color: rgba(245,158,11,0.3) !important; color: var(--warning) !important; }
.el-tag--danger { background: rgba(239,68,68,0.1) !important; border-color: rgba(239,68,68,0.3) !important; color: #ef4444 !important; }

/* ── Select ── */
.el-select .el-input__wrapper { background: var(--bg-input) !important; }
.el-select-dropdown { background: var(--bg-card) !important; border: 1px solid var(--border-solid) !important; border-radius: var(--radius-sm) !important; box-shadow: 0 8px 24px rgba(0,0,0,0.4) !important; }
.el-select-dropdown__item { color: var(--text) !important; }
.el-select-dropdown__item.hover, .el-select-dropdown__item:hover { background: var(--bg-card-hover) !important; }
.el-select-dropdown__item.selected { color: var(--primary) !important; }

/* ── Pagination ── */
.el-pagination {
  --el-pagination-bg-color: transparent;
  --el-pagination-button-bg-color: var(--bg-surface);
}
.el-pagination button, .el-pager li {
  background: var(--bg-surface) !important;
  color: var(--text-light) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
}
.el-pager li.is-active { color: var(--primary) !important; border-color: var(--primary) !important; background: rgba(255,107,0,0.08) !important; }

/* ── Alert ── */
.el-alert { border-radius: var(--radius-sm) !important; border-width: 1px !important; }
.el-alert--success { background: rgba(34,197,94,0.06) !important; border-color: rgba(34,197,94,0.3) !important; color: var(--text) !important; }
.el-alert--warning { background: rgba(245,158,11,0.06) !important; border-color: rgba(245,158,11,0.3) !important; color: var(--text) !important; }
.el-alert--error { background: rgba(239,68,68,0.06) !important; border-color: rgba(239,68,68,0.3) !important; color: var(--text) !important; }
.el-alert--info { background: rgba(255,107,0,0.06) !important; border-color: rgba(255,107,0,0.3) !important; color: var(--text) !important; }
.el-alert__title { color: var(--text) !important; }
.el-alert__description { color: var(--text-light) !important; }

/* ── Progress ── */
.el-progress-bar__outer {
  background: var(--bg-surface) !important;
  border-radius: 6px !important;
  border: none !important;
}
.el-progress-bar__inner {
  border-radius: 6px !important;
  background: var(--primary) !important;
  background-color: var(--primary) !important;
}
.el-progress .el-progress-bar__inner {
  background-color: var(--primary) !important;
}
.el-progress__text { color: var(--primary) !important; font-family: var(--font-mono) !important; }
.el-progress-circle__track { stroke: var(--bg-surface) !important; }
.el-progress-circle .el-progress__text {
  color: var(--primary) !important;
  font-family: var(--font-body) !important;
  font-size: 16px !important;
  font-weight: 700;
}

/* ── Divider ── */
.el-divider { border-top-color: var(--border) !important; }
.el-divider__text { background: var(--bg-card) !important; color: var(--text-light) !important; }

/* ── Input Number ── */
.el-input-number { --el-input-number-bg-color: var(--bg-input); }
.el-input-number__decrease, .el-input-number__increase {
  background: var(--bg-surface) !important;
  border-color: var(--border-solid) !important;
  color: var(--text) !important;
  border-radius: var(--radius-sm) !important;
}
.el-input-number__decrease:hover, .el-input-number__increase:hover {
  color: var(--primary) !important;
  border-color: var(--primary) !important;
}

/* ── Checkbox ── */
.el-checkbox__label { color: var(--text) !important; font-size: 14px; }
.el-checkbox__inner {
  background: var(--bg-input) !important;
  border: 1px solid var(--border-solid) !important;
  border-radius: 4px !important;
  width: 16px !important;
  height: 16px !important;
}
.el-checkbox__input.is-checked .el-checkbox__inner {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
}
.el-checkbox__input.is-checked + .el-checkbox__label { color: var(--primary) !important; }

/* ── Skeleton ── */
.el-skeleton__item { background: var(--bg-surface) !important; border-radius: var(--radius-sm) !important; }
.el-skeleton.is-animated .el-skeleton__item {
  background: linear-gradient(90deg, var(--bg-surface) 25%, var(--bg-card-hover) 37%, var(--bg-surface) 63%) !important;
}

/* ── Descriptions ── */
.el-descriptions { --el-descriptions-table-border: var(--border-solid) !important; }
.el-descriptions__label { color: var(--text-light) !important; background: var(--bg-surface) !important; font-weight: 600 !important; }
.el-descriptions__content { color: var(--text) !important; }

/* ── Tabs ── */
.el-tabs__item { color: var(--text-light) !important; }
.el-tabs__item.is-active { color: var(--primary) !important; }
.el-tabs__active-bar { background-color: var(--primary) !important; }
.el-tabs__nav-wrap::after { background-color: var(--border) !important; }

/* ── Dropdown ── */
.el-dropdown-menu { background: var(--bg-card) !important; border: 1px solid var(--border-solid) !important; border-radius: var(--radius-sm) !important; box-shadow: 0 8px 24px rgba(0,0,0,0.4) !important; }
.el-dropdown-menu__item { color: var(--text) !important; }
.el-dropdown-menu__item:hover { background: var(--bg-card-hover) !important; color: var(--primary) !important; }

/* ── Message Box ── */
.el-message-box { background: var(--bg-card) !important; border: 1px solid var(--border) !important; border-radius: var(--radius-lg) !important; box-shadow: 0 16px 48px rgba(0,0,0,0.5) !important; }
.el-message-box__title { color: var(--primary) !important; }
.el-message-box__content { color: var(--text) !important; }

/* ── Message Toast ── */
.el-message { background: var(--bg-card) !important; border: 1px solid var(--border-solid) !important; border-radius: var(--radius-sm) !important; box-shadow: 0 8px 24px rgba(0,0,0,0.4) !important; }
.el-message--success { border-color: rgba(34,197,94,0.3) !important; }
.el-message--warning { border-color: rgba(245,158,11,0.3) !important; }
.el-message--error { border-color: rgba(239,68,68,0.3) !important; }

/* ── Notification ── */
.el-notification { background: var(--bg-card) !important; border: 1px solid var(--border-solid) !important; border-radius: var(--radius) !important; box-shadow: 0 8px 24px rgba(0,0,0,0.4) !important; }
.el-notification__title { color: var(--primary) !important; }
.el-notification__content { color: var(--text) !important; }

/* ── Overlay & Loading ── */
.el-overlay { background: rgba(0,0,0,0.7) !important; }
.el-loading-mask { background: rgba(13,13,13,0.8) !important; }
.el-loading-spinner .circular .path { stroke: var(--primary) !important; }
.el-loading-spinner .el-loading-text { color: var(--primary) !important; }

/* ══════════════════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .app-sidebar { display: none; }
  .app-content { margin-left: 0; }
  .app-footer { margin-left: 0; }
  .site-profile-section { margin-left: 0; padding: 45px 22px; }
  .site-profile-inner { grid-template-columns: 1fr; }
  .site-profile-photo { width: 125px; }
  .landing h1 { font-size: 24px; }
  .landing .features { flex-direction: column; align-items: center; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .result-header { flex-direction: column; align-items: flex-start; }
}

/* ══════════════════════════════════════════════════════
   Reduced Motion
   ══════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ══════════════════════════════════════════════════════
   Guide Page
   ══════════════════════════════════════════════════════ */
.guide-hero {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  margin-bottom: 24px;
  text-align: center;
}
.guide-hero-badge {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid var(--primary);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 16px;
}
.guide-hero h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}
.guide-hero-desc {
  font-size: 15px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}
.guide-section { margin-bottom: 24px; }
.guide-section h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}
.guide-text {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Flow Diagram */
.guide-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px 0;
}
.guide-flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.guide-flow-step span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.guide-flow-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,107,0,0.08);
  border: 1px solid rgba(255,107,0,0.2);
}

/* Table */
.guide-table-wrap { overflow-x: auto; }
.guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.guide-table th {
  background: var(--bg-surface);
  padding: 10px 12px;
  text-align: left;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.guide-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text-light);
  vertical-align: top;
}
.guide-table code {
  background: rgba(255,107,0,0.08);
  color: var(--primary);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
}
.guide-table-sm td, .guide-table-sm th {
  padding: 6px 10px;
  font-size: 12px;
}
.comment-cell { max-width: 200px; }

/* Scale */
.guide-scale {
  display: flex;
  gap: 8px;
  padding: 16px 0;
}
.guide-scale-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 4px;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
}
.guide-scale-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--scale-color);
}
.guide-scale-label {
  font-size: 11px;
  color: var(--text-light);
  text-align: center;
}

/* Rules */
.guide-rules { display: flex; flex-direction: column; gap: 16px; }
.guide-rule {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border);
}
.guide-rule-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,107,0,0.08);
}
.guide-rule h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.guide-rule p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

/* Image Tips */
.guide-img-tips {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.guide-img-tip {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-light);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border);
}

/* Dimensions */
.guide-dims {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.guide-dim {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--dc);
}
.guide-dim h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--dc);
  margin-bottom: 6px;
}
.guide-dim p {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.6;
}

/* Steps */
.guide-steps { display: flex; flex-direction: column; gap: 0; }
.guide-step {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border);
}
.guide-step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.guide-step h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.guide-step p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}
.guide-step-connector {
  width: 2px;
  height: 20px;
  background: var(--border-solid);
  margin-left: 31px;
}

/* ── Guide: Citation List ── */
.guide-citation-list {
  margin: 8px 0 0;
  padding-left: 20px;
  list-style: none;
}
.guide-citation-list li {
  position: relative;
  font-size: 12.5px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 4px;
}
.guide-citation-list li::before {
  content: '';
  position: absolute;
  left: -14px;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  opacity: .6;
}
.guide-citation-list a {
  color: var(--text-light);
  text-decoration: none;
  transition: color .2s;
}
.guide-citation-list a:hover {
  color: var(--primary);
}
.guide-citation-list em {
  font-style: italic;
}

/* ── Guide: Related Publications ── */
.guide-pubs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}
.guide-pub-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 10px;
  border: 1px solid var(--border-solid);
  border-left: 3px solid var(--primary);
  background: var(--bg-card);
  transition: border-color .2s, background .2s;
}
.guide-pub-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255,107,0,.35);
  border-left-color: var(--primary);
}
.guide-pub-body { flex: 1; min-width: 0; }
.guide-pub-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 6px;
}
.guide-pub-title a {
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  transition: color .2s;
}
.guide-pub-title a:hover { color: var(--primary); }
.guide-pub-title svg {
  flex-shrink: 0;
  opacity: 0;
  transition: opacity .2s;
  color: var(--primary);
}
.guide-pub-title a:hover svg { opacity: 1; }
.guide-pub-venue {
  font-size: 12px;
  color: var(--text-light);
  margin: 0;
}
.guide-pub-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
  align-self: center;
}
.guide-pub-tags {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(255,107,0,.08);
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}
.guide-pub-ris {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-light);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-solid);
  transition: color .2s, border-color .2s, background .2s;
  white-space: nowrap;
}
.guide-pub-ris:hover {
  color: var(--primary);
  border-color: rgba(255,107,0,.35);
  background: rgba(255,107,0,.05);
}

.news-item--link {
  cursor: pointer;
}
.news-item--link:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255,107,0,0.3);
}
.news-link-arrow {
  color: var(--primary);
  font-weight: 700;
}

/* ── WeChat QR Popup ── */
.footer-wechat-wrap {
  position: relative;
  cursor: pointer;
}
.footer-qr-bubble {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  padding: 14px;
  margin-bottom: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  z-index: 1000;
  pointer-events: none;
}
.footer-qr-bubble::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: var(--bg-card);
}
.footer-qr-popup {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}
.footer-wechat-wrap:hover .footer-qr-bubble {
  display: block;
}

/* ── Articles Page ── */
.article-tag-filter {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border-solid);
  cursor: pointer;
  transition: all 0.15s;
}
.article-tag-filter:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.article-tag-filter--active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.article-tag-filter--active:hover {
  color: #fff;
}

.article-card {
  padding: 20px 24px;
  border: 1px solid var(--border-solid);
  border-radius: 12px;
  margin-bottom: 16px;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--bg-card);
}
.article-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255,107,0,0.1);
}
.article-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.article-card-date {
  font-size: 12px;
  color: var(--text-muted);
}
.article-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 8px;
  line-height: 1.4;
}
.article-card-summary {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card-more {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
}

.article-detail-content {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-light);
}
.article-detail-content p {
  margin-bottom: 16px;
}
.public-content-page{width:100%;max-width:1180px;margin:0 auto;padding:34px}.public-page-toolbar{display:flex;align-items:center;margin-bottom:18px}.public-page-toolbar .guest-back{margin:0}.article-detail-content{min-width:0;overflow-wrap:anywhere}.article-detail-content img,.article-detail-content video,.article-detail-content iframe{display:block;max-width:100%;height:auto}.article-detail-content a{overflow-wrap:anywhere;word-break:break-word}
/* ─── Public sample showcase ─── */
.guest-app{min-height:100vh;background:var(--bg);color:var(--text)}
.guest-header{position:fixed;inset:0 0 auto 0;height:64px;z-index:110;display:flex;align-items:center;justify-content:space-between;padding:0 28px;background:rgba(13,13,13,.94);backdrop-filter:blur(18px);border-bottom:1px solid var(--border)}
.guest-brand{display:flex;align-items:center;gap:9px}.guest-brand img{width:30px;height:30px}.guest-brand strong{font-size:20px;color:var(--primary)}.guest-brand>span{font-size:11px;color:var(--text-muted);margin-left:2px}
.guest-header-actions{display:flex;align-items:center;gap:10px}.guest-mode{font-size:11px;color:var(--primary);background:var(--primary-dim);border:1px solid rgba(255,107,0,.24);border-radius:18px;padding:5px 11px}.guest-login,.guest-use{height:34px;border-radius:18px;padding:0 16px;font:600 12px inherit;cursor:pointer}.guest-login{color:var(--text-light);border:1px solid var(--border);background:transparent}.guest-use{color:#fff;border:1px solid var(--primary);background:var(--primary)}
.guest-sidebar{position:fixed;left:0;top:64px;bottom:0;width:210px;padding:30px 16px;background:var(--bg-card);border-right:1px solid var(--border);z-index:80}.guest-sidebar-label{font-size:10px;letter-spacing:2px;color:var(--text-muted);padding:0 12px 13px}.guest-sidebar button{display:block;width:100%;padding:11px 13px;margin-bottom:5px;border:0;border-radius:8px;background:transparent;color:var(--text-light);font:13px inherit;text-align:left;cursor:pointer;transition:.2s}.guest-sidebar button:hover,.guest-sidebar button.active{color:var(--primary);background:var(--primary-dim)}.guest-sidebar-bottom{position:absolute;left:20px;right:20px;bottom:20px}.guest-site-links{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:14px}.guest-site-links a{padding:6px 4px;color:var(--text-muted);font-size:10px;text-decoration:none;border-bottom:1px solid transparent}.guest-site-links a:hover{color:var(--primary);border-color:var(--primary)}.guest-sidebar-note{padding-top:14px;border-top:1px solid var(--border);font-size:10px;line-height:1.6;color:var(--text-muted)}
.guest-main{margin-left:210px;padding:106px 36px 60px;max-width:1580px}.guest-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;margin-bottom:30px}.guest-kicker,.guest-section-heading span,.guest-start-card>div>span{font-size:10px;letter-spacing:3px;color:var(--primary);font-weight:700}.guest-hero h1{font-size:clamp(30px,4vw,52px);margin:10px 0 12px}.guest-hero p{max-width:680px;color:var(--text-light);font-size:14px;line-height:1.8}.guest-primary-cta{flex:0 0 auto;border:0;border-radius:24px;background:var(--primary);color:#fff;padding:13px 22px;font:700 14px inherit;cursor:pointer;box-shadow:0 8px 30px rgba(255,107,0,.2)}.guest-primary-cta span{margin-left:9px}
.guest-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--border);border:1px solid var(--border);border-radius:12px;overflow:hidden;margin-bottom:42px}.guest-summary>div{background:var(--bg-card);padding:18px 22px}.guest-summary strong{display:block;color:var(--primary);font-size:24px}.guest-summary span{font-size:11px;color:var(--text-muted)}
#guestDimensions,#guestSamples,#guestStart{scroll-margin-top:88px}
.guest-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:20px}.guest-section-heading h2{font-size:25px;margin-top:7px}.guest-section-heading p{max-width:460px;text-align:right;color:var(--text-muted);font-size:12px;line-height:1.7}.guest-loading{padding:70px;text-align:center;color:var(--text-muted);background:var(--bg-card);border:1px solid var(--border);border-radius:12px}
.guest-sample-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.guest-sample-card{min-width:0;background:var(--bg-card);border:1px solid var(--border);border-radius:12px;overflow:hidden;transition:.3s;cursor:pointer}.guest-sample-card:hover,.guest-sample-card:focus-visible{transform:translateY(-4px);border-color:rgba(255,107,0,.55);box-shadow:0 14px 36px rgba(0,0,0,.28);outline:none}.guest-sample-image{position:relative;aspect-ratio:4/3;background:#101010;overflow:hidden}.guest-sample-image img{width:100%;height:100%;object-fit:cover}.guest-image-placeholder{height:100%;display:grid;place-items:center;color:#333;font-size:11px;letter-spacing:3px}.guest-sample-index{position:absolute;left:10px;top:10px;padding:3px 7px;border-radius:5px;background:rgba(0,0,0,.68);color:var(--primary);font:700 10px var(--font-mono)}.guest-detail-link{display:block;margin-top:13px;color:var(--primary);font-size:10px;font-weight:700;letter-spacing:.4px}
.guest-sample-body{padding:15px}.guest-product-line{display:flex;align-items:flex-start;justify-content:space-between;gap:7px;min-height:34px}.guest-product-line>span{font-weight:700;font-size:13px;line-height:1.35;overflow:hidden;text-overflow:ellipsis}.guest-product-line small{white-space:nowrap;color:var(--text-muted);font-size:9px}.guest-score-line{display:flex;align-items:baseline;gap:7px;padding:13px 0;border-bottom:1px solid var(--border)}.guest-score-line strong{font-size:25px;color:var(--primary)}.guest-score-line span{font-size:10px;color:var(--text-muted)}.guest-dim-list{padding-top:10px}.guest-dim-row{display:grid;grid-template-columns:52px 1fr 28px;gap:6px;align-items:center;margin:7px 0}.guest-dim-row>span,.guest-dim-row>b{font-size:9px;color:var(--text-muted);font-weight:500}.guest-dim-row>b{text-align:right;font-family:var(--font-mono)}.guest-dim-row>div{height:3px;background:#292929;border-radius:3px;overflow:hidden}.guest-dim-row i{display:block;height:100%;background:var(--primary);border-radius:3px}
.guest-start-card{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-top:42px;padding:34px 38px;border:1px solid rgba(255,107,0,.26);border-radius:14px;background:linear-gradient(120deg,rgba(255,107,0,.12),var(--bg-card) 60%)}.guest-start-card h2{font-size:26px;margin:8px 0}.guest-start-card p{font-size:13px;color:var(--text-light)}.guest-start-card>div:last-child{display:flex;flex-direction:column;align-items:center;gap:10px}.guest-start-card button{border:0;border-radius:22px;padding:12px 26px;background:var(--primary);color:#fff;font:700 13px inherit;cursor:pointer}.guest-start-card a{font-size:11px;color:var(--text-muted);cursor:pointer}.guest-start-card a:hover{color:var(--primary)}
.guest-framework{display:grid;grid-template-columns:1fr 380px;gap:55px;align-items:center;margin:0 0 48px;padding:40px;border:1px solid var(--border);border-radius:16px;background:var(--bg-card);overflow:hidden}.guest-framework-copy>span,.guest-guide-page>span,.guest-detail-content>span{font-size:10px;letter-spacing:2.5px;color:var(--primary);font-weight:700}.guest-framework-copy h2{font-size:28px;margin:9px 0 14px}.guest-framework-copy p{color:var(--text-light);font-size:13px;line-height:1.8}.guest-framework-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:18px}.guest-framework-tags i{font-style:normal;font-size:10px;color:var(--primary);border:1px solid rgba(255,107,0,.26);border-radius:14px;padding:5px 9px}.guest-orbit{position:relative;width:320px;height:320px;margin:auto}.guest-orbit-ring{position:absolute;border:1px solid rgba(255,107,0,.22);border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%)}.ring-one{width:96%;height:96%}.ring-two{width:68%;height:68%}.ring-three{width:40%;height:40%}.guest-orbit-core{position:absolute;inset:0;display:grid;place-items:center;color:var(--primary);font:700 13px var(--font-mono);letter-spacing:2px}.guest-orbit-nodes{position:absolute;inset:0;animation:guestOrbit 18s linear infinite}.guest-orbit-nodes span{--angle:calc(var(--i)*72deg - 90deg);position:absolute;left:50%;top:50%;width:1px;height:1px;transform:rotate(var(--angle)) translateX(145px)}.guest-orbit-nodes b{position:absolute;width:9px;height:9px;border-radius:50%;background:var(--primary);box-shadow:0 0 18px rgba(255,107,0,.8);transform:translate(-50%,-50%)}.guest-orbit-nodes em{position:absolute;left:12px;top:-7px;white-space:nowrap;color:var(--text-light);font:normal 10px var(--font-body);transform:rotate(calc(-1*var(--angle)));animation:guestOrbitLabel 18s linear infinite reverse}@keyframes guestOrbit{to{transform:rotate(360deg)}}@keyframes guestOrbitLabel{to{transform:rotate(360deg) rotate(calc(-1*var(--angle)))}}.guest-articles{margin-top:50px}.guest-article-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:14px}.guest-article-card{display:block;padding:28px;border:1px solid var(--border);border-radius:13px;background:var(--bg-card);color:inherit;text-decoration:none;cursor:pointer;transition:.25s}.guest-article-card.featured{background:linear-gradient(135deg,rgba(255,107,0,.12),var(--bg-card) 65%);border-color:rgba(255,107,0,.32)}.guest-article-card:hover{transform:translateY(-3px);border-color:var(--primary)}.guest-article-card>span{font-size:9px;letter-spacing:2px;color:var(--primary)}.guest-article-card h3{font-size:18px;line-height:1.5;margin:10px 0}.guest-article-card p{color:var(--text-muted);font-size:12px;line-height:1.7}.guest-article-card b{display:block;color:var(--primary);font-size:11px;margin-top:18px}.guest-public-page{min-height:100vh;padding:55px 5%;background:var(--bg)}.guest-back{border:0;background:transparent;color:var(--text-muted);font:13px inherit;cursor:pointer;margin-bottom:25px}.guest-back:hover{color:var(--primary)}.guest-detail-page{max-width:1120px;margin:auto;display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--border);border-radius:16px;overflow:hidden;background:var(--bg-card)}.guest-detail-media{min-height:550px;background:#101010}.guest-detail-media img{width:100%;height:100%;object-fit:cover}.guest-detail-content{padding:48px}.guest-detail-content h1{font-size:34px;margin:10px 0 20px}.guest-detail-score{display:flex;align-items:end;gap:10px}.guest-detail-score strong{font-size:56px;color:var(--primary)}.guest-detail-score small{color:var(--text-muted);padding-bottom:10px}.guest-detail-meta{color:var(--text-muted);font-size:12px;margin:2px 0 28px}.guest-detail-dims{display:grid;gap:12px;margin-bottom:30px}.guest-detail-dims>div{display:grid;grid-template-columns:100px 1fr 36px;align-items:center;gap:10px;font-size:12px}.guest-detail-dims>div>div{height:5px;background:#242424;border-radius:4px;overflow:hidden}.guest-detail-dims i{display:block;height:100%;background:var(--primary)}.guest-guide-page{max-width:850px;margin:auto;padding:50px;border:1px solid var(--border);border-radius:16px;background:var(--bg-card)}.guest-guide-page h1{font-size:34px;margin:10px 0 14px}.guest-guide-page .lead{font-size:15px;color:var(--text-light);line-height:1.8;margin-bottom:34px}.guest-guide-steps{display:grid;gap:12px;margin-bottom:30px}.guest-guide-steps section{display:flex;gap:18px;padding:20px;border:1px solid var(--border);border-radius:10px}.guest-guide-steps section>b{color:var(--primary);font:700 18px var(--font-mono)}.guest-guide-steps h3{font-size:15px;margin-bottom:5px}.guest-guide-steps p{color:var(--text-muted);font-size:12px;line-height:1.7}
.guest-dashboard-orbit{width:380px;height:380px;display:grid;place-items:center}.guest-dashboard-orbit svg{width:400px;height:400px;max-width:100%;max-height:100%}.guest-public-result{min-height:100vh;padding:48px max(5%,32px);background:var(--bg)}.guest-result-toolbar{display:flex;align-items:center;justify-content:space-between;margin:0 auto 28px;max-width:1400px}.guest-result-toolbar .guest-back{margin:0}
.guest-framework-first{margin-bottom:38px}
.guest-framework-first .guest-framework-copy{align-self:start;padding-top:14px}
.guest-summary .guest-stat-product{font-size:18px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.guest-framework-copy h2{white-space:pre-line}
.guest-framework-name{display:block;color:var(--text);font-size:28px;line-height:1.2;font-weight:700;letter-spacing:.5px}.guest-framework-subtitle{display:block;margin-top:7px;color:var(--primary);font-size:16px;line-height:1.4;font-weight:500}
@media(max-width:1200px){.guest-sample-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:768px){.guest-header{padding:0 14px}.guest-brand>span,.guest-mode,.guest-login{display:none}.guest-header-actions{gap:6px}.guest-use{padding:0 12px}.guest-sidebar{display:none}.guest-main{margin-left:0;padding:90px 16px 40px}.guest-hero{align-items:flex-start;flex-direction:column}.guest-summary{grid-template-columns:1fr 1fr 1fr}.guest-summary>div{padding:14px 10px}.guest-summary strong{font-size:20px}.guest-framework{grid-template-columns:1fr;padding:26px 20px;gap:25px}.guest-orbit{width:260px;height:260px}.guest-orbit-nodes span{transform:rotate(var(--angle)) translateX(118px)}.guest-sample-grid{grid-template-columns:1fr 1fr;gap:10px}.guest-section-heading{align-items:flex-start;flex-direction:column}.guest-section-heading p{text-align:left}.guest-article-grid{grid-template-columns:1fr}.guest-start-card{align-items:flex-start;flex-direction:column;padding:26px 22px}.guest-start-card>div:last-child{align-items:flex-start}.guest-product-line{flex-direction:column}.guest-dim-row{grid-template-columns:48px 1fr 27px}.guest-detail-page{grid-template-columns:1fr}.guest-detail-media{min-height:300px}.guest-detail-content,.guest-guide-page{padding:28px 22px}.guest-detail-content h1,.guest-guide-page h1{font-size:26px}}
@media(max-width:460px){.guest-sample-grid{grid-template-columns:1fr}.guest-summary span{font-size:9px}}
@media(max-width:768px){
  html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
  .guest-main{width:100%;max-width:100vw;overflow-x:hidden}
  .guest-framework{width:100%;min-width:0;grid-template-columns:minmax(0,1fr);padding:24px 18px 28px;gap:16px}
  .guest-framework-copy{width:100%;min-width:0}
  .guest-framework-first .guest-framework-copy{padding-top:0}
  .guest-framework-copy>span{display:block;max-width:100%;font-size:9px;letter-spacing:2px;overflow-wrap:anywhere}
  .guest-framework-copy h2{max-width:100%;font-size:clamp(25px,8vw,32px);line-height:1.3;overflow-wrap:anywhere;word-break:break-word}
  .guest-framework-name{font-size:28px}.guest-framework-subtitle{font-size:16px}
  .guest-framework-copy p{max-width:100%;font-size:13px;line-height:1.75;overflow-wrap:anywhere;word-break:break-word}
  .guest-framework-tags{width:100%;gap:7px}
  .guest-framework-tags i{font-size:10px;padding:5px 9px}
  .guest-dashboard-orbit{width:min(100%,300px);height:auto;aspect-ratio:1;margin:0 auto;overflow:hidden}
  .guest-dashboard-orbit svg{display:block;width:100%;height:100%;max-width:none;max-height:none;overflow:hidden}
  .guest-summary{grid-template-columns:1fr}
  .guest-summary>div{padding:15px 18px}
  .public-content-page{max-width:100vw;padding:16px 12px 28px;overflow-x:hidden}
  .public-page-toolbar{margin:2px 4px 12px}
  .public-content-page>.section-card{padding:18px 14px;border-radius:10px}
  .articles-public-page>.section-card>h2{font-size:20px;line-height:1.35}
  .article-card{padding:16px 14px;margin-bottom:12px}
  .article-card-header{justify-content:space-between;gap:8px}
  .article-card-title{font-size:15px;line-height:1.55;overflow-wrap:anywhere;word-break:break-word}
  .article-card-summary{font-size:13px;line-height:1.7;-webkit-line-clamp:3}
  .article-tag-filter{padding:5px 11px;font-size:12px}
  .article-dialog.el-dialog{width:calc(100vw - 20px)!important;max-width:none;margin:10px auto 0!important;border-radius:12px}
  .article-dialog .el-dialog__header{padding:16px 42px 13px 16px}
  .article-dialog .el-dialog__title{display:block;font-size:16px;line-height:1.45;overflow-wrap:anywhere}
  .article-dialog .el-dialog__body{max-height:calc(100vh - 96px);overflow-y:auto;padding:16px 14px 24px}
  .article-detail-content{font-size:14px;line-height:1.8}
  .guide-hero{padding:28px 18px;margin-bottom:14px}
  .guide-hero h1{font-size:25px;line-height:1.35}
  .guide-hero-desc{font-size:14px;line-height:1.75}
  .guide-section{margin-bottom:14px}
  .guide-section h2{align-items:flex-start;font-size:17px;line-height:1.45}
  .guide-flow{flex-direction:column;gap:10px;padding:16px 0}
  .guide-flow>svg{transform:rotate(90deg)}
  .guide-table-wrap{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .guide-table{width:max-content;min-width:100%;table-layout:auto}
  .guide-table th,.guide-table td{white-space:nowrap;width:auto}
  .guide-table th:last-child,.guide-table td:last-child{white-space:normal;min-width:280px;max-width:420px}
  .guide-table-sm{width:max-content;min-width:100%}
  .guide-rules,.guide-steps,.guide-dims{min-width:0}
  .guide-rule,.guide-step,.guide-dim{min-width:0}
  .guide-pub-card{flex-direction:column;align-items:flex-start}
  .guide-pub-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}
}
