@import url(https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap);
@import url(https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap);
@import url(https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap);

/* 导入Inter字体 */
/* 导入JetBrains Mono等宽字体 */

/* 导入统一字体设计系统 */

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-normal);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  /* 背景样式在 App.css 中定义 */
}

code {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}

/* AI分析加载动画 */
@keyframes bounce {
  0%, 80%, 100% { 
    transform: scale(0);
    opacity: 0.3;
  }
  40% { 
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% { 
    opacity: 1;
  }
  50% { 
    opacity: 0.5;
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(79, 70, 229, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.6), 0 0 30px rgba(139, 92, 246, 0.4);
  }
}

/* 导入Google Fonts */

/* 导入统一字体设计系统 */

/* Reset and base styles - youmind.ai style */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 字体设计系统 */
:root {
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  --font-mono: 'JetBrains Mono', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  
  /* 字体大小系统 */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.5rem;      /* 24px */
  --text-3xl: 1.875rem;    /* 30px */
  --text-4xl: 2.25rem;     /* 36px */
  --text-5xl: 3rem;        /* 48px */
  --text-6xl: 3.75rem;     /* 60px */
  
  /* 字体重量 */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
}

/* 强制第一个产品静态样式，覆盖所有可能的动效 */
.first-product-static {
  transition: none !important;
  transform: none !important;
  animation: none !important;
  will-change: auto !important;
  margin-top: 50px !important;
  position: relative !important;
  z-index: 100 !important;
}

.first-product-static:hover {
  transition: none !important;
  transform: none !important;
  animation: none !important;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  font-family: var(--font-primary);
  line-height: 1.6;
  color: #1a1a1a;
  background: #ffffff;
  font-size: 1rem;
  font-size: var(--text-base);
  font-weight: 400;
  font-weight: var(--font-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

/* 字体工具类 */
.font-primary { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif; font-family: var(--font-primary); }
.font-mono { font-family: 'JetBrains Mono', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace; font-family: var(--font-mono); }

.text-xs { font-size: 0.75rem; font-size: var(--text-xs); }
.text-sm { font-size: 0.875rem; font-size: var(--text-sm); }
.text-base { font-size: 1rem; font-size: var(--text-base); }
.text-lg { font-size: 1.125rem; font-size: var(--text-lg); }
.text-xl { font-size: 1.25rem; font-size: var(--text-xl); }
.text-2xl { font-size: 1.5rem; font-size: var(--text-2xl); }
.text-3xl { font-size: 1.875rem; font-size: var(--text-3xl); }
.text-4xl { font-size: 2.25rem; font-size: var(--text-4xl); }
.text-5xl { font-size: 3rem; font-size: var(--text-5xl); }
.text-6xl { font-size: 3.75rem; font-size: var(--text-6xl); }

.font-light { font-weight: 300; font-weight: var(--font-light); }
.font-normal { font-weight: 400; font-weight: var(--font-normal); }
.font-medium { font-weight: 500; font-weight: var(--font-medium); }
.font-semibold { font-weight: 600; font-weight: var(--font-semibold); }
.font-bold { font-weight: 700; font-weight: var(--font-bold); }
.font-extrabold { font-weight: 800; font-weight: var(--font-extrabold); }

.App {
  min-height: 100vh;
}

/* Navigation - youmind.ai exact style */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  height: 72px;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar-left {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.navbar-logo:hover {
  opacity: 0.8;
}

.logo-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 24px;
  height: 24px;
  color: #1a1a1a;
}

.navbar-title {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: -0.01em;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.navbar-menu-item {
  font-size: 15px;
  font-weight: 400;
  color: #666;
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 8px 0;
  letter-spacing: -0.005em;
}

.navbar-menu-item:hover {
  color: #1a1a1a;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 0 0 auto;
}

.navbar-auth-link {
  font-size: 15px;
  font-weight: 400;
  color: #666;
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 8px 12px;
}

.navbar-auth-link:hover {
  color: #1a1a1a;
}

.navbar-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #1a1a1a;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
  border: none;
  outline: none;
  letter-spacing: -0.005em;
}

.navbar-cta-btn:hover {
  background: #333;
  transform: translateY(-1px);
}

/* Mobile menu styles */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #1a1a1a;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .navbar-menu {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: 160px !important;
    background: #ffffff !important;
    border-left: 1px solid rgba(0, 0, 0, 0.12) !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    padding: 70px 0 0 !important;
    gap: 0 !important;
    transform: translateX(100%) !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 999 !important;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15) !important;
    overflow: visible !important;
  }

  .navbar-menu.mobile-open {
    transform: translateX(0) !important;
  }
  
  /* 移动端菜单项样式优化 */
  .navbar-menu-item {
    font-size: 15px !important;
    padding: 16px 16px !important;
    width: 100% !important;
    text-align: center !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    transition: all 0.2s ease !important;
    color: #1a1a1a !important;
    font-weight: 500 !important;
    display: block !important;
    border: none !important;
    border-bottom: 1px solid #f0f0f0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: visible !important;
  }
  
  .navbar-menu-item:hover {
    background: #f8f9fa !important;
    color: #1a1a1a !important;
  }

  .mobile-menu-btn {
    display: block;
  }

  .navbar-right {
    gap: 12px;
  }

  .navbar-auth-link {
    display: none;
  }
}

/* Loading animation */
@keyframes spin {
  0% { 
    transform: rotate(0deg); 
  }
  100% { 
    transform: rotate(360deg); 
  }
}

/* ========================================
   动态背景装饰元素
   ======================================== */

/* 浮动圆形装饰 */


@media (max-width: 768px) {
  /* ========================================
     脚本详情弹窗移动端优化
     ======================================== */
  
  /* 脚本详情标题区域 */
  .script-detail-header {
    flex-direction: column !important;
    gap: 12px !important;
  }

  .script-detail-title-section {
    width: 100% !important;
    min-width: auto !important;
  }

  .script-detail-title-section h2 {
    font-size: 18px !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
  }

  .script-detail-title-section > div {
    font-size: 13px !important;
  }

  /* 操作按钮区域 */
  .script-detail-actions {
    justify-content: stretch !important;
  }

  .script-detail-actions button {
    flex: 1 1 !important;
    min-width: auto !important;
    max-width: 48% !important;
  }
}

.workspace-flow-v2 {
  --workspace-nav-offset: 64px;
  min-height: calc(100vh - 64px);
  margin-top: var(--workspace-nav-offset);
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 12% 4%, rgba(250, 64, 40, 0.055), transparent 22%),
    #f4f4f3;
  background-size: 56px 56px, 56px 56px, auto, auto;
  color: #00063d;
  padding: 18px clamp(18px, 2.4vw, 34px) 40px;
}

.workspace-flow-v2__inner {
  max-width: 1480px;
  margin: 0 auto;
}

.workspace-flow-v2__command {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  grid-gap: 10px;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 12px;
}

.workspace-flow-v2__command--nav-only {
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 10px;
}

.workspace-flow-v2__command-copy,
.workspace-flow-v2__status,
.workspace-flow-v2__rail,
.workspace-flow-v2__canvas,
.workspace-flow-v2__inspector {
  border: 1px solid rgba(0, 6, 61, 0.1);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 28px rgba(0, 6, 61, 0.035);
}

.workspace-flow-v2__command-copy {
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) minmax(0, 1fr);
  align-items: center;
  grid-gap: 12px;
  gap: 12px;
  padding: 10px 14px;
}

.workspace-flow-v2__command--nav-only .workspace-flow-v2__command-copy {
  width: min(100%, 1120px);
  margin-inline: auto;
}

.workspace-flow-v2__command-heading {
  display: grid;
  grid-gap: 3px;
  gap: 3px;
}

.workspace-flow-v2__command-copy h1 {
  margin: 0;
  color: #00063d;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.workspace-flow-v2__command-copy span {
  color: #606476;
  font-size: 12px;
  line-height: 1.35;
}

.workspace-flow-v2__workbenches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 6px;
  gap: 6px;
}

.workspace-flow-v2__workbench {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 42px;
  border: 1px solid #dedbd2;
  background: rgba(255, 255, 255, 0.58);
  color: #00063d;
  padding: 8px 10px;
  text-decoration: none;
  transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.workspace-flow-v2__workbench:hover,
.workspace-flow-v2__workbench:focus-visible {
  border-color: #00063d;
  background: #fff;
  outline: none;
}

.workspace-flow-v2__workbench strong {
  color: inherit;
  font-size: 13px;
  line-height: 1.1;
  white-space: nowrap;
}

.workspace-flow-v2__workbench span {
  color: #686c7a;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
}

.workspace-flow-v2__workbench.is-active {
  border-color: #00063d;
  background: #fff;
  color: #00063d;
  box-shadow: inset 0 -3px 0 #fa4028;
}

.workspace-flow-v2__workbench.is-active span {
  color: #fa4028;
}

.workspace-flow-v2__status {
  padding: 10px 18px;
}

.workspace-flow-v2__status > span {
  display: block;
  color: #64687a;
  font-size: 12px;
  font-weight: 900;
}

.workspace-flow-v2__status strong {
  display: block;
  margin-top: 5px;
  color: #00063d;
  font-size: 19px;
  line-height: 1.1;
}

.workspace-flow-v2__status-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.workspace-flow-v2__status-meta span {
  color: #64687a;
  font-size: 13px;
  font-weight: 800;
}

.workspace-flow-v2__progress-track {
  height: 5px;
  margin-top: 7px;
  overflow: hidden;
  background: #e9e5dc;
}

.workspace-flow-v2__progress-track div {
  height: 100%;
  background: #fa4028;
  transition: width 0.2s ease;
}

.workspace-flow-v2__bench {
  display: grid;
  grid-template-columns: minmax(230px, 280px) minmax(0, 1fr) minmax(260px, 320px);
  grid-gap: 12px;
  gap: 12px;
  align-items: start;
}

.workspace-flow-v2__bench--no-inspector {
  grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
}

.workspace-flow-v2__rail,
.workspace-flow-v2__canvas,
.workspace-flow-v2__inspector {
  min-width: 0;
}

.workspace-flow-v2__rail,
.workspace-flow-v2__inspector {
  position: -webkit-sticky;
  position: sticky;
  top: 82px;
  padding: 18px;
}

.workspace-flow-v2__steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-columns: repeat(var(--workspace-step-count, 5), minmax(0, 1fr));
  grid-gap: 1px;
  gap: 1px;
  border-bottom: 1px solid #dcd8cf;
  background: #dcd8cf;
}

.workspace-flow-v2__step {
  min-height: 66px;
  padding: 12px 14px;
  border: 0;
  background: #f8f7f3;
  color: #8b8d98;
  cursor: pointer;
  text-align: left;
}

.workspace-flow-v2__step.has-meta {
  min-height: 84px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  grid-gap: 10px;
  gap: 10px;
}

.workspace-flow-v2__step:disabled {
  cursor: not-allowed;
}

.workspace-flow-v2__step-copy {
  display: block;
  min-width: 0;
}

.workspace-flow-v2__step-copy span {
  display: block;
  margin-bottom: 8px;
  color: #a7a9b1;
  font-size: 12px;
  font-weight: 900;
}

.workspace-flow-v2__step strong {
  display: block;
  color: inherit;
  font-size: 14px;
  line-height: 1.25;
}

.workspace-flow-v2__step.is-current {
  background: #00063d;
  color: #fff;
}

.workspace-flow-v2__step.is-current .workspace-flow-v2__step-copy span {
  color: #fa4028;
}

.workspace-flow-v2__step.is-completed:not(.is-current) {
  color: #00063d;
}

.workspace-flow-v2__step.is-completed:not(.is-current) .workspace-flow-v2__step-copy span {
  color: #77a936;
}

.workspace-flow-v2__step-value {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 22px;
  border: 1px solid #deded8;
  background: #fff;
  color: #606476;
  padding: 0 7px;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.workspace-flow-v2__step-value.is-empty {
  color: #8b8d98;
}

.workspace-flow-v2__step-value.is-done {
  border-color: rgba(119, 201, 68, 0.38);
  color: #00063d;
  box-shadow: inset 0 -2px 0 #77c944;
}

.workspace-flow-v2__step.is-current .workspace-flow-v2__step-value {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: inset 0 -2px 0 #fa4028;
}

.workspace-flow-v2__mobile-step {
  display: none;
}

.workspace-flow-v2__step-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid #deded8;
  background: rgba(255, 255, 255, 0.72);
  padding: 10px 16px;
}

.workspace-flow-v2__step-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  border: 1px solid #deded8;
  background: #fff;
  color: #00063d;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.workspace-flow-v2__step-tag span {
  color: #606476;
  font-weight: 800;
}

.workspace-flow-v2__step-tag.is-empty {
  color: #8b8d98;
}

.workspace-flow-v2__step-tag.is-done {
  border-color: rgba(119, 201, 68, 0.35);
  box-shadow: inset 0 -2px 0 #77c944;
}

.workspace-flow-v2__panel {
  padding: clamp(22px, 2.4vw, 34px);
}

