:root {
  --green: #28cd41;
  --green-deep: #1fa435;
  --green-soft: #dff9e5;
  --bg-main: #f5f5f7;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-solid: #ffffff;
  --bg-dark: #0f1112;
  --text-primary: #1d1d1f;
  --text-secondary: #6e6e73;
  --border: rgba(29, 29, 31, 0.08);
  --shadow-lg: 0 30px 70px rgba(30, 40, 35, 0.12);
  --shadow-md: 0 18px 42px rgba(30, 40, 35, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Noto Sans SC", "SF Pro Display", "PingFang SC", sans-serif;
  color: var(--text-primary);
  background:
    radial-gradient(circle at top left, rgba(40, 205, 65, 0.22), transparent 24%),
    radial-gradient(circle at 90% 10%, rgba(40, 205, 65, 0.14), transparent 18%),
    linear-gradient(180deg, #fbfcfb 0%, var(--bg-main) 36%, #eef6ef 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.page-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(245, 245, 247, 0.72);
  border-bottom: 1px solid rgba(29, 29, 31, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.5)),
    linear-gradient(145deg, var(--green), #67e47a);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 12px 20px rgba(40, 205, 65, 0.22);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.4));
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-text strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.brand-text em {
  font-style: normal;
  color: var(--text-secondary);
  font-size: 0.72rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav > a,
.nav-group-toggle {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-group-toggle::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.58;
  transform: translateY(1px);
}

.site-nav > a:hover,
.nav-group-toggle:hover,
.nav-group:hover .nav-group-toggle {
  background: rgba(255, 255, 255, 0.9);
  color: var(--green-deep);
}

.nav-login {
  background: var(--green);
  color: #fff;
}

.nav-login:hover {
  background: var(--green-deep);
  color: #fff;
}

.nav-group {
  position: relative;
}

.nav-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 268px;
  display: grid;
  gap: 2px;
  padding: 8px 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(29, 29, 31, 0.07);
  box-shadow: 0 18px 44px rgba(29, 29, 31, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  z-index: 80;
}

.nav-panel a {
  padding: 10px 18px;
  border-radius: 0;
  color: var(--text-primary);
  font-size: 0.94rem;
  line-height: 1.35;
  white-space: nowrap;
}

.nav-panel a:hover {
  background: rgba(40, 205, 65, 0.09);
  color: var(--text-primary);
}

.nav-group:hover .nav-panel,
.nav-group:focus-within .nav-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-primary);
}

.section {
  padding: 88px 0;
}

.hero-section {
  padding: 48px 0 88px;
}

.hero-grid,
.split-grid,
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: center;
}

.hero-copy,
.hero-visual,
.split-copy,
.split-panel,
.contact-card,
.qr-card {
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--green-deep);
  border: 1px solid rgba(40, 205, 65, 0.16);
  font-size: 0.84rem;
  font-weight: 700;
}

.hero-copy h1,
.section-head h2,
.split-copy h2,
.about-copy h2,
.contact-card h2 {
  margin: 18px 0 16px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.section-head h2,
.split-copy h2,
.about-copy h2,
.contact-card h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.hero-text,
.section-head p,
.split-copy p,
.about-copy p,
.contact-card p,
.qr-card p {
  margin: 0;
  max-width: 62ch;
  color: var(--text-secondary);
  line-height: 1.78;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin: 28px 0 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:disabled {
  cursor: wait;
  opacity: 0.66;
  transform: none;
  box-shadow: none;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 18px 30px rgba(40, 205, 65, 0.24);
}

.button-primary:hover {
  background: var(--green-deep);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.74);
  border-color: var(--border);
}

.hero-points {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--text-secondary);
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-points li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(40, 205, 65, 0.12);
}

.hero-visual {
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glass-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
}

.orb-a {
  width: 240px;
  height: 240px;
  top: 30px;
  right: 40px;
  background: radial-gradient(circle, rgba(40, 205, 65, 0.34), rgba(40, 205, 65, 0.02));
}

.orb-b {
  width: 180px;
  height: 180px;
  bottom: 35px;
  left: 20px;
  background: radial-gradient(circle, rgba(156, 235, 168, 0.46), rgba(156, 235, 168, 0.02));
}

.showcase-card {
  position: absolute;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: var(--bg-card);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow-lg);
}

.showcase-main {
  inset: 50px 20px 60px 60px;
  padding: 28px;
}

.showcase-main h2 {
  margin: 18px 0 10px;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.showcase-main p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.showcase-top,
.metric-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tiny-pill,
.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  min-height: 34px;
  padding: 0 14px;
  font-size: 0.82rem;
  font-weight: 700;
}

.tiny-pill {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.status-pill {
  background: rgba(40, 205, 65, 0.14);
  color: var(--green-deep);
}

.metric-strip {
  margin-top: 26px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(248, 255, 249, 0.95), rgba(227, 249, 231, 0.9));
  border: 1px solid rgba(40, 205, 65, 0.12);
}

