.site-cat-archive {
  padding: 28px 0 40px;
}

.site-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #7a786f;
}

.site-breadcrumb a {
  color: #993c1d;
  text-decoration: none;
}

.cat-hero {
  background: #faece7;
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.cat-hero h1 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.2;
}

.cat-hero p {
  margin: 0;
  color: #7a786f;
}

.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  position: sticky;
  top: 60px;
  background: #fff;
  border-bottom: 1px solid #e8e6e0;
  z-index: 10;
  padding: 12px 0;
  margin-bottom: 14px;
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  overflow-x: auto;
}

.filter-pill {
  border: 1px solid #e8e6e0;
  border-radius: 999px;
  background: #fff;
  color: #555;
  font-size: 13px;
  line-height: 1;
  padding: 7px 12px;
  cursor: pointer;
  white-space: nowrap;
}

.filter-pill:hover,
.filter-pill:focus-visible {
  border-color: #f0997b;
  color: #993c1d;
}

.filter-pill.active {
  background: #faece7;
  color: #993c1d;
  border-color: #f0997b;
}

.sort-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.sort-select {
  appearance: none;
  border: 0;
  border-bottom: 1px solid #d4d0c6;
  border-radius: 0;
  background: transparent;
  font-size: 14px;
  color: #333;
  padding: 2px 20px 2px 0;
}

.site-grid-wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.site-card {
  border: 1px solid #e8e6e0;
  border-left: 3px solid transparent;
  border-radius: 10px;
  background: #fff;
  padding: 14px;
}

.site-card-featured {
  border-left: 3px solid #d85a30;
}

.site-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.site-card-head h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.3;
}

.site-card-head h3 a {
  color: inherit;
  text-decoration: none;
}

.site-favicon-fallback {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #f2f0ea;
  display: inline-block;
}

.site-desc {
  margin: 0 0 8px;
  color: #7a786f;
  font-size: 13px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.site-domain {
  margin: 0 0 8px;
  font-size: 12px;
  color: #9b988e;
}

.site-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.site-badge {
  font-size: 11px;
  color: #993c1d;
  background: #faece7;
  border-radius: 999px;
  padding: 3px 8px;
}

#no-results {
  border: 1px dashed #e8e6e0;
  border-radius: 10px;
  background: #faf9f7;
  margin-top: 12px;
  padding: 16px;
  text-align: center;
}

#no-results p {
  margin: 0 0 8px;
}

#no-results a {
  color: #993c1d;
  text-decoration: none;
}

.cat-description-block {
  background: #f7f6f3;
  border-radius: 12px;
  padding: 24px 28px;
  margin: 32px 0;
}

.cat-description-block h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.other-cats h2 {
  font-size: 18px;
  margin: 0 0 12px;
}

.other-cats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.other-cat-card {
  border: 1px solid #e8e6e0;
  border-radius: 10px;
  background: #fff;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: inherit;
}

.other-cat-card span {
  color: #7a786f;
  font-size: 12px;
}

@media (max-width: 767px) {
  .filter-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .filter-tags {
    flex-wrap: nowrap;
    overflow-x: scroll;
    width: 100%;
    padding-bottom: 4px;
  }

  .site-grid-wrap {
    grid-template-columns: 1fr;
  }

  .other-cats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ════════════════════════════════════════════════════════════
   搜索结果页（templates/search.html + rub2b_search_results）
════════════════════════════════════════════════════════════ */

.search-hero {
  background: #f7f6f3;
  padding: 32px 0;
  border-bottom: 0.5px solid #e8e6e0;
  margin-bottom: 24px;
}

.search-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
  text-align: center;
}

.search-empty-title {
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 8px;
  color: #1a1a1a;
}

.search-empty-sub {
  font-size: 14px;
  color: #888780;
  margin: 0 0 20px;
}

.search-form-wrap {
  display: flex;
  align-items: stretch;
  gap: 8px;
  max-width: 600px;
  margin: 0 auto;
}

.search-form-wrap input[type="search"] {
  flex: 1;
  border: 1px solid #e8e6e0;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  padding: 10px 14px;
  outline: none;
  min-width: 0;
}

.search-form-wrap input[type="search"]:focus {
  border-color: #d85a30;
  box-shadow: 0 0 0 2px rgba(216, 90, 48, 0.15);
}

.search-form-wrap button {
  border: 0;
  border-radius: 8px;
  background: #d85a30;
  color: #fff;
  font-size: 14px;
  padding: 10px 20px;
  cursor: pointer;
  white-space: nowrap;
}

.search-form-wrap button:hover {
  background: #993c1d;
}

.search-form-wide {
  margin-top: 4px;
}

.search-summary {
  font-size: 14px;
  color: #888780;
  margin: 8px 0 0;
}