@media (max-width: 1180px) {
  .workspace-flow-v2__command {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  }

  .workspace-flow-v2__command--nav-only {
    grid-template-columns: minmax(0, 1fr);
  }

  .workspace-flow-v2__command-copy {
    grid-template-columns: 1fr;
  }

  .workspace-flow-v2__bench {
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  }

  .workspace-flow-v2__bench--no-inspector {
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  }

  .workspace-flow-v2__inspector {
    position: static;
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .workspace-flow-v2 {
    min-height: auto;
    padding: 12px 10px 34px;
  }

  .workspace-flow-v2__command,
  .workspace-flow-v2__bench {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .workspace-flow-v2__bench {
    align-items: stretch;
  }

  .workspace-flow-v2__command {
    gap: 8px;
  }

  .workspace-flow-v2__command-copy {
    order: 2;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .workspace-flow-v2__command--nav-only .workspace-flow-v2__command-copy {
    width: 100%;
  }

  .workspace-flow-v2__command-copy h1 {
    font-size: 18px;
  }

  .workspace-flow-v2__command-copy span {
    display: block;
    margin-top: 5px;
    font-size: 13px;
  }

  .workspace-flow-v2__workbenches {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(150px, 58vw);
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .workspace-flow-v2__workbench {
    min-height: 44px;
  }

  .workspace-flow-v2__status {
    order: 1;
    padding: 14px 16px;
  }

  .workspace-flow-v2__status strong {
    font-size: 21px;
  }

  .workspace-flow-v2__rail,
  .workspace-flow-v2__canvas,
  .workspace-flow-v2__inspector {
    position: static;
    width: 100%;
  }

  .workspace-flow-v2__rail,
  .workspace-flow-v2__inspector {
    padding: 16px;
  }

  .workspace-flow-v2__steps {
    display: none;
  }

  .workspace-flow-v2__mobile-step {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    grid-gap: 12px;
    gap: 12px;
    border-bottom: 1px solid #dcd8cf;
    padding: 14px 16px;
    background: #00063d;
    color: #fff;
  }

  .workspace-flow-v2__mobile-step span {
    color: #fa4028;
    font-size: 13px;
    font-weight: 900;
    justify-self: start;
  }

  .workspace-flow-v2__mobile-step strong {
    font-size: 15px;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .workspace-flow-v2__step-meta {
    padding: 10px 12px;
  }

  .workspace-flow-v2__panel {
    padding: 16px;
  }
}

.ai-product-v2__step-content {
  min-width: 0;
}

.ai-product-v2 .ai-product-asset-step {
  min-width: 0;
  display: grid;
  grid-gap: 18px;
  gap: 18px;
}

.ai-product-v2 .ai-product-asset-header {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  border-bottom: 1px solid #deded8;
  padding-bottom: 16px;
}

.ai-product-v2 .ai-product-asset-header__title {
  margin: 0;
  color: #00063d;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 900;
  line-height: 1.12;
}

.ai-product-v2 .ai-product-asset-header__desc {
  max-width: 760px;
  margin: 0;
  color: #45495c;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.72;
}

.ai-product-v2 .ai-product-asset-body {
  min-width: 0;
}

.ai-product-v2 .ai-product-form-grid,
.ai-product-v2 .ai-product-repeat-grid,
.ai-product-v2 .ai-product-quad-grid,
.ai-product-v2 .ai-product-story-grid {
  min-width: 0;
}

.ai-product-v2 .ai-product-asset-step label,
.ai-product-v2 .ai-product-asset-step .form-label {
  color: #00063d;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
}

.ai-product-v2 .ai-product-asset-step input,
.ai-product-v2 .ai-product-asset-step textarea,
.ai-product-v2 .ai-product-asset-step select {
  border-radius: 0 !important;
  border-color: #deded8 !important;
  background: #fff !important;
  color: #00063d !important;
  font-weight: 700;
}

.ai-product-v2 .ai-product-asset-step input:focus,
.ai-product-v2 .ai-product-asset-step textarea:focus,
.ai-product-v2 .ai-product-asset-step select:focus {
  border-color: #00063d !important;
  box-shadow: 0 0 0 3px rgba(250, 64, 40, 0.12) !important;
  outline: none !important;
}

.ai-product-v2 .ai-product-asset-step button {
  border-radius: 0 !important;
  font-weight: 900 !important;
}

.ai-product-v2 .ai-product-asset-step button:focus-visible {
  outline: 3px solid rgba(250, 64, 40, 0.22);
  outline-offset: 2px;
}

.ai-product-v2 .ai-button-container {
  width: 100%;
  display: grid !important;
  justify-items: center;
  grid-gap: 8px;
  gap: 8px;
  margin-top: 4px;
}

.ai-product-v2 .ai-button-description {
  max-width: 520px;
  margin: 0 auto !important;
  color: #606476 !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1.6 !important;
  text-align: center;
}

.ai-product-v2__rail {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}

.ai-product-v2__rail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ai-product-v2__rail-head p,
.ai-product-v2__inspector p {
  margin: 0 0 6px;
  color: #fa4028;
  font-size: 12px;
  font-weight: 900;
}

.ai-product-v2__rail-head h2 {
  margin: 0;
  color: #00063d;
  font-size: 20px;
  line-height: 1.15;
}

.ai-product-v2__icon-action,
.ai-product-v2__new-product,
.ai-product-v2__start {
  min-height: 42px;
  border-radius: 0;
  font-weight: 900;
  cursor: pointer;
}

.ai-product-v2__icon-action {
  min-width: 70px;
  border: 1px solid #dcd8cf;
  background: #fff;
  color: #00063d;
}

.ai-product-v2__new-product {
  border: 1px solid #00063d;
  background: #00063d;
  color: #fff;
}

.ai-product-v2__new-product:not(:disabled):hover {
  background: #11184f;
}

.ai-product-v2__start {
  border: 1px solid #fa4028;
  background: #fa4028;
  color: #fff;
}

.ai-product-v2__start:not(:disabled):hover {
  background: #e73520;
  border-color: #e73520;
}

.ai-product-v2__new-product:focus-visible,
.ai-product-v2__start:focus-visible {
  outline: 3px solid rgba(250, 64, 40, 0.28);
  outline-offset: 3px;
}

.ai-product-v2__icon-action:disabled,
.ai-product-v2__new-product:disabled,
.ai-product-v2__start:disabled {
  border-color: #dcd8cf;
  background: #dedbd2;
  color: #777b89;
  cursor: not-allowed;
}

.ai-product-v2__product-list {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  max-height: min(58vh, 560px);
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 4px;
}

.ai-product-v2__product {
  position: relative;
  min-height: 76px;
  border: 1px solid #dedbd2;
  background: #fff;
  padding: 16px 40px 14px 16px;
}

.ai-product-v2__product.is-selected {
  border-color: #00063d;
  box-shadow: inset 5px 0 0 #00063d;
}

.ai-product-v2__product-hit {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.ai-product-v2__product-hit:disabled {
  cursor: not-allowed;
}

.ai-product-v2__product div {
  position: relative;
  z-index: 1;
}

.ai-product-v2__product strong {
  display: block;
  color: #00063d;
  font-size: 15px;
  line-height: 1.35;
}

.ai-product-v2__dots {
  display: flex;
  gap: 5px;
  margin-top: 14px;
}

.ai-product-v2__dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #dcd8cf;
}

.ai-product-v2__dots span.is-done {
  background: #77a936;
}

.ai-product-v2__product .ai-product-v2__delete {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.84);
  color: #8b8d98;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.ai-product-v2__product:hover .ai-product-v2__delete,
.ai-product-v2__product:focus-within .ai-product-v2__delete {
  opacity: 1;
}

.ai-product-v2__delete:hover {
  border-color: #dcd8cf;
  color: #fa4028;
}

.ai-product-v2__inspector {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}

.ai-product-v2__inspector section {
  border: 1px solid #e4e1d8;
  background: #fff;
  padding: 16px;
}

.ai-product-v2__inspector strong {
  display: block;
  color: #00063d;
  font-size: 22px;
  line-height: 1.15;
}

.ai-product-v2__inspector section span {
  display: block;
  margin-top: 10px;
  color: #55596a;
  font-size: 13px;
  line-height: 1.6;
}

.ai-product-v2__start {
  width: 100%;
  box-shadow: 0 18px 34px rgba(250, 64, 40, 0.24);
}

.ai-product-v2__asset-tools strong {
  font-size: 18px;
}

.ai-product-v2__asset-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 8px;
  gap: 8px;
  margin-top: 14px;
}

.ai-product-v2__asset-actions button {
  min-height: 38px;
  border: 1px solid #00063d;
  border-radius: 0;
  background: #fff;
  color: #00063d;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.ai-product-v2__asset-actions button:not(:disabled):hover {
  border-color: #fa4028;
  color: #fa4028;
}

.ai-product-v2__asset-actions button:disabled {
  border-color: #dcd8cf;
  background: #f3f1eb;
  color: #8b8d98;
  cursor: not-allowed;
}

@media (min-width: 821px) and (max-width: 1180px) {
  .ai-product-v2 .workspace-flow-v2__inspector {
    padding: 14px;
  }

  .ai-product-v2__inspector {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
  }

  .ai-product-v2__inspector section {
    order: 1;
    min-height: 154px;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    padding: 15px 16px;
  }

  .ai-product-v2__inspector strong {
    font-size: 18px;
  }

  .ai-product-v2__inspector section span {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.5;
  }

  .ai-product-v2__start {
    order: 2;
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 460px);
    min-height: 48px;
    padding: 0 22px;
    box-shadow: 0 16px 28px rgba(250, 64, 40, 0.18);
    line-height: 1.35;
  }

  .ai-product-v2__asset-actions {
    align-self: end;
    margin-top: 12px;
  }

  .ai-product-v2__asset-actions button {
    min-height: 36px;
    font-size: 12px;
  }
}

@media (max-width: 820px) {
  .ai-product-v2 .ai-product-form-grid,
  .ai-product-v2 .ai-product-repeat-grid,
  .ai-product-v2 .ai-product-quad-grid,
  .ai-product-v2 .ai-product-story-grid {
    grid-template-columns: 1fr !important;
  }

  .ai-product-v2 .ai-product-asset-header__title {
    font-size: 24px;
  }

  .ai-product-v2 .ai-product-asset-header__desc {
    font-size: 13px;
  }

  .ai-product-v2__product-list {
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 74vw);
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 2px 8px;
  }

  .ai-product-v2__delete {
    opacity: 1;
  }
}

.demand-ai-v2__rail,
.demand-ai-v2__inspector {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.demand-ai-v2__rail-head {
  display: block;
  border-bottom: 1px solid #efede6;
  padding-bottom: 12px;
}

.demand-ai-v2__rail-head h2 {
  margin: 0;
  color: #00063d;
  font-size: 20px;
  line-height: 1.15;
}

.demand-ai-v2__rail-head span {
  display: block;
  margin-top: 6px;
  color: #606476;
  font-size: 12px;
  line-height: 1.5;
}

.demand-ai-v2__secondary-action,
.demand-ai-v2__quota-action {
  min-height: 40px;
  border-radius: 0;
  font-weight: 900;
  cursor: pointer;
}

.demand-ai-v2__secondary-action {
  width: 100%;
  margin-top: 14px;
  border: 1px solid #dcd8cf;
  background: #fff;
  color: #00063d;
}

.demand-ai-v2__secondary-action:disabled,
.demand-ai-v2__quota-action:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.demand-ai-v2__demand-list {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  max-height: min(58vh, 560px);
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 4px;
}

.demand-ai-v2__demand {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  border: 1px solid #dedbd2;
  background: #fff;
  color: #00063d;
  padding: 13px 14px 15px;
  cursor: pointer;
  text-align: left;
}

.demand-ai-v2__demand.is-selected {
  border-color: #00063d;
  box-shadow: inset 4px 0 0 #fa4028;
}

.demand-ai-v2__demand:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.demand-ai-v2__demand span {
  color: #fa4028;
  font-size: 12px;
  font-weight: 900;
}

.demand-ai-v2__demand strong {
  color: #00063d;
  font-size: 14px;
  line-height: 1.55;
}

.demand-ai-v2__empty {
  border: 1px solid #dedbd2;
  background: #fff;
  color: #606476;
  padding: 16px;
  font-size: 13px;
  line-height: 1.7;
}

.demand-ai-v2__inspector section {
  border: 1px solid #e4e1d8;
  background: #fff;
  padding: 16px;
}

.demand-ai-v2__inspector p {
  margin: 0 0 8px;
  color: #fa4028;
  font-size: 12px;
  font-weight: 900;
}

.demand-ai-v2__inspector strong {
  display: block;
  color: #00063d;
  font-size: 21px;
  line-height: 1.2;
}

.demand-ai-v2__inspector section > span {
  display: block;
  margin-top: 10px;
  color: #55596a;
  font-size: 13px;
  line-height: 1.65;
}

.demand-ai-v2__inspector dl {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  margin: 0;
}

.demand-ai-v2__inspector dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #efede6;
  padding-bottom: 8px;
}

.demand-ai-v2__inspector dl div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.demand-ai-v2__inspector dt {
  color: #606476;
  font-size: 12px;
  font-weight: 800;
}

.demand-ai-v2__inspector dd {
  margin: 0;
  color: #00063d;
  font-size: 13px;
  font-weight: 900;
  text-align: right;
}

.demand-ai-v2__quota-action {
  width: 100%;
  margin-top: 14px;
  border: 1px solid #00063d;
  background: #00063d;
  color: #fff;
}

.demand-ai-v2__referral {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  margin-top: 12px;
  border-top: 1px solid #efede6;
  padding-top: 12px;
}

.demand-ai-v2__referral b,
.demand-ai-v2__referral small,
.demand-ai-v2__referral em {
  display: block;
}

.demand-ai-v2__referral b {
  color: #00063d;
  font-size: 14px;
  line-height: 1.35;
}

.demand-ai-v2__referral small {
  margin-top: 5px;
  color: #55596a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
}

.demand-ai-v2__referral em {
  margin-top: 5px;
  color: #7c817f;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.4;
}

.demand-ai-v2__invite-action {
  min-height: 38px;
  border: 1px solid #dedbd2;
  border-radius: 0;
  background: #fff;
  color: #00063d;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.demand-ai-v2__invite-action:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.demand-ai-generation-control-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  border: 1px solid #deded8;
  background: #fff;
  padding: 22px 24px;
  margin-bottom: 16px;
}

.demand-ai-generation-action-card {
  width: 100%;
  min-width: 0;
  min-height: 56px;
  display: grid;
  align-content: start;
  justify-items: center;
  grid-gap: 16px;
  gap: 16px;
}

.demand-ai-generation-inputs {
  width: 100%;
  max-width: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  grid-gap: 14px;
  gap: 14px;
}

.demand-ai-generation-field {
  min-width: 0;
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.demand-ai-generation-field span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #00063d;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.demand-ai-generation-field em {
  color: #777b89;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.demand-ai-generation-field input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #deded8;
  border-radius: 0;
  background: #fff;
  color: #00063d;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  padding: 0 12px;
  outline: none;
}

.demand-ai-generation-field input:focus {
  border-color: #00063d;
  box-shadow: 0 0 0 3px rgba(250, 64, 40, 0.12);
}

.demand-ai-generation-field input:disabled {
  background: #f3f2ee;
  color: #777b89;
}

.demand-ai-generation-field--count input {
  text-align: center;
}

@media (max-width: 1160px) {
  .demand-ai-generation-control-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .demand-ai-generation-action-card {
    justify-items: center;
  }

}

@media (max-width: 720px) {
  .demand-ai-generation-control-row {
    padding: 18px 16px;
  }

  .demand-ai-generation-inputs {
    max-width: min(100%, 560px);
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .demand-ai-generation-field--topic {
    width: 100%;
  }

  .demand-ai-generation-field--count {
    width: 112px;
    justify-self: center;
  }

  .demand-ai-generation-field--count span {
    justify-content: center;
    gap: 8px;
  }

  .demand-ai-generation-field--count input {
    padding: 0 8px;
  }
}

.demand-ai-generation-preview {
  border: 1px solid #deded8;
  background:
    linear-gradient(90deg, rgba(0, 6, 61, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 6, 61, 0.035) 1px, transparent 1px),
    #fff;
  background-size: 38px 38px;
  padding: 20px;
}

.demand-ai-generation-preview__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.demand-ai-generation-preview__head span {
  color: #fa4028;
  font-size: 12px;
  font-weight: 900;
}

.demand-ai-generation-preview__head strong {
  color: #00063d;
  font-size: 18px;
  line-height: 1.2;
}

.demand-ai-generation-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 12px;
  gap: 12px;
}

.demand-ai-generation-preview__grid article {
  min-height: 150px;
  border: 1px solid #e4e1d8;
  background: rgba(255, 255, 255, 0.82);
  padding: 15px;
}

.demand-ai-generation-preview__grid span {
  display: block;
  margin-bottom: 16px;
  color: #00063d;
  font-size: 13px;
  font-weight: 900;
}

.demand-ai-generation-preview__grid div {
  height: 10px;
  margin-top: 10px;
  background: #e9e5dc;
}

.demand-ai-generation-preview__grid div:nth-of-type(1) {
  width: 86%;
}

.demand-ai-generation-preview__grid div:nth-of-type(2) {
  width: 64%;
}

.demand-ai-generation-preview__grid div:nth-of-type(3) {
  width: 42%;
  background: rgba(250, 64, 40, 0.16);
}

.demand-ai-generation-angle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.42fr);
  grid-gap: 18px;
  gap: 18px;
  margin-bottom: 18px;
  border: 1px solid #deded8;
  background: #f7f7f5;
  padding: 16px;
}