.metric-strip div {
  display: grid;
  gap: 4px;
}

.metric-strip strong {
  font-size: 1.3rem;
}

.metric-strip span {
  color: var(--text-secondary);
  font-size: 0.84rem;
}

.showcase-float {
  right: 0;
  top: 10px;
  width: 220px;
  padding: 18px 20px;
}

.showcase-float ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.showcase-mini {
  left: 10px;
  bottom: 0;
  width: 220px;
  padding: 18px 20px;
}

.showcase-mini p {
  margin: 12px 0 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

.section-head {
  margin-bottom: 34px;
}

.product-grid,
.guide-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.product-card,
.guide-card,
.service-card,
.plan-card,
.info-card,
.contact-card,
.qr-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(29, 29, 31, 0.07);
  box-shadow: var(--shadow-md);
}

.product-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
}

.product-index,
.guide-card span {
  color: var(--green-deep);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-card h3,
.guide-card h3,
.service-card h3,
.plan-card h3,
.qr-card h3 {
  margin: 18px 0 12px;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
}

.product-card p,
.guide-card p,
.service-card p,
.plan-card p,
.info-card li,
.contact-list span,
.contact-list strong {
  color: var(--text-secondary);
  line-height: 1.76;
}

.product-card a {
  margin-top: auto;
  color: var(--green-deep);
  font-weight: 800;
}

.split-section {
  padding-top: 24px;
}

.plan-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.plan-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.plan-card strong {
  font-size: 1.1rem;
}

.plan-card.featured {
  background: linear-gradient(180deg, rgba(40, 205, 65, 0.14), rgba(255, 255, 255, 0.9));
  border-color: rgba(40, 205, 65, 0.18);
}

.info-card ol {
  display: grid;
  gap: 14px;
  margin: 20px 0 28px;
  padding-left: 22px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.about-grid {
  align-items: start;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.stats-grid article {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(29, 29, 31, 0.07);
  box-shadow: var(--shadow-md);
}

.stats-grid strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.05em;
}

.stats-grid span {
  color: var(--text-secondary);
}

.contact-grid {
  align-items: stretch;
}

.contact-list {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  gap: 8px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(29, 29, 31, 0.07);
}

.contact-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.qr-box {
  width: 190px;
  height: 190px;
  margin-top: 18px;
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(29, 29, 31, 0.98) 8px, transparent 8px) 0 0 / 24px 24px,
    linear-gradient(rgba(29, 29, 31, 0.98) 8px, transparent 8px) 0 0 / 24px 24px,
    linear-gradient(135deg, rgba(40, 205, 65, 0.16), rgba(255, 255, 255, 0.8));
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.72), var(--shadow-md);
}

.site-footer {
  padding: 24px 0 42px;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(29, 29, 31, 0.08);
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .product-grid,
  .guide-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .split-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 500px;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    display: none;
    padding: 16px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(29, 29, 31, 0.07);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav > a,
  .nav-group-toggle {
    width: 100%;
    text-align: left;
    padding: 12px 14px;
  }

  .nav-group {
    width: 100%;
  }

  .nav-panel {
    position: static;
    min-width: 0;
    display: none;
    margin-top: 6px;
    padding: 8px 0;
    border-radius: 16px;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: #f7f8f7;
  }

  .nav-group.is-open .nav-panel {
    display: grid;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 11vw, 3.6rem);
  }

  .showcase-main {
    inset: 40px 16px 74px 16px;
  }

  .showcase-float {
    top: 0;
    right: 10px;
    width: 200px;
  }

  .showcase-mini {
    left: 10px;
    bottom: 10px;
    width: 180px;
  }

  .footer-wrap,
  .plan-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100vw - 24px, 100%);
  }

  .section,
  .hero-section {
    padding: 68px 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .product-grid,
  .guide-grid,
  .service-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 460px;
  }

  .showcase-main {
    padding: 22px;
  }

  .showcase-main h2 {
    font-size: 1.56rem;
  }

  .metric-strip {
    grid-template-columns: 1fr;
    flex-wrap: wrap;
  }

  .qr-box {
    width: 168px;
    height: 168px;
  }
}

button,
input {
  font: inherit;
}

.site-nav,
.auth-slot {
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-slot a,
.auth-slot button {
  padding: 10px 14px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.auth-slot a:hover,
.auth-slot button:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--green-deep);
}

.auth-slot .nav-login {
  background: var(--green);
  color: #fff;
}

.auth-slot .nav-login:hover {
  background: var(--green-deep);
  color: #fff;
}

.page-hero-compact {
  padding: 72px 0 28px;
}

