﻿/* GrowSiteX UI Concept V1 - final override layer. */
:root {
  --bg: #f4f7fb;
  --panel: #ffffff;
  --panel-soft: #f8fbff;
  --text: #14213d;
  --muted: #64748b;
  --line: #d8e1ee;
  --line-soft: #e8eef6;
  --primary: #246bfe;
  --primary-weak: #e8f0ff;
  --success: #17a673;
  --warning: #d98c16;
  --danger: #d94f4f;
  --sidebar: #102a5c;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 14px 34px rgba(18, 38, 72, 0.06);
  --radius: 8px;
  --desktop-font: "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;
  --modal-top-clearance: 112px;
  --modal-bottom-clearance: 32px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--desktop-font);
  font-size: 14px;
}

.app-shell,
.app-shell.sidebar-collapsed {
  background: var(--bg);
  grid-template-columns: 252px minmax(0, 1fr);
}

.app-shell.sidebar-collapsed {
  grid-template-columns: 76px minmax(0, 1fr);
}

.sidebar {
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--sidebar);
  border-right: 0;
  color: #eaf2ff;
  box-shadow: none;
}

.brand {
  min-height: 62px;
  margin: 0 0 12px;
  padding: 4px 4px 18px;
  border-bottom: 1px solid rgba(216, 225, 238, 0.18);
}

.brand-logo-shell {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  box-shadow: none;
}

.brand-logo {
  width: 42px;
  height: 42px;
}

.brand-copy strong {
  color: #ffffff;
  font-size: 20px;
}

.brand-copy span {
  color: #b9c9e8;
}

.collapse-menu {
  flex: 0 0 auto;
  color: #dce9ff;
  border: 1px solid rgba(216, 225, 238, 0.18);
  background: rgba(255, 255, 255, 0.07);
}

.collapse-menu:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.nav {
  flex: 1 1 auto;
  min-height: 0;
  gap: 4px;
  overflow-x: hidden;
  overflow-y: auto;
  align-content: start;
  grid-auto-rows: max-content;
  padding: 2px 2px 8px 0;
}

.nav-group {
  gap: 3px;
}

.nav-group:not(.open) .subnav {
  display: none;
}

.nav button,
.nav-parent,
.subnav button {
  min-height: 40px;
  border-radius: 8px;
  color: #dbe8ff;
  background: transparent;
  font-weight: 650;
}

.sidebar .nav > button,
.sidebar .nav .nav-parent {
  height: 40px;
  min-height: 40px;
}

.sidebar .subnav button {
  height: 34px;
  min-height: 34px;
  color: #b9c9e8;
  font-weight: 500;
}

.nav button:hover,
.nav-parent:hover,
.subnav button:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
}

.nav button.active,
.nav-parent.active,
.subnav button.active {
  color: #ffffff;
  background: var(--primary);
  box-shadow: none;
}

.nav-group.open .nav-parent.active {
  background: rgba(255, 255, 255, 0.12);
}

.subnav {
  margin: 2px 0 8px 18px;
  padding-left: 10px;
  border-left: 1px solid rgba(216, 225, 238, 0.22);
}

.submark {
  color: currentColor;
  opacity: 0.72;
}

.main {
  background: var(--bg);
}

.topbar {
  min-height: 78px;
  padding: 17px 28px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}

.topbar h2 {
  color: var(--text);
  font-size: 23px;
  line-height: 1.15;
}

.topbar p,
.page-subtitle {
  color: var(--muted);
  font-size: 13px;
}

.profile-chip,
.profile-trigger {
  min-width: auto;
  height: 40px;
  padding: 6px 11px 6px 7px;
  gap: 10px;
  border: 1px solid #d6e2f5;
  border-radius: 999px;
  background: #f2f6ff;
  color: #26364f;
  box-shadow: none;
}

.profile-chip span:first-child,
.profile-trigger > span:first-child {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #ffffff;
  background: #12a8b5;
  border-radius: 50%;
  font-weight: 800;
}

.profile-name {
  max-width: 120px;
  overflow: hidden;
  color: #26364f;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-shell.sidebar-collapsed .profile-name {
  display: inline-block;
}

.profile-dropdown {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(18, 38, 72, 0.14);
}

