/*
Theme Name: Zenblockswp
Theme URI: https://zenblockswp.com/
Author: Tsumiki
Author URI: https://zenblockswp.com/
Description: zenblocks プラグインの多言語ドキュメントサイト用テーマ
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zenblockswp
Domain Path: /languages
*/

/* ========================================
   CSS Variables
   ======================================== */
:root {
  --zb-color-primary: #2563eb;
  --zb-color-primary-dark: #1d4ed8;
  --zb-color-text: #1e293b;
  --zb-color-text-light: #64748b;
  --zb-color-bg: #ffffff;
  --zb-color-bg-secondary: #f8fafc;
  --zb-color-border: #e2e8f0;
  --zb-color-code-bg: #f1f5f9;
  --zb-color-accent: #f7f38b;
  --zb-color-accent-soft: #fffde2;
  --zb-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", "Noto Sans JP", sans-serif;
  --zb-font-mono: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;
  --zb-max-width: 1200px;
  --zb-sidebar-width: 280px;
  --zb-header-height: 64px;
}

/* ========================================
   Reset & Base
   ======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--zb-font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--zb-color-text);
  background-color: var(--zb-color-bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--zb-color-primary);
  text-decoration: none;
}

a:hover {
  color: var(--zb-color-primary-dark);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* ========================================
   Header
   ======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--zb-header-height);
  background: var(--zb-color-bg);
  border-bottom: 1px solid var(--zb-color-border);
  display: flex;
  align-items: center;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--zb-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--zb-color-text);
}

.site-header__logo:hover {
  text-decoration: none;
  color: var(--zb-color-text);
}

.site-header__logo-icon {
  height: 36px;
  width: 36px;
  flex-shrink: 0;
}

.site-header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.site-header__logo-type {
  font-family: "Jost", sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.05em;
  color: var(--zb-color-text);
}

.site-header__logo-tagline {
  font-family: "Noto Sans", sans-serif;
  font-weight: 700;
  font-size: 10px;
  color: var(--zb-color-text);
  letter-spacing: 0.02em;
  margin-top: 2px;
}

/* Header logo responsive scaling */
@media (max-width: 500px) {
  :root {
    --zb-header-height: 48px;
  }
  .site-header__inner {
    padding: 0 12px;
  }
  .site-header__logo {
    gap: 6px;
  }
  .site-header__logo-icon {
    height: 22px;
    width: 22px;
  }
  .site-header__logo-type {
    font-size: clamp(12px, 3.8vw, 18px);
  }
  .site-header__logo-tagline {
    font-size: clamp(6px, 1.6vw, 9px);
  }
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

@media (max-width: 500px) {
  .site-header__nav {
    gap: 10px;
  }
}

/* Header Text Links (PC only) */
.site-header__text-link {
  display: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--zb-color-text-light);
  white-space: nowrap;
  transition: color 0.2s;
}

.site-header__text-link:hover {
  color: var(--zb-color-text);
  text-decoration: none;
}

@media (min-width: 768px) {
  .site-header__text-link {
    display: block;
  }
}

/* Header Search Button */
.site-header__search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: var(--zb-color-text-light);
  cursor: pointer;
  transition:
    color 0.2s,
    background 0.2s;
}

.site-header__search-btn:hover {
  color: var(--zb-color-text);
  background: var(--zb-color-code-bg);
}

/* Docs Menu Dropdown */
.docs-menu {
  position: relative;
}

.docs-menu__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: var(--zb-color-text-light);
  cursor: pointer;
  transition:
    color 0.2s,
    background 0.2s;
}

.docs-menu__toggle:hover,
.docs-menu.is-open .docs-menu__toggle {
  color: var(--zb-color-text);
  background: var(--zb-color-code-bg);
}

.docs-menu__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: var(--zb-color-bg);
  border: 1px solid var(--zb-color-border);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  z-index: 100;
}

.docs-menu.is-open .docs-menu__dropdown {
  display: flex;
  flex-direction: column;
}

.docs-menu__heading {
  font-size: 14px;
  font-weight: 600;
  color: var(--zb-color-text-light);
  padding: 8px 16px;
  transition: color 0.2s;
}

.docs-menu__heading:hover {
  color: var(--zb-color-text);
  background: var(--zb-color-code-bg);
  text-decoration: none;
}

.docs-menu__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--zb-color-text);
  padding: 8px 16px 8px 24px;
  transition:
    color 0.2s,
    background 0.2s;
}

.docs-menu__link:hover {
  background: var(--zb-color-code-bg);
  text-decoration: none;
}

/* ========================================
   Search Modal
   ======================================== */
.search-modal[hidden] {
  display: none;
}

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: min(20vh, 160px);
}

.search-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.search-modal__dialog {
  position: relative;
  width: 90%;
  max-width: 560px;
  background: var(--zb-color-bg);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.search-modal__input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--zb-color-border);
}

.search-modal__icon {
  flex-shrink: 0;
  color: var(--zb-color-text-light);
}

.search-modal__input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  font-family: inherit;
  color: var(--zb-color-text);
  background: transparent;
}

.search-modal__input::placeholder {
  color: var(--zb-color-text-light);
}

.search-modal__kbd {
  font-size: 11px;
  font-family: var(--zb-font-sans);
  padding: 2px 6px;
  border: 1px solid var(--zb-color-border);
  border-radius: 4px;
  color: var(--zb-color-text-light);
  background: var(--zb-color-bg-secondary);
  line-height: 1.4;
}

.search-modal__results {
  max-height: 360px;
  overflow-y: auto;
}

.search-modal__results:empty {
  display: none;
}

.search-modal__item {
  display: block;
  padding: 10px 16px;
  color: var(--zb-color-text);
  transition: background 0.1s;
}

.search-modal__item:hover,
.search-modal__item.is-active {
  background: var(--zb-color-code-bg);
  text-decoration: none;
  color: var(--zb-color-text);
}

.search-modal__item-title {
  font-size: 14px;
  font-weight: 500;
}

.search-modal__item-type {
  font-size: 11px;
  color: var(--zb-color-text-light);
  margin-left: 8px;
}

.search-modal__empty {
  padding: 24px 16px;
  text-align: center;
  font-size: 14px;
  color: var(--zb-color-text-light);
}

.search-modal__loading {
  padding: 24px 16px;
  text-align: center;
  font-size: 14px;
  color: var(--zb-color-text-light);
}

/* ========================================
   Language Switcher (Dropdown)
   ======================================== */
.language-switcher {
  position: relative;
}

.language-switcher__toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--zb-color-border);
  border-radius: 4px;
  background: var(--zb-color-bg);
  font-size: 13px;
  font-weight: 500;
  color: var(--zb-color-text);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  white-space: nowrap;
}

.language-switcher__toggle:hover {
  border-color: var(--zb-color-primary);
}

.language-switcher__arrow {
  transition: transform 0.2s;
}

.language-switcher.is-open .language-switcher__arrow {
  transform: rotate(180deg);
}

.language-switcher__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 180px;
  background: var(--zb-color-bg);
  border: 1px solid var(--zb-color-border);
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 4px;
  z-index: 200;
}

.language-switcher.is-open .language-switcher__dropdown {
  display: block;
}

.language-switcher__link {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--zb-color-text-light);
  transition: all 0.15s;
}

.language-switcher__link:hover {
  color: var(--zb-color-text);
  background: var(--zb-color-bg-secondary);
  text-decoration: none;
}

.language-switcher__link--active {
  color: var(--zb-color-primary);
  background: rgba(37, 99, 235, 0.08);
}

@media (max-width: 500px) {
  .language-switcher__toggle {
    font-size: 12px;
  }

  .language-switcher__link {
    font-size: 12px;
  }
}

/* ========================================
   Layout: Docs
   ======================================== */
.docs-layout {
  display: flex;
  max-width: var(--zb-max-width);
  margin: 0 auto;
  min-height: calc(100vh - var(--zb-header-height));
}

.docs-sidebar {
  width: var(--zb-sidebar-width);
  flex-shrink: 0;
  padding: 32px 24px;
  border-right: 1px solid var(--zb-color-border);
  position: sticky;
  top: var(--zb-header-height);
  height: calc(100vh - var(--zb-header-height));
  overflow-y: auto;
}

.docs-content {
  flex: 1;
  padding: 40px 48px;
  min-width: 0;
}

/* ========================================
   Sidebar Navigation
   ======================================== */
.sidebar-nav__section {
  margin-bottom: 24px;
}

.sidebar-nav__title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--zb-color-text-light);
  margin: 0 0 8px 0;
  padding: 0;
}

.sidebar-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-nav__item {
  margin: 0;
}

.sidebar-nav__link {
  display: block;
  padding: 6px 12px;
  font-size: 14px;
  color: var(--zb-color-text-light);
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.15s;
}

.sidebar-nav__list > .sidebar-nav__item > .sidebar-nav__link {
  font-weight: 650;
  color: var(--zb-color-text);
}

.sidebar-nav__children .sidebar-nav__link {
  font-size: 13px;
  font-weight: 500;
  color: var(--zb-color-text-light);
}

.sidebar-nav__link:hover {
  color: var(--zb-color-text);
  background: var(--zb-color-bg-secondary);
  text-decoration: none;
}