.page-hero-compact h1 {
  margin: 18px 0 14px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.page-hero-compact p {
  margin: 0;
  max-width: 60ch;
  color: var(--text-secondary);
  line-height: 1.76;
}

.help-topbar {
  padding: 22px 0;
  border-bottom: 1px solid rgba(29, 29, 31, 0.06);
  background: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(14px);
}

.help-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.help-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.help-tabs a,
.help-sidebar a,
.role-grid a,
.feedback-actions button {
  border: 1px solid rgba(29, 29, 31, 0.08);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text-primary);
}

.help-tabs a {
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
}

.help-tabs a:hover,
.help-tabs a.is-active,
.help-sidebar a:hover,
.help-sidebar a.is-active,
.role-grid a:hover,
.feedback-actions button:hover {
  background: var(--green-soft);
  border-color: rgba(40, 205, 65, 0.2);
  color: var(--green-deep);
}

.help-search {
  min-width: min(360px, 100%);
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-secondary);
}

.help-search span {
  font-weight: 800;
  color: var(--green-deep);
}

.help-search input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text-primary);
}

.linked-tutorial-section {
  padding: 0;
}

.linked-tutorials:not(.is-hidden) {
  margin-top: 34px;
}

.help-article-section {
  padding-top: 24px;
}

.help-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.help-sidebar {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(29, 29, 31, 0.07);
  box-shadow: var(--shadow-md);
}

.help-sidebar a {
  padding: 12px 14px;
  border-radius: 16px;
  color: var(--text-secondary);
  font-weight: 700;
}

.help-article {
  display: grid;
  gap: 22px;
}

.help-article-head,
.path-summary,
.article-pager,
.feedback-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.help-article-head,
.learning-path,
.help-solution,
.feedback-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(29, 29, 31, 0.07);
  box-shadow: var(--shadow-md);
}

.help-article-head h1 {
  margin: 18px 0 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.doc-version {
  flex: 0 0 auto;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(40, 205, 65, 0.1);
  color: var(--green-deep);
  font-size: 0.84rem;
  font-weight: 800;
}

.article-lede {
  margin: 0;
  padding: 0 6px;
  color: var(--text-secondary);
  line-height: 1.9;
  font-size: 1.04rem;
}

.learning-path {
  display: grid;
  gap: 22px;
}

.path-summary {
  align-items: flex-start;
}

.path-summary h2,
.help-solution h2,
.feedback-card h2 {
  margin: 0 0 10px;
  letter-spacing: -0.03em;
}

.path-summary p,
.path-steps span,
.help-solution p,
.feedback-card p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.76;
}

.path-summary > strong {
  flex: 0 0 auto;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(29, 29, 31, 0.04);
  color: var(--text-primary);
  font-size: 0.92rem;
}

.path-index {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
}

.path-body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: 22px;
  align-items: start;
}

.path-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: help-step;
}

.path-steps li {
  position: relative;
  display: grid;
  gap: 6px;
  padding-left: 48px;
  min-height: 38px;
}

.path-steps li::before {
  counter-increment: help-step;
  content: counter(help-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(40, 205, 65, 0.12);
  color: var(--green-deep);
  font-size: 0.8rem;
  font-weight: 800;
}

.path-steps strong {
  color: var(--text-primary);
}

.path-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.path-features li {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(245, 245, 247, 0.84);
  color: var(--text-secondary);
  font-weight: 700;
}

.linked-tutorials {
  display: grid;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(29, 29, 31, 0.07);
  box-shadow: var(--shadow-md);
}

.linked-tutorials.is-hidden {
  display: none;
}

.linked-tutorials-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.linked-tutorials-head h2 {
  margin: 8px 0 0;
  letter-spacing: -0.03em;
}

.tutorial-product-select {
  min-width: min(260px, 100%);
  display: grid;
  gap: 8px;
}

.tutorial-product-select span {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 800;
}

.tutorial-product-select select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  background: rgba(255, 255, 255, 0.94);
  color: var(--text-primary);
  font: inherit;
  font-weight: 700;
  outline: none;
}

.linked-tutorial-list {
  display: grid;
  gap: 12px;
}

.linked-tutorial-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 72px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(29, 29, 31, 0.07);
  background: rgba(245, 245, 247, 0.78);
}

.linked-tutorial-link:hover {
  border-color: rgba(40, 205, 65, 0.22);
  background: var(--green-soft);
}

.linked-tutorial-index {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
}

.linked-tutorial-link strong,
.linked-tutorial-link span,
.linked-tutorial-link em {
  min-width: 0;
}

.linked-tutorial-link strong {
  color: var(--text-primary);
}

.linked-tutorial-link span {
  margin-top: 4px;
  display: block;
  color: var(--text-secondary);
  line-height: 1.55;
}

.linked-tutorial-link em {
  color: var(--green-deep);
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 800;
}

.role-grid,
.solution-grid,
.feedback-tags {
  display: grid;
  gap: 12px;
}