.search-summary strong {
  color: #1a1a1a;
  font-weight: 500;
}

.search-results-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 48px;
}

.search-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid #e8e6e0;
  margin-bottom: 24px;
}

.search-tab {
  border: 0;
  background: transparent;
  padding: 10px 16px;
  font-size: 13px;
  color: #555;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.search-tab:hover {
  color: #d85a30;
}

.search-tab.active {
  color: #d85a30;
  border-bottom-color: #d85a30;
  font-weight: 500;
}

.search-tab.disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: not-allowed;
}

.search-section {
  margin-bottom: 32px;
}

.search-section:last-child {
  margin-bottom: 0;
}

.search-section-title {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 16px;
  padding-left: 10px;
  border-left: 3px solid #d85a30;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-section-count {
  font-size: 12px;
  font-weight: 400;
  color: #888780;
  background: #f1efe8;
  border-radius: 999px;
  padding: 1px 8px;
}

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

.search-result-card {
  border: 0.5px solid #e8e6e0;
  border-left: 3px solid transparent;
  border-radius: 10px;
  background: #fff;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-result-card.search-result-featured {
  border-left: 3px solid #d85a30;
}

.search-result-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-result-favicon {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  flex-shrink: 0;
  object-fit: cover;
}

.search-result-title {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

.search-result-title a {
  color: inherit;
  text-decoration: none;
}

.search-result-title a:hover {
  color: #d85a30;
}

.search-result-desc {
  margin: 0;
  font-size: 12px;
  color: #7a786f;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-result-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.search-result-domain {
  font-size: 11px;
  color: #9b988e;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.search-result-cat {
  font-size: 11px;
  color: #993c1d;
  background: #faece7;
  border-radius: 4px;
  padding: 2px 8px;
  text-decoration: none;
}

.search-result-cat:hover {
  background: #f0997b;
  color: #fff;
}

mark.search-hl {
  background: #faeeda;
  color: #854f0b;
  border-radius: 2px;
  padding: 0 2px;
  font-style: normal;
  font-weight: inherit;
}

.search-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 24px;
}

.search-pagination .page-numbers {
  display: inline-block;
  border: 1px solid #e8e6e0;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 13px;
  color: #555;
  text-decoration: none;
  background: #fff;
  line-height: 1;
}

.search-pagination .page-numbers:hover {
  border-color: #f0997b;
  color: #d85a30;
}

.search-pagination .page-numbers.current {
  background: #d85a30;
  border-color: #d85a30;
  color: #fff;
}

.search-pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
}

.post-result-list {
  display: flex;
  flex-direction: column;
}

.post-result-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 0;
  border-bottom: 0.5px solid #e8e6e0;
}

.post-result-item:last-child {
  border-bottom: 0;
}

.post-result-title {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.post-result-title a {
  color: #1a1a1a;
  text-decoration: none;
}

.post-result-title a:hover {
  color: #d85a30;
}

.post-result-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #888780;
}

.post-result-meta time {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.post-result-cat {
  font-size: 11px;
  color: #993c1d;
  background: #faece7;
  border-radius: 4px;
  padding: 2px 8px;
  text-decoration: none;
}

.post-result-cat:hover {
  background: #f0997b;
  color: #fff;
}

.post-result-excerpt {
  margin: 0;
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}

.post-result-more {
  margin: 12px 0 0;
  font-size: 13px;
  text-align: right;
}

.post-result-more a {
  color: #d85a30;
  text-decoration: none;
}

.post-result-more a:hover {
  text-decoration: underline;
}

.no-results-wrap,
.empty-query-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 16px 64px;
  text-align: center;
}

.no-results-wrap {
  padding-top: 48px;
  padding-bottom: 64px;
}

.no-results-title {
  font-size: 18px;
  color: #1a1a1a;
  margin: 0 0 20px;
  font-weight: 400;
}

.no-results-title strong {
  color: #d85a30;
  font-weight: 500;
}

.no-results-suggestions {
  list-style: none;
  padding: 0;
  margin: 0 auto 24px;
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  font-size: 14px;
  color: #555;
}

.no-results-suggestions li {
  position: relative;
  padding-left: 16px;
}

.no-results-suggestions li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d85a30;
}

.no-results-cat-title {
  font-size: 15px;
  font-weight: 500;
  margin: 32px 0 16px;
  color: #1a1a1a;
}

.hot-search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}

.hot-search-label {
  font-size: 13px;
  color: #888780;
  align-self: center;
}

.hot-tag {
  border: 1px solid #e8e6e0;
  border-radius: 999px;
  background: #fff;
  color: #555;
  font-size: 13px;
  line-height: 1;
  padding: 7px 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.hot-tag:hover,
.hot-tag:focus-visible {
  border-color: #f0997b;
  color: #993c1d;
  background: #faece7;
  outline: none;
}

.search-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  text-align: left;
}