.sidebar-nav__link--active {
  color: var(--zb-color-primary);
  background: rgba(37, 99, 235, 0.08);
  font-weight: 500;
}

.sidebar-nav__children {
  list-style: none;
  margin: 0;
  padding: 0 0 0 16px;
}

/* Sidebar FAQ Group */
.sidebar-faq {
  position: relative;
  margin: 30px 0 4px 8px;
  padding: 16px 16px 16px;
  border: 1px solid var(--zb-color-border);
  border-radius: 4px;
  background: var(--zb-color-bg-secondary);
}

.sidebar-faq__label {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-block;
  margin: 0 0 6px;
  padding: 1px 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  /* color: var(--zb-color-primary); */
  color: white;
  /* background: rgba(37, 99, 235, 0.08); */
  background: #000;
  border-radius: 0px;
  line-height: 1.8;
}

.sidebar-faq__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-faq__item {
  margin: 0;
}

.sidebar-faq__link {
  display: block;
  padding: 4px 8px 4px 18px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--zb-color-text-light);
  border-radius: 4px;
  transition: all 0.15s;
  position: relative;
}

.sidebar-faq__link::before {
  content: "›";
  position: absolute;
  left: 5px;
  top: 4px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--zb-color-text-lighter);
  transition: color 0.15s;
}

.sidebar-faq__link:hover {
  color: var(--zb-color-text);
  background: var(--zb-color-bg);
  text-decoration: none;
}

.sidebar-faq__link:hover::before {
  color: var(--zb-color-text);
}

.sidebar-faq__link--active {
  color: var(--zb-color-primary);
  background: var(--zb-color-bg);
  font-weight: 600;
}

.sidebar-faq__link--active::before {
  color: var(--zb-color-primary);
}

/* ========================================
   Docs Content
   ======================================== */
.docs-content h1 {
  position: relative;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0 0 66px 0;
  line-height: 1.3;
  padding-bottom: 0;
}

.docs-content h2 {
  position: relative;
  font-size: 26px;
  font-weight: 720;
  margin: 64px 0 24px 0 !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid var(--zb-color-border) !important;
}

.docs-content h2:before {
  content: "";
  width: 30px;
  height: 1px;
  background: #000;
  position: absolute;
  bottom: 0;
  left: 0;
}

.docs-content h2:first-child,
.docs-content__body h2:first-child {
  margin-top: 0;
}

.docs-content__body [id] {
  scroll-margin-top: calc(var(--zb-header-height) + 20px);
}

.docs-content h3 {
  font-size: 21px;
  font-weight: 700;
  margin: 48px 0 16px 0;
}

.docs-content h4 {
  font-size: 17px;
  font-weight: 700;
  margin: 36px 0 12px 0;
}

.docs-content p {
  font-size: 16px;
  line-height: 1.9;
  margin: 0 0 20px 0;
}

.docs-content ul,
.docs-content ol {
  margin: 0 0 24px 0;
}

.docs-content li {
  line-height: 1.75;
  margin-bottom: 8px;
}

.docs-content hr {
  border: none;
  border-top: 1px solid var(--zb-color-border);
  margin: 64px 0;
}

.docs-content code {
  font-family: var(--zb-font-mono);
  font-size: 14px;
  background: var(--zb-color-code-bg);
  padding: 2px 6px;
  border-radius: 4px;
}

.docs-content pre {
  background: var(--zb-color-code-bg);
  border-radius: 4px;
  padding: 20px 24px;
  overflow-x: auto;
  margin: 0 0 32px 0;
}

.docs-content pre code {
  background: none;
  padding: 0;
}

/* Setting screen template */
.setting-screen-template {
  margin: 8px 0 0;
}

.setting-screen-template__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--zb-color-text-light);
  margin: 0 0 12px;
}

.setting-screen-template__title {
  /* margin: 0 0 12px !important; */
  /* border-bottom: none !important; */
  /* padding-bottom: 0 !important; */
}

.setting-screen-template__lead {
  font-size: 16px !important;
  font-weight: 400;
  line-height: 1.9;
  margin: 0 0 22px !important;
  padding: 14px 16px;
  background: var(--zb-color-bg-secondary);
  border-radius: 10px;
}

.setting-screen-template__section {
  margin: 0 0 52px;
}

.setting-screen-template__section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.setting-screen-template__section-title {
  position: relative;
  font-size: 21px !important;
  font-weight: 780 !important;
  margin: 0 0 14px !important;
  padding-left: 0;
}

.setting-screen-template__section-title::before {
  content: none;
}

.setting-screen-template__meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px !important;
  margin: 6px 0 0;
  padding: 10px 20px;
  background: var(--zb-color-bg-secondary);
  border: 1px solid var(--zb-color-border);
  border-radius: 6px;
  color: var(--zb-color-text-light);
}

.setting-screen-template__meta::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7a2 2 0 0 1 2-2h6l2 2h4a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2z'/%3E%3C/svg%3E");
  background-size: 14px 14px;
  background-repeat: no-repeat;
  background-position: center;
}

.setting-screen-template__meta strong {
  color: var(--zb-color-text);
  font-weight: 700;
}

.setting-screen-template__note {
  font-size: 12px;
  font-weight: 600;
  color: var(--zb-color-text-light);
}

.setting-screen-template__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.setting-screen-template__card {
  padding: 20px;
  border: 1px solid var(--zb-color-border);
  border-radius: 4px;
  background: #fff;
}

.setting-screen-template__card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.setting-screen-template__card-link:hover {
  text-decoration: none;
}

.setting-screen-template__card-link:hover .setting-screen-template__card {
  background: #ebebeb;
}

.setting-screen-template__card h4 {
  margin: 0 0 8px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

.setting-screen-template__card p {
  margin: 0 !important;
  font-size: 14px;
  color: var(--zb-color-text-light);
}

.setting-screen-template__checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.setting-screen-template__checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  line-height: 1.75;
}

.setting-screen-template__checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: calc((1.75em - 12px) / 2);
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E");
  background-size: 12px 12px;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
}

.setting-screen-template__checklist li::after {
  content: "";
  position: absolute;
  left: 0;
  top: calc((1.75em - 16px) / 2);
  width: 16px;
  height: 16px;
  border-radius: 3px;
  background: #111;
}

.setting-screen-template__defaults {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.setting-screen-template__defaults li {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 12px;
  background: var(--zb-color-bg-secondary);
  border-radius: 6px;
}

.buttonbasic-hub__index {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.buttonbasic-hub__group {
  padding: 14px;
  background: #fff;
  border: 1px solid var(--zb-color-border);
  border-radius: 4px;
}

.buttonbasic-hub__group-title {
  margin: 0 0 10px !important;
  font-size: 15px !important;
}

.buttonbasic-hub__group-title a {
  color: var(--zb-color-text);
}

.buttonbasic-hub__links {
  margin: 0;
  padding-left: 18px;
}

.buttonbasic-hub__links li {
  margin: 0 0 8px;
  font-size: 14px;
}

.buttonbasic-hub__links li:last-child {
  margin-bottom: 0;
}

.buttonbasic-hub__steps {
  margin: 0;
  padding-left: 20px;
}

.buttonbasic-hub__steps li {
  margin: 0 0 10px;
}

.buttonbasic-hub__steps li:last-child {
  margin-bottom: 0;
}

.buttonbasic-hub__faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.buttonbasic-hub__faq-item {
  margin: 0;
}

.buttonbasic-hub__faq-item a {
  display: block;
  padding: 12px 16px 12px 30px;
  color: var(--zb-color-text);
  text-decoration: none;
  border-radius: 4px;
  transition:
    background 0.15s,
    color 0.15s;
  position: relative;
  font-size: 14px;
  line-height: 1.6;
}

.buttonbasic-hub__faq-item a::before {
  content: "Q.";
  position: absolute;
  left: 8px;
  top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--zb-color-primary);
}

.buttonbasic-hub__faq-item a:hover {
  background: var(--zb-color-bg-secondary);
  color: var(--zb-color-primary);
  text-decoration: none;
}

/* Markdown docs (buttonBasic settings) */
.docs-markdown--setting h1 {
  display: none;
}

.docs-markdown--setting hr {
  margin: 56px 0;
}

.docs-markdown--setting h2 {
  margin-top: 72px;
  margin-bottom: 26px;
}

.docs-markdown--setting h3 {
  margin-top: 48px;
  margin-bottom: 18px;
}

.docs-markdown--setting p,
.docs-markdown--setting ul,
.docs-markdown--setting blockquote {
  margin-bottom: 22px;
}

.docs-markdown--setting blockquote {
  position: relative;
  margin: 0 0 26px;
  padding: 24px;
  border: none;
  border-left: 4px solid #000;
  color: #2f3137;
  background: #f2f2f4;
  border-radius: 0;
}

.docs-markdown--setting blockquote::before {
  content: none;
}

.docs-markdown--setting blockquote::after {
  content: none;
}

.docs-markdown--setting blockquote p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.8;
}

.docs-markdown--setting blockquote p strong {
  font-size: 16px;
}

.docs-markdown--setting blockquote p:last-child {
  margin-bottom: 0;
}

.docs-markdown--setting .docs-quote--note {
  padding: 24px;
}

.docs-markdown--setting .docs-quote--note::before,
.docs-markdown--setting .docs-quote--note::after {
  display: none;
}