.enterprise-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 3px;
  border: 1px solid #dbe7f7;
  border-radius: 19px;
  background: #f8fbff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.enterprise-switcher select {
  width: clamp(150px, 16vw, 260px);
  height: 30px;
  border: 0;
  outline: 0;
  color: #16325c;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
}

.enterprise-create-btn {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, #1fb6ff, #2563eb);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.enterprise-create-btn:hover {
  filter: brightness(1.04);
}

.content,
#view {
  padding: 22px 28px 30px;
}

.panel,
.home-panel,
.home-metric-card,
.home-summary-card,
.home-effect-card,
.materials-filter-panel,
.materials-table-panel,
.seo-filter-panel,
.seo-table-panel,
.publish-account-panel,
.publish-plan-panel,
.account-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.panel-head,
.home-panel-head,
.seo-table-panel .panel-head {
  min-height: 54px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.panel-head h2,
.panel-head h3,
.home-panel-head h3 {
  color: var(--text);
  font-size: 15px;
  font-weight: 750;
}

.panel-body,
.home-panel-body {
  padding: 16px;
}

.home-page,
.dashboard-page,
.materials-page,
.seo-page,
.seo-title-page,
.seo-article-page,
.publish-account-page,
.publish-plan-page {
  gap: 16px;
}

.home-metrics,
.home-summary-grid,
.grid.cols-4 {
  gap: 14px;
}

.home-metric-card,
.home-summary-card {
  min-height: 116px;
  padding: 16px;
}

.home-metric-main strong,
.home-summary-card strong,
.home-package-stats strong,
.home-token-stat strong {
  color: var(--text);
  font-size: 26px;
}

.home-metric-main span,
.home-summary-card p,
.home-package-stats span,
.home-token-stat span {
  color: var(--muted);
}

.home-metric-icon,
.home-summary-icon,
.home-effect-icon,
.home-quick-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--primary-weak);
  color: var(--primary);
}

.home-main-grid,
.home-bottom-grid {
  gap: 16px;
}

.home-effect-card {
  border-radius: 8px;
}

.materials-filter-panel,
.seo-filter-panel,
.filter-panel {
  padding: 0;
}

.materials-filter-grid,
.seo-filter-grid,
.filter-grid {
  gap: 10px;
  align-items: end;
  padding: 16px;
}

.materials-filter-item span,
.field span {
  margin-bottom: 7px;
  color: var(--text);
  font-size: 12px;
  font-weight: 750;
}

.input,
.select,
.textarea,
input,
select,
textarea {
  border: 1px solid #d7e1ef;
  border-radius: 7px;
  color: var(--text);
  background: #ffffff;
  box-shadow: none;
}

.input,
.select,
select {
  min-height: 38px;
}

.input:focus,
.select:focus,
.textarea:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(36, 107, 254, 0.16);
  border-color: #8fb0ff;
}

.btn,
.home-more-btn,
.materials-action,
.publish-account-link {
  min-height: 38px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 750;
}

.btn.primary,
.btn.teal {
  color: #ffffff;
  background: var(--primary);
  box-shadow: none;
}

.btn.primary:hover,
.btn.teal:hover {
  background: #1f5fe5;
}

.btn.ghost,
.btn.secondary,
.home-more-btn {
  color: var(--text);
  border: 1px solid transparent;
  background: #e8eef7;
}

.btn.ghost:hover,
.btn.secondary:hover,
.home-more-btn:hover {
  background: #dfe7f2;
}

.modal-head .btn.ghost {
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  color: #62718a;
  border-color: transparent;
  border-radius: 8px;
  background: transparent;
}

.modal-head .btn.ghost:hover {
  color: #172033;
  background: #eef4ff;
}

.modal-head .btn.ghost svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn.danger,
.materials-action.delete {
  color: #ffffff;
  background: var(--danger);
}

.table-wrap,
.materials-table-panel {
  overflow: hidden;
  border-radius: 8px;
}

table,
.materials-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

thead th,
.materials-table th {
  padding: 12px 14px;
  color: #52647c;
  background: #f4f7fb;
  border-bottom: 1px solid var(--line);
  font-weight: 750;
}

tbody td,
.materials-table td {
  padding: 14px;
  color: #334155;
  border-bottom: 1px solid #edf2f8;
}