.role-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.role-grid a {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  font-weight: 800;
}

.path-steps.compact {
  margin-top: 4px;
}

.solution-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.solution-grid a {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 250, 245, 0.9));
  border: 1px solid rgba(29, 29, 31, 0.07);
}

.solution-grid span {
  color: var(--green-deep);
  font-weight: 800;
}

.article-pager a {
  width: 50%;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(29, 29, 31, 0.07);
  color: var(--text-secondary);
  font-weight: 800;
}

.article-pager a:last-child {
  text-align: right;
}

.feedback-card {
  display: grid;
  gap: 16px;
}

.feedback-actions {
  justify-content: flex-start;
}

.feedback-actions button {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
}

.feedback-tags {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feedback-tags span {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(29, 29, 31, 0.04);
  color: var(--text-secondary);
  font-size: 0.92rem;
  text-align: center;
}

.video-hero {
  padding-bottom: 42px;
}

.video-tutorial-section {
  padding-top: 18px;
}

.video-tutorial-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.video-tutorial-head h2 {
  margin: 10px 0 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.04em;
}

.video-tutorial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.video-tutorial-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  min-height: 230px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(29, 29, 31, 0.07);
  box-shadow: var(--shadow-md);
}

.video-cover {
  position: relative;
  min-height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(40, 205, 65, 0.18), rgba(255, 255, 255, 0.86)),
    radial-gradient(circle at 20% 18%, rgba(40, 205, 65, 0.2), transparent 36%),
    #f5f5f7;
}

.video-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-player {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: #000;
  object-fit: contain;
}

.video-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.18));
}

.video-cover span {
  position: relative;
  z-index: 1;
  min-width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
}

.video-copy {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
}

.video-label {
  width: fit-content;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(40, 205, 65, 0.1);
  color: var(--green-deep);
  font-size: 0.82rem;
  font-weight: 800;
}

.video-copy h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.28;
}

.video-copy p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.72;
}

.auth-section,
.account-wrapper {
  padding: 24px 0 88px;
}

.auth-layout,
.account-shell {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.auth-intro,
.auth-card,
.account-card,
.account-section {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(29, 29, 31, 0.07);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.auth-label {
  color: var(--green-deep);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.auth-intro h2,
.auth-card h2,
.account-card h3 {
  margin: 18px 0 12px;
  letter-spacing: -0.03em;
}

.auth-links,
.account-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.button-ghost {
  background: rgba(255, 255, 255, 0.68);
  border-color: var(--border);
}

.feature-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
  color: var(--text-secondary);
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(40, 205, 65, 0.12);
}

.auth-version {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-top: 22px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 800;
}

.stack-form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 10px;
}

.field label {
  font-size: 0.95rem;
  font-weight: 700;
}

.field input {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 20px;
  border: 1px solid rgba(29, 29, 31, 0.1);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-primary);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field input:focus {
  border-color: rgba(40, 205, 65, 0.46);
  box-shadow: 0 0 0 4px rgba(40, 205, 65, 0.12);
}

.form-links {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  flex-wrap: wrap;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.form-links a {
  color: var(--green-deep);
  font-weight: 700;
}

.notice {
  display: none;
  padding: 14px 16px;
  border-radius: 18px;
  line-height: 1.7;
  font-size: 0.94rem;
  margin-bottom: 18px;
}

.notice.is-visible {
  display: block;
}

.notice-success {
  background: rgba(40, 205, 65, 0.12);
  color: #176d26;
  border: 1px solid rgba(40, 205, 65, 0.2);
}

.notice-error {
  background: rgba(255, 91, 91, 0.1);
  color: #a12d2d;
  border: 1px solid rgba(255, 91, 91, 0.18);
}

.auth-card .button,
.account-section .button,
.account-card .button {
  width: 100%;
}

.account-summary {
  display: grid;
  gap: 18px;
}

.account-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.profile-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(40, 205, 65, 0.16), rgba(255, 255, 255, 0.9));
  color: var(--green-deep);
  font-size: 1.5rem;
  font-weight: 800;
}

.summary-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.summary-list li {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(29, 29, 31, 0.07);
}

.summary-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.summary-list strong {
  font-size: 0.88rem;
}

.account-muted {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.76;
}

@media (max-width: 1080px) {
  .auth-layout,
  .account-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .auth-slot {
    display: grid;
    width: 100%;
    gap: 8px;
  }

  .auth-slot a,
  .auth-slot button {
    width: 100%;
    text-align: left;
    padding: 12px 14px;
  }
}

@media (max-width: 640px) {
  .auth-section,
  .account-wrapper {
    padding: 68px 0;
  }

  .page-hero-compact {
    padding-top: 60px;
    padding-bottom: 20px;
  }

  .auth-links,
  .account-actions {
    flex-direction: column;
  }
}

.page-section {
  padding: 24px 0 88px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}

