html[data-clubhouse-theme] .club-traits-disclosure {
  margin: 20px 0;
  border: solid var(--line);
  border-width: 1px 0;
  border-radius: 0;
  background: transparent;
}

html[data-clubhouse-theme] .club-traits-disclosure > summary {
  padding: 16px 0;
  min-height: 52px;
  font-size: 12px;
  font-weight: 550;
}

html[data-clubhouse-theme] .club-traits-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}

html[data-clubhouse-theme] .club-traits-disclosure[open] > summary {
  border: 0;
}

html[data-clubhouse-theme] .club-traits-disclosure[open] > summary svg,
html[data-clubhouse-theme] .club-trait-calculation[open] > summary svg {
  transform: rotate(180deg);
}

html[data-clubhouse-theme] .club-traits-disclosure .club-traits-record {
  padding: 0 0 16px;
}

html[data-clubhouse-theme]
  .club-traits-disclosure
  .club-traits-record
  > header {
  display: none;
}

html[data-clubhouse-theme] .club-traits-record h3 {
  font-family: var(--heading-font);
}

html[data-clubhouse-theme] .club-trait-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(145px, 100%), 1fr));
  gap: 10px;
  padding-bottom: 20px;
}

html[data-clubhouse-theme] .club-trait-tile {
  min-width: 0;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--warm);
}

html[data-clubhouse-theme] .club-trait-tile .trait-swatch {
  box-sizing: border-box;
  width: 100%;
  height: 66px;
  margin-bottom: 14px;
}

html[data-clubhouse-theme] .club-trait-tile > small {
  display: block;
  color: var(--muted);
  font: 8px/1.5 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

html[data-clubhouse-theme] .club-trait-tile > strong {
  display: block;
  margin: 6px 0 8px;
  font-size: 12px;
  overflow-wrap: anywhere;
}

html[data-clubhouse-theme] .club-trait-calculation {
  border-top: 1px solid var(--line);
  font-size: 12px;
}

html[data-clubhouse-theme] .club-trait-calculation > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 12px 0;
  color: var(--green);
  cursor: pointer;
  list-style: none;
}

html[data-clubhouse-theme] .club-trait-calculation > p,
html[data-clubhouse-theme] .club-trait-explanations dd {
  color: var(--muted);
  line-height: 1.7;
}

html[data-clubhouse-theme] .club-trait-calculation .contract-trait-source {
  grid-template-columns: minmax(0, 1fr);
  background: var(--surface);
  border-color: var(--line);
  border-radius: var(--radius-sm);
}

html[data-clubhouse-theme]
  .club-trait-calculation
  .contract-trait-source-legend {
  grid-column: 1;
}

html[data-clubhouse-theme] .club-trait-explanations {
  display: grid;
  gap: 16px;
  margin: 20px 0 0;
}

html[data-clubhouse-theme] .club-trait-explanations dt {
  margin-bottom: 6px;
  font-weight: 600;
}

html[data-clubhouse-theme] .club-trait-explanations dd {
  margin: 0;
}

html[data-clubhouse-theme] .club-guide {
  min-width: 0;
  max-width: 100%;
  padding-top: 44px;
  color: var(--ink);
}

html[data-clubhouse-theme] .club-guide-title {
  margin-bottom: 48px;
}

html[data-clubhouse-theme] .club-guide .club-guide-title h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 4vw, 42px);
}

html[data-clubhouse-theme] .club-guide-title > p:last-child,
html[data-clubhouse-theme] .club-guide-intro p,
html[data-clubhouse-theme] .club-guide-accounts > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

html[data-clubhouse-theme] .club-guide-intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 72px;
  margin-bottom: 64px;
}

html[data-clubhouse-theme] .club-guide .club-guide-intro h2 {
  margin: 0 0 24px;
  font-size: 31px;
}

html[data-clubhouse-theme] .club-guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 20px;
}

html[data-clubhouse-theme] .club-guide .club-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  text-align: left;
}

html[data-clubhouse-theme] .club-guide-example {
  min-width: 0;
  margin: 0;
  padding: 20px 12px;
}

html[data-clubhouse-theme] .club-guide-plate-stage {
  transform: rotate(-3deg);
}

html[data-clubhouse-theme] .club-guide-example figcaption {
  margin-top: 28px;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

html[data-clubhouse-theme] .club-guide-journey {
  margin: 64px 0;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

html[data-clubhouse-theme] .club-guide-journey > h2 {
  margin-top: 40px;
}

html[data-clubhouse-theme] .club-guide-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  padding: 0;
  margin: 32px 0 48px;
  list-style: none;
}

html[data-clubhouse-theme] .club-guide-step-icon {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  color: var(--green);
}

html[data-clubhouse-theme] .club-guide-step-icon > span {
  color: var(--muted);
  font: 9px var(--mono);
}

html[data-clubhouse-theme] .club-guide-steps h3 {
  margin: 18px 0 12px;
  font-size: 17px;
}

html[data-clubhouse-theme] .club-guide-steps p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

html[data-clubhouse-theme] .club-guide-fees {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 64px;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--green-wash);
}