tbody tr:hover td,
.materials-table tbody tr:hover td {
  background: #fbfdff;
}

.materials-status,
.home-status,
.tag,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

.materials-status.enabled,
.home-status.success,
.tag.approved,
.tag.published {
  color: #0b7f57;
  background: #e4f8f0;
}

.home-status.warning,
.tag.pending,
.tag.pending_publish,
.tag.publishing {
  color: #9a640e;
  background: #fff2d8;
}

.materials-status.disabled,
.home-status.danger,
.tag.rejected,
.tag.publish_failed {
  color: #b84242;
  background: #ffe8e8;
}

.empty,
.empty-state {
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 34px;
  color: var(--muted);
  text-align: center;
}

.empty::before,
.empty-state::before {
  content: "+";
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  place-items: center;
  color: var(--primary);
  background: var(--primary-weak);
  border: 1px solid #c9d8ff;
  border-radius: 10px;
  font-size: 24px;
  font-weight: 800;
}

.empty strong,
.empty-state strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 17px;
}

.empty p,
.empty-state p {
  max-width: 430px;
  margin: 0 auto 16px;
  color: var(--muted);
  line-height: 1.7;
}

.empty .btn,
.empty-state .btn {
  margin: 0 auto;
}

.materials-footer,
.publish-account-footer,
.seo-footer,
.pager {
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.pager-btn,
.materials-pager button {
  border-radius: 7px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.pager-btn.active,
.materials-pager button.active {
  color: #ffffff;
  border-color: var(--primary);
  background: var(--primary);
}

.modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 10000 !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  overflow: auto !important;
  padding: var(--modal-top-clearance) 24px var(--modal-bottom-clearance) !important;
  scroll-padding-top: var(--modal-top-clearance);
  background: rgba(15, 23, 42, 0.42);
}

.modal {
  position: relative !important;
  z-index: 10001 !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  max-height: calc(100vh - var(--modal-top-clearance) - var(--modal-bottom-clearance)) !important;
  overflow: hidden !important;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.24);
}

.modal-head {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.modal-head h3 {
  color: var(--text);
  font-size: 16px;
}

.modal-body {
  max-height: calc(100vh - var(--modal-top-clearance) - var(--modal-bottom-clearance) - 86px);
  overflow: auto;
}

@media (max-height: 760px) {
  :root {
    --modal-top-clearance: 96px;
    --modal-bottom-clearance: 20px;
  }
}

.confirm-btn,
.confirm-modal .confirm-btn {
  border-radius: 7px;
}

/* Auto mode language multi-select v20260609-201857-auto-mode-language-multiselect */
.auto-mode-language-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 2px 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.auto-mode-language-head strong {
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.auto-mode-language-head strong.is-warning {
  color: var(--danger);
}

.auto-mode-language-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 10px;
}

.auto-mode-language-option {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: #43536b;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.auto-mode-language-option:hover {
  border-color: #9db9f8;
  background: #f7faff;
}

.auto-mode-language-option.checked {
  border-color: var(--primary);
  background: var(--primary-weak);
  color: var(--primary);
  box-shadow: inset 0 0 0 1px rgba(36, 107, 254, 0.08);
}

.auto-mode-language-option input {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  accent-color: var(--primary);
}

.auto-mode-language-option span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Enterprise region controls v20260609-202934-enterprise-region-controls */
.enterprise-country-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
  padding: 0 2px 6px;
  border-bottom: 1px solid #e4ebf5;
}

.enterprise-country-nav-head span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.enterprise-country-nav-head button,
.enterprise-city-toolbar button {
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid #cbdaf1;
  border-radius: 7px;
  background: #ffffff;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.enterprise-country-nav-head button:hover,
.enterprise-city-toolbar button:hover {
  border-color: #9ebcf8;
  background: #f2f7ff;
}

.enterprise-country-btn.has-selected:not(.active) {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1f5de8;
  background: #edf4ff;
}

.enterprise-country-btn.has-selected:not(.active)::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: auto;
  border-radius: 50%;
  background: currentColor;
}

.enterprise-city-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid #e4ebf5;
  border-radius: 7px;
  background: #f8fbff;
}