.content-stack,
.sidebar-stack,
.faq-list,
.catalog-grid,
.support-grid,
.story-grid,
.legal-prose,
.history-list {
  display: grid;
  gap: 22px;
}

.detail-card,
.cta-panel,
.faq-item,
.legal-card,
.history-card,
.support-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(29, 29, 31, 0.07);
  box-shadow: var(--shadow-md);
}

.detail-card h2,
.cta-panel h2,
.faq-item h3,
.support-card h3,
.history-card h3 {
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}

.detail-card p,
.detail-card li,
.cta-panel p,
.faq-item p,
.support-card p,
.history-card p,
.legal-card p,
.legal-card li {
  color: var(--text-secondary);
  line-height: 1.78;
}

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

.catalog-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(243, 250, 244, 0.9));
  border: 1px solid rgba(29, 29, 31, 0.07);
  box-shadow: var(--shadow-md);
}

.catalog-card h3,
.pricing-band h3 {
  margin: 16px 0 12px;
  letter-spacing: -0.03em;
}

.catalog-card p,
.catalog-card li,
.pricing-band p {
  color: var(--text-secondary);
  line-height: 1.72;
}

.catalog-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
}

.catalog-link {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: var(--green-deep);
  font-weight: 800;
}

.catalog-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(40, 205, 65, 0.1);
  color: var(--green-deep);
  font-size: 0.84rem;
  font-weight: 700;
}

.pricing-band {
  display: grid;
  gap: 16px;
}

.timeline {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  padding-left: 22px;
  position: relative;
  color: var(--text-secondary);
  line-height: 1.76;
}

.timeline li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  position: absolute;
  left: 0;
  top: 10px;
  box-shadow: 0 0 0 6px rgba(40, 205, 65, 0.12);
}

.timeline strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 4px;
}

.support-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.story-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(29, 29, 31, 0.07);
  box-shadow: var(--shadow-md);
}

.story-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.story-card p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.76;
}

.legal-prose {
  grid-template-columns: 1fr;
}

.legal-card h2 {
  margin: 0 0 14px;
}

.legal-card ul {
  margin: 0;
  padding-left: 20px;
}

.select-field {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 20px;
  border: 1px solid rgba(29, 29, 31, 0.1);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-primary);
  outline: none;
}

.textarea-field {
  width: 100%;
  min-height: 140px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(29, 29, 31, 0.1);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-primary);
  outline: none;
  resize: vertical;
}

.select-field:focus,
.textarea-field:focus {
  border-color: rgba(40, 205, 65, 0.46);
  box-shadow: 0 0 0 4px rgba(40, 205, 65, 0.12);
}

.history-list {
  margin-top: 20px;
}

.history-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(40, 205, 65, 0.12);
  color: var(--green-deep);
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-shell {
  width: min(1520px, calc(100vw - 64px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}

.admin-sidebar,
.admin-panel,
.stats-card,
.table-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(29, 29, 31, 0.07);
  box-shadow: var(--shadow-md);
}

.admin-sidebar {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 16px;
}

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

.admin-nav a {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(245, 245, 247, 0.9);
  color: var(--text-secondary);
  font-weight: 700;
}

.admin-nav a:hover {
  background: rgba(40, 205, 65, 0.12);
  color: var(--green-deep);
}

.admin-grid {
  display: grid;
  gap: 22px;
}

.stats-grid-large {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
}

.stats-card strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.05em;
  margin-top: 8px;
}

.stats-card span,
.table-card p {
  color: var(--text-secondary);
}

.table-card h2 {
  margin: 0 0 14px;
  letter-spacing: -0.03em;
}

.admin-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.content-admin-layout {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.help-management-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -2px 0 18px;
  padding: 10px;
  border: 1px solid rgba(29, 29, 31, 0.07);
  border-radius: 20px;
  background: rgba(245, 245, 247, 0.78);
}

.help-management-toolbar button {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 800;
  cursor: pointer;
}

.help-management-toolbar button:hover,
.help-management-toolbar button.is-active {
  background: rgba(40, 205, 65, 0.13);
  color: var(--green-deep);
}

.help-workspace-layout {
  grid-template-columns: minmax(440px, 520px) minmax(520px, 1fr);
}

.content-form-head {
  display: grid;
  gap: 4px;
  padding-bottom: 4px;
}

.content-form-head span,
.help-workspace-list-head span,
.help-workspace-list-head em {
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 800;
}

.content-form-head strong,
.help-workspace-list-head strong {
  color: var(--text-primary);
  font-size: 1.08rem;
}

.help-workspace-list {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.help-workspace-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(29, 29, 31, 0.07);
  border-radius: 20px;
  background: rgba(245, 245, 247, 0.78);
}

.video-upload-field,
.linked-tutorial-field,
.video-remove-button {
  display: none;
}