html[data-clubhouse-theme] .club-guide-fees h2 {
  margin: 18px 0;
  font-size: 40px;
}

html[data-clubhouse-theme] .club-guide-fees h2 em {
  color: var(--green);
  font: 1.16em var(--serif);
}

html[data-clubhouse-theme] .club-guide-fees > div > p {
  color: var(--muted);
  font-size: 13px;
}

html[data-clubhouse-theme] .club-guide-fee-input,
html[data-clubhouse-theme] .club-guide-fee-vault {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--silver);
  border-radius: var(--radius-sm);
  font-size: 12px;
}

html[data-clubhouse-theme] .club-guide-flow-arrow {
  padding: 12px;
  color: var(--muted);
  text-align: center;
}

html[data-clubhouse-theme] .club-guide-fee-vault {
  justify-content: center;
  gap: 22px;
  padding: 26px 20px;
  background: var(--surface);
}

html[data-clubhouse-theme] .club-guide-fee-vault strong {
  display: block;
  font-size: 14px;
}

html[data-clubhouse-theme] .club-guide-fee-vault small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

html[data-clubhouse-theme] .club-guide-fee-outcomes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

html[data-clubhouse-theme] .club-guide-fee-outcomes > li {
  padding: 0 8px;
  border-right: 1px solid var(--line);
  text-align: center;
}

html[data-clubhouse-theme] .club-guide-fee-outcomes > li:last-child {
  border: 0;
}

html[data-clubhouse-theme] .club-guide-fee-outcomes strong {
  display: block;
  color: var(--green);
  font-size: 12px;
}

html[data-clubhouse-theme] .club-guide-fee-outcomes span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
}

html[data-clubhouse-theme] .club-guide-fee-summary > p {
  margin: 20px 0 0;
  text-align: center;
  font-size: 10px;
}

html[data-clubhouse-theme] .club-guide-accounts {
  margin-top: 64px;
}

html[data-clubhouse-theme] .club-guide-faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  margin: 64px 0;
}

html[data-clubhouse-theme] .club-guide-faq details {
  border-top: 1px solid var(--line);
}

html[data-clubhouse-theme] .club-guide-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 13px;
  cursor: pointer;
  list-style: none;
}

html[data-clubhouse-theme] .club-guide-faq summary > span {
  color: var(--green);
  font-size: 18px;
}

html[data-clubhouse-theme] .club-guide-faq details[open] summary > span {
  transform: rotate(45deg);
}

html[data-clubhouse-theme] .club-guide-faq details > p {
  max-width: 470px;
  margin: 0 20px 22px 0;
  color: var(--muted);
  font-size: 12px;
}

html[data-clubhouse-theme] .club-guide-note {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 12px;
}

html[data-clubhouse-theme] .club-guide-note > svg {
  flex: none;
  align-self: center;
  color: var(--green);
}

html[data-clubhouse-theme] .club-guide-note p {
  margin: 0;
}

html[data-clubhouse-theme]
  .club-guide
  :is(.diagram-disclosure, .showroom-diagram, .protocol-flow) {
  min-width: 0;
  max-width: 100%;
}

html[data-clubhouse-theme] .club-guide .protocol-flow-viewport {
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

html[data-clubhouse-theme] .club-guide .protocol-flow {
  box-sizing: border-box;
}

html[data-clubhouse-theme] .club-guide summary:focus-visible,
html[data-clubhouse-theme] .club-trait-calculation > summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: -2px;
}

html[data-clubhouse-theme] .club-guide summary::-webkit-details-marker,
html[data-clubhouse-theme]
  .club-trait-calculation
  > summary::-webkit-details-marker {
  display: none;
}

@media (max-width: 900px) {
  html[data-clubhouse-theme] .club-guide-intro,
  html[data-clubhouse-theme] .club-guide-fees,
  html[data-clubhouse-theme] .club-guide-faq {
    gap: 32px;
  }

  html[data-clubhouse-theme] .club-guide-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  html[data-clubhouse-theme] .club-guide-intro,
  html[data-clubhouse-theme] .club-guide-fees,
  html[data-clubhouse-theme] .club-guide-faq {
    grid-template-columns: minmax(0, 1fr);
  }

  html[data-clubhouse-theme] .club-guide-fees {
    padding: 24px 18px;
  }

  html[data-clubhouse-theme] .club-guide-fees h2 {
    font-size: 34px;
  }

  html[data-clubhouse-theme] .club-guide-fee-outcomes > li {
    padding: 0 4px;
  }
}