.docs-markdown--setting .docs-quote--point,
.docs-markdown--setting .docs-quote--change,
.docs-markdown--setting .docs-quote--tip {
  padding: 0 0 0 16px;
  border: none;
  background: #fff;
  border-radius: 10px;
  --quote-icon-color: #111;
}

.docs-markdown--setting .docs-quote--point::after,
.docs-markdown--setting .docs-quote--change::after,
.docs-markdown--setting .docs-quote--tip::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  background-size: 18px 18px;
  background-repeat: no-repeat;
  background-position: center;
}

.docs-markdown--setting .docs-quote--point::before,
.docs-markdown--setting .docs-quote--change::before,
.docs-markdown--setting .docs-quote--tip::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--quote-icon-color);
}

.docs-markdown--setting .docs-quote--point::before {
  content: "";
}

.docs-markdown--setting .docs-quote--change::before {
  content: "";
}

.docs-markdown--setting .docs-quote--tip::before {
  content: "";
}

.docs-markdown--setting .docs-quote--point::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.12 2.12 0 1 1 3 3L7 19l-4 1 1-4 12.5-12.5z'/%3E%3C/svg%3E");
}

.docs-markdown--setting .docs-quote--change::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6v5h-5'/%3E%3Cpath d='M4 18v-5h5'/%3E%3Cpath d='M7.5 9A7 7 0 0 1 20 11'/%3E%3Cpath d='M16.5 15A7 7 0 0 1 4 13'/%3E%3C/svg%3E");
}

.docs-markdown--setting .docs-quote--tip::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 1 0-5.4 5.9c.6.53 1 1.16 1.2 1.8h3c.2-.64.6-1.27 1.2-1.8a4 4 0 0 0 0-5.9Z'/%3E%3Cpath d='M10 17h4'/%3E%3Cpath d='M10.6 20h2.8'/%3E%3C/svg%3E");
}

.docs-markdown--setting .docs-quote--point p,
.docs-markdown--setting .docs-quote--change p,
.docs-markdown--setting .docs-quote--tip p {
  border: 1px dotted #000;
  border-radius: 6px;
  padding: 30px;
}

/* Add breathing room when point-style quotes come right after mock captures */
.docs-markdown--setting .mock-panel + .docs-quote--point,
.docs-markdown--setting .mock-panel + .docs-quote--change,
.docs-markdown--setting .mock-panel + .docs-quote--tip,
.docs-markdown--setting .mock-panel-layout + .docs-quote--point,
.docs-markdown--setting .mock-panel-layout + .docs-quote--change,
.docs-markdown--setting .mock-panel-layout + .docs-quote--tip,
.docs-markdown--setting .docs-capture + .docs-quote--point,
.docs-markdown--setting .docs-capture + .docs-quote--change,
.docs-markdown--setting .docs-capture + .docs-quote--tip,
.docs-markdown--setting .docs-capture-placeholder__caption + .docs-quote--point,
.docs-markdown--setting .docs-capture-placeholder__caption + .docs-quote--change,
.docs-markdown--setting .docs-capture-placeholder__caption + .docs-quote--tip {
  margin-top: 32px;
}

.docs-markdown--setting .docs-check-item {
  list-style: none;
  position: relative;
  padding-left: 24px;
}

.docs-markdown--setting .docs-check-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56em;
  width: 14px;
  height: 14px;
  border: 2px solid #334155;
  border-radius: 3px;
  transform: translateY(-50%);
}

.docs-capture-placeholder {
  margin: 18px 0 10px;
}

/* Legacy cap-placeholder in Gutenberg post content – hide from production */
p.cap-placeholder {
  display: none !important;
}

.docs-capture-placeholder__box {
  border: 1px dashed #808080;
  background: #f8fafc;
  border-radius: 10px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}

.docs-capture-placeholder__caption {
  margin: 6px 2px 18px !important;
  font-size: 11px !important;
  line-height: 1.45;
  color: #808080;
  display: block;
}
.docs-capture-placeholder__caption--in-mock {
  margin-top: 8px !important;
}

/* ========================================
   Mock Panel – Zenblocks Settings UI replica
   ======================================== */
.mock-panel {
  margin: 18px 0 10px;
  border: 1px solid #e0e0e0;
  border-radius: 2px;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 13px;
  line-height: 1.4;
  color: #1e1e1e;
  max-width: 320px;
  user-select: none;
}
.mock-panel-layout {
  margin: 18px 0 26px;
  display: grid;
  grid-template-columns: minmax(280px, 320px) minmax(260px, 1fr);
  gap: 16px;
  align-items: start;
}
.mock-panel-layout__mock .mock-panel {
  margin: 0;
}
.mock-panel-layout__preview-card {
  /* border: 1px solid #e0e0e0; */
  /* background: #f2f2f2; */
  /* border-radius: 2px; */
  /* padding: 14px; */
}
.mock-panel-layout__preview-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 10px;
}
.mock-panel-layout__preview-stage {
  min-height: 120px;
  border: 1px dashed #c6c6c6;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  margin-bottom: 10px;
}
.mock-panel-layout__preview-button {
  width: 100%;
  max-width: 330px;
  min-height: 54px;
  padding: 0 30px;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  color: #171717;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  cursor: pointer;
}
.mock-panel-layout__preview-button--text-color {
  background: #f2f5ff;
  color: #448aff;
  border: 1px solid #c4d3ff;
}
.mock-panel-layout__preview-button--text-shadow {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.35);
}
.mock-panel-layout__preview-button--border {
  border: 2px solid #1e1e1e;
  background: #fff;
  color: #1e1e1e;
}
.mock-panel-layout__preview-button--radius {
  border-radius: 22px;
}
.mock-panel-layout__preview-button--inner-shadow {
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.28);
}
.mock-panel-layout__preview-button--shadow {
  box-shadow: 0 7px 14px rgba(0, 0, 0, 0.28);
}
.mock-panel-layout__preview-button--opacity {
  opacity: 0.65;
}
.mock-panel-layout__preview-button--transition {
  transition:
    transform var(--mp-tr-duration, 250ms) var(--mp-tr-ease, ease) var(--mp-tr-delay, 0ms),
    filter var(--mp-tr-duration, 250ms) var(--mp-tr-ease, ease) var(--mp-tr-delay, 0ms),
    box-shadow var(--mp-tr-duration, 250ms) var(--mp-tr-ease, ease) var(--mp-tr-delay, 0ms);
}
.mock-panel-layout__preview-button--transition:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}
.mock-panel-layout__preview-button--font-family {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
}
.mock-panel-layout__preview-button--font-size {
  font-size: 12px;
}
.mock-panel-layout__preview-button--font-line-height {
  line-height: 1.2;
}
.mock-panel-layout__preview-button--font-letter-space {
  letter-spacing: 2px;
}
.mock-panel-layout__preview-button--bg-overlay {
  background: #111111;
  background-image: none;
  color: #ffffff;
}
.mock-panel-layout__preview-button--bg-pattern {
  background-color: #2f66dc;
  background-image: radial-gradient(circle, rgba(17, 17, 17, 0.55) 1.5px, transparent 1.6px);
  background-size: 10px 10px;
  color: #ffffff;
}
.mock-panel-layout__preview-button--bg-image {
  background-image: linear-gradient(135deg, rgba(20, 20, 20, 0.2), rgba(20, 20, 20, 0.2)), url("assets/images/presets/zb-bg-01.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
}
.mock-panel-layout__preview-button--bg-color {
  background: #111111;
  color: #ffffff;
}
.mock-panel-layout__preview-button--bg-transition {
  background: #2f66dc;
  color: #ffffff;
  transition:
    background-color var(--mp-bg-tr-duration, 200ms) var(--mp-bg-tr-ease, ease) var(--mp-bg-tr-delay, 0ms),
    transform var(--mp-bg-tr-duration, 200ms) var(--mp-bg-tr-ease, ease) var(--mp-bg-tr-delay, 0ms);
}
.mock-panel-layout__preview-button--bg-transition:hover {
  background: #1f56cd;
  transform: translateY(-1px);
}
.mock-panel-layout__preview-button--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.mock-panel-layout__preview-lucide {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  stroke-width: 2;
  transform: translateY(-0.5px);
  transition: transform 220ms ease;
}
.mock-panel-layout__preview-button--icon-overview .mock-panel-layout__preview-lucide,
.mock-panel-layout__preview-button--icon-select .mock-panel-layout__preview-lucide {
  color: #ffffff;
}
.mock-panel-layout__preview-button--icon-color {
  color: #111111;
  background: #ffffff;
  border: 1px solid #d2d6dc;
}
.mock-panel-layout__preview-button--icon-color .mock-panel-layout__preview-lucide {
  color: #43a047;
}
.mock-panel-layout__preview-button--icon-size .mock-panel-layout__preview-lucide {
  width: 18px;
  height: 18px;
}
.mock-panel-layout__preview-button--icon-position {
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 68px;
  height: 68px;
  padding: 8px 16px;
}
.mock-panel-layout__preview-button--icon-frame-basic,
.mock-panel-layout__preview-button--icon-frame-detail {
  border: 1px solid #111111;
  background: #ffffff;
  color: #111111;
}
.mock-panel-layout__preview-button--icon-frame-basic .mock-panel-layout__preview-lucide,
.mock-panel-layout__preview-button--icon-frame-detail .mock-panel-layout__preview-lucide {
  width: 18px;
  height: 18px;
  padding: 2px;
  box-sizing: border-box;
  border: 1px solid #111111;
  border-radius: 50%;
}
.mock-panel-layout__preview-button--icon-transition {
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}
.mock-panel-layout__preview-button--icon-transition:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}
.mock-panel-layout__preview-button--icon-transition:hover .mock-panel-layout__preview-lucide {
  transform: translate(2px, -0.5px) scale(1.12);
}
.mock-panel-layout__preview-note {
  margin: 10px 0 0;
  font-size: 11px !important;
  line-height: 1.45;
  color: #888;
}