.video-upload-field.is-visible,
.linked-tutorial-field.is-visible {
  display: grid;
}

.video-remove-button.is-visible {
  display: inline-flex;
}

.video-upload-field small,
.linked-tutorial-field small {
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.5;
}

#downloads.table-card {
  width: 100%;
  justify-self: stretch;
}

.download-management-toolbar {
  display: flex;
  align-items: end;
  gap: 14px;
  margin: -2px 0 18px;
  padding: 14px 16px;
  border: 1px solid rgba(29, 29, 31, 0.07);
  border-radius: 18px;
  background: rgba(245, 245, 247, 0.76);
}

.compact-field {
  display: grid;
  min-width: 240px;
  gap: 8px;
}

.compact-field span {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 800;
}

.download-management-toolbar p {
  margin: 0 0 11px;
}

#downloads .content-admin-layout {
  grid-template-columns: minmax(520px, 620px) minmax(560px, 1fr);
}

.compact-admin-layout {
  grid-template-columns: minmax(420px, 520px) minmax(520px, 1fr);
}

.download-section-table {
  min-width: 560px;
}

.status-hidden {
  color: #6e6e73;
  background: rgba(110, 110, 115, 0.1);
}

.release-admin-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.content-form {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(245, 245, 247, 0.78);
  border: 1px solid rgba(29, 29, 31, 0.07);
}

.content-form.is-hidden {
  display: none;
}

.download-form-placeholder {
  display: none;
  align-content: center;
  gap: 10px;
  min-height: 280px;
  padding: 22px;
  border: 1px solid rgba(29, 29, 31, 0.07);
  border-radius: 22px;
  background: rgba(245, 245, 247, 0.78);
}

.download-form-placeholder.is-visible {
  display: grid;
}

.download-form-placeholder strong {
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 900;
}

.download-form-placeholder p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.form-grid.two-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-form .field {
  display: grid;
  gap: 8px;
}

.content-form .field span {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 800;
}

.content-form input,
.content-form select,
.content-form textarea {
  font: inherit;
}

.content-form-actions,
.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.table-actions button {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
  font-weight: 800;
  cursor: pointer;
}

.table-actions a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
  font-weight: 800;
}

.table-actions button:hover,
.table-actions a:hover {
  background: var(--green-soft);
  color: var(--green-deep);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.status-published {
  background: rgba(40, 205, 65, 0.14);
  color: #176d26;
}

.status-draft {
  background: rgba(142, 142, 147, 0.13);
  color: var(--text-secondary);
}

.empty-cell {
  color: var(--text-secondary);
  text-align: center;
}

.admin-table-wrap {
  overflow-x: auto;
}

#downloads .admin-table-wrap {
  max-height: 620px;
  overflow: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(40, 205, 65, 0.7) rgba(245, 245, 247, 0.9);
}

#downloads .admin-table-wrap::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

#downloads .admin-table-wrap::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(245, 245, 247, 0.9);
}

#downloads .admin-table-wrap::-webkit-scrollbar-thumb {
  border: 2px solid rgba(245, 245, 247, 0.9);
  border-radius: 999px;
  background: rgba(40, 205, 65, 0.7);
}

#downloads .admin-table-wrap::-webkit-scrollbar-thumb:hover {
  background: rgba(31, 164, 53, 0.82);
}

#downloads .download-table {
  min-width: 620px;
}

#downloads .download-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(29, 29, 31, 0.07);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--text-secondary);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-table td {
  color: var(--text-primary);
}

.status-select {
  min-height: 40px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(29, 29, 31, 0.1);
  background: rgba(255, 255, 255, 0.96);
}

.muted-inline {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.release-preview {
  display: grid;
  gap: 16px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(29, 29, 31, 0.07);
}

.release-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(29, 29, 31, 0.07);
}