.enterprise-city-toolbar span {
  min-width: 0;
  color: #43536b;
  overflow: hidden;
  font-size: 13px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Enterprise intro removal v20260609-203638-enterprise-intro-remove */
.enterprise-grid-bottom {
  grid-template-columns: 1fr;
}

/* Enterprise classification library v20260609-204541-enterprise-industry-scope-classification */
.enterprise-tag-group-classification {
  max-height: 186px;
  overflow-y: auto;
  align-content: flex-start;
  padding-right: 4px;
}

.enterprise-tag-group-classification .enterprise-tag-chip {
  min-height: 34px;
  height: auto;
  white-space: normal;
  line-height: 1.25;
  padding: 6px 10px;
}

/* Enterprise industry-scope linkage v20260609-210335-enterprise-industry-scope-linkage */
.enterprise-scope-empty {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  border: 1px dashed #cfd9e8;
  border-radius: 8px;
  color: #70809a;
  background: #f8fbff;
  font-size: 13px;
}

/* Enterprise region picker compact UI v20260610-131848-enterprise-region-ui */
.enterprise-region-shell {
  height: 460px;
  min-height: 0;
  grid-template-columns: 220px minmax(0, 1fr);
}

.enterprise-country-nav {
  min-height: 0;
  overflow: hidden;
}

.enterprise-country-btn {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex: 0 0 auto;
}

.enterprise-country-btn span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.enterprise-country-btn strong {
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(43, 109, 244, 0.12);
  color: #1f5de8;
  font-size: 11px;
  line-height: 1;
}

.enterprise-country-btn.active strong {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.enterprise-country-btn.has-selected:not(.active)::after {
  display: none;
}

.enterprise-city-pane {
  min-height: 0;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  overflow: hidden;
}

.enterprise-city-selected {
  max-height: 34px;
  min-height: 28px;
  overflow: hidden;
  flex-wrap: nowrap;
  align-items: center;
  padding-right: 4px;
}

.enterprise-region-panel.is-selected-expanded .enterprise-city-selected {
  max-height: 116px;
  overflow-y: auto;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
}

.enterprise-selected-chip {
  height: auto;
  min-height: 28px;
  padding: 4px 10px;
  line-height: 1.2;
}

.enterprise-city-grid {
  min-height: 0;
  overflow-y: auto;
  padding: 2px 4px 8px 2px;
}

.enterprise-city-chip {
  height: auto;
  min-height: 32px;
  padding: 6px 10px;
  line-height: 1.2;
}

.enterprise-city-empty {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #cfd9e8;
  border-radius: 8px;
  color: #70809a;
  background: #f8fbff;
  font-size: 13px;
}

.enterprise-city-empty[hidden] {
  display: none;
}

@media (max-width: 980px) {
  .app-shell,
  .app-shell.sidebar-collapsed {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
    height: auto;
  }

  .materials-filter-grid,
  .seo-filter-grid,
  .filter-grid {
    grid-template-columns: 1fr;
  }

  .auto-mode-language-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .enterprise-city-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .enterprise-region-shell {
    height: auto;
    grid-template-columns: 1fr;
  }

  .enterprise-country-nav {
    max-height: 220px;
    border-right: 0;
    border-bottom: 1px solid #e4ebf5;
  }

  .enterprise-city-pane {
    min-height: 420px;
  }
}

/* Auth UI v20260609-200025-auth-ui-refine */
.auth-page {
  min-height: 100vh;
  padding: clamp(22px, 3vh, 34px) clamp(20px, 4vw, 72px);
  overflow: auto;
  background: linear-gradient(135deg, #eaf3ff 0%, #f8fbff 46%, #edf5ff 100%);
}

.auth-page::before,
.auth-page::after {
  display: none;
}

.auth-card,
.auth-card-login,
.auth-card-register {
  width: min(1088px, calc(100vw - 64px));
  min-height: 540px;
  height: auto;
  grid-template-columns: minmax(420px, 1fr) minmax(420px, 1fr);
  border: 1px solid rgba(191, 205, 226, 0.82);
  border-radius: 10px;
  box-shadow: 0 18px 48px rgba(18, 52, 112, 0.18);
}

.auth-card-login {
  height: min(580px, calc(100vh - 64px));
}

.auth-register .auth-card-login,
.auth-card-register {
  min-height: 620px;
}

.auth-card-forgot {
  width: min(1040px, calc(100vw - 64px));
  min-height: 560px;
}

.auth-side {
  position: relative;
  padding: 42px 46px 34px;
  overflow: hidden;
  color: #ffffff;
  border-right: 0;
  background: linear-gradient(145deg, #0b2d78 0%, #0d3fb4 56%, #0b57f0 100%);
}

.auth-side::before {
  content: "";
  position: absolute;
  display: block;
  top: -96px;
  right: -148px;
  width: 430px;
  height: 430px;
  border: 72px solid rgba(124, 173, 255, 0.08);
  border-radius: 50%;
}

.auth-side::after {
  content: "";
  position: absolute;
  display: block;
  right: -56px;
  bottom: -88px;
  width: 520px;
  height: 220px;
  border-top: 1px solid rgba(145, 190, 255, 0.25);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.auth-logo-row {
  gap: 12px;
  margin-bottom: 30px;
}

.auth-logo {
  width: 42px;
  height: 42px;
  filter: none;
}

.auth-logo-row strong {
  color: #ffffff;
  font-size: 29px;
  line-height: 1;
}

.auth-side h1 {
  color: #ffffff;
  margin: 0 0 18px;
  font-size: 29px;
  line-height: 1.22;
}

.auth-side p {
  max-width: 440px;
  color: rgba(236, 244, 255, 0.86);
  font-size: 14px;
  line-height: 1.85;
}

.auth-feature-list {
  gap: 18px;
  margin-top: 34px;
}

.auth-feature {
  align-items: center;
  gap: 14px;
}

.auth-feature span {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  color: #ffffff;
  border: 1px solid rgba(135, 185, 255, 0.3);
  border-radius: 50%;
  background: rgba(34, 104, 245, 0.78);
  box-shadow: 0 10px 24px rgba(0, 30, 100, 0.24);
}

.auth-feature svg,
.auth-input svg,
.auth-safe svg,
.auth-methods svg {
  width: 18px;
  height: 18px;
}

.auth-feature div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.auth-feature strong {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.25;
}

.auth-feature em {
  color: rgba(226, 238, 255, 0.78);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.auth-visual {
  left: 42px;
  right: 28px;
  bottom: 0;
  height: 118px;
  opacity: 0.42;
}

.auth-visual span,
.auth-visual em {
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(91, 155, 255, 0.28), rgba(36, 94, 219, 0.14));
}

.auth-visual span:nth-child(1) {
  width: 118px;
  height: 70px;
}

.auth-visual span:nth-child(2) {
  left: 142px;
  width: 114px;
  height: 86px;
}

.auth-visual span:nth-child(3) {
  width: 126px;
  height: 66px;
}

.auth-visual em {
  left: 164px;
  width: 82px;
  height: 50px;
}

.auth-form {
  align-content: center;
  justify-items: center;
  padding: 36px clamp(36px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.97);
}

.auth-register .auth-form {
  align-content: center;
}

.auth-tabs,
.auth-form-inner {
  width: min(430px, 100%);
}

.auth-tabs {
  margin-bottom: 18px;
}

.auth-tabs button,
.auth-register .auth-tabs button {
  height: 42px;
  font-size: 14px;
}

.auth-tabs button.active,
.auth-register .auth-tabs button.active {
  box-shadow: inset 0 -2px 0 var(--primary);
}

.auth-form-inner {
  gap: 15px;
}

.register-inner {
  gap: 12px;
}

.auth-methods {
  border-radius: 6px;
}

.auth-methods button {
  height: 38px;
  font-size: 13px;
}

.auth-field {
  gap: 7px;
}

.auth-field > span {
  font-size: 13px;
}

.auth-input {
  min-height: 44px;
  gap: 9px;
  padding: 0 12px;
  border-radius: 6px;
}

.auth-input input,
.auth-input select {
  height: 42px;
  font-size: 13px;
}

.auth-input i {
  width: 18px;
  flex: 0 0 18px;
}

.phone-input {
  padding: 0;
}

.phone-input select {
  flex: 0 0 112px;
  padding: 0 10px;
}

.phone-input input {
  padding: 0 12px;
}

.code-input button {
  min-width: 118px;
  padding: 0 14px;
  font-size: 13px;
}

.auth-eye {
  width: 28px;
  height: 28px;
}

.auth-options {
  margin-top: -2px;
  font-size: 13px;
}

.auth-options input,
.auth-agree input {
  width: 14px;
  height: 14px;
}

.auth-submit {
  height: 46px;
  border-radius: 6px;
  font-size: 15px;
  box-shadow: 0 10px 22px rgba(33, 108, 244, 0.24);
}

.auth-divider {
  gap: 14px;
  color: #8a96aa;
  font-size: 12px;
}

.auth-secondary {
  height: 42px;
  font-size: 13px;
}

.auth-safe,
.auth-tip,
.auth-agree,
.auth-bottom {
  font-size: 12px;
}

.auth-safe {
  margin-top: 2px;
}

.auth-tip {
  margin-top: -2px;
}

.auth-bottom {
  margin-top: 0;
}

@media (max-width: 980px) {
  .auth-card,
  .auth-card-login,
  .auth-card-register,
  .auth-card-forgot {
    width: min(640px, calc(100vw - 32px));
    min-height: 0;
    height: auto;
    grid-template-columns: 1fr;
  }

  .auth-side {
    min-height: 270px;
    padding: 24px 24px 82px;
  }

  .auth-logo-row {
    margin-bottom: 20px;
  }

  .auth-side h1 {
    font-size: 24px;
  }

  .auth-feature-list {
    display: none;
  }

  .auth-visual {
    left: 24px;
    right: 22px;
    height: 66px;
  }

  .auth-form {
    padding: 26px 20px 28px;
  }
}

/* Publish plan: keep the five KPI cards in one desktop row. */
.publish-plan-page .publish-plan-kpi-grid.publish-plan-kpi-grid--single-row {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* Article management: keep all five KPI cards on one desktop row. */
.seo-article-page .seo-article-kpi-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.seo-article-page .seo-article-kpi-grid .publish-kpi-card {
  min-width: 0;
}

/* Keyword generation modal: reserve enough header height for the description text. */
.seo-generate-modal {
  --seo-generate-head-height: 108px;
}

.seo-generate-modal .seo-generate-head {
  min-height: var(--seo-generate-head-height);
  box-sizing: border-box;
  padding: 22px 28px 16px;
  gap: 18px;
}

.seo-generate-modal .seo-generate-head > div {
  min-width: 0;
  padding-right: 24px;
}

.seo-generate-modal .seo-generate-head p {
  max-width: 1120px;
  margin-top: 8px;
  overflow: visible;
  color: #687892;
  font-size: 15px;
  line-height: 1.65;
  white-space: normal;
}

.seo-generate-modal .modal-body {
  max-height: calc(100vh - 16px - var(--seo-generate-head-height)) !important;
}

@media (max-width: 1160px) {
  .seo-article-page .seo-article-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .publish-plan-page .publish-plan-kpi-grid.publish-plan-kpi-grid--single-row {
    grid-template-columns: 1fr;
  }

  .seo-article-page .seo-article-kpi-grid {
    grid-template-columns: 1fr;
  }
}

/* GrowSiteX secondary development: keyword-driven content workflow. */
.growth-workbench {
  display: grid;
  gap: 16px;
}

.growth-workbench {
  margin-bottom: 16px;
}

.growth-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  align-items: stretch;
  padding: 22px;
  border: 1px solid #dbe4f2;
  border-radius: 8px;
  background: #f8fbff;
}

.growth-hero-main {
  min-width: 0;
}

.growth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #1d5fd7;
  font-size: 13px;
  font-weight: 700;
}

.growth-eyebrow svg,
.growth-hero-actions svg {
  width: 16px;
  height: 16px;
}

.growth-hero h2 {
  margin: 10px 0 8px;
  color: #14213d;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: 0;
}

.growth-hero p {
  max-width: 760px;
  margin: 0;
  color: #526171;
  font-size: 14px;
  line-height: 1.7;
}

.growth-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.growth-hero-side {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
  padding: 16px;
  border: 1px solid #dce6f5;
  border-radius: 8px;
  background: #ffffff;
}

.growth-hero-side span,
.growth-hero-side em {
  color: #677589;
  font-size: 12px;
  font-style: normal;
}

.growth-hero-side strong {
  color: #15325f;
  font-size: 34px;
  line-height: 1;
  letter-spacing: 0;
}

.growth-progress {
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 8px;
  background: #e8edf5;
}

.growth-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #1f6feb;
}

.growth-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(136px, 1fr));
  gap: 10px;
}

.growth-step {
  display: grid;
  grid-template-columns: auto 30px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 7px 9px;
  min-height: 128px;
  padding: 14px;
  border: 1px solid #dce4ef;
  border-radius: 8px;
  background: #ffffff;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.growth-step:hover {
  border-color: #9fbee8;
  box-shadow: 0 10px 24px rgba(25, 54, 92, 0.09);
  transform: translateY(-1px);
}

.growth-step-index {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #edf3ff;
  color: #1d5fd7;
  font-size: 12px;
  font-weight: 800;
}

.growth-step-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #f0f5ff;
  color: #1d5fd7;
}