.demand-ai-generation-angle p {
  margin: 0;
  color: #fa4028;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.demand-ai-generation-angle strong {
  display: block;
  margin-top: 8px;
  color: #00063d;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.35;
}

.demand-ai-generation-angle span {
  display: block;
  margin-top: 8px;
  color: #55596a;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
}

.demand-ai-generation-angle__meta {
  border-left: 1px solid #deded8;
  padding-left: 18px;
}

.demand-ai-generation-angle__meta > span {
  margin-top: 0;
  color: #00063d;
}

.demand-ai-generation-angle__meta div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.demand-ai-generation-angle__meta em {
  border: 1px solid #deded8;
  background: #fff;
  padding: 6px 9px;
  color: #00063d;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

@media (min-width: 821px) and (max-width: 1180px) {
  .demand-ai-v2 .workspace-flow-v2__inspector {
    padding: 14px;
  }

  .demand-ai-v2__inspector {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-gap: 12px;
    gap: 12px;
    align-items: stretch;
  }

  .demand-ai-v2__inspector section {
    min-height: 168px;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    padding: 15px 16px;
  }

  .demand-ai-v2__inspector p {
    margin-bottom: 7px;
  }

  .demand-ai-v2__inspector strong {
    font-size: 18px;
  }

  .demand-ai-v2__inspector section > span {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.5;
  }

  .demand-ai-v2__inspector section:nth-child(3) > span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .demand-ai-v2__secondary-action,
  .demand-ai-v2__quota-action {
    align-self: end;
    min-height: 38px;
    margin-top: 12px;
  }
}

@media (max-width: 820px) {
  .demand-ai-v2__demand-list {
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 78vw);
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 2px 8px;
    scroll-snap-type: x mandatory;
  }

  .demand-ai-v2__demand {
    min-height: 118px;
    scroll-snap-align: start;
  }

  .demand-ai-v2__inspector section:last-child {
    margin-bottom: 0;
  }

  .demand-ai-generation-angle {
    grid-template-columns: 1fr;
  }

  .demand-ai-generation-angle__meta {
    border-left: 0;
    border-top: 1px solid #deded8;
    padding-left: 0;
    padding-top: 14px;
  }

  .demand-ai-generation-control-row {
    padding: 16px;
  }

  .demand-ai-generation-preview__head {
    display: grid;
    justify-content: start;
  }

  .demand-ai-generation-preview__grid {
    grid-template-columns: 1fr;
  }
}

.script-history-workspace {
  min-height: 100vh;
  margin-top: 64px;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.026) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 23, 42, 0.026) 1px, transparent 1px),
    radial-gradient(circle at 12% 4%, rgba(250, 64, 40, 0.035), transparent 22%),
    #f4f4f3;
  background-size: 64px 64px, 64px 64px, auto, auto;
  color: #00063d;
  padding: 18px clamp(18px, 2.4vw, 34px) 48px;
}

.script-history-workspace__inner {
  width: min(100%, 1480px);
  margin: 0 auto;
}

.script-history-hero,
.script-history-empty,
.script-history-card,
.script-history-pagination,
.script-history-modal__surface {
  border: 1px solid #deded8;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 22px rgba(0, 6, 61, 0.025);
}

.script-history-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  grid-gap: 16px;
  gap: 16px;
  margin-bottom: 10px;
  padding: 16px 22px;
}

.script-history-eyebrow,
.script-history-empty__eyebrow {
  color: #fa4028;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.script-history-hero h1 {
  max-width: 760px;
  margin: 6px 0 6px;
  color: #00063d;
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 900;
  line-height: 1.08;
}

.script-history-hero p {
  max-width: 680px;
  margin: 0;
  color: #45495c;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
}

.script-history-count {
  display: grid;
  min-width: 136px;
  border: 1px solid #deded8;
  background: #fff;
  padding: 12px 14px;
}

.script-history-count span {
  color: #606476;
  font-size: 12px;
  font-weight: 900;
}

.script-history-count strong {
  margin-top: 4px;
  color: #00063d;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.script-history-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 10px;
  gap: 10px;
  margin-bottom: 32px;
}