.release-preview-head span {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.release-preview-section {
  display: grid;
  gap: 8px;
}

.release-preview-section h4 {
  margin: 0;
  color: var(--text-primary);
}

.release-preview-section ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.release-preview-section li {
  color: var(--text-secondary);
  line-height: 1.65;
}

.release-preview-section li span {
  margin-right: 8px;
  color: var(--green-deep);
  font-weight: 800;
}

.release-auto-publish {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(40, 205, 65, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.release-auto-publish strong,
.release-auto-skipped strong {
  color: var(--text-primary);
}

.release-auto-publish p {
  margin: 4px 0 0;
}

.release-auto-list,
.release-auto-skipped {
  display: grid;
  gap: 10px;
}

.release-auto-item {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(29, 29, 31, 0.07);
  border-radius: 14px;
  background: rgba(245, 245, 247, 0.78);
}

.release-auto-item span,
.release-auto-item small {
  color: var(--text-secondary);
  line-height: 1.5;
}

.release-auto-item.is-skipped {
  border-color: rgba(255, 149, 0, 0.24);
  background: rgba(255, 149, 0, 0.08);
}

.release-version-table {
  margin-top: 20px;
}

@media (max-width: 1380px) {
  .admin-shell {
    width: min(1240px, calc(100vw - 48px));
  }

  #downloads .content-admin-layout {
    grid-template-columns: minmax(460px, 540px) minmax(520px, 1fr);
  }
}

@media (max-width: 1080px) {
  .content-grid,
  .story-grid,
  .help-layout {
    grid-template-columns: 1fr;
  }

  .help-sidebar {
    position: static;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow-x: auto;
  }

  .help-sidebar a {
    white-space: nowrap;
    text-align: center;
  }

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

  .video-tutorial-grid {
    grid-template-columns: 1fr;
  }

  .admin-shell,
  .content-admin-layout,
  .release-admin-layout,
  .stats-grid-large {
    grid-template-columns: 1fr;
  }

  .download-management-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .compact-field {
    min-width: 0;
  }

  .download-management-toolbar p {
    margin: 0;
  }

  .admin-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .page-section {
    padding: 18px 0 68px;
  }

  .catalog-grid,
  .support-grid,
  .story-grid,
  .path-body,
  .solution-grid,
  .feedback-tags {
    grid-template-columns: 1fr;
  }

  .help-topbar-inner,
  .help-article-head,
  .linked-tutorials-head,
  .admin-section-head,
  .video-tutorial-head,
  .path-summary,
  .article-pager {
    flex-direction: column;
    align-items: stretch;
  }

  .form-grid.two-cols {
    grid-template-columns: 1fr;
  }

  .help-search {
    min-width: 0;
  }

  .help-sidebar {
    grid-template-columns: 1fr;
  }

  .help-article-head,
  .linked-tutorials,
  .learning-path,
  .help-solution,
  .feedback-card {
    padding: 22px;
  }

  .path-features,
  .role-grid {
    grid-template-columns: 1fr;
  }

  .article-pager a {
    width: 100%;
  }

  .article-pager a:last-child {
    text-align: left;
  }

  .video-tutorial-card {
    grid-template-columns: 1fr;
  }

  .video-cover {
    min-height: 180px;
  }

.history-card header {
  flex-direction: column;
  align-items: flex-start;
}
}

.downloads-hero {
  background:
    linear-gradient(140deg, rgba(223, 249, 229, 0.92), rgba(255, 255, 255, 0.96)),
    #f5f5f7;
}

.download-list {
  display: grid;
  gap: 24px;
}

.download-section-switcher {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(29, 29, 31, 0.07);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 46px rgba(29, 29, 31, 0.06);
}

.download-tool-select-field {
  display: grid;
  gap: 8px;
}

.download-tool-select-field span {
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 800;
}

.download-tool-select {
  min-height: 52px;
  width: 100%;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(40, 205, 65, 0.28);
  color: var(--text-primary);
  background: #fff;
  font-weight: 900;
  box-shadow: 0 0 0 4px rgba(40, 205, 65, 0.08);
}

.download-tool-summary {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.download-tool-summary strong {
  color: var(--text-primary);
  font-size: 1.08rem;
  font-weight: 900;
}

.download-tool-summary span {
  color: var(--text-secondary);
  line-height: 1.7;
}

.download-section-block {
  display: grid;
  gap: 24px;
  scroll-margin-top: 92px;
}

.download-product-label {
  width: fit-content;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 0.82rem;
  font-weight: 900;
}

.download-primary-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 24px;
  align-items: center;
  padding: 32px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(40, 205, 65, 0.18);
  box-shadow: 0 24px 58px rgba(40, 205, 65, 0.1);
}

.download-primary-copy {
  display: grid;
  gap: 16px;
}

.download-primary-copy h2,
.download-section-head h2,
.download-empty-state h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: 0;
}

.download-primary-copy p,
.download-section-head p,
.download-resource-card p,
.download-empty-state p,
.download-muted-text {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.8;
}

.download-main-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.download-main-actions .button {
  min-height: 48px;
}

.download-version-card {
  display: grid;
  gap: 12px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(245, 245, 247, 0.78);
  border: 1px solid rgba(29, 29, 31, 0.07);
}

.download-version-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(29, 29, 31, 0.07);
}

.download-version-row:last-child {
  border-bottom: 0;
}