.growth-step-icon svg {
  width: 17px;
  height: 17px;
}

.growth-step-text {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.growth-step-text strong {
  color: #172033;
  font-size: 14px;
  line-height: 1.2;
}

.growth-step-text em {
  color: #657386;
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.growth-step-value {
  grid-column: 1 / -1;
  align-self: end;
  min-height: 24px;
  color: #233a5c;
  font-size: 13px;
  font-weight: 800;
}

.growth-step.ready .growth-step-index,
.growth-step.ready .growth-step-icon {
  background: #eaf8f0;
  color: #118044;
}

.growth-step.warning .growth-step-index,
.growth-step.warning .growth-step-icon {
  background: #fff4e2;
  color: #ad6500;
}

.growth-ops-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 16px;
}

.growth-next,
.growth-logic {
  border: 1px solid #dce4ef;
  border-radius: 8px;
  background: #ffffff;
}

.growth-next,
.growth-logic {
  padding: 16px;
}

.growth-section-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.growth-section-head h3 {
  margin: 0;
  color: #182236;
  font-size: 16px;
  letter-spacing: 0;
}

.growth-section-head span {
  color: #7a8798;
  font-size: 12px;
  text-align: right;
}

.growth-action-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.growth-action {
  display: grid;
  grid-template-columns: 4px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  gap: 4px 10px;
  min-height: 84px;
  padding: 12px;
  border: 1px solid #e1e7f0;
  border-radius: 8px;
  background: #fbfdff;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.growth-action > span {
  grid-row: 1 / 3;
  width: 4px;
  border-radius: 8px;
  background: #1f6feb;
}

.growth-action.green > span {
  background: #16a05d;
}

.growth-action.orange > span {
  background: #d97706;
}

.growth-action.purple > span {
  background: #7c5cc4;
}

.growth-action.red > span {
  background: #d84848;
}

.growth-action.cyan > span {
  background: #0891b2;
}

.growth-action strong {
  min-width: 0;
  color: #172033;
  font-size: 14px;
}

.growth-action em {
  min-width: 0;
  color: #66758a;
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.growth-action b {
  align-self: center;
  grid-row: 1 / 3;
  color: #1d5fd7;
  font-size: 12px;
  white-space: nowrap;
}

.growth-logic-chain {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.growth-logic-chain span {
  padding: 6px 9px;
  border: 1px solid #dce5f2;
  border-radius: 8px;
  background: #f7faff;
  color: #263b5d;
  font-size: 12px;
  font-weight: 700;
}

.growth-logic-chain i {
  color: #8a98aa;
  font-style: normal;
}

.growth-logic-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.growth-logic-metrics article {
  display: grid;
  gap: 5px;
  padding: 10px;
  border-radius: 8px;
  background: #f6f8fb;
}

.growth-logic-metrics span {
  color: #68778a;
  font-size: 12px;
}

.growth-logic-metrics strong {
  color: #132542;
  font-size: 18px;
  letter-spacing: 0;
}

.modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 18px 18px;
  border-top: 1px solid #e5eaf2;
}

@media (max-width: 1280px) {
  .growth-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .growth-ops-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .growth-hero {
    grid-template-columns: 1fr;
  }

  .growth-hero {
    display: grid;
  }

  .growth-flow,
  .growth-action-list,
  .growth-logic-metrics {
    grid-template-columns: 1fr;
  }

  .growth-hero-actions {
    width: 100%;
  }

  .growth-hero-actions .btn {
    flex: 1 1 160px;
  }
}

