:root {
  color-scheme: light;
  --bg: #f6f1e8;
  --surface: #fffdfa;
  --surface-2: #f2ece2;
  --line: #dfd5c8;
  --text: #1f2933;
  --muted: #68717b;
  --ink: #19222c;
  --accent: #cb4b37;
  --accent-2: #157a6e;
  --accent-3: #e6b447;
  --shadow: 0 18px 42px rgba(24, 33, 43, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.6;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.shell {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(223, 213, 200, 0.78);
  background: rgba(246, 241, 232, 0.92);
  backdrop-filter: blur(12px);
}

.header-topline {
  border-bottom: 1px solid rgba(223, 213, 200, 0.78);
  background: rgba(255, 255, 255, 0.56);
  color: #586573;
  font-size: 12px;
}

.header-topline-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.header-topline-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), #ef7a50);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}

.brand-copy {
  display: grid;
}

.brand-copy strong {
  font-size: 20px;
  line-height: 1.1;
}

.brand-copy small {
  color: var(--muted);
  font-size: 12px;
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #44515f;
  font-size: 14px;
}

.header-nav a,
.back-link {
  transition: color 0.15s ease;
}

.header-nav a:hover,
.back-link:hover {
  color: var(--accent);
}

.header-cta,
.primary-action,
.secondary-action,
.bundle-action,
.copy-btn,
.download-btn,
.chip-link,
.group-link {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.header-cta,
.primary-action,
.bundle-action,
.download-btn {
  background: var(--ink);
  color: #fff;
  border: 0;
}

.secondary-action,
.copy-btn,
.chip-link,
.group-link {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

.header-cta:hover,
.primary-action:hover,
.secondary-action:hover,
.bundle-action:hover,
.copy-btn:hover,
.download-btn:hover,
.chip-link:hover,
.group-link:hover {
  transform: translateY(-1px);
}

.hero-band,
.group-hero-band,
.section-band {
  padding: 34px 0 48px;
}

.tone-light {
  background: var(--surface);
}

.hero-layout,
.group-hero-layout,
.feedback-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.eyebrow,
.section-tag,
.panel-label {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.hero-copy h1,
.group-hero-copy h1,
.section-head h2 {
  margin: 0;
  color: var(--ink);
  line-height: 1.08;
}

.hero-copy h1,
.group-hero-copy h1 {
  font-size: clamp(34px, 5vw, 58px);
  max-width: 11ch;
}

.hero-text,
.section-note,
.feedback-points li,
.feedback-status,
.group-card p,
.bundle-card p,
.proof-card p,
.library-item p,
.workflow-step p,
.hero-promo p {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-sales-strip {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(31, 44, 59, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
}

.hero-sales-head {
  display: grid;
  gap: 3px;
}

.hero-sales-head strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.14;
}

.hero-sales-head span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

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

.hero-sales-card {
  min-height: 108px;
  padding: 12px;
  border: 1px solid rgba(31, 44, 59, 0.08);
  border-radius: 8px;
  background: rgba(248, 251, 255, 0.98);
  display: grid;
  gap: 6px;
  align-content: start;
}

.hero-sales-kicker {
  min-height: 22px;
  width: fit-content;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(203, 75, 55, 0.08);
  color: #9d412f;
  font-size: 11px;
  font-weight: 800;
}

.hero-sales-card strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.14;
}

.hero-sales-price {
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.08;
}

.hero-sales-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.stat-row {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stat-row li,
.group-metric-card,
.hero-promo,
.tool-panel,
.group-card,
.bundle-card,
.proof-card,
.library-item,
.feedback-form,
.workflow-step {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.stat-row li {
  min-height: 106px;
  padding: 16px;
  border-radius: 8px;
}

.stat-row strong {
  display: block;
  font-size: 30px;
  color: var(--ink);
}

.stat-row span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.hero-side {
  display: grid;
  gap: 14px;
}

.hero-promo {
  padding: 18px;
  border-radius: 8px;
}

.promo-tag {
  display: inline-flex;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  align-items: center;
  background: rgba(230, 180, 71, 0.18);
  color: #8a5a00;
  font-size: 12px;
  font-weight: 700;
}

.hero-promo strong {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.25;
}

.hero-image {
  width: 100%;
  display: block;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}

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

.section-head h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.compact-section-head {
  align-items: center;
  margin-bottom: 14px;
}

.compact-section-head h2 {
  font-size: clamp(24px, 2.3vw, 30px);
}

body[data-page="home"] .hero-band {
  padding: 28px 0 36px;
}

body[data-page="home"] .section-band {
  padding: 24px 0 34px;
}

body[data-page="home"] .unlock-value-band {
  padding: 0 0 14px;
}

body[data-page="home"] .hero-layout,
body[data-page="home"] .feedback-layout {
  gap: 22px;
}

body[data-page="home"] .hero-copy {
  display: grid;
  gap: 8px;
}

body[data-page="home"] .hero-side {
  gap: 10px;
}

body[data-page="home"] .eyebrow {
  margin: 0;
}

body[data-page="home"] .hero-copy h1 {
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.04;
  max-width: 12ch;
}

body[data-page="home"] .hero-text {
  margin: 0;
  max-width: 58ch;
  line-height: 1.5;
}

body[data-page="home"] .hero-actions {
  margin-top: 14px;
  gap: 10px;
}

body[data-page="home"] .stat-row {
  margin-top: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body[data-page="home"] .stat-row li {
  min-height: 82px;
  padding: 12px;
}

body[data-page="home"] .stat-row strong {
  font-size: 26px;
}

body[data-page="home"] .section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 8px 18px;
  align-items: center;
  margin-bottom: 14px;
}

body[data-page="home"] .section-head > div {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 4px;
}

body[data-page="home"] .section-head > :only-child {
  grid-column: 1 / -1;
}

body[data-page="home"] .section-head .section-tag {
  margin: 0;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(203, 75, 55, 0.1);
  line-height: 1;
  white-space: nowrap;
}

body[data-page="home"] .section-head h2 {
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.14;
}

body[data-page="home"] .section-head .section-note {
  margin: 0;
  max-width: none;
  font-size: 14px;
  line-height: 1.48;
}

body[data-page="home"] #group-hub .section-head {
  grid-template-columns: 1fr;
  gap: 6px;
  margin-bottom: 10px;
}

body[data-page="home"] #group-hub .section-head .section-note {
  display: none;
}

body[data-page="home"] #collection-progress .section-head {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 460px);
  gap: 8px 16px;
  margin-bottom: 8px;
}

body[data-page="home"] #collection-progress .section-head .section-note {
  display: block;
  font-size: 12px;
  line-height: 1.42;
}

body[data-page="home"] .group-grid,
body[data-page="home"] .starter-grid,
body[data-page="home"] .fast-lane-grid,
body[data-page="home"] .collection-grid,
body[data-page="home"] .update-grid,
body[data-page="home"] .proof-grid,
body[data-page="home"] .workflow-grid {
  gap: 12px;
}

body[data-page="home"] .group-card,
body[data-page="home"] .starter-card,
body[data-page="home"] .fast-lane-card,
body[data-page="home"] .collection-card,
body[data-page="home"] .proof-card,
body[data-page="home"] .workflow-step {
  padding: 16px;
}

body[data-page="home"] .group-card,
body[data-page="home"] .starter-card,
body[data-page="home"] .fast-lane-card,
body[data-page="home"] .collection-card {
  gap: 10px;
}

body[data-page="home"] .fast-lane-card.priority {
  border-color: rgba(44, 152, 209, 0.22);
}

body[data-page="home"] .fast-lane-head h3 {
  font-size: 20px;
  line-height: 1.16;
}

body[data-page="home"] .fast-lane-head p {
  font-size: 13px;
}

body[data-page="home"] .fast-lane-meta span {
  min-height: 26px;
  padding: 0 8px;
  font-size: 11px;
}

body[data-page="home"] .fast-lane-actions {
  margin-top: 2px;
}

body[data-page="home"] .group-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 8px;
  flex-wrap: wrap;
}

body[data-page="home"] .group-card-kicker {
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(203, 75, 55, 0.1);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}

body[data-page="home"] .group-card h3,
body[data-page="home"] .bundle-card h3,
body[data-page="home"] .proof-card h3 {
  font-size: 20px;
}

body[data-page="home"] .starter-card h3 {
  font-size: 21px;
}

body[data-page="home"] .group-card-desc,
body[data-page="home"] .starter-card p,
body[data-page="home"] .proof-card p,
body[data-page="home"] .workflow-step p {
  line-height: 1.48;
}

body[data-page="home"] .group-card-summary,
body[data-page="home"] .group-subgroup-cloud {
  gap: 6px;
}

body[data-page="home"] #group-hub .group-grid,
body[data-page="home"] #collection-progress .collection-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body[data-page="home"] #group-hub .group-card,
body[data-page="home"] #collection-progress .collection-card {
  padding: 11px 12px;
  gap: 5px;
}

body[data-page="home"] #group-hub .group-card h3,
body[data-page="home"] #collection-progress .collection-head h3 {
  font-size: 17px;
  line-height: 1.12;
}

body[data-page="home"] #group-hub .group-card-desc,
body[data-page="home"] #collection-progress .collection-head p,
body[data-page="home"] #collection-progress .collection-note {
  display: -webkit-box;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.35;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

body[data-page="home"] #group-hub .group-card-head {
  gap: 4px 8px;
}

body[data-page="home"] #group-hub .group-card-kicker {
  min-height: 20px;
  padding: 0 7px;
  font-size: 10px;
}

body[data-page="home"] #group-hub .group-stat,
body[data-page="home"] #group-hub .group-hot-label,
body[data-page="home"] #group-hub .group-mini-more,
body[data-page="home"] #collection-progress .collection-meta span,
body[data-page="home"] #collection-progress .collection-state,
body[data-page="home"] #collection-progress .collection-keywords span {
  min-height: 22px;
  padding: 0 7px;
  font-size: 10px;
}

body[data-page="home"] #group-hub .group-stat.group-stat-accent {
  background: rgba(21, 122, 110, 0.1);
  color: var(--accent-2);
}

body[data-page="home"] #group-hub .group-mini-link {
  min-height: 24px;
  padding: 0 8px;
  gap: 6px;
  font-size: 10px;
}

body[data-page="home"] #group-hub .group-mini-link strong,
body[data-page="home"] #group-hub .group-hot-label,
body[data-page="home"] #group-hub .group-mini-more {
  font-size: 10px;
}

body[data-page="home"] #group-hub .group-link,
body[data-page="home"] #collection-progress .group-link {
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
}