/* MEDIA TYPE label should follow mock control label scale, not docs paragraph scale */
.docs-markdown--setting .mock-panel__media-type-label {
  margin: 0 0 6px;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.mock-panel-layout__preview-stage--microtext {
  align-items: flex-start;
  padding-top: 14px;
}
.mock-panel-layout__preview-stage--subcopy {
  align-items: flex-start;
  padding-top: 10px;
}
.mock-panel-layout__preview-stage--microtext-inner {
  align-items: center;
}
.mock-panel-layout__preview-stage--subtext-inner {
  align-items: center;
}
.mock-panel-layout__microtext-preview {
  width: min(100%, 880px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mock-panel-layout__microtext-inner-preview {
  width: min(100%, 880px);
  margin: 0 auto;
  display: flex;
  justify-content: center;
}
.mock-panel-layout__subtext-inner-preview {
  width: min(100%, 880px);
  margin: 0 auto;
  display: flex;
  justify-content: center;
}
.mock-panel-layout__subcopy-preview {
  width: min(100%, 880px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mock-panel-layout__subcopy-text {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.2;
  color: #171717;
}
.mock-panel-layout__microtext-bubble {
  position: relative;
  display: inline-block;
  padding: 14px 40px;
  background: #0a0a0a;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.1;
  font-weight: 500;
  white-space: nowrap;
}
.mock-panel-layout__microtext-bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 11px solid #0a0a0a;
}
.mock-panel-layout__preview-button--microtext {
  margin-top: 6px;
  width: 100%;
  max-width: 330px;
  min-height: 54px;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  color: #171717;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 30px;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.04em;
  font-weight: 600;
  white-space: nowrap;
}
.mock-panel-layout__preview-button--microtext > span:first-child {
  white-space: nowrap;
}
.mock-panel-layout__preview-button--microtext-inner {
  margin-top: 0;
}
.mock-panel-layout__preview-button--subtext-inner {
  margin-top: 0;
}
.mock-panel-layout__preview-button-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
}
.mock-panel-layout__preview-microtext {
  font-size: 10px;
  line-height: 1;
  color: #7a7a7a;
  letter-spacing: 0;
  font-weight: 600;
}
.mock-panel-layout__preview-maintext {
  font-size: 14px;
  line-height: 1;
  color: #171717;
  font-weight: 700;
}
.mock-panel-layout__preview-subtext {
  font-size: 10px;
  line-height: 1;
  color: #a9a9a9;
  letter-spacing: 0;
  font-weight: 600;
}
.mock-panel-layout__preview-arrow {
  font-size: 26px;
  line-height: 1;
  font-weight: 500;
  flex-shrink: 0;
}
.mock-panel-layout__preview-stage--animation {
  align-items: flex-start;
  padding-top: 10px;
}
.docs-anim-preview {
  width: min(100%, 340px);
  margin: 0 auto;
}
.docs-anim-preview__grid {
  display: grid;
  gap: 10px;
}
.docs-anim-preview__grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.docs-anim-preview__grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.docs-anim-preview__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.docs-anim-preview__item--tile {
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  background: #f3f3f3;
  padding: 6px;
}
.docs-anim-preview__button,
.docs-anim-preview__icon-button {
  height: 38px;
  border: 1px solid #d8d8d8;
  border-radius: 4px;
  background: #ffffff;
  color: #171717;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.docs-anim-preview__icon-button {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0;
}
.docs-anim-preview__frame-button,
.docs-anim-preview__solid-button {
  height: 34px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.docs-anim-preview__frame-button {
  border: 1px solid #171717;
  background: #ffffff;
  color: #171717;
}
.docs-anim-preview__solid-button {
  border: 0;
  background: #171717;
  color: #ffffff;
}
.docs-anim-preview__meta {
  text-align: center;
  font-size: 10px;
  line-height: 1.2;
  color: #5a5a5a;
}

/* ========================================
   Docs Animation Preview: Hover motion
   ======================================== */
@keyframes zbd-docs-text-slide-up {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(-5px);
    opacity: 0.75;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes zbd-docs-text-fade {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    opacity: 1;
  }
}
@keyframes zbd-docs-text-scale {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.07);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes zbd-docs-text-float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
  100% {
    transform: translateY(0);
  }
}
.docs-anim-preview--text .docs-anim-preview__item:nth-child(1):hover .docs-anim-preview__button {
  animation: zbd-docs-text-slide-up 700ms ease;
}
.docs-anim-preview--text .docs-anim-preview__item:nth-child(2):hover .docs-anim-preview__button {
  animation: zbd-docs-text-fade 700ms ease;
}
.docs-anim-preview--text .docs-anim-preview__item:nth-child(3):hover .docs-anim-preview__button {
  animation: zbd-docs-text-scale 650ms ease;
}
.docs-anim-preview--text .docs-anim-preview__item:nth-child(4):hover .docs-anim-preview__button {
  animation: zbd-docs-text-float 650ms ease;
}

@keyframes zbd-docs-icon-right {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes zbd-docs-icon-up {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes zbd-docs-icon-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.docs-anim-preview--icon .docs-anim-preview__item:nth-child(1):hover .docs-anim-preview__icon-button,
.docs-anim-preview--icon .docs-anim-preview__item:nth-child(2):hover .docs-anim-preview__icon-button {
  animation: zbd-docs-icon-right 650ms ease;
}
.docs-anim-preview--icon .docs-anim-preview__item:nth-child(3):hover .docs-anim-preview__icon-button,
.docs-anim-preview--icon .docs-anim-preview__item:nth-child(4):hover .docs-anim-preview__icon-button,
.docs-anim-preview--icon .docs-anim-preview__item:nth-child(6):hover .docs-anim-preview__icon-button {
  animation: zbd-docs-icon-up 650ms ease;
}
.docs-anim-preview--icon .docs-anim-preview__item:nth-child(5):hover .docs-anim-preview__icon-button {
  animation: zbd-docs-icon-spin 900ms linear;
}

@keyframes zbd-docs-frame-shine {
  0% {
    box-shadow: inset -40px 0 0 rgba(255, 255, 255, 0);
  }
  50% {
    box-shadow: inset 40px 0 0 rgba(255, 255, 255, 0.28);
  }
  100% {
    box-shadow: inset -40px 0 0 rgba(255, 255, 255, 0);
  }
}
@keyframes zbd-docs-frame-glow {
  0% {
    box-shadow: 0 0 0 rgba(38, 105, 230, 0);
  }
  50% {
    box-shadow: 0 0 12px rgba(38, 105, 230, 0.45);
  }
  100% {
    box-shadow: 0 0 0 rgba(38, 105, 230, 0);
  }
}
.docs-anim-preview--frame .docs-anim-preview__item:hover .docs-anim-preview__frame-button {
  animation: zbd-docs-frame-shine 850ms ease;
}
.docs-anim-preview--frame .docs-anim-preview__item:nth-child(2):hover .docs-anim-preview__frame-button,
.docs-anim-preview--frame .docs-anim-preview__item:nth-child(4):hover .docs-anim-preview__frame-button {
  animation: zbd-docs-frame-glow 850ms ease;
}

@keyframes zbd-docs-btn-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-2px);
  }
  50% {
    transform: translateX(2px);
  }
  75% {
    transform: translateX(-1px);
  }
}
@keyframes zbd-docs-btn-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  45% {
    transform: translateY(-5px);
  }
}
@keyframes zbd-docs-btn-heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.06);
  }
  60% {
    transform: scale(1.02);
  }
}
@keyframes zbd-docs-btn-wobble {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-2deg);
  }
  50% {
    transform: rotate(2deg);
  }
  75% {
    transform: rotate(-1deg);
  }
}
.docs-anim-preview--button .docs-anim-preview__item:nth-child(1):hover .docs-anim-preview__solid-button {
  animation: zbd-docs-btn-shake 600ms ease;
}
.docs-anim-preview--button .docs-anim-preview__item:nth-child(2):hover .docs-anim-preview__solid-button {
  animation: zbd-docs-btn-bounce 700ms ease;
}
.docs-anim-preview--button .docs-anim-preview__item:nth-child(3):hover .docs-anim-preview__solid-button {
  animation: zbd-docs-btn-heartbeat 700ms ease;
}
.docs-anim-preview--button .docs-anim-preview__item:nth-child(4):hover .docs-anim-preview__solid-button {
  animation: zbd-docs-btn-wobble 700ms ease;
}
@media (max-width: 1024px) {
  .mock-panel-layout__microtext-bubble {
    font-size: 10px;
    padding: 12px 28px;
  }
  .mock-panel-layout__preview-button--microtext {
    min-height: 56px;
    font-size: 17px;
  }
  .mock-panel-layout__preview-maintext {
    font-size: 13px;
  }
  .mock-panel-layout__preview-subtext {
    font-size: 9px;
  }
  .mock-panel-layout__preview-arrow {
    font-size: 21px;
  }
  .mock-panel-layout__subcopy-text {
    font-size: 11px;
  }
  .docs-anim-preview {
    width: min(100%, 320px);
  }
}
@media (max-width: 700px) {
  .mock-panel-layout__microtext-bubble {
    font-size: 8px;
    padding: 10px 18px;
  }
  .mock-panel-layout__microtext-bubble::after {
    border-left-width: 10px;
    border-right-width: 10px;
    border-top-width: 12px;
  }
  .mock-panel-layout__preview-button--microtext {
    min-height: 48px;
    font-size: 12px;
    padding: 0 12px;
  }
  .mock-panel-layout__preview-button-stack {
    gap: 4px;
  }
  .mock-panel-layout__preview-microtext {
    font-size: 8px;
  }
  .mock-panel-layout__preview-maintext {
    font-size: 11px;
  }
  .mock-panel-layout__preview-subtext {
    font-size: 8px;
  }
  .mock-panel-layout__preview-arrow {
    font-size: 14px;
  }
  .mock-panel-layout__subcopy-text {
    margin-top: 8px;
    font-size: 10px;
  }
  .docs-anim-preview {
    width: 100%;
  }
  .docs-anim-preview__grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.mock-panel-layout__layer-guide {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #e1e5eb;
  background: #f8fafc;
}
.mock-panel-layout__layer-title {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  color: #475569;
}
.mock-panel-layout__layer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.mock-panel-layout__layer-item {
  display: flex;
  align-items: center;
}
.mock-panel-layout__layer-chip {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  height: 26px;
  padding: 0 10px;
  border: 1px solid #d7dce3;
  background: #ffffff;
  color: #334155;
  font-size: 12px;
}
.mock-panel-layout__layer-chip::after {
  content: "Layer";
  font-size: 10px;
  color: #94a3b8;
}
.mock-panel-layout__layer-item--active .mock-panel-layout__layer-chip,
.mock-panel-layout__layer-chip--active {
  border-color: #2669e6;
  background: #eaf1ff;
  color: #1e3a8a;
  font-weight: 600;
}
.mock-panel-layout__layer-item--active .mock-panel-layout__layer-chip::after,
.mock-panel-layout__layer-chip--active::after {
  content: "Active";
  color: #2669e6;
}

/* Icon animation mock: unify all icon glyphs to ">" */
.docs-markdown--setting .mock-panel__anim-grid--icons .mock-panel__anim-icon {
  font-size: 0;
  color: transparent;
}
.docs-markdown--setting .mock-panel__anim-grid--icons .mock-panel__anim-icon::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background-repeat: no-repeat;
  background-size: 14px 14px;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E");
}