.search-category-grid .cat-card {
  border: 0.5px solid #e8e6e0;
  border-radius: 12px;
  padding: 16px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.search-category-grid .cat-card:hover {
  border-color: #f0997b;
  transform: translateY(-1px);
}

.search-category-grid .cat-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-category-grid .cat-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.search-category-grid .cat-card-title {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
}

.search-category-grid .cat-card-desc {
  margin: 0;
  font-size: 12px;
  color: #888780;
  line-height: 1.5;
}

.search-category-grid .cat-card-link {
  font-size: 11px;
  color: #d85a30;
  margin-top: auto;
}

@media (max-width: 767px) {
  .search-hero {
    padding: 24px 0;
  }

  .search-empty-title {
    font-size: 20px;
  }

  .search-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .search-tabs::-webkit-scrollbar {
    display: none;
  }

  .search-results-grid {
    grid-template-columns: 1fr;
  }

  .search-category-grid {
    grid-template-columns: 1fr 1fr;
  }

  .search-form-wrap {
    flex-wrap: nowrap;
  }
}

@media (max-width: 480px) {
  .search-category-grid {
    grid-template-columns: 1fr;
  }
}

/* ════════════════════════════════════════════════════════════
   VIP 页面（templates/page-vip.html）
════════════════════════════════════════════════════════════ */

.vip-hero {
  background: #1a1a1a;
  padding: 56px 0;
  color: #fff;
}

.vip-main-title {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.25;
}

.vip-main-subtitle {
  margin: 0 0 24px;
  font-size: 13px;
  color: #888780;
}

.vip-section-title {
  margin: 0 0 20px;
  padding-left: 10px;
  border-left: 3px solid #d85a30;
  font-size: 18px;
  font-weight: 500;
}

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

.pricing-card {
  background: #fff;
  border: 0.5px solid #e8e6e0;
  border-radius: 12px;
  padding: 20px;
  position: relative;
}

.pricing-card.featured {
  border: 2px solid #d85a30;
}

.pricing-badge {
  position: absolute;
  top: -10px;
  left: 18px;
  background: #d85a30;
  color: #fff;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 11px;
}

.pricing-name {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
}

.pricing-price {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  color: #d85a30;
}

.pricing-period {
  margin: 2px 0 12px;
  font-size: 12px;
  color: #888780;
}

.pricing-feature-list {
  margin-bottom: 12px;
}

.pricing-feature {
  margin: 0;
  font-size: 12px;
  display: flex;
  gap: 6px;
  padding: 4px 0;
  color: #333;
}

.vip-open-btn {
  width: 100%;
  border-radius: 8px;
  font-size: 13px;
  padding: 10px 14px;
  cursor: pointer;
}

.vip-open-btn-fill {
  border: 1px solid #d85a30;
  background: #d85a30;
  color: #fff;
}

.vip-open-btn-outline {
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
}

.vip-buy .vip-open-btn-outline {
  border-color: #1a1a1a;
  color: #1a1a1a;
}

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

.benefit-item {
  display: flex;
  gap: 10px;
  background: #f7f6f3;
  border-radius: 8px;
  padding: 12px;
}

.benefit-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  flex-shrink: 0;
}

.benefit-item h3 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 500;
}

.benefit-item p {
  margin: 0;
  font-size: 12px;
  color: #888780;
}

.benefit-badge {
  display: inline-block;
  margin-left: 4px;
  border-radius: 999px;
  background: #faece7;
  color: #d85a30;
  font-size: 10px;
  padding: 1px 6px;
}

.vip-resources {
  background: #f7f6f3;
  padding: 48px 0;
}

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

.resource-card {
  background: #fff;
  border: 0.5px solid #e8e6e0;
  border-radius: 10px;
  padding: 14px;
  position: relative;
  overflow: hidden;
}

.resource-type {
  display: inline-block;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 11px;
  margin-bottom: 8px;
}

.resource-type-xlsx {
  background: #e1f5ee;
  color: #1f7a4f;
}

.resource-type-pdf {
  background: #faece7;
  color: #a53a1d;
}

.resource-type-docx {
  background: #e6f1fb;
  color: #2c5f8a;
}

.resource-card h3 {
  margin: 0 0 4px;
  font-size: 13px;
}

.resource-card p {
  margin: 0;
  font-size: 12px;
  color: #888780;
}