.script-history-card {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-gap: 20px;
  gap: 20px;
  align-items: center;
  padding: 16px 18px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.script-history-card:hover,
.script-history-card:focus-within {
  border-color: rgba(0, 6, 61, 0.42);
  box-shadow: 0 10px 24px rgba(0, 6, 61, 0.055);
}

.script-history-card.is-new {
  box-shadow: inset 3px 0 0 rgba(250, 64, 40, 0.72), 0 8px 22px rgba(0, 6, 61, 0.025);
}

.script-history-card.is-demo {
  border-style: solid;
  box-shadow: inset 3px 0 0 rgba(0, 6, 61, 0.5), 0 8px 22px rgba(0, 6, 61, 0.025);
}

.script-history-card__body {
  min-width: 0;
}

.script-history-card__headline {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin-bottom: 8px;
}

.script-history-card__title {
  min-width: 0;
  margin: 0;
  color: #222a4a;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
  word-break: break-word;
}

.script-history-card__status {
  flex-shrink: 0;
  border: 1px solid #deded8;
  background: #f7f6f2;
  color: #606476;
  padding: 3px 7px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.script-history-card__title.is-error {
  color: #fa4028;
}

.script-history-card__meta {
  color: #5d637a;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

.script-history-card__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.script-history-action {
  min-height: 32px;
  border-radius: 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.script-history-action:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.script-history-action--text {
  border: 1px solid transparent;
  background: transparent;
  color: #606476;
  padding: 0 6px;
}

.script-history-action--text:not(:disabled):hover {
  color: #00063d;
}

.script-history-action--view {
  border: 1px solid #00063d;
  background: #00063d;
  color: #fff;
  padding: 0 16px;
}

.script-history-action--view:not(:disabled):hover {
  border-color: #fa4028;
  background: #fa4028;
}

.script-history-action--secondary {
  border: 1px solid #deded8;
  background: #fff;
  color: #00063d;
  padding: 0 10px;
}

.script-history-action--secondary:not(:disabled):hover {
  border-color: #00063d;
}

.script-history-action--secondary:disabled {
  border-color: #d8d6ce;
  background: #e7e5df;
  color: #8a8d98;
  opacity: 1;
}

.script-history-action--danger {
  width: auto;
  border: 1px solid transparent;
  background: transparent;
  color: #8a8d98;
  padding: 0;
}

.script-history-action--danger:not(:disabled):hover {
  border-color: #fa4028;
  color: #fa4028;
}

.script-history-empty {
  padding: 56px 32px;
  color: #283056;
}

.script-history-empty h3 {
  margin: 10px 0;
  color: #00063d;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
}

.script-history-empty p {
  max-width: 560px;
  margin: 0;
  color: #55596a;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.7;
}

.script-history-pagination {
  width: -webkit-fit-content;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 32px auto 0;
  padding: 10px;
}

.script-history-pagination button {
  min-height: 38px;
  border: 1px solid #deded8;
  background: #fff;
  color: #00063d;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.script-history-pagination button:disabled {
  background: #f4f4f3;
  color: #8b8d98;
  cursor: not-allowed;
}

.script-history-pagination span {
  min-width: 82px;
  color: #5d637a;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.script-history-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 6, 61, 0.48);
  padding: 20px;
}

.script-history-modal__surface {
  width: min(100%, 940px);
  max-height: 84vh;
  overflow: auto;
  padding: 24px;
}

.script-history-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  border-bottom: 1px solid #deded8;
  margin-bottom: 20px;
  padding-bottom: 16px;
}

.script-history-modal__title {
  min-width: 0;
}

.script-history-modal__title h2 {
  margin: 0 0 8px;
  color: #00063d;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.25;
}

.script-history-modal__meta {
  color: #5d637a;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.6;
}

.script-history-modal__close {
  width: 34px;
  height: 34px;
  border: 1px solid #deded8;
  background: #fff;
  color: #606476;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 24px;
  line-height: 1;
}

.script-history-table-wrap {
  overflow-x: auto;
  margin-bottom: 20px;
}

.script-history-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.script-history-modal__actions button {
  min-width: 120px;
  min-height: 42px;
  border-radius: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  padding: 0 20px;
}

.script-history-modal__actions button:nth-child(1) {
  border: 1px solid #00063d;
  background: #00063d;
  color: #fff;
}

.script-history-modal__actions button:nth-child(2) {
  border: 1px solid #fa4028;
  background: #fa4028;
  color: #fff;
}

.script-history-modal__actions button:nth-child(3) {
  border: 1px solid #deded8;
  background: #fff;
  color: #00063d;
}

.script-history-modal__actions button:disabled {
  border-color: #d8d6ce;
  background: #e7e5df;
  color: #8a8d98;
  cursor: not-allowed;
}

.script-history-loading {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00063d;
  font-size: 16px;
  font-weight: 800;
  background: #f4f4f3;
}

@media (max-width: 980px) {
  .script-history-grid,
  .script-history-hero {
    grid-template-columns: 1fr;
  }

  .script-history-count {
    min-width: 0;
  }
}

@media (max-width: 680px) {
  .script-history-workspace {
    padding: 12px 10px 34px;
  }

  .script-history-hero,
  .script-history-card,
  .script-history-empty {
    padding: 18px 16px;
  }

  .script-history-card {
    grid-template-columns: 1fr;
  }

  .script-history-card__headline {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .script-history-card__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-gap: 8px;
    gap: 8px;
  }

  .script-history-action {
    width: 100%;
  }

  .script-history-modal {
    align-items: stretch;
    padding: 10px;
  }

  .script-history-modal__surface {
    max-height: calc(100vh - 20px);
    padding: 18px 14px;
  }

  .script-history-modal__header {
    align-items: stretch;
  }

  .script-history-modal__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .script-history-modal__actions button {
    width: 100%;
  }
}

.video-edit-workspace {
  --video-edit-navy: #00063d;
  --video-edit-red: #fa4028;
  --video-edit-muted: #606476;
  --video-edit-line: #dedbd2;
  --video-edit-soft-line: rgba(0, 6, 61, 0.1);
  --video-edit-panel: rgba(255, 255, 255, 0.9);
  --video-edit-bg: #f4f4f3;

  min-height: calc(100vh - 64px);
  margin-top: 64px;
  padding: 18px clamp(18px, 2.4vw, 34px) 42px;
  color: var(--video-edit-navy);
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 12% 4%, rgba(250, 64, 40, 0.055), transparent 22%),
    var(--video-edit-bg);
  background-size: 56px 56px, 56px 56px, auto, auto;
}

.video-edit-workspace *,
.video-edit-workspace *::before,
.video-edit-workspace *::after {
  box-sizing: border-box;
}

.video-edit-workspace button,
.video-edit-workspace input,
.video-edit-workspace select,
.video-edit-workspace textarea {
  font: inherit;
}

.video-edit-workspace__inner {
  width: min(100%, 1480px);
  margin: 0 auto;
}

.video-edit-workspace__loader {
  display: grid;
  min-height: calc(100vh - 64px);
  place-items: center;
  color: var(--video-edit-navy);
  font-size: 15px;
  font-weight: 800;
}

.video-edit-workspace__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-gap: 18px;
  gap: 18px;
  align-items: end;
  margin-bottom: 12px;
  padding: 16px 18px;
  border: 1px solid var(--video-edit-soft-line);
  background: var(--video-edit-panel);
  box-shadow: 0 10px 28px rgba(0, 6, 61, 0.035);
}

.video-edit-workspace__eyebrow,
.video-edit-eyebrow {
  margin-bottom: 7px;
  color: var(--video-edit-red);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
}

.video-edit-workspace__hero h1 {
  max-width: 980px;
  margin: 0;
  color: var(--video-edit-navy);
  font-size: clamp(28px, 3.2vw, 52px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

.video-edit-workspace__hero p {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--video-edit-muted);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 700;
}

.video-edit-workspace__actions,
.video-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.video-edit-workspace__notice {
  margin-bottom: 12px;
  padding: 14px 16px;
  border: 1px solid var(--video-edit-line);
  background: rgba(255, 255, 255, 0.9);
  color: var(--video-edit-navy);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
  box-shadow: 0 10px 28px rgba(0, 6, 61, 0.035);
}

.video-edit-workspace__notice--error {
  border-color: rgba(250, 64, 40, 0.24);
  box-shadow: inset 4px 0 0 var(--video-edit-red);
}

.video-edit-workspace__notice--status {
  box-shadow: inset 4px 0 0 var(--video-edit-red), 0 10px 28px rgba(0, 6, 61, 0.035);
}

.video-edit-workspace__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(320px, 0.88fr);
  grid-gap: 12px;
  gap: 12px;
  align-items: start;
}

.video-edit-workspace__shot-list,
.video-edit-workspace__side-stack {
  min-width: 0;
}

.video-edit-workspace__shot-list,
.video-edit-workspace__side-scroll {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.video-edit-workspace__side-stack {
  position: relative;
  align-self: start;
}

.video-edit-workspace__side-stack.is-fixed {
  z-index: 30;
}

.video-edit-workspace__side-scroll {
  max-height: calc(100vh - 98px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  scrollbar-gutter: stable;
}

.video-edit-workspace__side-scroll::-webkit-scrollbar {
  width: 8px;
}

.video-edit-workspace__side-scroll::-webkit-scrollbar-track {
  background: rgba(222, 219, 210, 0.45);
}

.video-edit-workspace__side-scroll::-webkit-scrollbar-thumb {
  background: rgba(0, 6, 61, 0.28);
  border: 2px solid rgba(244, 244, 243, 0.95);
}

.video-edit-workspace__side-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(250, 64, 40, 0.62);
}

.video-edit-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 10px;
  gap: 10px;
  margin-bottom: 12px;
}

.video-edit-summary-card,
.video-edit-panel {
  min-width: 0;
  border: 1px solid var(--video-edit-soft-line);
  background: var(--video-edit-panel);
  box-shadow: 0 10px 28px rgba(0, 6, 61, 0.035);
}

.video-edit-summary-card {
  min-height: 100px;
  padding: 16px 18px;
}

.video-edit-summary-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--video-edit-muted);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.video-edit-summary-card strong {
  display: block;
  color: var(--video-edit-navy);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 900;
  line-height: 1;
}

.video-edit-panel {
  padding: 18px;
}

.video-edit-panel h2,
.video-edit-panel h3 {
  margin: 0;
  color: var(--video-edit-navy);
  font-weight: 900;
  letter-spacing: 0;
}

.video-edit-panel h3 {
  margin-bottom: 14px;
  font-size: 20px;
  line-height: 1.2;
}

.video-edit-shot-card {
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.video-edit-shot-card:hover {
  border-color: rgba(0, 6, 61, 0.28);
}

.video-edit-shot-card.is-selected {
  border-color: var(--video-edit-navy);
  box-shadow: inset 4px 0 0 var(--video-edit-red), 0 16px 36px rgba(0, 6, 61, 0.08);
}

.video-edit-shot-card__head,
.video-edit-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.video-edit-shot-card__title {
  color: var(--video-edit-navy);
  font-size: clamp(18px, 1.45vw, 22px);
  font-weight: 900;
  line-height: 1.35;
}

.video-edit-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--video-edit-line);
  background: #f8f7f3;
  color: var(--video-edit-muted);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.video-edit-pill.is-ready {
  border-color: rgba(250, 64, 40, 0.22);
  background: #fff1ee;
  color: var(--video-edit-red);
}

.video-edit-shot-card__meta-grid,
.video-edit-form-grid,
.video-edit-trim-grid {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.video-edit-shot-card__meta-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin-bottom: 14px;
  color: #383d52;
  font-size: 14px;
  line-height: 1.65;
}

.video-edit-shot-card__meta-grid strong {
  color: var(--video-edit-navy);
  font-weight: 900;
}

.video-edit-form-grid {
  grid-template-columns: minmax(130px, 160px) minmax(130px, 170px) minmax(240px, 1fr);
  margin-bottom: 14px;
}

.video-edit-trim-grid {
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  margin-bottom: 14px;
}

.video-edit-field,
.video-edit-check {
  color: var(--video-edit-muted);
  font-size: 13px;
  font-weight: 800;
}

.video-edit-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.video-edit-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #383d52;
  font-size: 14px;
}

.video-edit-check input {
  accent-color: var(--video-edit-red);
}

.video-edit-input,
.video-edit-select,
.video-edit-textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--video-edit-line);
  border-radius: 0;
  background: #fff;
  color: var(--video-edit-navy);
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.video-edit-textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.55;
}

.video-edit-input:focus,
.video-edit-select:focus,
.video-edit-textarea:focus {
  border-color: var(--video-edit-red);
  box-shadow: 0 0 0 2px rgba(250, 64, 40, 0.12);
}

.video-edit-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--video-edit-line);
  border-radius: 0;
  padding: 0 16px;
  background: #fff;
  color: var(--video-edit-navy);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.video-edit-button:hover,
.video-edit-button:focus-visible {
  border-color: var(--video-edit-navy);
  outline: none;
}

.video-edit-button--red {
  border-color: var(--video-edit-red);
  background: var(--video-edit-red);
  color: #fff;
  box-shadow: 0 16px 34px rgba(250, 64, 40, 0.16);
}

.video-edit-button--red:hover,
.video-edit-button--red:focus-visible {
  border-color: #d92d1c;
  background: #d92d1c;
}

.video-edit-button--navy {
  border-color: var(--video-edit-navy);
  background: var(--video-edit-navy);
  color: #fff;
}

.video-edit-button--soft {
  background: #f8f7f3;
}

.video-edit-button--danger {
  border-color: rgba(250, 64, 40, 0.32);
  background: #fff;
  color: var(--video-edit-red);
}

.video-edit-button:disabled,
.video-edit-button.is-disabled {
  border-color: var(--video-edit-line);
  background: #ebe8df;
  color: #858797;
  box-shadow: none;
  cursor: not-allowed;
}

.video-edit-note {
  border: 1px solid var(--video-edit-line);
  background: #f8f7f3;
  color: #45495c;
  padding: 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.video-edit-preview-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 220px;
  max-height: 360px;
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--video-edit-navy);
  background: #05051f;
}

.video-edit-preview-stage video {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  background: #05051f;
}

.video-edit-preview-stage__message {
  padding: 20px;
  color: #fff;
  font-size: 14px;
  text-align: center;
}

.video-edit-empty {
  display: flex;
  min-height: 220px;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--video-edit-line);
  background: #f8f7f3;
  color: var(--video-edit-muted);
  padding: 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.video-edit-muted,
.video-edit-helper {
  color: var(--video-edit-muted);
}

.video-edit-helper {
  font-size: 12px;
  line-height: 1.55;
}

.video-edit-asset-card,
.video-edit-suggestion-card {
  border: 1px solid var(--video-edit-line);
  background: #fff;
  padding: 12px;
}

.video-edit-asset-card.is-selected {
  border-color: var(--video-edit-red);
  background: #fff8f6;
}