/* --- Level 1 Panel Header (top-level: スタイル設定 etc.) --- */
.mock-panel__l1 {
  background: #f4f4f4;
}
.mock-panel__l1-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 16px;
  background: #f4f4f4;
  font-size: 13px;
  font-weight: 500;
  cursor: default;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.mock-panel__l1-body {
  padding: 0;
}

/* --- Level 2 Panel Header (sub-panel: テキストカラー etc.) --- */
.mock-panel__l2 {
  background: #e9e9e9;
}
.mock-panel__l2-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #ddd;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.75) 1px, transparent 1px);
  background-size: 3px 3px;
  font-size: 13px;
  font-weight: 500;
  cursor: default;
}
.mock-panel__l2-header--closed {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}
.mock-panel__l2-body {
  padding: 16px;
  background: #e9e9e9;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

/* --- Chevron Arrow Icons --- */
.mock-panel__arrow {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mock-panel__arrow svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* --- Color Preview Box --- */
.mock-panel__color-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1e1e1e;
  margin-bottom: 8px;
}
.mock-panel__color-preview {
  border: 1px solid #ddd;
  border-radius: 4px 4px 0 0;
  overflow: hidden;
}
.mock-panel__color-preview-swatch {
  height: 80px;
}
.mock-panel__color-preview-info {
  padding: 10px 14px;
  background: #fff;
  border-top: 1px solid #ddd;
}
.mock-panel__color-preview-name {
  font-size: 13px;
  font-weight: 600;
  color: #1e1e1e;
  margin-bottom: 2px;
}
.mock-panel__color-preview-value {
  font-size: 12px;
  color: #757575;
  font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

/* --- Color Palette Swatches --- */
.mock-panel__palette {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.mock-panel__swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
  position: relative;
  flex-shrink: 0;
}
.mock-panel__swatch--selected {
  border: 2px solid #2669e6;
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 4px #2669e6;
}
.mock-panel__swatch-check {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
}
.mock-panel__swatch--checkerboard {
  background-image:
    linear-gradient(45deg, #ccc 25%, transparent 25%), linear-gradient(-45deg, #ccc 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #ccc 75%),
    linear-gradient(-45deg, transparent 75%, #ccc 75%);
  background-size: 8px 8px;
  background-position:
    0 0,
    0 4px,
    4px -4px,
    -4px 0;
}

/* --- Palette Actions (Edit / Clear) --- */
.mock-panel__palette-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
}
.mock-panel__palette-edit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #f6f7f7;
  font-size: 12px;
  color: #1e1e1e;
  cursor: default;
}
.mock-panel__palette-edit svg {
  width: 16px;
  height: 16px;
}
.mock-panel__palette-clear {
  font-size: 12px;
  color: #2669e6;
  cursor: default;
}

/* --- Icon Vendor Summary --- */
.mock-panel__icon-vendors {
  margin-top: 12px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #f6f7f7;
}
.mock-panel__icon-vendors-label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  color: #1e1e1e;
}
.mock-panel__icon-vendors-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.mock-panel__icon-vendors-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.mock-panel__icon-vendors-name {
  font-size: 12px;
  color: #1e1e1e;
}
.mock-panel__icon-vendors-count {
  font-size: 11px;
  color: #666;
}

/* --- Range Slider (Opacity etc.) --- */
.mock-panel__range {
  margin-top: 18px;
}
.mock-panel__range-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1e1e1e;
  margin-bottom: 10px;
}
.mock-panel__range-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mock-panel__range-track {
  flex: 1;
  height: 4px;
  background: #aac6fa;
  border-radius: 2px;
  position: relative;
}
.mock-panel__range-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #2669e6;
  border-radius: 2px;
}
.mock-panel__range-thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  background: #2669e6;
  border: 2px solid #2669e6;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #fff;
}
.mock-panel__range-input {
  width: 52px;
  height: 32px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
  font-size: 13px;
  color: #1e1e1e;
  background: #fff;
  padding: 0;
  line-height: 32px;
}

/* --- Toggle (ON/OFF) --- */
.mock-panel__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.mock-panel__toggle-label {
  font-size: 11px;
  font-weight: 500;
  color: #1e1e1e;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.mock-panel__toggle-buttons {
  display: inline-flex;
  background: #fff;
  border-radius: 6px;
  padding: 3px;
  gap: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
}
.mock-panel__toggle-btn {
  min-width: 40px;
  height: 28px;
  padding: 0 10px;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: #757575;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mock-panel__toggle-btn--active {
  background: #1e1e1e;
  color: #fff;
}

/* --- Select Dropdown --- */
.mock-panel__select {
  margin-bottom: 12px;
}
.mock-panel__select-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1e1e1e;
  margin-bottom: 6px;
}
.mock-panel__select-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  font-size: 13px;
  color: #1e1e1e;
  cursor: default;
  box-sizing: border-box;
}
.mock-panel__select-arrow {
  width: 12px;
  height: 12px;
  color: #757575;
}

/* --- Text Input --- */
.mock-panel__text-input {
  margin-bottom: 12px;
}
.mock-panel__text-input-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1e1e1e;
  margin-bottom: 6px;
}
.mock-panel__text-input-box {
  width: 100%;
  height: 36px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  font-size: 13px;
  line-height: 1;
  color: #1e1e1e;
  box-sizing: border-box;
}

.mock-panel__helper-text {
  font-size: 12px;
  color: #757575;
  margin-top: 4px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.mock-panel__axis-control + .mock-panel__axis-control {
  margin-top: 14px;
}
.mock-panel__axis-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mock-panel__axis-switch {
  flex: 1;
  height: 58px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #f6f7f7;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}
.mock-panel__axis-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7a7a7a;
  background: transparent;
  font-size: 28px;
  line-height: 1;
}
.mock-panel__axis-btn--active {
  background: #1f1f1f;
  color: #fff;
}
.mock-panel__axis-icon {
  font-size: 24px;
  letter-spacing: 1px;
}
.mock-panel__axis-input {
  width: 92px;
  height: 58px;
  border: 1px solid #9d9d9d;
  border-radius: 2px;
  background: #f5f5f5;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}
.mock-panel__axis-value {
  font-size: 40px;
  line-height: 1;
  color: #1e1e1e;
  font-weight: 400;
}
.mock-panel__axis-unit {
  font-size: 24px;
  line-height: 1;
  color: #1e1e1e;
}

.mock-panel__reset-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  border: 1px solid #2669e6;
  border-radius: 4px;
  background: transparent;
  color: #2669e6;
  font-size: 13px;
  font-weight: 500;
  cursor: default;
  margin-top: 4px;
}

.mock-panel__style-buttons {
  margin-bottom: 12px;
}
.mock-panel__style-buttons-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1e1e1e;
  margin-bottom: 8px;
}
.mock-panel__style-buttons-row {
  display: flex;
  gap: 8px;
}
.mock-panel__style-btn {
  flex: 1;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  font-size: 13px;
  color: #1e1e1e;
  cursor: default;
}
.mock-panel__style-btn--active {
  background: #2669e6;
  border-color: #2669e6;
  color: #fff;
}