.resource-lock {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.resource-open-btn {
  border: 0;
  border-radius: 8px;
  background: #d85a30;
  color: #fff;
  font-size: 12px;
  padding: 8px 12px;
  cursor: pointer;
}

.vip-reviews {
  background: #fff;
}

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

.review-card {
  background: #fff;
  border: 0.5px solid #e8e6e0;
  border-radius: 10px;
  padding: 20px;
  position: relative;
}

.review-quote {
  font-size: 36px;
  color: #faece7;
  line-height: 1;
  margin-bottom: 4px;
}

.review-content {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.65;
  color: #333;
}

.review-user {
  margin: 0;
  font-size: 12px;
  color: #888780;
}

.vip-faq {
  background: #fff;
}

.faq-list {
  border-top: 0.5px solid #e8e6e0;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  padding: 14px 0;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 0.5px solid #e8e6e0;
  text-align: left;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  font-size: 13px;
  color: #888780;
}

.faq-answer p {
  margin: 0;
  padding: 0 0 14px;
}

.faq-answer.open {
  max-height: 200px;
}

.payment-modal-wrap {
  min-height: 500px;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  border-radius: 12px;
}

.payment-modal-wrap.open {
  display: flex;
}

.payment-modal {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  max-width: 480px;
  width: 100%;
  position: relative;
}

.payment-close-btn {
  position: absolute;
  right: 12px;
  top: 12px;
  border: 0;
  border-radius: 6px;
  background: #f1efe8;
  font-size: 12px;
  padding: 6px 10px;
  cursor: pointer;
}

.payment-qrs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.payment-qr-item img,
.payment-group img {
  width: 100%;
  max-width: 160px;
  height: auto;
  border-radius: 8px;
}

.payment-tip {
  font-size: 13px;
  color: #555;
}

.vip-bottom-cta {
  background: #1a1a1a;
}

.vip-bottom-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.vip-bottom-cta-inner p {
  margin: 0;
  color: #fff;
  font-size: 14px;
}

.vip-cta-buy-btn {
  border: 0;
  border-radius: 8px;
  background: #d85a30;
  color: #fff;
  font-size: 13px;
  padding: 10px 16px;
  cursor: pointer;
}

@media (max-width: 767px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid .pricing-card.featured {
    order: -1;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

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

  .review-grid {
    grid-template-columns: 1fr;
  }

  .vip-sticky-buy-btn {
    position: sticky;
    bottom: 0;
    z-index: 6;
  }
}

/* ════════════════════════════════════════════════════════════
   提交网站页（templates/page-submit.html）
════════════════════════════════════════════════════════════ */

.submit-hero {
  background: #f7f6f3;
  padding: 32px 0;
}

.submit-flow {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 16px;
}

.submit-step {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: #888780;
}

.submit-step .step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #d85a30;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 4px;
}

.submit-arrow {
  color: #b4b2a9;
  padding: 0 4px;
  font-size: 12px;
}

.submit-layout {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 32px;
  padding: 48px 0;
}

.submit-form-group {
  margin-bottom: 16px;
}

.submit-label {
  font-size: 13px;
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
}

.submit-input,
.submit-select,
.submit-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 0.5px solid #e8e6e0;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
}

.submit-input:focus,
.submit-select:focus,
.submit-textarea:focus {
  border-color: #d85a30;
  box-shadow: 0 0 0 3px rgba(216, 90, 48, 0.1);
}

.desc-counter {
  font-size: 11px;
  color: #888780;
  text-align: right;
  margin-top: 4px;
}

.plan-card {
  border: 0.5px solid #e8e6e0;
  border-radius: 10px;
  padding: 14px;
  cursor: pointer;
  transition: border-color 0.15s;
  margin-bottom: 10px;
  position: relative;
  display: block;
}

.plan-card.selected {
  border: 2px solid #d85a30;
}

.plan-card .check-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #d85a30;
  color: #fff;
  font-size: 12px;
  display: none;
  align-items: center;
  justify-content: center;
}

.plan-card.selected .check-badge {
  display: flex;
}

.plan-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

#payment-block {
  border-top: 0.5px solid #e8e6e0;
  padding-top: 16px;
  margin-top: 8px;
}

.qr-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.qr-item {
  text-align: center;
  font-size: 12px;
  color: #888780;
}

.qr-item img {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  display: block;
  margin-bottom: 6px;
}

.success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #eaf3de;
  color: #1d9e75;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.submit-criteria {
  background: #f7f6f3;
  border-radius: 12px;
  padding: 24px 28px;
  margin-top: 32px;
}

@media (max-width: 767px) {
  .submit-flow {
    overflow-x: auto;
    padding-bottom: 4px;
  }

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

  #plan-selector {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 10px;
  }

  #plan-selector .plan-card {
    min-width: 220px;
    margin-bottom: 0;
  }

  .submit-criteria-grid {
    grid-template-columns: 1fr !important;
  }
}