.video-edit-asset-card__head,
.video-edit-suggestion-card {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.video-edit-asset-card__title,
.video-edit-suggestion-card__title,
.video-edit-preview-title {
  color: var(--video-edit-navy);
  font-weight: 900;
}

.video-edit-asset-card__meta,
.video-edit-suggestion-card__meta,
.video-edit-preview-meta {
  color: var(--video-edit-muted);
  font-size: 13px;
  line-height: 1.6;
}

.video-edit-asset-card__actions {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  margin-top: 10px;
}

.video-edit-asset-card__actions .video-edit-button {
  width: 100%;
}

.video-edit-range-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.video-edit-range-row input[type='range'],
.video-edit-field input[type='range'] {
  width: 100%;
  accent-color: var(--video-edit-red);
}

.video-edit-suggestion-list {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  margin-top: 12px;
}

.video-edit-panel-stack {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

@media (max-width: 1180px) {
  .video-edit-workspace__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .video-edit-workspace__side-stack {
    position: static;
  }

  .video-edit-workspace__side-scroll {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
}

@media (max-width: 860px) {
  .video-edit-workspace {
    padding-inline: 14px;
  }

  .video-edit-workspace__hero {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .video-edit-workspace__actions {
    justify-content: stretch;
  }

  .video-edit-workspace__actions .video-edit-button {
    flex: 1 1 180px;
  }

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

  .video-edit-form-grid,
  .video-edit-trim-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .video-edit-workspace {
    padding: 14px 10px 32px;
  }

  .video-edit-workspace__hero h1 {
    font-size: 28px;
  }

  .video-edit-summary-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .video-edit-shot-card__head,
  .video-edit-panel-head,
  .video-edit-suggestion-card,
  .video-edit-asset-card__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .video-edit-actions .video-edit-button,
  .video-edit-button {
    width: 100%;
  }
}

.jh-company-page {
  --jh-ink: #00063d;
  --jh-red: #fa4028;
  --jh-blue: #1264f6;
  --jh-green: #90ff63;
  --jh-cream: #fff1c7;
  --jh-grid: #e6e6e2;
  --jh-muted: rgba(0, 6, 61, 0.64);
  background: #ffffff;
  color: var(--jh-ink);
  min-height: 100vh;
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  letter-spacing: 0;
}

.jh-company-page * {
  box-sizing: border-box;
  letter-spacing: 0;
}

.jh-company-page a {
  color: inherit;
  text-decoration: none;
}

.jh-company-hero {
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 86px 24px 96px;
  background-color: #f4f4f3;
  background-image:
    linear-gradient(var(--jh-grid) 2px, transparent 2px),
    linear-gradient(90deg, var(--jh-grid) 2px, transparent 2px);
  background-size: 44px 44px;
  border-bottom: 1px solid rgba(0, 6, 61, 0.16);
}

.jh-company-hero-inner {
  width: min(1120px, 100%);
  text-align: center;
}

.jh-company-eyebrow,
.jh-company-tag {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  background: rgba(250, 64, 40, 0.08);
  color: var(--jh-ink);
  font-family: "Courier New", monospace;
  font-size: 16px;
  font-weight: 700;
}

.jh-company-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 30px auto 0;
  font-family: Georgia, "Times New Roman", "Songti SC", SimSun, serif;
  font-size: 78px;
  font-weight: 600;
  line-height: 0.98;
}

.jh-company-marker {
  display: inline-block;
  padding: 0 12px 6px;
  transform-origin: center;
  white-space: nowrap;
}

.jh-company-marker.is-green {
  background: var(--jh-green);
  transform: rotate(-2deg);
}

.jh-company-marker.is-blue {
  background: var(--jh-blue);
  color: #ffffff;
  transform: rotate(1.2deg);
}

.jh-company-marker.is-red {
  background: var(--jh-red);
  color: #ffffff;
  transform: rotate(-0.8deg);
}

.jh-company-vision {
  padding: 112px 24px 82px;
  text-align: center;
}

.jh-company-story {
  width: min(1120px, 100%);
  margin: 30px auto 0;
}

.jh-company-story-lead {
  width: min(980px, 100%);
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", "Songti SC", SimSun, serif;
  font-size: 58px;
  font-weight: 500;
  line-height: 1.06;
}

.jh-company-story-lead span {
  display: block;
}

.jh-company-story-body {
  width: min(900px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 44px;
  gap: 44px;
  margin: 56px auto 0;
  padding-top: 34px;
  border-top: 1px solid rgba(0, 6, 61, 0.16);
  text-align: left;
}

.jh-company-story-body p {
  margin: 0;
  color: var(--jh-muted);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.78;
  text-wrap: pretty;
}

.jh-company-manifesto {
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 24px;
  background-color: #e7f7ff;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.9) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.9) 2px, transparent 2px);
  background-size: 44px 44px;
  border-top: 1px solid rgba(0, 6, 61, 0.12);
  border-bottom: 1px solid rgba(0, 6, 61, 0.12);
  text-align: center;
}

.jh-company-manifesto h2 {
  width: min(930px, 100%);
  margin: 0;
  font-family: Georgia, "Times New Roman", "Songti SC", SimSun, serif;
  font-size: 56px;
  font-weight: 500;
  line-height: 1.05;
}

.jh-company-impact {
  padding: 112px 24px 92px;
  text-align: center;
}

.jh-company-impact h2,
.jh-company-section-head h2,
.jh-company-cta h2 {
  margin: 28px auto 0;
  font-family: Georgia, "Times New Roman", "Songti SC", SimSun, serif;
  font-size: 56px;
  font-weight: 500;
  line-height: 1.04;
}

.jh-company-stats {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 0;
  gap: 0;
  margin: 62px auto 0;
  border-top: 1px solid rgba(0, 6, 61, 0.16);
  border-bottom: 1px solid rgba(0, 6, 61, 0.16);
}

.jh-company-stats article {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 34px;
  text-align: left;
  border-right: 1px solid rgba(0, 6, 61, 0.16);
}

.jh-company-stats article:last-child {
  border-right: 0;
}

.jh-company-stats strong {
  font-family: Georgia, "Times New Roman", "Songti SC", SimSun, serif;
  font-size: 58px;
  font-weight: 600;
  line-height: 1;
}

.jh-company-stats span {
  margin-top: 16px;
  color: var(--jh-muted);
  font-size: 18px;
  font-weight: 700;
}

.jh-company-leadership,
.jh-company-values {
  padding: 104px 24px;
}

.jh-company-section-head {
  width: min(1180px, 100%);
  margin: 0 auto 52px;
  text-align: center;
}

.jh-company-section-head h2 {
  width: min(780px, 100%);
}

.jh-company-leader-grid,
.jh-company-value-grid {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 22px;
  gap: 22px;
  margin: 0 auto;
}

.jh-company-leader-card,
.jh-company-value-grid article {
  background: #f4f4f3;
  border: 1px solid rgba(0, 6, 61, 0.14);
}

.jh-company-leader-card {
  min-height: 440px;
  padding: 18px;
}

.jh-company-card-art {
  height: 245px;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(250, 64, 40, 0.94), rgba(18, 100, 246, 0.95)),
    linear-gradient(var(--jh-grid) 2px, transparent 2px),
    linear-gradient(90deg, var(--jh-grid) 2px, transparent 2px);
  background-size: auto, 34px 34px, 34px 34px;
}

.jh-company-leader-card:nth-child(2) .jh-company-card-art {
  background:
    linear-gradient(135deg, rgba(144, 255, 99, 0.96), rgba(255, 241, 199, 0.95)),
    linear-gradient(var(--jh-grid) 2px, transparent 2px),
    linear-gradient(90deg, var(--jh-grid) 2px, transparent 2px);
}

.jh-company-leader-card:nth-child(3) .jh-company-card-art {
  background:
    linear-gradient(135deg, rgba(0, 6, 61, 0.96), rgba(250, 64, 40, 0.88)),
    linear-gradient(var(--jh-grid) 2px, transparent 2px),
    linear-gradient(90deg, var(--jh-grid) 2px, transparent 2px);
}

.jh-company-card-art span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  background: #ffffff;
  color: var(--jh-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 700;
}

.jh-company-leader-card h3,
.jh-company-value-grid h3 {
  margin: 26px 14px 0;
  font-family: Georgia, "Times New Roman", "Songti SC", SimSun, serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.06;
}

.jh-company-leader-card p,
.jh-company-value-grid p {
  margin: 14px 14px 0;
  color: var(--jh-muted);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
}

.jh-company-values {
  background: #fffaf0;
}

.jh-company-value-grid {
  grid-template-columns: repeat(4, 1fr);
}

.jh-company-value-grid article {
  min-height: 240px;
  padding: 24px 20px;
  background: #ffffff;
}

.jh-company-value-grid h3,
.jh-company-value-grid p {
  margin-left: 0;
  margin-right: 0;
}

.jh-company-contact {
  scroll-margin-top: 92px;
  padding: 112px 24px;
  background-color: #f4f4f3;
  background-image:
    linear-gradient(var(--jh-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--jh-grid) 1px, transparent 1px);
  background-size: 36px 36px;
  border-top: 1px solid rgba(0, 6, 61, 0.12);
}

.jh-company-contact-inner {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  grid-gap: 24px;
  gap: 24px;
  margin: 0 auto;
}

.jh-company-contact-copy {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(0, 6, 61, 0.14);
  background: #ffffff;
  padding: clamp(28px, 4vw, 48px);
}

.jh-company-contact-copy h2 {
  max-width: 760px;
  margin: 26px 0 0;
  font-family: Georgia, "Times New Roman", "Songti SC", SimSun, serif;
  font-size: 56px;
  font-weight: 500;
  line-height: 1.04;
}

.jh-company-contact-copy > p:last-child {
  max-width: 720px;
  margin: 26px 0 0;
  color: var(--jh-muted);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.78;
}

.jh-company-contact-panel {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  background: var(--jh-ink);
  color: #ffffff;
  padding: 28px;
}

.jh-company-contact-qr {
  width: min(236px, 100%);
  height: 236px;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 10px;
}

.jh-company-contact-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.jh-company-contact-panel strong {
  display: block;
  margin-top: 0;
  font-family: Georgia, "Times New Roman", "Songti SC", SimSun, serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.05;
  text-align: center;
}

.jh-company-contact-note {
  display: block;
  margin-top: 14px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
}

.jh-company-contact-methods {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.jh-company-contact-methods span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 24px;
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.jh-company-contact-methods b,
.jh-company-contact-methods a {
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}

.jh-company-contact-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 1px;
  gap: 1px;
  border: 1px solid rgba(0, 6, 61, 0.14);
  background: rgba(0, 6, 61, 0.14);
}

.jh-company-contact-grid article {
  min-height: 160px;
  background: #ffffff;
  padding: 24px;
}

.jh-company-contact-grid h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Songti SC", SimSun, serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.06;
}

.jh-company-contact-grid p {
  margin: 16px 0 0;
  color: var(--jh-muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.72;
}

.jh-company-cta {
  padding: 112px 24px 122px;
  background: var(--jh-ink);
  color: #ffffff;
  text-align: center;
}

.jh-company-cta .jh-company-tag {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.jh-company-cta h2 {
  width: min(760px, 100%);
  color: #ffffff;
}

.jh-company-cta a {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 38px;
  padding: 0 24px;
  background: var(--jh-red);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
}

@media (max-width: 1023px) {
  .jh-company-title {
    font-size: 54px;
  }

  .jh-company-story-lead,
  .jh-company-manifesto h2,
  .jh-company-impact h2,
  .jh-company-section-head h2,
  .jh-company-cta h2 {
    font-size: 42px;
  }

  .jh-company-stats,
  .jh-company-leader-grid,
  .jh-company-value-grid,
  .jh-company-contact-inner,
  .jh-company-contact-grid {
    grid-template-columns: 1fr;
  }

  .jh-company-contact-copy h2 {
    font-size: 42px;
  }

  .jh-company-stats article {
    border-right: 0;
    border-bottom: 1px solid rgba(0, 6, 61, 0.16);
  }

  .jh-company-stats article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .jh-company-hero {
    min-height: 360px;
    padding: 50px 14px 62px;
    background-size: 36px 36px;
  }

  .jh-company-title {
    gap: 7px;
    margin-top: 22px;
    font-size: 38px;
  }

  .jh-company-marker {
    padding: 0 8px 4px;
  }

  .jh-company-vision,
  .jh-company-impact,
  .jh-company-leadership,
  .jh-company-values,
  .jh-company-contact,
  .jh-company-cta {
    padding-left: 14px;
    padding-right: 14px;
  }

  .jh-company-vision {
    padding-top: 74px;
  }

  .jh-company-story-body {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 34px;
    padding-top: 28px;
  }

  .jh-company-story-lead,
  .jh-company-manifesto h2,
  .jh-company-impact h2,
  .jh-company-section-head h2,
  .jh-company-contact-copy h2,
  .jh-company-cta h2 {
    font-size: 34px;
    line-height: 1.08;
  }

  .jh-company-story-body p {
    font-size: 17px;
    line-height: 1.72;
  }

  .jh-company-stats strong {
    font-size: 44px;
  }

  .jh-company-leader-card {
    min-height: 390px;
  }

  .jh-company-contact {
    padding-top: 74px;
    padding-bottom: 74px;
  }

  .jh-company-contact-copy,
  .jh-company-contact-panel {
    min-height: auto;
  }

  .jh-company-contact-panel {
    align-items: center;
    text-align: center;
  }

  .jh-company-contact-methods {
    width: 100%;
  }

  .jh-company-contact-qr {
    width: min(220px, 100%);
    height: 220px;
  }

  .jh-company-contact-grid article {
    min-height: auto;
    text-align: center;
  }
}

.jh-pricing-page {
  --pricing-bg: #f4f4f3;
  --pricing-ink: #00063d;
  --pricing-muted: #424966;
  --pricing-soft: #606476;
  --pricing-line: #deded8;
  --pricing-panel: #fff;
  --pricing-brand: #fa4028;
  --pricing-brand-dark: #e73525;
  --pricing-green: #ecffd9;
  --pricing-check: #1d7f00;

  min-height: 100vh;
  background: var(--pricing-bg);
  color: var(--pricing-ink);
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
}

.jh-pricing-page *,
.jh-pricing-page *::before,
.jh-pricing-page *::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

.jh-pricing-page a {
  color: inherit;
  text-decoration: none;
}

.jh-pricing-main {
  overflow: hidden;
}

.jh-pricing-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--pricing-line);
  background:
    linear-gradient(90deg, rgba(0, 91, 188, 0.12) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 91, 188, 0.12) 1px, transparent 1px),
    var(--pricing-bg);
  background-size: 44px 44px;
}

.jh-pricing-hero::after {
  content: "";
  position: absolute;
  right: -7vw;
  bottom: -170px;
  width: min(720px, 64vw);
  height: min(520px, 52vw);
  background:
    linear-gradient(90deg, rgba(244, 244, 243, 0.9), rgba(244, 244, 243, 0.32)),
    linear-gradient(90deg, rgba(0, 6, 61, 0.18) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 6, 61, 0.18) 1px, transparent 1px),
    linear-gradient(135deg, rgba(236, 255, 217, 0.95) 0 42%, rgba(250, 64, 40, 0.18) 42% 58%, rgba(0, 6, 61, 0.92) 58% 100%);
  background-size: auto, 34px 34px, 34px 34px, auto;
  opacity: 0.36;
  pointer-events: none;
}