body[data-page="home"] #group-hub .group-card-top,
body[data-page="home"] #group-hub .group-card-foot,
body[data-page="home"] #group-hub .group-card-summary,
body[data-page="home"] #group-hub .group-hot-rail,
body[data-page="home"] #collection-progress .collection-top,
body[data-page="home"] #collection-progress .collection-meta,
body[data-page="home"] #collection-progress .collection-actions,
body[data-page="home"] #collection-progress .collection-keywords {
  gap: 4px;
}

body[data-page="home"] #group-hub .group-hot-rail,
body[data-page="home"] #collection-progress .collection-meta {
  align-items: center;
}

body[data-page="home"] #group-hub .group-card-foot .group-link,
body[data-page="home"] #collection-progress .collection-actions .group-link {
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
}

.home-collection-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.home-collection-priority {
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.home-collection-priority-card {
  padding: 9px 10px;
  border: 1px solid rgba(31, 44, 59, 0.1);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
}

.home-collection-priority-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}

.home-collection-priority-card strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.12;
}

.home-collection-priority-note {
  color: #5c6975;
  font-size: 11px;
  line-height: 1.3;
}

.home-collection-priority-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.home-collection-priority-meta span {
  min-height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(25, 34, 44, 0.06);
  color: #42505e;
  font-size: 10px;
  font-weight: 700;
}

.home-collection-actions .group-link,
.home-collection-actions .copy-btn {
  min-height: 32px;
  padding: 0 12px;
  font-size: 12px;
}

body[data-page="home"] #update-zone .section-head,
body[data-page="home"] #proof-zone .section-head,
body[data-page="home"] #workflow-zone .section-head,
body[data-page="home"] #feedback-zone .section-head {
  grid-template-columns: 1fr;
  gap: 6px;
  margin-bottom: 10px;
}

body[data-page="home"] #update-zone .section-head .section-note,
body[data-page="home"] #proof-zone .section-head .section-note,
body[data-page="home"] #feedback-zone .section-head .section-note {
  display: none;
}

body[data-page="home"] #update-zone .update-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

body[data-page="home"] #proof-zone .proof-grid,
body[data-page="home"] #workflow-zone .workflow-grid {
  gap: 12px;
}

body[data-page="home"] #update-zone .update-card,
body[data-page="home"] #proof-zone .proof-card,
body[data-page="home"] #workflow-zone .workflow-step {
  min-height: auto;
  padding: 14px;
  gap: 8px;
}

body[data-page="home"] #update-zone .update-card h3,
body[data-page="home"] #proof-zone .proof-card h3 {
  font-size: 18px;
  line-height: 1.16;
}

body[data-page="home"] #update-zone .update-card p,
body[data-page="home"] #proof-zone .proof-card p,
body[data-page="home"] #workflow-zone .workflow-step p {
  display: -webkit-box;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.42;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

body[data-page="home"] #update-zone .group-link {
  min-height: 32px;
  padding: 0 12px;
  font-size: 12px;
  margin-top: auto;
}

body[data-page="home"] #workflow-zone .workflow-step strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.12;
}

body[data-page="home"] #workflow-zone .workflow-step span {
  min-width: 32px;
  min-height: 32px;
  margin-bottom: 4px;
  font-size: 12px;
}

body[data-page="home"] #feedback-zone .feedback-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 16px;
}

body[data-page="home"] #feedback-zone .feedback-points {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

body[data-page="home"] #feedback-zone .feedback-points li {
  margin: 0;
  min-height: 72px;
  padding: 10px 12px;
  border: 1px solid rgba(31, 44, 59, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.42;
}

body[data-page="home"] #feedback-zone .feedback-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

body[data-page="home"] #feedback-zone .feedback-actions .group-link,
body[data-page="home"] #feedback-zone .feedback-actions .secondary-action {
  min-height: 32px;
  padding: 0 12px;
  font-size: 12px;
}

body[data-page="home"] #feedback-zone .feedback-form {
  padding: 14px;
  gap: 10px;
}

body[data-page="home"] #feedback-zone .feedback-form label {
  gap: 6px;
  font-size: 13px;
}

body[data-page="home"] #feedback-zone .feedback-form button {
  min-height: 38px;
  border-radius: 999px;
}

body[data-page="home"] #feedback-zone .feedback-status {
  font-size: 12px;
  line-height: 1.4;
}

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

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

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

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

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

.group-card,
.fast-lane-card,
.collection-card,
.subgroup-card,
.bundle-card,
.proof-card,
.library-item {
  border-radius: 8px;
}