.download-version-row span {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.download-version-row strong {
  min-width: 0;
  color: var(--text-primary);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.download-release-section,
.download-history-panel,
.release-history-panel,
.download-resources-panel,
.download-empty-state {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(29, 29, 31, 0.07);
  box-shadow: var(--shadow-md);
}

.download-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.download-section-head h2 {
  margin: 8px 0;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.download-history-item,
.release-history-item {
  border-top: 1px solid rgba(29, 29, 31, 0.07);
  padding: 14px 0;
}

.download-history-item summary,
.release-history-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  list-style: none;
}

.download-history-item summary::-webkit-details-marker,
.release-history-item summary::-webkit-details-marker {
  display: none;
}

.download-history-item summary div,
.release-history-item summary {
  min-width: 0;
}

.download-history-item summary strong,
.release-history-item summary strong {
  display: block;
  color: var(--text-primary);
  font-size: 1.02rem;
}

.download-history-item summary span,
.release-history-item summary span {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.release-history-item .release-notes-sections {
  margin-top: 14px;
}

.download-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.download-resource-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 20px;
  border-radius: 22px;
  background: rgba(245, 245, 247, 0.78);
  border: 1px solid rgba(29, 29, 31, 0.06);
}

.download-resource-card h3 {
  margin: 0;
  font-size: 1.12rem;
  letter-spacing: 0;
}

.download-category {
  width: fit-content;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 0.84rem;
  font-weight: 800;
}

.release-notes-sections {
  display: grid;
  gap: 16px;
}

.release-notes-section {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(245, 245, 247, 0.82);
}

.release-notes-section h4 {
  margin: 0;
  color: var(--text-primary);
}

.release-notes-section ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.release-notes-section li {
  color: var(--text-secondary);
  line-height: 1.7;
}

.download-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 700;
}

.download-meta-row span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(245, 245, 247, 0.92);
}

.download-unavailable {
  color: var(--text-secondary);
  font-weight: 800;
}

.download-empty-state {
  max-width: 720px;
  display: grid;
  gap: 16px;
}

@media (max-width: 640px) {
  .download-section-switcher {
    grid-template-columns: 1fr;
  }

  .download-primary-panel,
  .download-resource-grid {
    grid-template-columns: 1fr;
  }

  .download-primary-panel,
  .download-release-section,
  .download-history-panel,
  .release-history-panel,
  .download-resources-panel,
  .download-empty-state {
    padding: 20px;
  }

  .download-section-head,
  .download-history-item summary,
  .release-history-item summary,
  .release-preview-head {
    flex-direction: column;
    align-items: stretch;
  }

  .download-main-actions,
  .download-actions {
    flex-direction: column;
  }

  .download-main-actions .button,
  .download-actions .button {
    width: 100%;
  }
}

body.minimal-home {
  min-height: 100vh;
  background: #f5f7f4;
  color: #151518;
  overflow-x: hidden;
}

.minimal-shell {
  min-height: 100svh;
  padding: 22px;
  display: grid;
  place-items: stretch;
}

.minimal-hero {
  min-height: calc(100svh - 44px);
  padding: 48px 54px;
  display: flex;
  align-items: center;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.44) 0%, rgba(255, 255, 255, 0) 38%),
    linear-gradient(180deg, #e8faed 0%, #eef9f0 100%);
  border: 1px solid rgba(29, 29, 31, 0.06);
  box-shadow: 0 24px 70px rgba(26, 40, 31, 0.1);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.minimal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(16, 24, 20, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 20, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.18), transparent 68%);
}

.minimal-hero-inner {
  width: min(100%, 720px);
  display: grid;
  gap: 26px;
}

.minimal-kicker {
  width: fit-content;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #109536;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 10px 26px rgba(35, 60, 44, 0.08);
}

.minimal-hero h1 {
  max-width: 100%;
  margin: 0;
  color: #151518;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.minimal-hero p {
  max-width: 680px;
  margin: 0;
  color: #607268;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0;
}

.minimal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}

.minimal-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.minimal-button:hover {
  transform: translateY(-1px);
}

.minimal-button-primary {
  background: #24cf47;
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(36, 207, 71, 0.24);
}

.minimal-button-primary:hover {
  background: #1fb63e;
  box-shadow: 0 18px 40px rgba(36, 207, 71, 0.28);
}

.minimal-button-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: #151518;
  border: 1px solid rgba(15, 23, 19, 0.07);
  box-shadow: 0 14px 32px rgba(24, 32, 28, 0.07);
}

.minimal-button-secondary:hover {
  background: #ffffff;
}

@media (max-width: 700px) {
  .minimal-shell {
    padding: 12px;
  }

  .minimal-hero {
    min-height: calc(100svh - 24px);
    padding: 34px 26px;
    border-radius: 24px;
  }

  .minimal-hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 460px) {
  .minimal-shell {
    padding: 8px;
  }

  .minimal-hero {
    min-height: calc(100svh - 16px);
    padding: 28px 20px;
    border-radius: 22px;
  }

  .minimal-hero-inner {
    gap: 18px;
  }

  .minimal-hero h1 {
    font-size: 2.4rem;
    line-height: 1.2;
  }

  .minimal-hero p {
    font-size: 0.96rem;
    line-height: 1.72;
  }

  .minimal-actions {
    gap: 10px;
  }

  .minimal-button {
    min-height: 48px;
    padding: 0 19px;
  }
}