.jh-pricing-hero__inner {
  position: relative;
  z-index: 1;
  width: min(1240px, 100%);
  min-height: clamp(500px, 68vh, 660px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: clamp(34px, 4.8vw, 58px) 20px 30px;
  text-align: center;
}

.jh-pricing-hero__notice {
  display: inline-flex;
  max-width: min(100%, 720px);
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 5px 8px 5px 5px;
  color: var(--pricing-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.jh-pricing-hero__notice span {
  flex: 0 0 auto;
  background: var(--pricing-green);
  padding: 6px 9px;
  color: #103a00;
  font-weight: 800;
}

.jh-pricing-hero__notice strong {
  font-weight: 800;
}

.jh-pricing-hero__notice svg {
  flex: 0 0 auto;
  background: var(--pricing-green);
  color: #103a00;
  padding: 2px;
}

.jh-pricing-hero__copy {
  max-width: 920px;
  margin-top: clamp(24px, 4vw, 38px);
}

.jh-pricing-hero__copy h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Songti SC", SimSun, serif;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 600;
  line-height: 1.02;
  text-wrap: balance;
}

.jh-pricing-hero__copy h1 span {
  display: block;
}

.jh-pricing-hero__copy p {
  max-width: 780px;
  margin: 22px auto 0;
  color: var(--pricing-ink);
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 600;
  line-height: 1.65;
}

.jh-pricing-signal-grid {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(28px, 4.2vw, 46px);
  border: 1px solid var(--pricing-line);
  background: #fff;
}

.jh-pricing-signal-grid a {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--pricing-line);
  padding: 18px;
  text-align: left;
  transition: background-color 160ms ease, color 160ms ease;
}

.jh-pricing-signal-grid a:hover {
  background: var(--pricing-green);
}

.jh-pricing-signal-grid a:last-child {
  border-right: 0;
  background: var(--pricing-ink);
  color: #fff;
}

.jh-pricing-signal-grid a:last-child:hover {
  background: #071057;
}

.jh-pricing-signal-grid span {
  color: var(--pricing-brand);
  font-size: 12px;
  font-weight: 900;
}

.jh-pricing-signal-grid a:last-child span,
.jh-pricing-signal-grid a:last-child p,
.jh-pricing-signal-grid a:last-child em {
  color: rgba(255, 255, 255, 0.72);
}

.jh-pricing-signal-grid strong {
  display: block;
  margin-top: 12px;
  font-family: Georgia, "Times New Roman", "Songti SC", SimSun, serif;
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 600;
  line-height: 1;
}

.jh-pricing-signal-grid em {
  display: block;
  margin-top: 10px;
  color: var(--pricing-ink);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.2;
}

.jh-pricing-signal-grid p {
  margin: 14px 0 0;
  color: var(--pricing-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.jh-pricing-signal-grid b {
  display: inline-flex;
  width: -webkit-fit-content;
  width: fit-content;
  margin-top: 14px;
  border-bottom: 2px solid currentColor;
  color: var(--pricing-brand);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

.jh-pricing-signal-grid a:last-child b {
  color: var(--pricing-green);
}

.jh-pricing-recommend,
.jh-pricing-group,
.jh-pricing-notes {
  padding: clamp(64px, 7vw, 96px) 20px;
}

.jh-pricing-recommend {
  background: #fff;
}

.jh-pricing-section-head {
  width: min(1360px, 100%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 auto 28px;
}

.jh-pricing-section-head.is-centered {
  max-width: 780px;
  align-items: center;
  text-align: center;
}

.jh-pricing-section-head > p:first-child {
  margin: 0;
  color: var(--pricing-brand);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.jh-pricing-section-head h2 {
  max-width: 850px;
  margin: 0;
  font-family: Georgia, "Times New Roman", "Songti SC", SimSun, serif;
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 600;
  line-height: 1;
  text-wrap: balance;
}

.jh-pricing-section-head p {
  max-width: 760px;
  margin: 0;
  color: var(--pricing-muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.75;
}

.jh-pricing-featured-grid {
  width: min(1160px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 16px;
  gap: 16px;
  margin: 0 auto;
}

.jh-pricing-card {
  position: relative;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--pricing-line);
  background: #fff;
  padding: clamp(20px, 2.4vw, 30px);
}

.jh-pricing-featured-grid .jh-pricing-card:first-child {
  border-color: var(--pricing-ink);
  background: var(--pricing-ink);
  color: #fff;
}

.jh-pricing-featured-grid .jh-pricing-card:nth-child(2) {
  border-color: var(--pricing-ink);
  background: var(--pricing-green);
}

.jh-pricing-card.is-highlighted::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: var(--pricing-brand);
}

.jh-pricing-card__top {
  min-height: 68px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.jh-pricing-card__top h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Songti SC", SimSun, serif;
  font-size: clamp(32px, 3vw, 46px);
  font-weight: 600;
  line-height: 1;
}

.jh-pricing-card__top span,
.jh-pricing-row__name span {
  display: inline-flex;
  width: -webkit-fit-content;
  width: fit-content;
  margin-top: 12px;
  border: 1px solid var(--pricing-line);
  background: #fff;
  padding: 5px 8px;
  color: var(--pricing-brand);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.jh-pricing-featured-grid .jh-pricing-card:first-child .jh-pricing-card__top span {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.jh-pricing-card__price {
  margin-top: 24px;
}

.jh-pricing-card__price strong {
  display: block;
  font-family: Georgia, "Times New Roman", "Songti SC", SimSun, serif;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 600;
  line-height: 0.95;
}

.jh-pricing-card__price em {
  display: block;
  margin-top: 9px;
  color: var(--pricing-soft);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.jh-pricing-featured-grid .jh-pricing-card:first-child .jh-pricing-card__price em,
.jh-pricing-featured-grid .jh-pricing-card:first-child .jh-pricing-card__quota span,
.jh-pricing-featured-grid .jh-pricing-card:first-child .jh-pricing-card__quota small {
  color: rgba(255, 255, 255, 0.72);
}

.jh-pricing-card__quota {
  margin-top: 18px;
  border-top: 1px solid var(--pricing-line);
  border-bottom: 1px solid var(--pricing-line);
  padding: 14px 0;
}

.jh-pricing-featured-grid .jh-pricing-card:first-child .jh-pricing-card__quota {
  border-color: rgba(255, 255, 255, 0.2);
}

.jh-pricing-card__quota p,
.jh-pricing-card__quota span,
.jh-pricing-card__quota small {
  display: block;
  margin: 0;
}

.jh-pricing-card__quota p {
  color: inherit;
  font-size: 13px;
  font-weight: 900;
}

.jh-pricing-card__quota span {
  margin-top: 8px;
  color: #283052;
  font-size: 15px;
  font-weight: 800;
}

.jh-pricing-card__quota small {
  margin-top: 8px;
  color: var(--pricing-soft);
  font-size: 12px;
  font-weight: 800;
}

.jh-pricing-card ul {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
}

.jh-pricing-card li {
  display: flex;
  gap: 9px;
  color: #283052;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.jh-pricing-featured-grid .jh-pricing-card:first-child li {
  color: rgba(255, 255, 255, 0.82);
}

.jh-pricing-card li svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--pricing-check);
}

.jh-pricing-card__cta,
.jh-pricing-row__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--pricing-ink);
  background: #fff;
  color: var(--pricing-ink);
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.jh-pricing-card__cta {
  min-height: 46px;
  width: 100%;
  gap: 10px;
  margin-top: auto;
  padding: 0 14px;
  font-size: 14px;
}

.jh-pricing-card__cta.is-primary,
.jh-pricing-row__cta.is-primary,
.jh-pricing-row.is-enterprise .jh-pricing-row__cta {
  border-color: var(--pricing-brand);
  background: var(--pricing-brand);
  color: #fff;
}

.jh-pricing-card__cta:hover,
.jh-pricing-row__cta:hover {
  background: var(--pricing-green);
}

.jh-pricing-card__cta.is-primary:hover,
.jh-pricing-row__cta.is-primary:hover,
.jh-pricing-row.is-enterprise .jh-pricing-row__cta:hover {
  background: var(--pricing-brand-dark);
}

.jh-pricing-featured-grid .jh-pricing-card:first-child .jh-pricing-card__cta {
  border-color: rgba(255, 255, 255, 0.74);
  background: #fff;
  color: var(--pricing-ink);
}

.jh-pricing-featured-grid .jh-pricing-card:first-child .jh-pricing-card__cta:hover {
  border-color: var(--pricing-green);
  background: var(--pricing-green);
  color: var(--pricing-ink);
}

.jh-pricing-card__cta:disabled,
.jh-pricing-row__cta:disabled {
  border-color: var(--pricing-line);
  background: #f7f7f5;
  color: #8f95a5;
  cursor: not-allowed;
}

.jh-pricing-featured-grid .jh-pricing-card:first-child .jh-pricing-card__cta:disabled {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.62);
}

.jh-pricing-card__cta span {
  border-left: 1px solid var(--pricing-line);
  padding-left: 10px;
  font-size: 12px;
}

.jh-pricing-group {
  scroll-margin-top: 92px;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 23, 42, 0.055) 1px, transparent 1px),
    var(--pricing-bg);
  background-size: 28px 28px;
}

#team-plans {
  border-top: 1px solid var(--pricing-line);
  background: #fff;
}

.jh-pricing-plan-list {
  width: min(1360px, 100%);
  margin: 0 auto;
  border: 1px solid var(--pricing-line);
  background: rgba(255, 255, 255, 0.92);
}

.jh-pricing-row {
  display: grid;
  grid-template-columns:
    minmax(180px, 1.05fr)
    minmax(150px, 0.75fr)
    minmax(190px, 1fr)
    minmax(280px, 1.3fr)
    minmax(122px, auto);
  grid-gap: 18px;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--pricing-line);
  padding: 20px;
}

.jh-pricing-row:last-child {
  border-bottom: 0;
}

.jh-pricing-row.is-highlighted {
  background: var(--pricing-green);
}

.jh-pricing-row.is-enterprise {
  background: var(--pricing-ink);
  color: #fff;
}

.jh-pricing-row__name h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.15;
}

.jh-pricing-row.is-enterprise .jh-pricing-row__name span {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: var(--pricing-green);
}

.jh-pricing-row__price strong {
  display: block;
  font-family: Georgia, "Times New Roman", "Songti SC", SimSun, serif;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 600;
  line-height: 1;
  overflow-wrap: anywhere;
}

.jh-pricing-row__price em,
.jh-pricing-row__usage p,
.jh-pricing-row__features span {
  color: var(--pricing-soft);
  font-size: 13px;
  font-style: normal;
  font-weight: 750;
  line-height: 1.55;
}

.jh-pricing-row__price em {
  display: block;
  margin-top: 7px;
}

.jh-pricing-row__usage span {
  display: block;
  color: inherit;
  font-size: 14px;
  font-weight: 900;
}

.jh-pricing-row__usage p {
  margin: 7px 0 0;
}

.jh-pricing-row__features {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
}

.jh-pricing-row__features span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--pricing-check);
  font-weight: 900;
}

.jh-pricing-row.is-enterprise .jh-pricing-row__price em,
.jh-pricing-row.is-enterprise .jh-pricing-row__usage p,
.jh-pricing-row.is-enterprise .jh-pricing-row__features span {
  color: rgba(255, 255, 255, 0.72);
}

.jh-pricing-row__cta {
  min-height: 42px;
  padding: 0 14px;
  font-size: 13px;
  white-space: nowrap;
}

.jh-pricing-notes {
  border-top: 1px solid var(--pricing-line);
  background: var(--pricing-ink);
}

.jh-pricing-note-strip {
  width: min(1360px, 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 1px;
  gap: 1px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.14);
}

.jh-pricing-note-strip article {
  min-height: 150px;
  background: rgba(255, 255, 255, 0.08);
  padding: 18px;
}

.jh-pricing-note-strip strong,
.jh-pricing-note-strip span {
  display: block;
}

.jh-pricing-note-strip strong {
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.4;
}

.jh-pricing-note-strip span {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

.jh-pricing-footer {
  background: var(--pricing-ink);
  color: #fff;
}

.jh-pricing-final-cta {
  width: min(1360px, 100%);
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-gap: 48px;
  gap: 48px;
  align-items: center;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: clamp(64px, 7vw, 96px) 20px;
}

.jh-pricing-final-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  font-weight: 800;
}

.jh-pricing-final-cta h2 {
  max-width: 760px;
  margin: 24px 0 0;
  font-family: Georgia, "Times New Roman", "Songti SC", SimSun, serif;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 600;
  line-height: 1.02;
  text-wrap: balance;
}

.jh-pricing-final-cta h2 span,
.jh-pricing-final-cta > div > span {
  display: block;
}

.jh-pricing-final-cta > div > span {
  max-width: 720px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
}

.jh-pricing-final-cta__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.jh-pricing-final-cta__actions a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 24px;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.jh-pricing-final-cta__actions a:first-child {
  background: var(--pricing-brand);
}

.jh-pricing-final-cta__actions a:first-child:hover {
  background: var(--pricing-brand-dark);
}

.jh-pricing-final-cta__actions a:last-child:hover {
  color: var(--pricing-green);
}

.jh-pricing-footer__brand {
  width: min(1360px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 28px 20px 34px;
}

.jh-pricing-footer__brand strong {
  flex: 0 0 auto;
  font-family: Georgia, "Times New Roman", "Songti SC", SimSun, serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
}

.jh-pricing-footer__brand span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
  text-align: right;
}