.group-card {
  padding: 18px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.fast-lane-card {
  padding: 18px;
  display: grid;
  gap: 12px;
  align-content: start;
  border: 1px solid rgba(31, 44, 59, 0.1);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.fast-lane-card.priority {
  background: rgba(248, 252, 255, 0.96);
}

.collection-card {
  padding: 18px;
  display: grid;
  gap: 12px;
  align-content: start;
  border: 1px solid rgba(31, 44, 59, 0.1);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.collection-card.collection-missing {
  border-color: rgba(203, 75, 55, 0.22);
  background: rgba(255, 249, 246, 0.94);
}

.collection-card.collection-growing {
  border-color: rgba(230, 180, 71, 0.22);
  background: rgba(255, 252, 244, 0.96);
}

.collection-card.collection-formed {
  border-color: rgba(21, 122, 110, 0.24);
  background: rgba(246, 255, 251, 0.96);
}

.manage-hero-band {
  padding-bottom: 8px;
}

body[data-page="manage"] .manage-hero-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  align-items: start;
  margin-bottom: 10px;
}

body[data-page="manage"] .manage-hero-head > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

body[data-page="manage"] .manage-hero-head .section-note {
  margin: 0;
  max-width: 860px;
  font-size: 14px;
  line-height: 1.48;
}

.manage-hero-head h1 {
  margin: 0;
  color: var(--ink);
  max-width: 980px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.02;
}

.manage-stat-row {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.manage-stat-row article {
  min-height: 72px;
  padding: 12px 14px;
  border: 1px solid rgba(31, 44, 59, 0.08);
  border-radius: 8px;
  display: grid;
  gap: 2px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.manage-stat-row strong {
  color: var(--ink);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1;
}

.manage-stat-row span {
  color: #5a6773;
  font-size: 12px;
  font-weight: 700;
}

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

.manage-action-strip {
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(31, 44, 59, 0.1);
  border-radius: 8px;
  background: rgba(245, 249, 253, 0.94);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.manage-action-copy {
  display: grid;
  gap: 5px;
}

.manage-action-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.08;
}

.manage-action-copy p {
  margin: 0;
  color: #5a6773;
  font-size: 13px;
  line-height: 1.48;
}

.manage-action-steps,
.manage-action-buttons,
.manage-action-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.manage-action-steps span {
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(25, 34, 44, 0.06);
  color: #44515d;
  font-size: 11px;
  font-weight: 700;
}

.manage-action-buttons .copy-btn,
.manage-action-buttons .group-link,
.manage-action-links .group-link {
  min-height: 36px;
  padding: 0 12px;
  font-size: 12px;
}

.manage-summary-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.12;
}

.manage-summary-card p {
  margin: 0;
  color: #5a6773;
  font-size: 13px;
  line-height: 1.5;
}

.manage-summary-card {
  gap: 10px;
}

.manage-summary-card .section-tag {
  margin-bottom: 0;
}

.manage-path-block {
  padding: 10px 11px;
  border-radius: 8px;
  background: rgba(25, 34, 44, 0.05);
  color: #24323f;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 12px;
  line-height: 1.45;
  word-break: break-all;
}

.manage-summary-actions,
.manage-drop-actions {
  justify-content: flex-start;
}

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

.manage-step-card {
  min-height: 100%;
}

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

.manage-naming-card {
  gap: 8px;
}

.manage-naming-card .collection-head h3 {
  font-size: 18px;
}

.manage-naming-card .collection-head p {
  font-size: 12px;
  line-height: 1.45;
}

.manage-template-rule {
  padding: 10px 11px;
  border-radius: 8px;
  background: rgba(44, 152, 209, 0.08);
  color: #0f658f;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 12px;
  line-height: 1.45;
  word-break: break-all;
}

.manage-classify-toolbar {
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
}

.manage-rule-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.manage-rule-chip {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(44, 152, 209, 0.08);
  color: #0f658f;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.manage-rule-chip strong {
  color: var(--ink);
  font-size: 12px;
}

.manage-rule-chip span {
  color: #0f658f;
  font-size: 11px;
}

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

.manage-classify-card {
  gap: 8px;
}

.manage-classify-card .collection-head h3 {
  font-size: 17px;
}

.manage-classify-card .collection-head p {
  font-size: 12px;
  line-height: 1.45;
}

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

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

.manage-priority-card {
  gap: 8px;
}

.manage-testing-toolbar {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.manage-test-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.manage-test-pill {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(21, 122, 110, 0.12);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 800;
}

.manage-test-tip {
  color: #4f5d69;
  font-size: 12px;
  line-height: 1.4;
}

.manage-test-reset {
  min-height: 36px;
}

.manage-test-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.manage-test-copy,
.manage-test-reset {
  min-height: 36px;
}

.manage-test-reset.is-disabled {
  opacity: 0.52;
}

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

.manage-testing-card {
  gap: 8px;
}

.manage-testing-card.is-done {
  border-color: rgba(21, 122, 110, 0.22);
  background: rgba(21, 122, 110, 0.06);
}

.manage-testing-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.manage-testing-card .collection-head h3 {
  font-size: 18px;
}

.manage-testing-card .collection-head p {
  font-size: 12px;
  line-height: 1.45;
}

.manage-testing-actions {
  justify-content: flex-start;
}

.manage-test-toggle.is-done {
  background: rgba(25, 34, 44, 0.8);
  border-color: rgba(25, 34, 44, 0.8);
  color: #fff;
}

.manage-priority-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.manage-priority-lead {
  margin: 0;
  color: #4f5d69;
  font-size: 12px;
  line-height: 1.45;
}

.manage-guide-block {
  padding: 8px 9px;
  border-radius: 8px;
  background: rgba(25, 34, 44, 0.04);
  display: grid;
  gap: 5px;
}

.manage-guide-block p {
  margin: 0;
  color: #465460;
  font-size: 12px;
  line-height: 1.42;
}

.manage-guide-block strong {
  color: var(--ink);
}

.manage-drop-card .collection-note {
  margin: 0;
}

.fast-lane-top,
.fast-lane-meta,
.fast-lane-actions,
.collection-top,
.collection-meta,
.collection-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.fast-lane-head {
  display: grid;
  gap: 4px;
}

.collection-head {
  display: grid;
  gap: 4px;
}

.fast-lane-head h3 {
  margin: 0;
  font-size: 22px;
  color: var(--ink);
}

.collection-head h3 {
  margin: 0;
  font-size: 20px;
  color: var(--ink);
}

.fast-lane-head p,
.fast-lane-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.collection-head p,
.collection-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.fast-lane-meta span {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(25, 34, 44, 0.06);
  color: #4d5965;
  font-size: 12px;
  font-weight: 700;
}

.collection-meta span,
.collection-state {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(25, 34, 44, 0.06);
  color: #4d5965;
  font-size: 12px;
  font-weight: 700;
}

.collection-state.collection-state-missing {
  background: rgba(203, 75, 55, 0.1);
  color: var(--accent);
}

.collection-state.collection-state-growing {
  background: rgba(230, 180, 71, 0.18);
  color: #7f5c00;
}

.collection-state.collection-state-formed {
  background: rgba(21, 122, 110, 0.12);
  color: var(--accent-2);
}

.collection-keywords {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.collection-keywords span {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(44, 152, 209, 0.08);
  color: #0f658f;
  font-size: 12px;
  font-weight: 700;
}

.unlock-value-shell {
  border: 1px solid rgba(31, 44, 59, 0.1);
  border-radius: 8px;
  background: rgba(248, 251, 255, 0.92);
  box-shadow: var(--shadow);
  padding: 12px 14px;
  display: grid;
  grid-template-columns: minmax(240px, 0.88fr) minmax(0, 1.12fr);
  gap: 10px 12px;
  align-items: start;
}

.unlock-value-copy {
  display: grid;
  gap: 6px;
}

.unlock-value-copy h2 {
  margin: 0;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.1;
  color: var(--ink);
}

.unlock-value-summary {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.unlock-value-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.unlock-value-action {
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(25, 34, 44, 0.08);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.unlock-value-action.unlock-value-action-primary {
  background: var(--ink);
  color: #fff;
}

.unlock-value-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

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

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

.conversion-card {
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(31, 44, 59, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
  align-content: start;
}

.conversion-card.conversion-card-primary {
  border-color: rgba(25, 34, 44, 0.14);
  background: rgba(248, 251, 255, 0.98);
}

.conversion-card.conversion-card-agent {
  border-color: rgba(21, 122, 110, 0.14);
  background: rgba(246, 255, 251, 0.98);
}

.conversion-card.conversion-card-product {
  border-color: rgba(203, 75, 55, 0.16);
  background: rgba(255, 250, 247, 0.98);
}

.conversion-card.conversion-card-product-alt {
  border-color: rgba(21, 122, 110, 0.16);
  background: rgba(246, 255, 251, 0.98);
}

.conversion-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.conversion-meta span {
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(203, 75, 55, 0.08);
  color: #9d412f;
  font-size: 11px;
  font-weight: 700;
}

.conversion-head {
  display: grid;
  gap: 6px;
}

.conversion-kicker {
  min-height: 24px;
  width: fit-content;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(44, 152, 209, 0.08);
  color: #0f658f;
  font-size: 11px;
  font-weight: 700;
}

.conversion-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.14;
}

.conversion-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.conversion-price {
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.08;
}

.conversion-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.conversion-points span {
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(25, 34, 44, 0.06);
  color: #42505e;
  font-size: 11px;
  font-weight: 700;
}

.conversion-checklist {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.conversion-checklist li::marker {
  color: #c14f3a;
}

.conversion-helper {
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(25, 34, 44, 0.05);
  color: #41515f;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.conversion-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.conversion-actions .primary-action,
.conversion-actions .secondary-action,
.conversion-actions .copy-btn {
  min-height: 36px;
}

.member-conversion-grid {
  margin-top: 14px;
}

.home-product-flow {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(31, 44, 59, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.home-product-flow-head {
  display: grid;
  gap: 4px;
}

.home-product-flow-head strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.16;
}

.home-product-flow-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.home-product-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.product-flow-card {
  min-height: 120px;
  padding: 12px;
  border: 1px solid rgba(31, 44, 59, 0.08);
  border-radius: 8px;
  background: rgba(248, 251, 255, 0.96);
  display: grid;
  gap: 8px;
  align-content: start;
}

.product-flow-card.product-flow-card-highlight {
  border-color: rgba(203, 75, 55, 0.18);
  background: rgba(255, 248, 244, 0.98);
}

.product-flow-order {
  min-height: 24px;
  width: fit-content;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(25, 34, 44, 0.08);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
}

.product-flow-card strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.16;
}

.product-flow-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.home-product-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.product-trust-card {
  min-height: 92px;
  padding: 12px;
  border: 1px solid rgba(31, 44, 59, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  display: grid;
  gap: 6px;
  align-content: start;
}

.product-trust-card strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.16;
}

.product-trust-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.unlock-value-card {
  min-height: 96px;
  padding: 12px 10px;
  border: 1px solid rgba(31, 44, 59, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  display: grid;
  gap: 6px;
  align-content: start;
}

.unlock-value-kicker {
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  background: rgba(44, 152, 209, 0.08);
  color: #0f658f;
  font-size: 11px;
  font-weight: 700;
}

.unlock-value-card strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.12;
}

.unlock-value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.home-search-band {
  padding-top: 0;
}

body[data-page="home"] .home-search-band .compact-section-head {
  grid-template-columns: 1fr;
  gap: 6px;
  margin-bottom: 10px;
}

body[data-page="home"] .home-search-band .compact-section-head .section-note {
  display: none;
}

.home-search-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: start;
}

.home-search-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 10px 14px;
  align-items: center;
  padding: 12px 14px;
}

.home-search-panel .search-box {
  gap: 6px;
}

.home-search-panel .search-box span {
  font-size: 12px;
}

.home-search-panel .search-box input {
  padding: 12px 14px;
}

.home-search-summary {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

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

.search-route-card {
  min-height: 168px;
  padding: 14px;
  border: 1px solid rgba(31, 44, 59, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  display: grid;
  gap: 8px;
  align-content: start;
}

.search-route-card.priority {
  border-color: rgba(44, 152, 209, 0.24);
  background: rgba(248, 252, 255, 0.96);
}

.search-route-top,
.search-route-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.search-route-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.14;
}

.search-route-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.search-route-meta span {
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(25, 34, 44, 0.06);
  color: #42515f;
  font-size: 11px;
  font-weight: 700;
}

.search-route-card .group-link {
  min-height: 34px;
  padding: 0 12px;
  margin-top: auto;
  font-size: 13px;
}

.fast-lane-action {
  min-height: 40px;
  padding: 0 14px;
}

.fast-lane-subgroups {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fast-lane-chip {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(21, 122, 110, 0.08);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.fast-lane-chip strong {
  color: var(--ink);
  font-size: 12px;
}

.fast-lane-preview {
  min-height: 54px;
  padding: 10px 12px;
  border-radius: 8px;
  display: grid;
  gap: 4px;
  background: rgba(244, 248, 251, 0.92);
}

.fast-lane-preview strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.1;
}

.fast-lane-preview span {
  color: #4f5d69;
  font-size: 12px;
  line-height: 1.4;
}

.fast-lane-band {
  padding-top: 4px;
}

.group-card-head .section-tag {
  margin-bottom: 8px;
}

.group-card-desc {
  margin: 0;
  color: var(--muted);
}

.group-card-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.group-hot-rail {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.group-hot-label,
.group-mini-more {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(25, 34, 44, 0.06);
  color: #42515f;
  font-size: 12px;
  font-weight: 700;
}

.group-mini-link {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(21, 122, 110, 0.08);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.group-mini-link strong {
  color: var(--ink);
  font-size: 12px;
}

.group-stat {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(25, 34, 44, 0.07);
  color: #42515f;
  font-size: 12px;
  font-weight: 700;
}

.group-subgroup-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.group-subgroup-cloud span {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(21, 122, 110, 0.08);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 700;
}

.group-link-wide {
  width: 100%;
}

.group-link-muted {
  background: rgba(25, 34, 44, 0.08);
  color: var(--ink);
}

.starter-card {
  padding: 20px;
  display: grid;
  gap: 10px;
  align-content: start;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
  border-radius: 8px;
}

.starter-card.priority {
  border-color: rgba(203, 75, 55, 0.32);
  background: rgba(255, 248, 244, 0.94);
}

.starter-top,
.starter-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.starter-head {
  display: grid;
  gap: 5px;
}

.starter-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.14;
}

.starter-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.starter-phase {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  background: rgba(25, 34, 44, 0.06);
  color: #42515f;
  font-size: 11px;
  font-weight: 700;
}

.starter-phase strong {
  color: var(--ink);
  font-size: 11px;
}

.starter-subgroups {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.starter-chip {
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(44, 152, 209, 0.08);
  color: #0f658f;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.starter-chip strong {
  color: var(--ink);
  font-size: 11px;
}

.starter-preview {
  min-height: 52px;
  padding: 9px 10px;
  border-radius: 8px;
  display: grid;
  gap: 3px;
  background: rgba(244, 248, 251, 0.92);
}

.starter-preview strong {
  color: var(--ink);
  font-size: 12px;
  line-height: 1.1;
}

.starter-preview span {
  color: #4f5d69;
  font-size: 11px;
  line-height: 1.38;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.starter-meta {
  color: #51606f;
  font-size: 12px;
}

.starter-card .group-link {
  min-height: 34px;
  padding: 0 12px;
  margin-top: auto;
  font-size: 12px;
}

.starter-band {
  padding-top: 0;
}

.subgroup-card {
  padding: 18px;
  display: grid;
  gap: 12px;
  align-content: start;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.subgroup-card.active {
  border-color: rgba(21, 122, 110, 0.35);
  background: rgba(21, 122, 110, 0.08);
}

.group-card-top,
.group-card-foot,
.bundle-footer,
.library-item-top,
.library-actions,
.result-bar,
.group-nav-row,
.group-metrics,
.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.group-index,
.group-count,
.subgroup-count,
.group-pill,
.bundle-meta,
.library-meta,
.scene-badge,
.level-badge,
.subgroup-badge {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.group-index {
  background: rgba(21, 122, 110, 0.12);
  color: var(--accent-2);
}

.group-count,
.subgroup-count,
.bundle-meta,
.library-meta {
  background: rgba(203, 75, 55, 0.1);
  color: var(--accent);
}

.scene-badge,
.subgroup-badge {
  background: rgba(25, 34, 44, 0.08);
  color: #34404c;
}

.level-free {
  background: rgba(21, 122, 110, 0.12);
  color: var(--accent-2);
}

.level-pro {
  background: rgba(230, 180, 71, 0.18);
  color: #7f5c00;
}

.level-locked {
  background: rgba(203, 75, 55, 0.1);
  color: var(--accent);
}

.group-card h3,
.bundle-card h3,
.library-item h3,
.proof-card h3 {
  margin: 0;
  color: var(--ink);
}

.group-card h3,
.bundle-card h3,
.proof-card h3 {
  font-size: 22px;
}

.bundle-card ul,
.feedback-points {
  margin: 0;
  padding-left: 18px;
}

.subgroup-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
}

.subgroup-card p {
  margin: 0;
  color: var(--muted);
}

.subgroup-card .library-tags {
  margin-top: 0;
}

.subgroup-card .library-tags span {
  background: rgba(25, 34, 44, 0.06);
  color: #3b4956;
}

.quick-entry-row,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.catalog-frame {
  border-bottom: 1px solid rgba(223, 213, 200, 0.88);
  background: var(--surface);
}

.catalog-context-band {
  border-bottom: 1px solid rgba(223, 213, 200, 0.88);
  background: rgba(255, 255, 255, 0.66);
}

.catalog-context-row,
.catalog-secondary-wrap,
.catalog-third-wrap {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.catalog-badge {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2c98d1;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.catalog-context-note {
  margin: 0;
  color: #61707d;
  font-size: 13px;
  font-weight: 600;
}

.catalog-primary-band {
  background: linear-gradient(180deg, #33a2dd, #2591cb);
}

.catalog-primary-nav-wrap {
  min-height: 52px;
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.catalog-primary-nav-wrap::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.catalog-home-link,
.catalog-primary-nav .group-switch {
  min-height: 52px;
  padding: 0 12px;
  border-radius: 0;
  display: inline-grid;
  align-content: center;
  justify-items: center;
  gap: 1px;
  justify-content: center;
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  white-space: nowrap;
}

.catalog-primary-kicker {
  display: block;
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.78);
}

.catalog-primary-title {
  display: block;
  font-size: 14px;
  line-height: 1.08;
  font-weight: 700;
  color: #fff;
}

.catalog-primary-nav {
  flex: 1;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  flex-wrap: nowrap;
}

.catalog-primary-nav.group-nav-row {
  margin-top: 0;
}

.catalog-primary-nav .group-switch.active,
.catalog-home-link-active,
.catalog-home-link:hover,
.catalog-primary-nav .group-switch:hover {
  background: rgba(10, 47, 76, 0.16);
  color: #fff;
}

@media (min-width: 1080px) {
  .catalog-primary-nav-wrap {
    min-height: 98px;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    overflow: hidden;
  }

  .catalog-home-link {
    min-height: auto;
    padding: 8px 6px;
    position: relative;
    grid-column: 1;
    grid-row: 1 / span 2;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
  }

  .catalog-home-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-0.5px);
    pointer-events: none;
  }

  .catalog-primary-nav {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    grid-auto-rows: 49px;
    position: relative;
  }

  .catalog-primary-nav::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-0.5px);
    pointer-events: none;
  }

  .catalog-primary-nav .group-switch {
    min-height: auto;
    padding: 6px 4px;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
  }

  .catalog-primary-nav .group-switch:nth-child(-n+9) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .catalog-primary-nav .group-switch:nth-child(9n) {
    border-right: 0;
  }

  .catalog-primary-kicker {
    font-size: 10px;
  }

  .catalog-primary-title {
    font-size: 12px;
    line-height: 1.12;
    text-align: center;
  }
}

.catalog-secondary-band {
  border-bottom: 1px solid rgba(223, 213, 200, 0.88);
  background: #fff;
}

.catalog-inline-label {
  color: #778390;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.catalog-secondary-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

body[data-page="home"] .catalog-secondary-nav .chip-link {
  min-height: auto;
  padding: 10px 0 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #596775;
  font-weight: 600;
}

body[data-page="home"] .catalog-secondary-nav .chip-link:hover {
  transform: none;
  color: var(--accent);
}

.third-title-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.catalog-third-band {
  border-bottom: 1px solid rgba(223, 213, 200, 0.88);
  background: rgba(250, 251, 253, 0.95);
}

.access-band {
  padding: 8px 0 0;
}

#access-gate {
  scroll-margin-top: 128px;
}

.access-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.access-panel-inner {
  padding: 11px 14px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 10px 12px;
  align-items: start;
}

.access-copy {
  display: grid;
  gap: 6px;
}

.access-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.08;
}

.access-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.42;
}

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

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

.access-form label {
  display: grid;
  gap: 4px;
  color: #42505e;
  font-size: 11px;
  font-weight: 700;
}

.access-form input {
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.access-form input:focus {
  outline: none;
  border-color: rgba(44, 152, 209, 0.55);
  box-shadow: 0 0 0 3px rgba(44, 152, 209, 0.12);
}

.access-form button,
.access-plan-btn,
.access-logout-btn,
.access-continue-btn,
.access-player-btn {
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.access-status {
  margin: 0;
  color: #5f6c79;
  font-size: 11px;
  line-height: 1.42;
}

.access-panel.access-panel-locked {
  border-color: rgba(203, 75, 55, 0.22);
  background: rgba(255, 248, 244, 0.94);
}

.access-panel.access-panel-open {
  border-color: rgba(21, 122, 110, 0.26);
  background: rgba(245, 255, 251, 0.94);
}

.access-panel.access-panel-compact {
  background: rgba(244, 255, 250, 0.96);
}

.access-panel-inner.access-panel-inner-compact {
  padding: 10px 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
  align-items: center;
}

.access-copy.access-copy-compact {
  min-width: 0;
  gap: 4px;
}

.access-copy.access-copy-compact h2 {
  font-size: clamp(16px, 1.8vw, 21px);
}

.access-copy.access-copy-compact p {
  font-size: 12px;
  line-height: 1.42;
}

.access-actions {
  display: grid;
  gap: 8px;
  justify-items: end;
  align-content: start;
}

.access-actions.access-actions-compact {
  gap: 6px;
  min-width: 260px;
}

.access-badges.access-badges-left {
  justify-content: flex-start;
}

.access-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.access-action-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.access-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.access-form-actions #accessSubmitBtn {
  min-width: 118px;
}

.access-plan-btn {
  border: 1px solid rgba(25, 34, 44, 0.12);
  background: rgba(25, 34, 44, 0.08);
  color: var(--ink);
}

.access-badge {
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  background: rgba(21, 122, 110, 0.12);
  color: var(--accent-2);
}

.access-badge.warn {
  background: rgba(203, 75, 55, 0.1);
  color: var(--accent);
}

.access-order-strip {
  padding: 10px 12px 12px;
  border-top: 1px solid rgba(223, 213, 200, 0.88);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.access-order-strip strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.2;
}

.access-order-strip p {
  margin: 2px 0 0;
  color: #5f6c79;
  font-size: 11px;
  line-height: 1.42;
}

body.billing-open {
  overflow: hidden;
}

.billing-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  padding: 24px 16px;
  display: grid;
  place-items: center;
  background: rgba(25, 34, 44, 0.36);
}

.billing-modal[hidden] {
  display: none !important;
}

.billing-modal-panel {
  width: min(560px, 100%);
  max-height: min(88vh, 760px);
  overflow: auto;
  border-radius: 8px;
  border: 1px solid rgba(31, 44, 59, 0.1);
  background: rgba(255, 253, 250, 0.98);
  box-shadow: var(--shadow);
  padding: 18px;
  display: grid;
  gap: 12px;
}

.payment-record-panel {
  width: min(620px, 100%);
}

.agent-modal-panel {
  width: min(640px, 100%);
}

.billing-modal-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.billing-modal-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.12;
}

.billing-modal-close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
}

.billing-form {
  display: grid;
  gap: 10px;
}

.billing-source-hint {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(25, 34, 44, 0.06);
  color: #43515e;
  font-size: 12px;
  line-height: 1.45;
}

.billing-form label {
  display: grid;
  gap: 5px;
  color: #43515e;
  font-size: 12px;
  font-weight: 700;
}

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

.billing-form-span-2 {
  grid-column: 1 / -1;
}

.billing-form input,
.billing-form select,
.billing-form textarea {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 12px 14px;
  color: var(--ink);
}

.billing-form textarea {
  resize: vertical;
}

.billing-form input:focus,
.billing-form select:focus,
.billing-form textarea:focus {
  outline: 2px solid rgba(203, 75, 55, 0.12);
  border-color: rgba(203, 75, 55, 0.32);
}

.billing-plan-summary {
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(245, 248, 252, 0.94);
  display: grid;
  gap: 4px;
}

.billing-plan-summary strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
}

.billing-plan-summary span,
.billing-plan-summary p {
  margin: 0;
  color: #50606e;
  font-size: 12px;
  line-height: 1.45;
}

.billing-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.billing-form-actions .primary-action,
.billing-form-actions .secondary-action {
  min-height: 40px;
  padding: 0 16px;
}

.billing-cancel-btn {
  border: 1px solid var(--line);
}

.billing-form-status {
  margin: 0;
  color: #5c6976;
  font-size: 12px;
  line-height: 1.45;
}

.manage-billing-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.manage-billing-toolbar {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.manage-billing-search {
  gap: 6px;
}

.manage-billing-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.manage-billing-filter-row .chip-btn {
  min-height: 36px;
  padding: 0 14px;
}

.manage-agent-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.manage-agent-toolbar {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.manage-agent-search {
  gap: 6px;
}

.manage-agent-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.manage-agent-filter-row .chip-btn {
  min-height: 36px;
  padding: 0 14px;
}

.manage-billing-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.manage-billing-summary-card,
.manage-plan-card,
.manage-order-card {
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(31, 44, 59, 0.08);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.manage-billing-summary-card {
  display: grid;
  gap: 4px;
}

.manage-billing-summary-card strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.05;
}

.manage-billing-summary-card span {
  color: #42515f;
  font-size: 12px;
  font-weight: 700;
}

.manage-billing-summary-card p {
  margin: 0;
  color: #66727d;
  font-size: 11px;
  line-height: 1.4;
}

.manage-billing-layout {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 0.9fr 1fr 1fr 1fr;
  gap: 14px;
  align-items: start;
}

.manage-ops-layout {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.manage-ops-column {
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(31, 44, 59, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
}

.manage-ops-column .manage-agent-grid,
.manage-ops-column .manage-order-grid {
  margin-top: 0;
}

.manage-billing-column {
  display: grid;
  gap: 10px;
}

.manage-billing-column-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.manage-billing-column-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.1;
}

.manage-billing-column-head span {
  color: #61707b;
  font-size: 11px;
}

.manage-plan-grid,
.manage-order-grid {
  display: grid;
  gap: 10px;
}

.manage-agent-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.manage-plan-card {
  display: grid;
  gap: 8px;
}

.manage-plan-top,
.manage-order-top,
.manage-order-meta,
.manage-order-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.manage-plan-top strong,
.manage-order-top strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.15;
}

.manage-plan-top span,
.manage-order-top span {
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(44, 152, 209, 0.08);
  color: #0f658f;
  font-size: 11px;
  font-weight: 700;
}

.manage-plan-price {
  color: var(--accent);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.05;
}

.manage-plan-card p,
.manage-order-contact,
.manage-order-note,
.manage-order-payment,
.manage-order-source,
.manage-order-code {
  margin: 0;
  color: #5a6773;
  font-size: 12px;
  line-height: 1.45;
}

.manage-order-payment.muted {
  color: #73808c;
  font-size: 11px;
}

.manage-agent-card {
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(31, 44, 59, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  display: grid;
  gap: 8px;
}

.manage-agent-card.status-new {
  border-color: rgba(25, 34, 44, 0.12);
}

.manage-agent-card.status-contacted {
  border-color: rgba(44, 152, 209, 0.24);
  background: rgba(246, 251, 255, 0.94);
}

.manage-agent-card.status-signed {
  border-color: rgba(21, 122, 110, 0.22);
  background: rgba(245, 255, 251, 0.94);
}

.manage-agent-card.status-paused {
  border-color: rgba(230, 180, 71, 0.24);
  background: rgba(255, 252, 245, 0.94);
}

.manage-agent-top,
.manage-agent-meta,
.manage-agent-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.manage-agent-settlement-head {
  margin-top: 14px;
}

.manage-agent-program-strip {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.manage-agent-top strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.15;
}

.manage-agent-status {
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}

.manage-agent-status.status-new {
  background: rgba(25, 34, 44, 0.08);
  color: var(--ink);
}

.manage-agent-status.status-contacted {
  background: rgba(44, 152, 209, 0.12);
  color: #0f658f;
}

.manage-agent-status.status-signed {
  background: rgba(21, 122, 110, 0.12);
  color: var(--accent-2);
}

.manage-agent-status.status-paused {
  background: rgba(230, 180, 71, 0.18);
  color: #8b6312;
}

.manage-agent-contact,
.manage-agent-note,
.manage-agent-meta {
  margin: 0;
  color: #5a6773;
  font-size: 12px;
  line-height: 1.45;
}

.manage-agent-meta {
  color: #73808c;
  font-size: 11px;
}

.manage-member-library-layout,
.member-space-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.manage-member-library-layout + .manage-member-library-layout {
  margin-top: 14px;
}

.manage-member-library-column,
.member-space-stack {
  display: grid;
  gap: 12px;
}

.member-space-identity-card,
.member-space-tips-card,
.member-folder-card {
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(31, 44, 59, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
}

.member-space-identity-head,
.member-space-section-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.member-space-identity-head h2,
.member-space-section-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.15;
}

.member-folder-list {
  display: grid;
  gap: 10px;
}

.member-topup-mini-list {
  display: grid;
  gap: 10px;
}

.member-topup-mini-card {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(31, 44, 59, 0.08);
  background: rgba(25, 34, 44, 0.03);
  display: grid;
  gap: 8px;
}

.member-space-search {
  min-width: min(320px, 100%);
}

.member-space-empty,
.member-space-inline-tip {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  background: rgba(25, 34, 44, 0.06);
  color: #4f5d6b;
  font-size: 12px;
  line-height: 1.45;
}

.member-upload-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #42515f;
  font-size: 13px;
  font-weight: 700;
}

.member-space-tip-list {
  margin: 0;
  padding-left: 18px;
  color: #50606e;
  font-size: 13px;
  line-height: 1.7;
}

.member-space-tip-list li + li {
  margin-top: 4px;
}

.agent-center-link-list {
  display: grid;
  gap: 10px;
}

.agent-center-link-item {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(31, 44, 59, 0.08);
  background: rgba(25, 34, 44, 0.03);
  display: grid;
  gap: 8px;
}

.agent-center-link-item strong,
.agent-center-link-item p {
  margin: 0;
}

.agent-center-link-item strong {
  color: var(--ink);
  font-size: 14px;
}

.agent-center-link-item p {
  color: #50606e;
  font-size: 12px;
  line-height: 1.45;
  word-break: break-all;
}

.manage-plan-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.manage-plan-meta span {
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(25, 34, 44, 0.06);
  color: #43515e;
  font-size: 11px;
  font-weight: 700;
}

.manage-order-card.is-paid {
  border-color: rgba(21, 122, 110, 0.18);
  background: rgba(245, 255, 251, 0.94);
}

.manage-order-card.is-revoked {
  border-color: rgba(203, 75, 55, 0.18);
  background: rgba(255, 248, 244, 0.94);
}

.manage-order-card.is-expired {
  border-color: rgba(230, 180, 71, 0.22);
  background: rgba(255, 252, 245, 0.94);
}

.manage-order-status {
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}

.manage-order-status.status-pending {
  background: rgba(25, 34, 44, 0.08);
  color: var(--ink);
}

.manage-order-status.status-active {
  background: rgba(21, 122, 110, 0.12);
  color: var(--accent-2);
}

.manage-order-status.status-revoked {
  background: rgba(203, 75, 55, 0.12);
  color: var(--accent);
}

.manage-order-status.status-expired {
  background: rgba(230, 180, 71, 0.18);
  color: #8b6312;
}

.manage-order-pay-btn {
  min-height: 38px;
}

.access-player-btn {
  background: rgba(25, 34, 44, 0.08);
  color: var(--ink);
}

.access-floating-btn {
  position: fixed;
  right: 18px;
  bottom: 76px;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(203, 75, 55, 0.28);
  z-index: 120;
}

.access-floating-btn[hidden] {
  display: none !important;
}

.access-floating-btn.is-open {
  background: var(--accent-2);
  box-shadow: 0 14px 30px rgba(21, 122, 110, 0.24);
}

.access-floating-btn:hover {
  transform: translateY(-1px);
}

.third-title-link,
.third-title-more {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  background: rgba(25, 34, 44, 0.06);
  color: #34404c;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.third-title-link:hover,
.third-title-link:focus-visible {
  transform: translateY(-1px);
  background: rgba(21, 122, 110, 0.12);
  border-color: rgba(21, 122, 110, 0.26);
  color: var(--accent-2);
}

.third-title-more {
  background: rgba(203, 75, 55, 0.08);
  color: var(--accent);
}

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

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

.bundle-card {
  min-height: 248px;
  padding: 18px;
  display: grid;
  gap: 14px;
  align-content: start;
}

.bundle-card.priority {
  border-color: rgba(203, 75, 55, 0.34);
  background: rgba(255, 249, 244, 0.92);
}

.bundle-card ul {
  color: #53606d;
}

.update-card {
  min-height: 218px;
  padding: 18px;
  display: grid;
  gap: 14px;
  align-content: start;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  border-radius: 8px;
}

.update-card.priority {
  border-color: rgba(21, 122, 110, 0.3);
  background: rgba(245, 255, 251, 0.92);
}

.update-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
}

.update-card p {
  margin: 0;
  color: var(--muted);
}

.update-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: #51606f;
  font-size: 14px;
}

.bundle-foot-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.entry-badge,
.result-chip,
.entry-hint-row {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.entry-badge {
  background: rgba(230, 180, 71, 0.18);
  color: #7f5c00;
}

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

.proof-card {
  min-height: 172px;
  padding: 18px;
  display: grid;
  gap: 10px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: #4b5966;
  font-weight: 700;
}

.group-trail {
  margin: 0 0 10px;
  color: #61707d;
  font-size: 13px;
  font-weight: 600;
}

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

.group-metric-card {
  min-height: 118px;
  padding: 16px;
  border-radius: 8px;
}

.group-metric-card strong {
  display: block;
  color: var(--ink);
  font-size: 26px;
}

.group-nav-row {
  margin-top: 22px;
}

.group-switch {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: #34404c;
  font-weight: 700;
}

.group-switch.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

body[data-page="group"] .group-trail {
  margin: 0;
  font-size: 14px;
}

body[data-page="group"] .group-hero-band {
  padding: 6px 0 10px;
}

body[data-page="group"] .group-hero-shell {
  display: grid;
  gap: 8px;
}

body[data-page="group"] .group-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
  align-items: end;
}

body[data-page="group"] .group-hero-side {
  display: grid;
  justify-items: end;
  align-items: end;
}

body[data-page="group"] .group-hero-copy {
  display: grid;
  gap: 5px;
}

body[data-page="group"] .group-title-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

body[data-page="group"] .group-inline-meta {
  margin: 0 0 3px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

body[data-page="group"] .group-hero-copy h1 {
  margin: 0;
  max-width: none;
  font-size: clamp(22px, 2.5vw, 28px);
  line-height: 1.02;
}

body[data-page="group"] .group-hero-copy .hero-text {
  margin: 0;
  max-width: none;
  font-size: 12px;
  line-height: 1.42;
}

body[data-page="group"] .group-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: auto;
  max-width: 100%;
  margin-top: 0;
  justify-content: flex-end;
}

body[data-page="group"] .group-metric-card {
  min-width: 0;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(31, 44, 59, 0.08);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: none;
}

body[data-page="group"] .group-metric-card strong {
  font-size: 15px;
  line-height: 1;
}

body[data-page="group"] .group-metric-card span {
  color: #576574;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

body[data-page="group"] .group-quick-rail {
  padding: 10px 12px;
  border: 1px solid rgba(30, 46, 62, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  display: grid;
  gap: 8px;
  box-shadow: var(--shadow);
}

body[data-page="group"] .group-quick-rail[hidden] {
  display: none !important;
}

body[data-page="group"] .group-quick-head {
  display: grid;
  gap: 4px;
}

body[data-page="group"] .group-quick-head strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.25;
}

body[data-page="group"] .group-quick-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body[data-page="group"] .group-quick-steps span {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(25, 34, 44, 0.06);
  color: #3f4b56;
  font-size: 12px;
  font-weight: 700;
}

body[data-page="group"] .group-quick-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

body[data-page="group"] .group-quick-meta.group-quick-meta-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body[data-page="group"] .group-quick-stat {
  min-width: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(244, 248, 251, 0.92);
  display: grid;
  gap: 2px;
}

body[data-page="group"] .group-quick-stat strong {
  color: var(--ink);
  font-size: 20px;
}

body[data-page="group"] .group-quick-stat span {
  color: #5b6874;
  font-size: 12px;
}

body[data-page="group"] .group-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body[data-page="group"] .group-quick-subgroups {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body[data-page="group"] .group-quick-chip {
  min-height: 32px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(44, 152, 209, 0.08);
  color: #0f658f;
  font-size: 12px;
  font-weight: 700;
}

body[data-page="group"] .group-quick-chip strong {
  color: var(--ink);
  font-size: 12px;
}

body[data-page="group"] .group-quick-chip.active {
  background: rgba(21, 122, 110, 0.14);
  color: var(--accent-2);
}

body[data-page="group"] .group-quick-btn {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(25, 34, 44, 0.08);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

body[data-page="group"] .group-quick-btn.group-quick-btn-primary {
  background: var(--ink);
  color: #fff;
}

body[data-page="group"] .group-quick-btn.group-quick-btn-muted {
  background: rgba(44, 152, 209, 0.1);
  color: #0f658f;
}

body[data-page="group"] .group-quick-link {
  color: #0f658f;
  font-size: 13px;
  font-weight: 700;
}

body[data-page="group"] .group-live-route {
  padding: 8px 10px 10px;
  border: 1px solid rgba(30, 46, 62, 0.1);
  border-radius: 8px;
  background: rgba(248, 251, 255, 0.9);
  display: grid;
  gap: 8px;
  box-shadow: var(--shadow);
}

body[data-page="group"] .group-live-route[hidden] {
  display: none !important;
}

body[data-page="group"] .group-live-route-head {
  display: flex;
  align-items: baseline;
  gap: 6px 10px;
  flex-wrap: wrap;
}

body[data-page="group"] .group-live-route-head .section-tag {
  margin: 0;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(44, 152, 209, 0.08);
  color: #0f658f;
  line-height: 1;
}

body[data-page="group"] .group-live-route-head strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
}

body[data-page="group"] .group-live-route-tip {
  color: #5b6976;
  font-size: 12px;
  line-height: 1.35;
}

body[data-page="group"] .group-live-route-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

body[data-page="group"] .group-live-step {
  min-height: 56px;
  padding: 8px 10px;
  border: 1px solid rgba(31, 44, 59, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

body[data-page="group"] .group-live-step.done {
  border-color: rgba(21, 122, 110, 0.16);
  background: rgba(247, 251, 249, 0.96);
}

body[data-page="group"] .group-live-step.current {
  border-color: rgba(44, 152, 209, 0.24);
  background: rgba(245, 250, 255, 0.98);
}

body[data-page="group"] .group-live-step-index {
  min-height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(25, 34, 44, 0.08);
  color: #34404c;
  font-size: 11px;
  font-weight: 800;
}

body[data-page="group"] .group-live-step.current .group-live-step-index {
  background: rgba(44, 152, 209, 0.12);
  color: #0f658f;
}

body[data-page="group"] .group-live-step.done .group-live-step-index {
  background: rgba(21, 122, 110, 0.12);
  color: var(--accent-2);
}

body[data-page="group"] .group-live-step-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

body[data-page="group"] .group-live-step-copy strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.1;
}

body[data-page="group"] .group-live-step-copy span {
  color: #5b6976;
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-page="group"] .group-live-step-state {
  color: #70808f;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

body[data-page="group"] .group-live-step.current .group-live-step-state {
  color: #0f658f;
}

body[data-page="group"] .group-live-step.done .group-live-step-state {
  color: var(--accent-2);
}

body[data-page="group"] .group-live-route-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

body[data-page="group"] .group-live-route-btn {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(25, 34, 44, 0.06);
  color: #34404c;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

body[data-page="group"] .group-live-route-btn-primary {
  background: rgba(44, 152, 209, 0.12);
  color: #0f658f;
}

body[data-page="group"] .group-quick-preview {
  min-height: 52px;
  padding: 10px 12px;
  border-radius: 8px;
  display: grid;
  gap: 3px;
  background: rgba(244, 248, 251, 0.92);
  color: #44515d;
  text-decoration: none;
}

body[data-page="group"] .group-quick-preview strong {
  color: var(--ink);
  font-size: 13px;
}

body[data-page="group"] .group-quick-preview span,
body[data-page="group"] .group-quick-preview-empty {
  font-size: 13px;
  line-height: 1.45;
}

body[data-page="group"] .group-subgroup-panel {
  padding: 6px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

body[data-page="group"] .group-subgroup-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  align-items: start;
  margin-bottom: 4px;
}

body[data-page="group"] .group-subgroup-head > div {
  min-width: 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
}

body[data-page="group"] .group-subgroup-head h2 {
  margin: 0;
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.1;
}

body[data-page="group"] .group-subgroup-head .section-tag {
  margin: 0;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(203, 75, 55, 0.1);
  line-height: 1;
}

body[data-page="group"] .group-subgroup-head .section-note {
  display: none;
}

body[data-page="group"] .section-band {
  padding: 10px 0 16px;
}

body[data-page="group"] .section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
  gap: 6px 14px;
  align-items: end;
  margin-bottom: 8px;
}

body[data-page="group"] .section-head > div {
  min-width: 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
}

body[data-page="group"] .section-head .section-tag {
  margin: 0;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(203, 75, 55, 0.1);
  line-height: 1;
}

body[data-page="group"] .section-head h2 {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.12;
}

body[data-page="group"] .section-head .section-note {
  margin: 0;
  max-width: none;
  font-size: 12px;
  line-height: 1.4;
}

body[data-page="group"] .compact-section-head .section-note,
body[data-page="group"] #group-library .section-head .section-note {
  display: none;
}

body[data-page="group"] #group-library .section-head > div {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 8px;
}

body[data-page="group"] #group-library .section-head h2 {
  font-size: clamp(18px, 1.9vw, 24px);
  line-height: 1.1;
}

body[data-page="group"] .compact-section-head {
  grid-template-columns: 1fr;
  gap: 6px 14px;
  align-items: start;
  margin-bottom: 8px;
}

body[data-page="group"] .compact-section-head > div {
  min-width: 0;
}

body[data-page="group"] .compact-section-head .section-note {
  margin: 0;
  max-width: none;
  font-size: 13px;
  line-height: 1.5;
  padding-top: 26px;
}

body[data-page="group"] .subgroup-summary-grid {
  grid-template-columns: repeat(auto-fit, minmax(176px, 1fr));
  gap: 6px;
}

body[data-page="group"] .subgroup-card {
  min-height: 100%;
  padding: 8px;
  gap: 4px;
}

body[data-page="group"] .subgroup-card h3 {
  font-size: 16px;
}

body[data-page="group"] .subgroup-card p {
  display: -webkit-box;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.38;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

body[data-page="group"] .subgroup-scene-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

body[data-page="group"] .subgroup-badge.subgroup-badge-accent {
  background: rgba(21, 122, 110, 0.12);
  color: var(--accent-2);
}

body[data-page="group"] .subgroup-card .group-card-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

body[data-page="group"] .subgroup-card .group-card-foot span {
  display: -webkit-box;
  overflow: hidden;
  color: #5d6975;
  font-size: 11px;
  line-height: 1.3;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

body[data-page="group"] .subgroup-card .group-link {
  min-height: 30px;
  padding: 0 10px;
  font-size: 11px;
}

body[data-page="group"] .subgroup-card .library-tags span {
  min-height: 24px;
  padding: 0 8px;
  font-size: 11px;
}

body[data-page="group"] .compact-tool-panel {
  padding: 8px 10px;
}

body[data-page="group"] .search-box {
  gap: 0;
}

body[data-page="group"] .search-box span {
  display: none;
}

body[data-page="group"] .search-box input {
  padding: 10px 12px;
}

.tool-panel {
  padding: 18px;
  border-radius: 8px;
  display: grid;
  gap: 16px;
}

.compact-tool-panel {
  gap: 0;
}

.search-box {
  display: grid;
  gap: 8px;
}

.search-box.wide {
  width: 100%;
}

.search-box span {
  color: #4d5b68;
  font-size: 13px;
  font-weight: 700;
}

.search-box input,
.feedback-form input,
.feedback-form textarea {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 14px 16px;
  color: var(--text);
}

.search-box input:focus,
.feedback-form input:focus,
.feedback-form textarea:focus {
  outline: 2px solid rgba(203, 75, 55, 0.15);
  border-color: rgba(203, 75, 55, 0.42);
}

.chip-btn {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-weight: 700;
}

.chip-btn.active {
  background: rgba(21, 122, 110, 0.12);
  border-color: rgba(21, 122, 110, 0.32);
  color: var(--accent-2);
}

body[data-page="group"] .catalog-secondary-nav .chip-btn {
  min-height: auto;
  padding: 10px 0 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #596775;
  font-weight: 600;
}

body[data-page="group"] .catalog-secondary-nav .chip-btn.active {
  background: transparent;
  color: var(--accent);
  box-shadow: inset 0 -2px 0 var(--accent);
}

body[data-page="group"] .catalog-secondary-nav .chip-btn:hover {
  color: var(--ink);
}

body[data-page="group"] .catalog-third-wrap .third-title-row {
  gap: 12px 16px;
}

body[data-page="group"] .catalog-third-wrap .third-title-link {
  min-height: auto;
  padding: 8px 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  color: #34404c;
  font-size: 13px;
}

body[data-page="group"] .catalog-third-wrap .third-title-link:hover,
body[data-page="group"] .catalog-third-wrap .third-title-link:focus-visible {
  transform: none;
  background: transparent;
  color: var(--accent-2);
}

body[data-page="home"] .hero-band {
  padding: 16px 0 20px;
}

body[data-page="home"] .hero-layout {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: 18px;
}

body[data-page="home"] .hero-copy h1 {
  max-width: 9ch;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.06;
}

body[data-page="home"] .hero-promo strong {
  font-size: 19px;
}

body[data-page="home"] .hero-image {
  max-height: 320px;
  object-fit: cover;
  object-position: top center;
}

.result-bar {
  margin-bottom: 10px;
  color: #50606d;
  gap: 8px;
}

.library-toolbar {
  margin-bottom: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(31, 44, 59, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  display: grid;
  gap: 8px;
  box-shadow: var(--shadow);
}

body[data-page="group"] .library-search-inline {
  display: grid;
  gap: 0;
}

body[data-page="group"] .library-search-inline .search-box span {
  font-size: 12px;
}

body[data-page="group"] .library-toolbar {
  padding: 8px 10px;
  gap: 8px 10px;
}

.group-focus-line {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  color: #44515d;
  font-size: 12px;
}

.group-focus-line strong {
  color: var(--ink);
  font-size: 13px;
}

.focus-pill {
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(25, 34, 44, 0.07);
  color: #35414c;
  font-size: 11px;
  font-weight: 700;
}

.focus-pill-accent {
  background: rgba(21, 122, 110, 0.12);
  color: var(--accent-2);
}

.focus-text {
  color: #5a6773;
  font-size: 12px;
}

.library-toolbar-actions,
.library-toolbar-links,
.quick-filter-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.library-toolbar-actions {
  justify-content: space-between;
}

.quick-filter-btn {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.quick-filter-btn strong {
  font-size: 11px;
}

.quick-filter-btn.active {
  border-color: rgba(21, 122, 110, 0.24);
  background: rgba(21, 122, 110, 0.12);
  color: var(--accent-2);
}

.quick-filter-btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.toolbar-listen-link,
.listen-live-link {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.library-toolbar-links .chip-link:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

body[data-page="group"] .library-toolbar-links .chip-link,
body[data-page="group"] .library-toolbar-links .group-link {
  min-height: 32px;
  padding: 0 12px;
  font-size: 12px;
}

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

.result-chip {
  background: rgba(25, 34, 44, 0.08);
  color: #34404c;
  min-height: 24px;
  padding: 0 8px;
  font-size: 11px;
}

.result-chip-free,
.entry-hint-free {
  background: rgba(21, 122, 110, 0.12);
  color: var(--accent-2);
}

.result-chip-pro,
.entry-hint-pro {
  background: rgba(230, 180, 71, 0.18);
  color: #7f5c00;
}

.result-chip-active {
  background: rgba(44, 152, 209, 0.14);
  color: #0f658f;
}

.library-list {
  display: grid;
  gap: 10px;
}

body[data-page="group"] .library-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.library-item {
  padding: 14px;
}

body[data-page="group"] .library-item {
  padding: 10px;
  display: grid;
  gap: 7px;
  align-content: start;
}

.library-item.is-resumed {
  border-color: rgba(21, 122, 110, 0.42);
  box-shadow: 0 0 0 3px rgba(21, 122, 110, 0.12);
}

.library-item.protected-card {
  position: relative;
  overflow: hidden;
}

.library-item.protected-card::after {
  content: attr(data-watermark);
  position: absolute;
  inset: 16px auto auto 50%;
  transform: translateX(-50%) rotate(-18deg);
  color: rgba(25, 34, 44, 0.07);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
  pointer-events: none;
  white-space: nowrap;
}

.library-item.is-locked::after {
  color: rgba(203, 75, 55, 0.038);
}

.library-item h3 {
  font-size: 24px;
  margin: 8px 0 10px;
}

body[data-page="group"] .library-item-top {
  align-items: flex-start;
  gap: 8px;
}

body[data-page="group"] .library-item .meta-row {
  gap: 6px;
}

body[data-page="group"] .library-item .library-meta,
body[data-page="group"] .library-item .scene-badge,
body[data-page="group"] .library-item .subgroup-badge,
body[data-page="group"] .library-item .level-badge {
  min-height: 24px;
  padding: 0 8px;
  font-size: 11px;
}

body[data-page="group"] .library-item h3 {
  font-size: 18px;
  margin: 4px 0 2px;
  line-height: 1.18;
}

body[data-page="group"] .library-item > p {
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.42;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.library-preview {
  margin: 0;
  padding: 14px 16px;
  border-radius: 8px;
  background: #f8f5ef;
  color: #23313e;
  font-size: 14px;
  white-space: pre-wrap;
  word-break: break-word;
}

body[data-page="group"] .library-preview {
  padding: 10px 11px;
  font-size: 12px;
  line-height: 1.42;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.library-preview.is-locked {
  background: linear-gradient(180deg, rgba(251, 244, 236, 0.56), rgba(248, 241, 233, 0.42));
  color: rgba(69, 55, 45, 0.38);
  filter: blur(1.08px);
  opacity: 0.92;
}

.entry-hint-row {
  justify-content: flex-start;
  width: fit-content;
  margin-top: 12px;
}

body[data-page="group"] .entry-hint-row {
  display: none;
}

.entry-hint-locked {
  background: rgba(203, 75, 55, 0.07);
  color: #b05a4c;
}

.locked-action-btn {
  border-color: rgba(203, 75, 55, 0.18);
  color: var(--accent);
  background: rgba(255, 248, 244, 0.78);
}

.library-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

body[data-page="group"] .library-tags {
  gap: 6px;
  margin-top: 2px;
}

.library-tags span {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(21, 122, 110, 0.1);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 700;
}

body[data-page="group"] .library-tags span {
  min-height: 24px;
  padding: 0 8px;
  font-size: 11px;
}

body[data-page="group"] .library-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

body[data-page="group"] .library-actions .copy-btn,
body[data-page="group"] .library-actions .download-btn,
body[data-page="group"] .library-actions .group-link {
  width: 100%;
  min-height: 30px;
  padding: 0 8px;
  font-size: 11px;
}

body[data-page="group"] .library-actions .group-link {
  justify-content: center;
}

.group-continue-section {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.group-continue-section[hidden] {
  display: none !important;
}

.group-continue-head {
  display: grid;
  gap: 4px;
}

.group-continue-head .section-tag {
  margin: 0;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  background: rgba(203, 75, 55, 0.1);
}

.group-continue-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.14;
}

.group-continue-note {
  margin: 0;
  color: #5c6975;
  font-size: 12px;
  line-height: 1.42;
}

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

.group-continue-card {
  padding: 10px;
  border: 1px solid rgba(31, 44, 59, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
  display: grid;
  gap: 8px;
  align-content: start;
}

.group-continue-card.primary {
  border-color: rgba(44, 152, 209, 0.24);
  background: rgba(245, 250, 255, 0.98);
}

.group-continue-card.return {
  border-color: rgba(21, 122, 110, 0.16);
  background: rgba(247, 251, 249, 0.96);
}

.group-continue-card.muted {
  background: rgba(249, 249, 249, 0.9);
}

.group-continue-top,
.group-continue-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}

.group-continue-card h4 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.14;
}

.group-continue-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.42;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.group-continue-card .group-link {
  min-height: 30px;
  padding: 0 10px;
  font-size: 11px;
}

.group-next-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.group-next-link {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(25, 34, 44, 0.06);
  color: #34404c;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.group-next-link:hover,
.group-next-link:focus-visible {
  transform: translateY(-1px);
}

.group-next-link-primary {
  background: rgba(44, 152, 209, 0.12);
  color: #0f658f;
}

.group-next-link-dark {
  background: var(--ink);
  color: #fff;
}

@media (min-width: 1280px) {
  body[data-page="group"] .library-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  body[data-page="group"] .library-search-inline {
    grid-column: 1;
  }

  body[data-page="group"] .group-focus-line {
    display: none;
  }

  body[data-page="group"] .library-toolbar-actions {
    grid-column: 2;
    display: grid;
    grid-template-columns: max-content max-content;
    justify-content: end;
    align-items: center;
    gap: 8px;
  }

  body[data-page="group"] .quick-filter-row,
  body[data-page="group"] .library-toolbar-links {
    justify-content: flex-end;
  }

  body[data-page="group"] .quick-filter-btn,
  body[data-page="group"] .library-toolbar-links .chip-link,
  body[data-page="group"] .library-toolbar-links .group-link {
    min-height: 30px;
    padding: 0 10px;
    font-size: 11px;
  }

  body[data-page="group"] .library-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .group-continue-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

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

.workflow-step {
  min-height: 180px;
  padding: 18px;
  border-radius: 8px;
}

.workflow-step span {
  display: inline-flex;
  min-width: 38px;
  min-height: 38px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  margin-bottom: 12px;
}

.feedback-form {
  padding: 18px;
  border-radius: 8px;
  display: grid;
  gap: 14px;
}

.feedback-form label {
  display: grid;
  gap: 8px;
  color: #42505e;
  font-weight: 700;
}

.feedback-form button {
  min-height: 46px;
  border-radius: 8px;
  border: 0;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
}

.empty-state {
  padding: 24px;
  border-radius: 8px;
  border: 1px dashed rgba(104, 113, 123, 0.45);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.52);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(24, 33, 43, 0.92);
  color: #fff;
  font-size: 14px;
  box-shadow: 0 12px 32px rgba(24, 33, 43, 0.22);
  z-index: 50;
}

.toast[hidden],
.shield-flash[hidden] {
  display: none !important;
}

.shield-flash {
  position: fixed;
  inset: 0;
  display: grid;
  pointer-events: none;
  place-items: center;
  background: rgba(24, 33, 43, 0.82);
  color: #fff;
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 800;
  z-index: 60;
}

body.access-locked .library-list,
body.access-locked .update-grid,
body.access-locked .proof-grid,
body.access-locked .library-preview,
body.access-locked .library-item p,
body.access-locked .library-tags,
body.access-locked .library-actions {
  user-select: none;
  -webkit-user-select: none;
}

.access-panel.is-pulsing {
  animation: accessPulse 0.55s ease;
}

@keyframes accessPulse {
  0% { transform: scale(1); }
  35% { transform: scale(1.01); }
  100% { transform: scale(1); }
}

@media print {
  body::before {
    content: "当前页面受保护，打印和导出需授权";
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background: #fff;
    color: #111;
    font-size: 28px;
    font-weight: 800;
    z-index: 9999;
  }

  body > *:not(#shieldFlash) {
    visibility: hidden !important;
  }
}

@media (max-width: 1040px) {
  .hero-layout,
  .group-hero-layout,
  .feedback-layout {
    grid-template-columns: 1fr;
  }

  body[data-page="group"] .library-list {
    grid-template-columns: 1fr;
  }

  body[data-page="group"] .group-hero-layout {
    grid-template-columns: 1fr;
  }

  body[data-page="group"] .group-metrics {
    margin-top: 8px;
  }

  body[data-page="group"] .group-quick-meta {
    grid-template-columns: 1fr 1fr;
  }

  body[data-page="group"] .group-live-route-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="group"] .compact-section-head {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  body[data-page="group"] .compact-section-head .section-note {
    padding-top: 0;
  }

  body[data-page="group"] .group-subgroup-head {
    grid-template-columns: 1fr;
  }

  .library-toolbar-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  body[data-page="home"] .section-head {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .access-panel-inner {
    grid-template-columns: 1fr;
  }

  body[data-page="group"] .access-panel-inner.access-panel-inner-compact {
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: start;
  }

  .unlock-value-shell {
    grid-template-columns: 1fr;
    padding: 12px 14px;
    gap: 10px 14px;
  }

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

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

  .unlock-value-copy {
    grid-template-columns: auto minmax(0, 1.7fr) minmax(190px, 0.68fr) auto;
    grid-template-areas: "tag title summary actions";
    gap: 8px 12px;
    align-items: center;
  }

  .unlock-value-copy > .section-tag {
    grid-area: tag;
    margin: 0;
    min-height: 22px;
    padding: 0 7px;
    align-self: center;
  }

  .unlock-value-copy h2 {
    grid-area: title;
    font-size: clamp(18px, 2.2vw, 24px);
    line-height: 1.08;
  }

  .unlock-value-summary {
    grid-area: summary;
    font-size: 11px;
    line-height: 1.32;
  }

  .unlock-value-actions {
    grid-area: actions;
    margin-top: 0;
    justify-content: flex-end;
    align-self: center;
  }

  .unlock-value-action {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }

  .access-actions {
    justify-items: start;
  }

  .access-actions.access-actions-compact {
    min-width: 0;
    width: 100%;
  }

  .access-badges {
    justify-content: flex-start;
  }

  .access-action-row {
    justify-content: flex-start;
  }

  .group-grid,
  .starter-grid,
  .fast-lane-grid,
  .home-search-grid,
  .collection-grid,
  .subgroup-summary-grid,
  .bundle-grid,
  .update-grid,
  .proof-grid,
  .workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .unlock-value-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px;
  }

  body[data-page="group"] .group-quick-meta.group-quick-meta-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .unlock-value-card {
    min-height: 96px;
    padding: 12px 10px;
    gap: 6px;
  }

  .unlock-value-kicker {
    min-height: 22px;
    padding: 0 7px;
    font-size: 10px;
  }

  .unlock-value-card strong {
    font-size: 16px;
    line-height: 1.08;
  }

  .unlock-value-card p {
    font-size: 12px;
    line-height: 1.38;
  }

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

  body[data-page="home"] #group-hub .group-grid,
  body[data-page="home"] #collection-progress .collection-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100vw - 20px, 1180px);
  }

  body[data-page="group"] .group-quick-meta {
    grid-template-columns: 1fr;
  }

  .header-topline-inner {
    min-height: auto;
    padding: 8px 0;
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }

  .header-topline-nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .header-inner {
    min-height: 64px;
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .header-nav {
    width: 100%;
    order: 3;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 2px;
  }

  .header-cta {
    display: none;
  }

  .hero-band,
  .group-hero-band,
  .section-band {
    padding: 24px 0 32px;
  }

  body[data-page="home"] .hero-band {
    padding: 20px 0 28px;
  }

  body[data-page="home"] .section-band {
    padding: 18px 0 26px;
  }

  body[data-page="home"] .section-head > div {
    gap: 6px 8px;
  }

  body[data-page="home"] .stat-row {
    gap: 8px;
  }

  body[data-page="home"] .stat-row li {
    min-height: 84px;
    padding: 12px;
  }

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

  .access-badges-left .access-badge:nth-child(n+4) {
    display: none;
  }

  .unlock-value-copy {
    grid-template-columns: 1fr;
    grid-template-areas:
      "tag"
      "title"
      "summary"
      "actions";
    gap: 6px;
    align-items: start;
  }

  .unlock-value-actions {
    justify-content: flex-start;
  }

  .access-floating-btn {
    right: 14px;
    bottom: 88px;
  }

  body[data-page="group"] .group-title-row {
    align-items: start;
    gap: 6px;
  }

  body[data-page="group"] .group-hero-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }

  body[data-page="group"] .group-hero-side {
    justify-items: start;
  }

  body[data-page="group"] .group-inline-meta {
    margin-bottom: 0;
  }

  .catalog-context-row,
  .catalog-secondary-wrap,
  .catalog-third-wrap {
    min-height: auto;
    padding: 10px 0;
    gap: 10px;
  }

  .catalog-secondary-wrap,
  .catalog-third-wrap {
    flex-wrap: nowrap;
    align-items: center;
    overflow: hidden;
  }

  .catalog-primary-nav-wrap {
    min-height: auto;
  }

  .catalog-home-link,
  .catalog-primary-nav .group-switch {
    min-height: 54px;
    padding: 0 18px;
  }

  .catalog-inline-label {
    width: auto;
    flex: 0 0 auto;
    font-size: 12px;
  }

  .catalog-secondary-nav,
  .quick-entry-row,
  .chip-row {
    min-width: 0;
    flex: 1;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 12px;
    padding-bottom: 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .catalog-secondary-nav .chip-link,
  .catalog-secondary-nav .chip-btn,
  .quick-entry-row .chip-link,
  .chip-row .chip-btn {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .catalog-secondary-nav::-webkit-scrollbar,
  .quick-entry-row::-webkit-scrollbar,
  .chip-row::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .hero-copy h1,
  .group-hero-copy h1 {
    max-width: none;
    font-size: 30px;
  }

  body[data-page="group"] .group-metrics {
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="group"] .group-hero-copy h1 {
    font-size: 28px;
  }

  body[data-page="group"] .section-head h2,
  body[data-page="group"] .group-subgroup-head h2 {
    font-size: 18px;
    line-height: 1.14;
  }

  body[data-page="group"] #group-library .section-head h2 {
    font-size: 16px;
    line-height: 1.14;
  }

  body[data-page="group"] .section-head > div,
  body[data-page="group"] .group-subgroup-head > div {
    width: 100%;
    display: grid;
    align-content: start;
    gap: 4px;
  }

  body[data-page="group"] .section-head .section-tag,
  body[data-page="group"] .group-subgroup-head .section-tag {
    width: fit-content;
  }

  body[data-page="home"] .section-head h2 {
    font-size: 22px;
    line-height: 1.12;
  }

  .stat-row,
  .group-grid,
  .starter-grid,
  .fast-lane-grid,
  .home-search-grid,
  .collection-grid,
  .subgroup-summary-grid,
  .bundle-grid,
  .update-grid,
  .proof-grid,
  .workflow-grid,
  .group-metrics {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] #group-hub .group-grid,
  body[data-page="home"] #collection-progress .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="home"] #update-zone .update-grid,
  body[data-page="home"] #proof-zone .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="home"] #workflow-zone .workflow-grid {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 8px;
    padding-bottom: 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  body[data-page="home"] #workflow-zone .workflow-grid::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  body[data-page="home"] #workflow-zone .workflow-step {
    flex: 0 0 220px;
  }

  body[data-page="home"] #collection-progress .section-head {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .home-collection-priority {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 8px;
    padding-bottom: 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .home-collection-priority::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .home-collection-priority-card {
    flex: 0 0 180px;
  }

  .home-collection-actions {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .home-collection-actions .group-link,
  .home-collection-actions .copy-btn {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .home-collection-actions::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  body[data-page="home"] #feedback-zone .feedback-points {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] #feedback-zone .feedback-actions {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  body[data-page="home"] #feedback-zone .feedback-actions .group-link,
  body[data-page="home"] #feedback-zone .feedback-actions .secondary-action {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  body[data-page="home"] #feedback-zone .feedback-actions::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  body[data-page="home"] #group-hub .group-card,
  body[data-page="home"] #collection-progress .collection-card {
    padding: 12px;
    gap: 8px;
  }

  body[data-page="home"] #group-hub .group-card h3,
  body[data-page="home"] #collection-progress .collection-head h3 {
    font-size: 18px;
    line-height: 1.12;
  }

  body[data-page="home"] #group-hub .group-card-desc,
  body[data-page="home"] #collection-progress .collection-head p,
  body[data-page="home"] #collection-progress .collection-note {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  body[data-page="home"] #group-hub .group-subgroup-cloud span,
  body[data-page="home"] #collection-progress .collection-keywords span,
  body[data-page="home"] #collection-progress .collection-meta span,
  body[data-page="home"] #collection-progress .collection-state {
    min-height: 24px;
    padding: 0 8px;
    font-size: 11px;
  }

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

  .section-head,
  .group-card-top,
  .group-card-foot,
  .bundle-footer,
  .collection-top,
  .collection-meta,
  .collection-actions,
  .search-route-top,
  .search-route-meta,
  .library-item-top,
  .library-actions,
  .result-bar,
  .group-focus-line,
  .library-toolbar-actions,
  .library-toolbar-links {
    align-items: start;
    flex-direction: column;
  }

  .unlock-value-grid {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 8px;
    padding-bottom: 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .unlock-value-grid::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .unlock-value-card {
    flex: 0 0 188px;
    min-height: 88px;
    padding: 10px 10px;
  }

  body[data-page="group"] .quick-filter-row,
  body[data-page="group"] .library-toolbar-links,
  body[data-page="group"] .result-meta {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  body[data-page="group"] .quick-filter-row::-webkit-scrollbar,
  body[data-page="group"] .library-toolbar-links::-webkit-scrollbar,
  body[data-page="group"] .result-meta::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  body[data-page="group"] .quick-filter-btn,
  body[data-page="group"] .library-toolbar-links .chip-link,
  body[data-page="group"] .library-toolbar-links .group-link,
  body[data-page="group"] .result-chip {
    flex: 0 0 auto;
    white-space: nowrap;
  }

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

  .group-next-actions {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .group-next-actions::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .group-next-link {
    flex: 0 0 auto;
  }
}

@media (max-width: 520px) {
  .group-continue-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="group"] .group-live-route-steps {
    grid-template-columns: 1fr;
  }

  body[data-page="group"] .access-panel-inner.access-panel-inner-compact {
    padding: 10px;
  }

  body[data-page="group"] .access-copy.access-copy-compact h2 {
    font-size: 16px;
    line-height: 1.08;
  }

  body[data-page="group"] .access-copy.access-copy-compact p {
    font-size: 11px;
    line-height: 1.38;
  }

  body[data-page="group"] .access-badges {
    gap: 4px;
  }

  body[data-page="group"] .access-badge {
    min-height: 20px;
    padding: 0 7px;
  }

  body[data-page="group"] #group-library .section-head > div {
    display: grid;
    gap: 3px;
  }

  body[data-page="group"] #group-library .section-head h2 {
    font-size: 15px;
    line-height: 1.14;
  }

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

  body[data-page="home"] #group-hub .group-grid,
  body[data-page="home"] #collection-progress .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .unlock-value-grid {
    display: flex;
  }

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

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

@media (max-width: 1080px) {
  .manage-naming-grid,
  .manage-classify-grid,
  .manage-summary-grid,
  .manage-priority-grid,
  .manage-testing-grid,
  .manage-group-grid,
  .manage-step-grid,
  .manage-stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .hero-sales-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .manage-member-library-layout,
  .member-space-layout {
    grid-template-columns: 1fr;
  }

  .manage-billing-toolbar,
  .manage-agent-toolbar {
    grid-template-columns: 1fr;
  }

  .manage-billing-filter-row,
  .manage-agent-filter-row {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .manage-naming-grid,
  .manage-classify-grid,
  .manage-summary-grid,
  .manage-priority-grid,
  .manage-testing-grid,
  .manage-group-grid,
  .manage-step-grid,
  .manage-stat-row {
    grid-template-columns: 1fr;
  }

  .manage-rule-strip {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .manage-rule-strip::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

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

  .home-product-grid {
    grid-template-columns: 1fr;
  }

  .hero-sales-grid {
    grid-template-columns: 1fr;
  }

  .home-product-flow-grid {
    grid-template-columns: 1fr;
  }

  .home-product-trust-grid {
    grid-template-columns: 1fr;
  }

  .manage-rule-chip {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .manage-action-strip {
    padding: 10px 12px;
  }

  .manage-action-copy h3 {
    font-size: 22px;
  }

  .manage-hero-head h1 {
    font-size: 26px;
  }

  .manage-testing-toolbar {
    align-items: flex-start;
  }

  .billing-form-grid,
  .manage-billing-summary-grid,
  .manage-agent-grid {
    grid-template-columns: 1fr;
  }

  .member-space-search {
    min-width: 100%;
  }

  .billing-modal {
    padding: 16px 12px;
  }

  .billing-modal-panel {
    padding: 14px;
  }

  .access-order-strip,
  .access-form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .manage-billing-head-actions,
  .manage-agent-head-actions {
    width: 100%;
  }

}