.mock-panel__list-selector {
  margin-bottom: 16px;
}
.mock-panel__list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 14px;
  color: #1e1e1e;
  cursor: default;
}
.mock-panel__list-item + .mock-panel__list-item {
  border-top: none;
}
.mock-panel__list-item:first-child {
  border-radius: 4px 4px 0 0;
}
.mock-panel__list-item:last-child {
  border-radius: 0 0 4px 4px;
}
.mock-panel__list-item--selected {
  border-color: #2669e6;
  color: #2669e6;
  font-weight: 500;
}
.mock-panel__list-check {
  width: 18px;
  height: 18px;
}

.mock-panel__weight-section {
  margin-bottom: 16px;
}
.mock-panel__weight-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1e1e1e;
  margin-bottom: 8px;
}
.mock-panel__weight-note {
  font-size: 11px;
  font-weight: 400;
  color: #757575;
  text-transform: none;
  letter-spacing: 0;
}
.mock-panel__weight-buttons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.mock-panel__weight-btn {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #f5f5f5;
  font-size: 12px;
  color: #1e1e1e;
  cursor: default;
}
.mock-panel__weight-btn--active {
  background: #2669e6;
  border-color: #2669e6;
  color: #fff;
}

.mock-panel__edit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #f9f9f9;
  color: #1e1e1e;
  font-size: 13px;
  cursor: default;
}
.mock-panel__edit-btn svg {
  width: 14px;
  height: 14px;
}

/* --- S01 Design (Custom / Preset) --- */
.mock-panel__s01-empty p {
  margin: 0 0 0;
  color: #2f2f2f;
  font-size: 13px;
  line-height: 1.5;
}
.mock-panel__s01-empty p:last-child {
  margin-bottom: 0;
}
.mock-panel__s01-presets {
  display: grid;
  gap: 10px;
}
.mock-panel__s01-preset-item {
  background: #efefef;
  border: 1px solid #e5e5e5;
  padding: 8px;
}
.mock-panel__s01-preset-no {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: #555;
  background: #f8f8f8;
  padding: 1px 4px;
  margin-bottom: 6px;
}
.mock-panel__s01-preset-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  border-radius: 2px;
}
.mock-panel__s01-preset-btn--light {
  border: 1px solid #d6d6d6;
}
.mock-panel__s01-preset-text {
  font-size: 9px;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: #fff;
}
.mock-panel__s01-preset-text--dark {
  color: #1f1f1f;
}

/* --- Unit Input (value + unit) --- */
.mock-panel__unit-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}
.mock-panel__unit-input {
  width: 64px;
  height: 32px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
  font-size: 13px;
  color: #1e1e1e;
  background: #fff;
  padding: 0;
}
.mock-panel__unit-label {
  font-size: 11px;
  color: #757575;
  min-width: 24px;
}

/* --- Responsive Tabs (PC / MD / TB / SP) --- */
.mock-panel__responsive-tabs {
  display: flex;
  gap: 2px;
  background: #fff;
  border-radius: 6px;
  padding: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
  margin-bottom: 16px;
}
.mock-panel__responsive-tab {
  flex: 1;
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  border-radius: 0;
  border: none;
  background: transparent;
  color: #757575;
  cursor: default;
}
.mock-panel__responsive-tab:first-child {
  border-radius: 4px 0 0 4px;
}
.mock-panel__responsive-tab:last-child {
  border-radius: 0 4px 4px 0;
}
.mock-panel__responsive-tab--active {
  background: #1e1e1e;
  color: #fff;
}

/* --- Hover / Default State Tabs --- */
.mock-panel__state-tabs {
  display: flex;
  width: 100%;
  gap: 4px;
  padding: 16px 16px 0;
  background: #fff;
  border-bottom: 1px solid #2669e6;
}
.mock-panel__state-tab {
  flex: 1;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  border-radius: 2px 2px 0 0;
  border: 1px solid #ddd;
  border-bottom: none;
  cursor: default;
  background: #d5d5d5;
  color: #222;
}
.mock-panel__state-tab--active {
  background: #2669e6;
  border-color: #2669e6;
  color: #fff;
}

/* --- Pro Feature Overlay --- */
.mock-panel__pro-overlay {
  position: relative;
  min-height: 60px;
}
.mock-panel__pro-content {
  opacity: 0.5;
  filter: grayscale(30%);
}
.mock-panel__pro-badge-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 0;
  z-index: 1;
}
.mock-panel__pro-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #000;
  padding: 4px 12px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
}
.mock-panel__pro-msg {
  margin: 8px 0 0;
  font-size: 12px;
  color: #fff;
  text-align: center;
}

/* --- Caption under mock panel --- */
.mock-panel__caption {
  margin: 6px 2px 0;
  font-size: 11px !important;
  line-height: 1.45;
  color: #94a3b8;
}

/* Table of Contents */
.docs-toc {
  position: relative;
  margin: 0 0 56px;
  padding: 28px 28px 18px;
  background: #fff;
  border: 1px solid #d7d9de;
  border-radius: 4px;
  counter-reset: toc-item;
}

.docs-toc__title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin: 0 0 20px;
  padding: 0 0 16px;
  border-bottom: 1px solid #e5e7eb;
  line-height: 1;
}

.docs-toc__title::before {
  content: none;
}

.docs-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.docs-toc__list li {
  position: relative;
  margin: 0 0 14px;
  padding-left: 10px;
}

.docs-toc__list li::before {
  content: "";
  position: absolute;
  left: -0.5em;
  top: 0.95em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #111;
  transform: translateY(-50%);
}

.docs-toc__list a {
  display: inline;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  color: #111;
  line-height: 1.6;
}

.docs-toc__list a:hover {
  color: #111;
  opacity: 0.75;
  text-decoration: none;
}

.docs-toc__list .docs-toc__list {
  margin-top: 8px;
}

.docs-toc__list .docs-toc__list li {
  padding-left: 16px;
}

.docs-toc__list .docs-toc__list li::before {
  width: 6px;
  height: 6px;
  background: #111;
}

.docs-toc__list .docs-toc__list a {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
}

/* ========================================
   Breadcrumb
   ======================================== */
.breadcrumb {
  margin-bottom: 66px;
  padding: 0;
  font-size: 13px;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0 !important;
  gap: 0;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  color: var(--zb-color-text-light);
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "\203A";
  display: inline-block;
  margin: 0 10px;
  color: var(--zb-color-text-light);
  font-size: 16px;
  line-height: 1;
}

.breadcrumb__item a {
  color: var(--zb-color-text-light);
  transition: color 0.15s;
}

.breadcrumb__item a:hover {
  color: var(--zb-color-primary);
  text-decoration: none;
}

.breadcrumb__item--current span {
  color: var(--zb-color-text);
  font-weight: 500;
}

/* ========================================
   Language Selector Page (Top)
   ======================================== */
.language-selector-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 24px;
  text-align: center;
}

.language-selector-page__title {
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 16px 0;
}

.language-selector-page__subtitle {
  font-size: 18px;
  color: var(--zb-color-text-light);
  margin: 0 0 48px 0;
}

.language-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 720px;
  width: 100%;
}

.language-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px;
  border: 1px solid var(--zb-color-border);
  border-radius: 12px;
  transition: all 0.2s;
}

.language-card:hover {
  border-color: var(--zb-color-primary);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
  text-decoration: none;
  transform: translateY(-2px);
}

.language-card__name {
  font-size: 24px;
  font-weight: 600;
  color: var(--zb-color-text);
  margin-bottom: 4px;
}

.language-card__native {
  font-size: 14px;
  color: var(--zb-color-text-light);
}

/* ========================================
   Front Page (Per Language)
   ======================================== */
.front-page {
  max-width: var(--zb-max-width);
  margin: 0 auto;
  padding: 60px 24px;
}

.front-page__hero {
  text-align: center;
  margin-bottom: 60px;
}

.front-page__title {
  font-size: 40px;
  font-weight: 700;
  margin: 0 0 16px 0;
}

.front-page__description {
  font-size: 18px;
  color: var(--zb-color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

.doc-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.doc-category-card {
  padding: 32px;
  border: 1px solid var(--zb-color-border);
  border-radius: 12px;
  transition: all 0.2s;
}

.doc-category-card:hover {
  border-color: var(--zb-color-primary);
  text-decoration: none;
}

.doc-category-card__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--zb-color-text);
  margin: 0 0 8px 0;
}

.doc-category-card__description {
  font-size: 14px;
  color: var(--zb-color-text-light);
  margin: 0;
}