.jh-pricing-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #f8fafc;
  padding: 20px;
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

.jh-pricing-footer__legal a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #666;
}

.jh-pricing-footer__legal img {
  width: 20px;
  height: 20px;
}

.jh-pricing-footer__legal i {
  color: #ccc;
  font-style: normal;
  -webkit-user-select: none;
          user-select: none;
}

@media (max-width: 1180px) {
  .jh-pricing-signal-grid,
  .jh-pricing-note-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jh-pricing-signal-grid a:nth-child(2) {
    border-right: 0;
  }

  .jh-pricing-signal-grid a:nth-child(-n + 2) {
    border-bottom: 1px solid var(--pricing-line);
  }

  .jh-pricing-row {
    grid-template-columns: minmax(180px, 1fr) minmax(140px, auto) minmax(220px, 1fr);
  }

  .jh-pricing-row__features {
    grid-column: 1 / 3;
  }

  .jh-pricing-final-cta {
    grid-template-columns: 1fr;
  }

  .jh-pricing-final-cta__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .jh-pricing-page {
    --pricing-mobile-frame: min(640px, calc(100vw - 32px));
  }

  .jh-pricing-hero::after {
    width: 520px;
    height: 360px;
    right: -220px;
    bottom: -120px;
    opacity: 0.24;
  }

  .jh-pricing-hero__inner {
    width: var(--pricing-mobile-frame);
    min-height: auto;
    padding: 28px 0 20px;
  }

  .jh-pricing-hero__notice {
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 13px;
  }

  .jh-pricing-hero__notice strong {
    min-width: 0;
  }

  .jh-pricing-hero__copy h1 {
    font-size: clamp(31px, 9.2vw, 40px);
  }

  .jh-pricing-hero__copy p {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
  }

  .jh-pricing-signal-grid,
  .jh-pricing-featured-grid,
  .jh-pricing-note-strip {
    width: var(--pricing-mobile-frame);
    grid-template-columns: 1fr;
    margin-left: auto;
    margin-right: auto;
  }

  .jh-pricing-signal-grid a,
  .jh-pricing-signal-grid a:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--pricing-line);
  }

  .jh-pricing-signal-grid a {
    min-height: 128px;
    padding: 16px;
    align-items: center;
    text-align: center;
  }

  .jh-pricing-signal-grid a:last-child {
    border-bottom: 0;
  }

  .jh-pricing-recommend,
  .jh-pricing-group,
  .jh-pricing-notes {
    padding: 54px 0;
  }

  .jh-pricing-section-head {
    width: var(--pricing-mobile-frame);
    align-items: center;
    margin-bottom: 22px;
    text-align: center;
  }

  .jh-pricing-section-head p {
    margin-left: auto;
    margin-right: auto;
  }

  .jh-pricing-plan-list {
    width: var(--pricing-mobile-frame);
  }

  .jh-pricing-section-head h2 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .jh-pricing-card {
    min-height: auto;
    align-items: center;
    text-align: center;
  }

  .jh-pricing-card__top {
    width: 100%;
    min-height: auto;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .jh-pricing-card__top > div {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .jh-pricing-card__price,
  .jh-pricing-card__quota,
  .jh-pricing-card ul {
    width: 100%;
  }

  .jh-pricing-card li {
    justify-content: center;
    text-align: center;
  }

  .jh-pricing-card__cta {
    max-width: 320px;
  }

  .jh-pricing-row {
    grid-template-columns: 1fr;
    gap: 12px;
    justify-items: center;
    padding: 18px;
    text-align: center;
  }

  .jh-pricing-row__name {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .jh-pricing-row__features {
    grid-column: auto;
    justify-items: center;
  }

  .jh-pricing-row__cta {
    width: min(320px, 100%);
  }

  .jh-pricing-note-strip article {
    min-height: auto;
    text-align: center;
  }

  .jh-pricing-final-cta {
    width: var(--pricing-mobile-frame);
    min-height: auto;
    justify-items: center;
    padding: 54px 0;
    text-align: center;
  }

  .jh-pricing-final-cta h2 {
    font-size: clamp(36px, 11vw, 50px);
  }

  .jh-pricing-final-cta > div > span {
    margin-left: auto;
    margin-right: auto;
  }

  .jh-pricing-final-cta__actions {
    width: min(360px, 100%);
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 12px;
    gap: 12px;
  }

  .jh-pricing-final-cta__actions a {
    width: 100%;
  }

  .jh-pricing-footer__brand {
    width: var(--pricing-mobile-frame);
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .jh-pricing-footer__brand span {
    text-align: center;
  }

  .jh-pricing-footer__legal {
    gap: 10px;
    font-size: 13px;
  }

  .jh-pricing-footer__legal i {
    display: none;
  }
}

@media (max-width: 430px) {
  .jh-pricing-card__price strong {
    font-size: 44px;
  }
}

.content-admin-page {
  min-height: 100vh;
  background:
    linear-gradient(rgba(0, 6, 61, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 6, 61, 0.035) 1px, transparent 1px),
    #f4f4f3;
  background-size: 40px 40px;
  color: #00063d;
  padding: 24px;
}

.content-admin-page.is-embedded {
  min-height: auto;
  background: transparent;
  padding: 0;
}

.content-admin-page *,
.content-admin-page *::before,
.content-admin-page *::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

.content-admin-header {
  max-width: 1360px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 130px;
  align-items: center;
  grid-gap: 18px;
  gap: 18px;
  margin: 0 auto 18px;
  border: 1px solid #deded8;
  background: #ffffff;
  padding: 18px;
}

.content-admin-header p,
.content-admin-auth p,
.content-admin-editor-head p {
  margin: 0;
  color: #fa4028;
  font-size: 12px;
  font-weight: 900;
}

.content-admin-header h1,
.content-admin-auth h1,
.content-admin-editor-head h2 {
  margin: 5px 0 0;
  font-family: Georgia, "Times New Roman", "Songti SC", SimSun, serif;
  font-weight: 600;
  line-height: 1;
}

.content-admin-header h1 {
  font-size: 32px;
}

.content-admin-header span,
.content-admin-auth span,
.content-admin-editor-head span {
  display: block;
  margin-top: 8px;
  color: #606476;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.content-admin-icon-button,
.content-admin-editor-head button,
.content-admin-auth button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #00063d;
  background: #ffffff;
  color: #00063d;
  padding: 0 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.content-admin-icon-button.is-primary,
.content-admin-editor-head button,
.content-admin-auth button {
  border-color: #fa4028;
  background: #fa4028;
  color: #ffffff;
}

.content-admin-auth button.is-secondary {
  border-color: #00063d;
  background: #ffffff;
  color: #00063d;
}

.content-admin-icon-button:disabled,
.content-admin-editor-head button:disabled {
  border-color: #c9c9c2;
  background: #d7d7d1;
  color: #ffffff;
  cursor: not-allowed;
}

.content-admin-alert {
  max-width: 1360px;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto 18px;
  border: 1px solid #c7d8b7;
  background: #f1ffeb;
  padding: 0 14px;
  color: #173b10;
  font-size: 14px;
  font-weight: 800;
}

.content-admin-alert.is-error {
  border-color: #ffc6bc;
  background: #fff0ed;
  color: #a32311;
}

.content-admin-shell {
  max-width: 1360px;
  display: grid;
  grid-template-columns: minmax(320px, 390px) minmax(0, 1fr);
  grid-gap: 18px;
  gap: 18px;
  margin: 0 auto;
}

.content-admin-page.is-embedded .content-admin-shell,
.content-admin-page.is-embedded .content-admin-alert {
  max-width: 1360px;
}

.content-admin-list-panel,
.content-admin-editor,
.content-admin-auth {
  border: 1px solid #deded8;
  background: rgba(255, 255, 255, 0.96);
}

.content-admin-list-panel {
  min-height: 680px;
  padding: 16px;
}

.content-admin-filter-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.82fr;
  grid-gap: 10px;
  gap: 10px;
}

.content-admin-filter-row label,
.content-admin-form-grid label,
.content-admin-field {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
}

.content-admin-filter-row span,
.content-admin-form-grid span,
.content-admin-field span {
  color: #606476;
  font-size: 12px;
  font-weight: 900;
}

.content-admin-filter-row select,
.content-admin-search input,
.content-admin-form-grid select,
.content-admin-form-grid input,
.content-admin-field input,
.content-admin-field textarea {
  width: 100%;
  border: 1px solid #d8d8d2;
  border-radius: 0;
  background: #ffffff;
  color: #00063d;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  outline: none;
}

.content-admin-filter-row select,
.content-admin-search input,
.content-admin-form-grid select,
.content-admin-form-grid input,
.content-admin-field input {
  min-height: 42px;
  padding: 0 11px;
}

.content-admin-field textarea {
  min-height: 112px;
  resize: vertical;
  padding: 11px;
  line-height: 1.65;
}

.content-admin-filter-row select:focus,
.content-admin-search input:focus,
.content-admin-form-grid select:focus,
.content-admin-form-grid input:focus,
.content-admin-field input:focus,
.content-admin-field textarea:focus {
  border-color: #00063d;
  box-shadow: 0 0 0 2px rgba(0, 6, 61, 0.08);
}

.content-admin-search {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  border: 1px solid #d8d8d2;
  background: #ffffff;
  padding: 0 10px;
}

.content-admin-search input {
  min-height: 38px;
  border: 0;
  padding: 0;
}

.content-admin-search input:focus {
  box-shadow: none;
}

.content-admin-list-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 14px 0;
}

.content-admin-list-meta strong {
  font-family: Georgia, "Times New Roman", "Songti SC", SimSun, serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
}

.content-admin-list-meta span {
  color: #606476;
  font-size: 13px;
  font-weight: 800;
}

.content-admin-entry-list {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  max-height: calc(100vh - 260px);
  overflow: auto;
  padding-right: 4px;
}

.content-admin-page-group {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.content-admin-page-group__head {
  min-height: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  grid-gap: 8px;
  gap: 8px;
  border: 1px solid #deded8;
  background: #f7f7f5;
  padding: 7px 10px;
}

.content-admin-page-group__head span {
  color: #00063d;
  font-size: 13px;
  font-weight: 900;
}

.content-admin-page-group__head small {
  grid-column: 1;
  color: #606476;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}

.content-admin-page-group__head strong {
  grid-row: 1 / span 2;
  grid-column: 2;
  min-width: 30px;
  border: 1px solid #d8d8d2;
  background: #ffffff;
  padding: 4px 6px;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.content-admin-entry {
  position: relative;
  display: block;
  width: 100%;
  border: 1px solid #deded8;
  background: #ffffff;
  color: #00063d;
  padding: 12px 96px 12px 12px;
  text-align: left;
  cursor: pointer;
}

.content-admin-entry:hover,
.content-admin-entry.is-active {
  border-color: #00063d;
  background: #f7f7f5;
}

.content-admin-entry span {
  display: block;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
  word-break: break-word;
}

.content-admin-entry small {
  display: block;
  margin-top: 7px;
  color: #606476;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.content-admin-entry__location {
  display: flex !important;
  align-items: center;
  gap: 5px;
  color: #b13a29 !important;
  font-weight: 900 !important;
}

.content-admin-entry p {
  display: -webkit-box;
  margin: 8px 0 0;
  overflow: hidden;
  color: #00063d;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.content-admin-entry mark {
  background: #ffe7a3;
  color: inherit;
  padding: 0 2px;
}

.content-admin-entry em {
  position: absolute;
  top: 12px;
  right: 10px;
  min-width: 62px;
  border: 1px solid #d8d8d2;
  background: #ffffff;
  padding: 4px 6px;
  color: #606476;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  text-align: center;
}

.content-admin-entry em.is-published {
  border-color: #b7d7a8;
  color: #1d5d10;
}

.content-admin-entry em.is-draft {
  border-color: #f0d18c;
  color: #765200;
}

.content-admin-entry em.is-archived {
  border-color: #c9c9c2;
  color: #606476;
}

.content-admin-editor {
  min-height: 680px;
  padding: 20px;
}

.content-admin-editor-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  align-items: start;
  grid-gap: 18px;
  gap: 18px;
  border-bottom: 1px solid #deded8;
  padding-bottom: 18px;
}

.content-admin-editor-head h2 {
  font-size: 30px;
  word-break: break-word;
}

.content-admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 14px;
  gap: 14px;
  margin-top: 18px;
}

.content-admin-location-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 130px;
  grid-gap: 10px;
  gap: 10px;
  margin-top: 18px;
}

.content-admin-location-card div,
.content-admin-location-card button {
  min-height: 58px;
  border: 1px solid #deded8;
  background: #f7f7f5;
}

.content-admin-location-card div {
  display: grid;
  align-content: center;
  grid-gap: 5px;
  gap: 5px;
  padding: 10px 12px;
}

.content-admin-location-card span {
  color: #606476;
  font-size: 12px;
  font-weight: 900;
}

.content-admin-location-card strong {
  color: #00063d;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.content-admin-location-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #00063d;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.content-admin-location-card button:hover {
  border-color: #00063d;
  background: #ffffff;
}

.content-admin-field {
  margin-top: 16px;
}

.content-admin-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 10px;
  gap: 10px;
  margin-top: 18px;
}

.content-admin-meta-grid span {
  min-height: 70px;
  display: block;
  border: 1px solid #deded8;
  background: #f7f7f5;
  padding: 12px;
  color: #00063d;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  word-break: break-word;
}

.content-admin-meta-grid b {
  display: block;
  margin-bottom: 7px;
  color: #606476;
  font-size: 12px;
  font-weight: 900;
}

.content-admin-empty,
.content-admin-empty-state {
  color: #606476;
  font-size: 14px;
  font-weight: 800;
}

.content-admin-empty-state {
  min-height: 520px;
  display: grid;
  place-items: center;
  align-content: center;
  grid-gap: 14px;
  gap: 14px;
}

.content-admin-auth {
  width: min(620px, 100%);
  display: grid;
  justify-items: start;
  grid-gap: 12px;
  gap: 12px;
  margin: 100px auto 0;
  padding: 36px;
}

.content-admin-auth h1 {
  font-size: 36px;
}

.content-admin-auth div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

@media (max-width: 980px) {
  .content-admin-header,
  .content-admin-shell,
  .content-admin-editor-head,
  .content-admin-location-card,
  .content-admin-meta-grid {
    grid-template-columns: 1fr;
  }

  .content-admin-header {
    align-items: stretch;
  }

  .content-admin-list-panel,
  .content-admin-editor {
    min-height: auto;
  }

  .content-admin-entry-list {
    max-height: none;
  }
}

@media (max-width: 620px) {
  .content-admin-page {
    padding: 14px;
  }

  .content-admin-filter-row,
  .content-admin-form-grid {
    grid-template-columns: 1fr;
  }

  .content-admin-header h1,
  .content-admin-auth h1 {
    font-size: 30px;
  }

  .content-admin-editor-head h2 {
    font-size: 26px;
  }
}

.admin-page {
  min-height: 100vh;
  background:
    linear-gradient(rgba(0, 6, 61, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 6, 61, 0.035) 1px, transparent 1px),
    #f4f4f3;
  background-size: 40px 40px;
  color: #00063d;
  padding: 24px;
}

.admin-page *,
.admin-page *::before,
.admin-page *::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

.admin-header,
.admin-credits,
.admin-billing,
.admin-gate {
  width: min(1360px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.admin-header {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  grid-gap: 18px;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
  border: 1px solid #deded8;
  background: #fff;
  padding: 18px;
}

.admin-header p,
.admin-gate p,
.admin-panel-head p,
.admin-detail-head p {
  margin: 0;
  color: #fa4028;
  font-size: 12px;
  font-weight: 900;
}

.admin-header h1,
.admin-gate h1,
.admin-detail-head h2 {
  margin: 5px 0 0;
  font-family: Georgia, "Times New Roman", "Songti SC", SimSun, serif;
  font-weight: 600;
  line-height: 1;
}

.admin-header h1 {
  font-size: 32px;
}

.admin-header span,
.admin-gate span,
.admin-detail-head span {
  display: block;
  margin-top: 8px;
  color: #606476;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.admin-icon-button,
.admin-tabs button,
.admin-credit-search button,
.admin-detail-head button,
.admin-save-button,
.admin-gate button,
.admin-segmented button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #00063d;
  background: #fff;
  color: #00063d;
  padding: 0 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.admin-credit-search button,
.admin-save-button,
.admin-gate button,
.admin-tabs button.is-active {
  border-color: #fa4028;
  background: #fa4028;
  color: #fff;
}

.admin-gate button.is-secondary {
  border-color: #00063d;
  background: #fff;
  color: #00063d;
}

.admin-icon-button:disabled,
.admin-credit-search button:disabled,
.admin-detail-head button:disabled,
.admin-save-button:disabled {
  border-color: #c9c9c2;
  background: #d7d7d1;
  color: #fff;
  cursor: not-allowed;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.admin-gate {
  display: grid;
  justify-items: start;
  grid-gap: 12px;
  gap: 12px;
  width: min(620px, 100%);
  margin-top: 100px;
  border: 1px solid #deded8;
  background: rgba(255, 255, 255, 0.96);
  padding: 36px;
}

.admin-gate h1 {
  font-size: 36px;
}

.admin-gate div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.admin-alert {
  min-height: 44px;
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  border: 1px solid #c7d8b7;
  background: #f1ffeb;
  padding: 0 14px;
  color: #173b10;
  font-size: 14px;
  font-weight: 800;
}

.admin-alert.is-error {
  border-color: #ffc6bc;
  background: #fff0ed;
  color: #a32311;
}

.admin-credit-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  grid-gap: 12px;
  gap: 12px;
  margin-bottom: 18px;
  border: 1px solid #deded8;
  background: #fff;
  padding: 16px;
}

.admin-credit-search label,
.admin-adjust-form label {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
}

.admin-credit-search span,
.admin-adjust-form span,
.admin-billing-form span {
  color: #606476;
  font-size: 12px;
  font-weight: 900;
}

.admin-credit-search input,
.admin-adjust-form input,
.admin-adjust-form textarea,
.admin-billing-form input,
.admin-billing-form select,
.admin-billing-form textarea,
.admin-pricing-edit-row input {
  width: 100%;
  border: 1px solid #d8d8d2;
  border-radius: 0;
  background: #fff;
  color: #00063d;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  outline: none;
}

.admin-credit-search input,
.admin-adjust-form input,
.admin-billing-form input,
.admin-billing-form select,
.admin-pricing-edit-row input {
  min-height: 42px;
  padding: 0 11px;
}

.admin-adjust-form textarea,
.admin-billing-form textarea {
  min-height: 94px;
  resize: vertical;
  padding: 11px;
  line-height: 1.65;
}

.admin-credit-search input:focus,
.admin-adjust-form input:focus,
.admin-adjust-form textarea:focus,
.admin-billing-form input:focus,
.admin-billing-form select:focus,
.admin-billing-form textarea:focus,
.admin-pricing-edit-row input:focus {
  border-color: #00063d;
  box-shadow: 0 0 0 2px rgba(0, 6, 61, 0.08);
}

.admin-credit-shell,
.admin-billing-grid {
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  grid-gap: 18px;
  gap: 18px;
}

.admin-user-list,
.admin-user-detail,
.admin-billing-rules,
.admin-billing-detail,
.admin-adjust-panel,
.admin-transaction-panel {
  border: 1px solid #deded8;
  background: rgba(255, 255, 255, 0.96);
}

.admin-user-list,
.admin-user-detail,
.admin-billing-rules,
.admin-billing-detail {
  min-height: 650px;
}

.admin-user-list,
.admin-billing-rules {
  padding: 16px;
}

.admin-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.admin-panel-head strong {
  font-family: Georgia, "Times New Roman", "Songti SC", SimSun, serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
}

.admin-user-list__items {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.admin-user-list__items button {
  width: 100%;
  border: 1px solid #deded8;
  background: #fff;
  color: #00063d;
  padding: 12px;
  text-align: left;
  cursor: pointer;
}

.admin-user-list__items button:hover,
.admin-user-list__items button.is-active {
  border-color: #00063d;
  background: #f7f7f5;
}

.admin-user-list__items span {
  display: block;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.3;
}

.admin-user-list__items small {
  display: block;
  margin-top: 7px;
  color: #606476;
  font-size: 12px;
  font-weight: 800;
}

.admin-user-detail,
.admin-billing-detail {
  padding: 20px;
}

.admin-detail-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  grid-gap: 18px;
  gap: 18px;
  align-items: start;
  border-bottom: 1px solid #deded8;
  padding-bottom: 18px;
}

.admin-detail-head h2 {
  font-size: 32px;
}

.admin-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 10px;
  gap: 10px;
  margin-top: 18px;
}

.admin-metric {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #deded8;
  background: #f7f7f5;
  padding: 14px;
}

.admin-metric span {
  color: #606476;
  font-size: 12px;
  font-weight: 900;
}

.admin-metric strong {
  margin-top: 12px;
  color: #00063d;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.admin-adjust-panel,
.admin-transaction-panel {
  margin-top: 18px;
  padding: 16px;
}

.admin-adjust-form {
  display: grid;
  grid-template-columns: 210px minmax(140px, 180px) minmax(0, 1fr) 150px;
  grid-gap: 12px;
  gap: 12px;
  align-items: end;
}

.admin-offline-form {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(110px, 140px) minmax(0, 1fr) 150px;
  grid-gap: 12px;
  gap: 12px;
  align-items: end;
}

.admin-offline-form label {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
}

.admin-offline-preview {
  margin: 12px 0 0;
  color: #424966;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
}

.admin-billing-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr)) 150px;
  grid-gap: 12px;
  gap: 12px;
  align-items: end;
}

.admin-billing-form label {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
}

.admin-billing-reason {
  grid-column: 1 / -2;
}

.admin-segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #00063d;
}

.admin-segmented button {
  border: 0;
  min-height: 42px;
}

.admin-segmented button.is-active {
  background: #00063d;
  color: #fff;
}

.admin-save-button {
  align-self: end;
}

.admin-transaction-table {
  overflow-x: auto;
}

.admin-transaction-row {
  min-width: 860px;
  display: grid;
  grid-template-columns: 170px 150px 90px 130px minmax(0, 1fr);
  grid-gap: 12px;
  gap: 12px;
  border-top: 1px solid #ededeb;
  padding: 12px 0;
  color: #00063d;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.admin-transaction-row.is-head {
  border-top: 0;
  color: #606476;
  font-size: 12px;
  font-weight: 900;
}

.admin-transaction-row span {
  overflow-wrap: anywhere;
}

.admin-transaction-row .is-credit {
  color: #1d7f00;
  font-weight: 900;
}

.admin-transaction-row .is-debit {
  color: #fa4028;
  font-weight: 900;
}

.admin-billing-table {
  overflow-x: auto;
}

.admin-billing-row {
  min-width: 980px;
  display: grid;
  grid-template-columns: 170px 80px 120px 210px 130px minmax(0, 1fr);
  grid-gap: 12px;
  gap: 12px;
  border-top: 1px solid #ededeb;
  padding: 12px 0;
  color: #00063d;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.admin-billing-row--jobs {
  grid-template-columns: 170px 130px minmax(180px, 1fr) 80px 120px 150px;
}

.admin-billing-row--pricing {
  grid-template-columns: 150px 110px 150px minmax(180px, 1fr) 90px 120px 96px;
}

.admin-pricing-actions {
  display: flex;
  align-items: center;
}

.admin-pricing-actions button,
.admin-pricing-edit-actions button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #00063d;
  background: #fff;
  color: #00063d;
  padding: 0 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.admin-pricing-actions button:disabled,
.admin-pricing-edit-actions button:disabled {
  border-color: #c9c9c2;
  background: #d7d7d1;
  color: #fff;
  cursor: not-allowed;
}

.admin-pricing-actions small {
  color: #606476;
  font-size: 12px;
  font-weight: 900;
}

.admin-pricing-edit-row {
  min-width: 980px;
  display: grid;
  grid-template-columns: 120px 120px minmax(240px, 1fr) 180px;
  grid-gap: 12px;
  gap: 12px;
  align-items: end;
  border-top: 1px solid #ededeb;
  background: #f7f7f5;
  padding: 12px;
}

.admin-pricing-edit-row label {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
}

.admin-pricing-edit-row span {
  color: #606476;
  font-size: 12px;
  font-weight: 900;
}

.admin-pricing-edit-error {
  grid-column: 1 / -1;
  margin: 0;
  color: #a32311;
  font-size: 13px;
  font-weight: 900;
}

.admin-pricing-edit-preview {
  grid-column: 1 / -2;
  margin: 0;
  color: #00063d;
  font-size: 13px;
  font-weight: 900;
}

.admin-pricing-edit-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.admin-pricing-edit-actions button:not(.is-secondary) {
  border-color: #fa4028;
  background: #fa4028;
  color: #fff;
}

.admin-billing-row.is-head {
  border-top: 0;
  color: #606476;
  font-size: 12px;
  font-weight: 900;
}

.admin-billing-row span {
  overflow-wrap: anywhere;
}

.admin-empty,
.admin-empty-state {
  color: #606476;
  font-size: 14px;
  font-weight: 800;
}

.admin-empty-state {
  min-height: 520px;
  display: grid;
  place-items: center;
  align-content: center;
  grid-gap: 14px;
  gap: 14px;
}

@media (max-width: 1080px) {
  .admin-header,
  .admin-credit-shell,
  .admin-billing-grid,
  .admin-detail-head,
  .admin-adjust-form,
  .admin-offline-form,
  .admin-billing-form,
  .admin-metric-grid {
    grid-template-columns: 1fr;
  }

  .admin-billing-reason {
    grid-column: auto;
  }

  .admin-tabs {
    justify-content: flex-start;
  }

  .admin-user-list,
  .admin-user-detail,
  .admin-billing-rules,
  .admin-billing-detail {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .admin-page {
    padding: 14px;
  }

  .admin-credit-search {
    grid-template-columns: 1fr;
  }

  .admin-header h1,
  .admin-gate h1,
  .admin-detail-head h2 {
    font-size: 30px;
  }
}