/* ========================================
   Landing Page (CSS Grid – Dynamic Height)
   Grid: 4 cols × 350px, all rows auto
   Rows 1-5 (pre-tagline), 6 (tagline), 7-10 (post-tagline)
   ======================================== */

/* --- Dark body + overflow clip --- */
.is-landing-page {
  background-color: #000000;
  overflow-x: hidden;
}

/* --- Single mosaic layout (independent column heights) --- */
.landing-page {
  position: relative;
  max-width: none !important;
  margin: 0 auto !important;
  min-height: 100vh;
  overflow: hidden;
}

/* --- Mosaic container (3 columns side by side) --- */
.lp-mosaic {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 10px;
}

/* --- Column (stacks cells vertically, independent height) --- */
.lp-col {
  width: 350px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

/* --- Center column (2× width for lp-2 / lp-18 spanning) --- */
.lp-col-center {
  width: 710px; /* 350×2 + 10 gap */
}

/* --- Pair row (two cells side by side within center column) --- */
.lp-pair {
  display: flex;
  gap: 10px;
}
.lp-pair > .lp-cell {
  flex: 1;
  min-width: 0;
}

/* --- Footer --- */
.is-landing-page .site-footer {
  background: #000000;
  border-top-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
}

/* --- Grid cells (layout frames) --- */
.lp-cell {
  overflow: hidden;
}

/* --- Button blocks inside cells: fill width, override plugin spacing ---
   Triple-class selector (0,4,0) beats zenblocks responsive (0,2,0) */
.lp-cell > .wp-block-zenblocks-button-basic.wp-block-zenblocks-button-basic.wp-block-zenblocks-button-basic {
  margin-top: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  margin-left: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden;
}

.lp-cell > .wp-block-zenblocks-button-basic > a,
.lp-cell > .wp-block-zenblocks-button-basic > button {
  width: 100% !important;
  max-width: 100% !important;
  min-height: unset !important;
}

/* --- Tagline (center of mosaic, extends full width via negative margins) --- */
.landing-tagline {
  position: relative;
  z-index: 2;
  margin-left: calc(-350px - 10px);
  margin-right: calc(-350px - 10px);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 0;
  color: #ffffff !important;
  font-family: "Noto Sans", var(--zb-font-sans);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.landing-tagline p,
.landing-tagline h2,
.landing-tagline h3 {
  color: #ffffff !important;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  margin: 0;
}

/* --- Dummy preview boxes --- */
.lp-dummy {
  background: rgba(255, 255, 255, 0.1);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  font-family: "Noto Sans", sans-serif;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
  overflow: hidden;
}

.lp-dummy strong {
  display: block;
  font-size: 20px;
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.6);
}

/* --- Dummy min-heights (PSD design sizes) --- */
.lp-1 > .lp-dummy {
  min-height: 410px;
}
.lp-2 > .lp-dummy {
  min-height: 230px;
}
.lp-4 > .lp-dummy {
  min-height: 290px;
}
.lp-6 > .lp-dummy {
  min-height: 290px;
}
.lp-7 > .lp-dummy {
  min-height: 290px;
}
.lp-8 > .lp-dummy {
  min-height: 50px;
}
.lp-9 > .lp-dummy {
  min-height: 350px;
}
.lp-12 > .lp-dummy {
  min-height: 350px;
}
.lp-13 > .lp-dummy {
  min-height: 290px;
}
.lp-15 > .lp-dummy {
  min-height: 290px;
}
.lp-16 > .lp-dummy {
  min-height: 410px;
}
.lp-18 > .lp-dummy {
  min-height: 230px;
}
.lp-19 > .lp-dummy {
  min-height: 230px;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
  border-top: 1px solid var(--zb-color-border);
  padding: 32px 24px;
  text-align: center;
  font-size: 14px;
  color: var(--zb-color-text-light);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
  .mock-panel,
  .mock-panel-layout__mock .mock-panel {
    width: 100%;
    max-width: none;
  }

  .mock-panel-layout {
    grid-template-columns: 1fr;
  }

  .docs-layout {
    flex-direction: column;
  }

  .docs-sidebar {
    width: 100%;
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--zb-color-border);
    padding: 16px;
  }

  .docs-content {
    padding: 24px 20px;
  }

  .docs-content h1 {
    font-size: 24px;
  }

  .docs-toc {
    padding: 18px 14px 12px;
  }

  .docs-toc__title {
    font-size: 18px;
    padding-bottom: 12px;
    margin-bottom: 14px;
  }

  .docs-toc__title::before {
    content: none;
  }

  .docs-toc__list li {
    padding-left: 16px;
    margin-bottom: 10px;
  }

  .docs-toc__list li::before {
    width: 6px;
    height: 6px;
  }

  .docs-toc__list a {
    font-size: 14px;
  }

  .setting-screen-template__cards {
    grid-template-columns: 1fr;
  }

  .buttonbasic-hub__index {
    grid-template-columns: 1fr;
  }

  .docs-markdown--setting blockquote {
    padding: 20px 18px;
  }

  .docs-markdown--setting .docs-quote--note {
    padding: 20px 18px;
    border-left: 4px solid #000 !important;
  }

  .docs-markdown--setting .docs-quote--point,
  .docs-markdown--setting .docs-quote--change,
  .docs-markdown--setting .docs-quote--tip {
    padding: 0 0 0 26px;
  }

  .docs-markdown--setting .docs-quote--point::before,
  .docs-markdown--setting .docs-quote--change::before,
  .docs-markdown--setting .docs-quote--tip::before {
    left: 12px;
    width: 30px;
    height: 30px;
  }

  .docs-markdown--setting .docs-quote--point::after,
  .docs-markdown--setting .docs-quote--change::after,
  .docs-markdown--setting .docs-quote--tip::after {
    left: 27px;
    width: 16px;
    height: 16px;
    background-size: 16px 16px;
  }
  .docs-wp-block-embed {
    margin: 16px 0 20px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background: #fff;
  }
  .docs-wp-block-embed--error {
    font-size: 13px;
    color: #b42318;
    background: #fff5f5;
    border-color: #f8d7da;
  }

  .language-cards {
    grid-template-columns: 1fr;
  }

  .language-selector-page__title {
    font-size: 32px;
  }

  .docs-table {
    font-size: 13px;
  }

  .docs-table th,
  .docs-table td {
    padding: 8px 10px;
  }

  /* Landing page responsive (tablet) */
  .landing-tagline {
    font-size: 20px;
  }
}

/* Landing page responsive (mobile: single column stack) */
@media (max-width: 500px) {
  .lp-mosaic {
    flex-direction: column;
    align-items: center;
    padding: 8px;
  }

  .lp-col,
  .lp-col-center {
    width: 100%;
    max-width: 400px;
  }

  .lp-pair {
    flex-direction: column;
  }

  .landing-tagline {
    margin-left: 0;
    margin-right: 0;
    font-size: clamp(14px, 3.8vw, 24px);
    white-space: nowrap;
    padding: 10px 0;
  }
}

/* ========================================
   Docs Table
   ======================================== */
.docs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
  font-size: 14px;
  line-height: 1.6;
}

.docs-table th,
.docs-table td {
  padding: 10px 14px;
  border: 1px solid var(--zb-color-border);
  text-align: left;
  vertical-align: top;
}

.docs-table th {
  background: var(--zb-color-bg-secondary);
  font-weight: 600;
  white-space: nowrap;
}

.docs-table td {
  background: var(--zb-color-bg);
}

.docs-table tr:hover td {
  background: var(--zb-color-bg-secondary);
}

/* ========================================
   Docs Markdown FAQ
   ======================================== */
.docs-markdown--faq h1 {
  display: none;
}

.docs-markdown--faq hr {
  margin: 2em 0;
}

.docs-markdown--faq h2 {
  font-size: 1.35em;
  margin: 3em 0 1em;
}

.docs-markdown--faq h3 {
  font-size: 1.1em;
  margin: 1.4em 0 0.4em;
}

.docs-markdown--faq p,
.docs-markdown--faq ul,
.docs-markdown--faq ol,
.docs-markdown--faq blockquote {
  margin: 0.6em 0;
}

.docs-markdown--faq ol {
  padding-left: 1.6em;
}

.docs-markdown--faq ol li {
  margin: 0.3em 0;
}

.docs-markdown--faq a {
  color: var(--zb-color-primary);
  text-decoration: none;
}

.docs-markdown--faq a:hover {
  text-decoration: underline;
}

/* ===== Docs Capture Screenshot Styles ===== */
.docs-capture {
  margin: 1.2em 0;
  padding: 0;
  text-align: center;
}

.docs-capture__image {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--zb-color-border, #e0e0e0);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.docs-capture__caption {
  font-size: 0.75em;
  color: var(--zb-color-text-muted, #999);
  margin-top: 0.4em;
}

/* ===== buttonBasic Top Index Cards (ja/docs/block/element/buttonbasic/) ===== */
.single-docs.postid-551 .docs-markdown--setting h2#section-2 + ul {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.single-docs.postid-551 .docs-markdown--setting h2#section-2 + ul > li {
  margin: 0;
  padding: 20px;
  border: 1px solid var(--zb-color-border);
  border-radius: 2px;
  background: #fff;
  color: var(--zb-color-text);
  font-size: 14px;
  line-height: 1.6;
}

.single-docs.postid-551 .docs-markdown--setting h2#section-2 + ul > li > a {
  display: block;
  margin: 0 0 8px;
  color: var(--zb-color-text);
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
  text-decoration: none;
}

.single-docs.postid-551 .docs-markdown--setting h2#section-2 + ul > li:hover {
  border-color: #b8c6e5;
}

@media (max-width: 1100px) {
  .single-docs.postid-551 .docs-markdown--setting h2#section-2 + ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .single-docs.postid-551 .docs-markdown--setting h2#section-2 + ul {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Legal Pages (Terms, Refund Policy)
   ======================================== */
.legal-page {
  padding: calc(var(--zb-header-height) + 40px) 24px 80px;
  background-color: var(--zb-color-bg);
}

.legal-page__inner {
  max-width: 720px;
  margin: 0 auto;
}

.legal-page__inner h1 {
  font-size: 2rem;
  margin-bottom: 8px;
  color: var(--zb-color-text);
}

.legal-page__updated {
  color: var(--zb-color-text-light);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.legal-page__inner h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--zb-color-text);
}

.legal-page__inner p {
  line-height: 1.7;
  color: var(--zb-color-text);
  margin-bottom: 1rem;
}

.legal-page__inner ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-page__inner ul li {
  line-height: 1.7;
  margin-bottom: 0.25rem;
  color: var(--zb-color-text);
}

.site-footer__legal {
  margin-top: 8px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.site-footer__legal a {
  color: var(--zb-color-text-light);
  font-size: 0.8125rem;
  text-decoration: none;
}

.site-footer__legal a:hover {
  color: var(--zb-color-text);
  text-decoration: underline;
}

/* ========================================
   Downloads Page
   ======================================== */
.downloads-page {
  position: relative;
  max-width: var(--zb-max-width);
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.downloads-hero,
.downloads-section,
.downloads-cta {
  position: relative;
  max-width: none;
  margin: 0;
}

.downloads-hero {
  padding: 0 0 24px;
}

.downloads-hero__inner,
.downloads-section__inner,
.downloads-cta__inner {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--zb-color-border);
  border-radius: 24px;
  padding: 32px;
  box-shadow: none;
}

.downloads-hero__inner {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.92));
  border-color: rgba(148, 163, 184, 0.2);
}

.downloads-hero__eyebrow {
  margin: 0 0 12px;
  color: var(--zb-color-primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.downloads-hero__title {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.downloads-hero__subtitle {
  max-width: 600px;
  margin: 18px 0 0;
  font-size: 16px;
  color: var(--zb-color-text-light);
  line-height: 1.8;
}

.downloads-price-card {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 8px 12px;
  margin-top: 32px;
  padding: 0;
}

.downloads-price-card__label {
  font-size: 13px;
  color: var(--zb-color-text-light);
  letter-spacing: 0.04em;
}

.downloads-price-card__value {
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.downloads-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 28px;
}

.downloads-panel--steps {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.downloads-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 0 28px;
  border: 0;
  border-radius: 14px;
  background: var(--zb-color-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.18);
}

.downloads-button::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center / contain;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.downloads-button:hover::after {
  transform: translateX(3px);
}

.downloads-button:hover {
  background: var(--zb-color-primary-dark);
  transform: translateY(-1px);
  text-decoration: none;
}

.downloads-button:disabled {
  opacity: 0.72;
  cursor: wait;
}

.downloads-button--secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--zb-color-text);
  border: 1px solid var(--zb-color-border);
  box-shadow: none;
}

.downloads-button--secondary:hover {
  background: var(--zb-color-bg-secondary);
  border-color: var(--zb-color-primary);
  color: var(--zb-color-text);
}

.downloads-hero__note {
  margin: 0;
  color: var(--zb-color-text-light);
  font-size: 14px;
}

.downloads-hero__error {
  margin: 10px 0 0;
  color: #b42318;
  font-size: 13px;
}

.downloads-section {
  padding-top: 28px;
}

.downloads-section__title {
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: 720;
  line-height: 1.4;
  letter-spacing: -0.03em;
}

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

.downloads-feature-card,
.downloads-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.9));
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 18px;
  padding: 24px;
}

.downloads-panel {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.downloads-feature-card__title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.downloads-feature-card__description {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--zb-color-text-light);
}

.downloads-section__inner--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.downloads-panel--compact {
  align-self: start;
}

.downloads-steps,
.downloads-requirements {
  list-style: none;
  margin: 0;
  padding-left: 0;
  font-size: 15px;
  color: var(--zb-color-text);
}

.downloads-steps li,
.downloads-requirements li {
  position: relative;
  margin: 0 0 12px;
  line-height: 1.7;
}

.downloads-steps {
  counter-reset: downloads-step;
  display: grid;
  gap: 12px;
}

.downloads-steps li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 0;
  padding: 16px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.downloads-steps li:first-child {
  border-top: 0;
  padding-top: 0;
}

.downloads-steps li::before {
  counter-increment: downloads-step;
  content: counter(downloads-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--zb-color-primary);
  font-size: 13px;
  font-weight: 700;
}

.downloads-requirements {
  display: grid;
  gap: 12px;
}

.downloads-requirements li {
  margin: 0;
  padding-left: 30px;
}

.downloads-requirements li::before {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 6px rgba(37, 99, 235, 0.24);
}

.downloads-cta {
  padding-top: 24px;
}

.downloads-steps--compact {
  max-width: 880px;
}

.downloads-cta .downloads-steps li {
  padding: 18px 0;
}

.downloads-cta .downloads-steps li:first-child {
  padding-top: 0;
}

@media (max-width: 768px) {
  .downloads-page {
    padding: 40px 16px 64px;
  }

  .downloads-hero {
    padding-top: 0;
  }

  .downloads-hero__inner,
  .downloads-section__inner,
  .downloads-cta__inner {
    padding: 24px;
    border-radius: 18px;
  }

  .downloads-feature-grid,
  .downloads-section__inner--split {
    grid-template-columns: 1fr;
  }

  .downloads-hero__title {
    font-size: 30px;
  }

  .downloads-price-card {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .downloads-price-card__value {
    font-size: 24px;
  }

  .downloads-section__title {
    font-size: 22px;
  }

  .downloads-button {
    width: 100%;
  }
}

/* Downloads Pro Banner */
.downloads-pro-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--zb-max-width, 960px);
  margin: 0 auto;
  padding: 32px 40px;
  background: #2c2c2c;
  border-radius: 16px;
  color: #fff;
}

.downloads-pro-banner__content {
  flex: 1;
}

.downloads-pro-banner__label {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.downloads-pro-banner__description {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.downloads-pro-banner__button {
  flex-shrink: 0;
  background: #fff;
  color: #2c2c2c;
  font-weight: 600;
  border: none;
}

.downloads-pro-banner__button:hover {
  background: rgba(255, 255, 255, 0.85);
  color: #2c2c2c;
}

@media (max-width: 768px) {
  .downloads-pro-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }

  .downloads-pro-banner__button {
    width: 100%;
  }
}

.downloads-hero__disclaimer {
  font-size: 12px;
  color: var(--zb-color-text-light);
  opacity: 0.7;
  margin-top: 4px;
}

/* Downloads Pro Page — Pricing */
.downloads-pro-pricing {
  display: flex;
  gap: 16px;
  margin: 24px 0 8px;
}

.downloads-pro-pricing__plan {
  flex: 1;
  padding: 20px 24px;
  border: 1px solid var(--zb-color-border);
  border-radius: 12px;
  text-align: center;
}

.downloads-pro-pricing__plan--annual {
  border-color: var(--zb-color-primary);
  background: var(--zb-color-code-bg);
}

.downloads-pro-pricing__amount {
  font-size: 24px;
  font-weight: 700;
  color: var(--zb-color-text);
}

@media (max-width: 500px) {
  .downloads-pro-pricing {
    flex-direction: column;
  }

  .downloads-pro-pricing__amount {
    font-size: 20px;
  }
}

/* Downloads Pro Page — FAQ */
.downloads-cta__text {
  font-size: 16px;
  color: var(--zb-color-text-light);
  margin-bottom: 24px;
}

.downloads-cta__links {
  margin-top: 16px;
}

.downloads-cta__link {
  font-size: 14px;
  color: var(--zb-color-text-light);
  text-decoration: underline;
  transition: color 0.2s;
}

.downloads-cta__link:hover {
  color: var(--zb-color-text);
}

.downloads-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.downloads-faq-item {
  border-bottom: 1px solid var(--zb-color-border);
  padding: 0;
}

.downloads-faq-item:first-child {
  border-top: 1px solid var(--zb-color-border);
}

.downloads-faq-item__question {
  font-size: 16px;
  font-weight: 600;
  color: var(--zb-color-text);
  cursor: pointer;
  padding: 16px 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.downloads-faq-item__question::-webkit-details-marker {
  display: none;
}

.downloads-faq-item__question::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--zb-color-text-light);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.downloads-faq-item[open] .downloads-faq-item__question::after {
  content: '−';
}

.downloads-faq-item__answer {
  font-size: 15px;
  line-height: 1.7;
  color: var(--zb-color-text-light);
  padding: 0 0 16px;
}
