/* Shared roles match the relationship tour; color is redundant with wording. */
.comparison-pilot { --value: #956315; --connection: #176d73; --agency: #365f9d; --support: #79558a; --judgment: #34433d; color: #293d35; margin: 2rem 0; }
.comparison-pilot [hidden] { display: none !important; }
.comparison-pilot h3 { font: 500 clamp(1.6rem, 2.5vw, 2.1rem)/1.2 Georgia, serif; margin: 0 0 1rem; }
.comparison-pilot p { font-size: 1rem; line-height: 1.65; max-width: 78ch; }
.comparison-pilot .comparison-disclosure { border-top: 1px solid #c6d2c9; margin: 1.4rem 0; padding: 0; }
.comparison-disclosure > summary { cursor: pointer; padding: 1.05rem .15rem; font-size: 1.12rem; font-weight: 650; color: #294c3d; }
.comparison-pilot summary:focus-visible, .comparison-pilot button:focus-visible { outline: 3px solid #527b68; outline-offset: 4px; }
.comparison-ingredients { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; padding: 1rem 0; }
.comparison-ingredient { border-inline-start: 3px solid var(--role); padding: .45rem .7rem .6rem 1rem; position: relative; }
.comparison-ingredient strong, .comparison-ingredient span { display: block; }
.comparison-ingredient strong { color: var(--role); font-size: 1rem; line-height: 1.3; margin-bottom: .45rem; }
.comparison-ingredient span { font-size: 1rem; line-height: 1.48; }
.role-value { --role: var(--value); }
.role-connection { --role: var(--connection); }
.role-agency { --role: var(--agency); }
.comparison-convergence { border-top: 1px solid #b1bfb4; padding-top: .8rem; }
.comparison-pilot .comparison-note { font-size: .9rem; color: #53625a; }
.comparison-pilot .comparison-kicker { text-transform: uppercase; letter-spacing: .075em; font-size: .8rem; color: #526b5b; margin-bottom: .6rem; }
.wallet-introduction h4 { font: 500 clamp(1.55rem, 3vw, 2.2rem)/1.15 Georgia, serif; margin: .3rem 0 1.1rem; }
.wallet-controls { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1.4rem 0 .8rem; }
.comparison-pilot button { color: #29483b; border: 1px solid #7a9384; background: #f8faf5; padding: .8rem 1rem; min-height: 44px; border-radius: 6px; font-family: inherit; font-size: 1rem; font-weight: 600; line-height: 1.35; cursor: pointer; white-space: normal; }
.comparison-pilot button[aria-pressed="true"] { background: #294c3d; border-color: #294c3d; color: white; }
.comparison-pilot .wallet-change { max-width: none; border-inline-start: 3px solid #53665a; padding: .6rem 1rem; background: #edf1e9; font-size: .95rem; }
.wallet-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.2rem, 4vw, 3rem); margin: 1.5rem 0; }
.wallet-case { display: grid; grid-template-rows: 3.9rem auto auto auto 5.5rem; align-content: start; min-width: 0; padding: 1rem .2rem; }
.wallet-case h5 { font: 500 1.4rem/1.2 Georgia, serif; margin: 0; }
.wallet-core { border: 1px solid #c4d1c5; border-radius: 12px; padding: 1rem; display: grid; grid-template-rows: 2rem 6.5rem 4.5rem 4.5rem; gap: .6rem; background: #f9faf6; }
.comparison-pilot .wallet-group-label { font-size: .88rem; margin: 0; color: #5b6c61; }
.wallet-core .comparison-ingredient { padding-block: .25rem; }
.wallet-core .comparison-ingredient small { font-size: .82rem; color: #74521d; display: block; margin-top: .4rem; font-weight: 700; }
.wallet-supports { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); position: relative; gap: 1.3rem; padding-top: 2rem; min-height: 12rem; }
.wallet-supports > div { padding: .65rem 0 2rem; position: relative; }
.wallet-supports strong, .wallet-supports span { display: block; line-height: 1.45; }
.wallet-supports strong { color: var(--support); margin-bottom: .5rem; font-size: .95rem; }
.wallet-supports span { font-size: .94rem; }
.wallet-moral-support::before { content: ''; position: absolute; top: -2rem; left: 50%; height: 2.25rem; width: 1px; background: var(--support); }
.wallet-supports > div::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 1px; height: 1.6rem; background: var(--support); }
.wallet-judgment { border-top: 2px solid var(--judgment); border-bottom: 1px solid #c3cec3; padding: 1.1rem .2rem; text-align: center; font: 500 1.2rem/1.3 Georgia, serif; }
.comparison-pilot .wallet-classification { font-size: .94rem; line-height: 1.5; padding: .5rem .15rem; margin: .2rem 0; }
.wallet-classification strong { color: var(--judgment); display: block; margin-bottom: .3rem; }
.wallet-case.is-removed .role-value { background: #f5eee1; border-inline-start-style: dashed; }
.wallet-case.is-removed .wallet-moral-support { color: #5a625d; }
.wallet-case.is-removed .wallet-moral-support strong { color: #5a625d; }
.wallet-case.is-removed .wallet-moral-support::before { background: none; border-left: 1px dashed #8a978b; }
.wallet-case.is-removed .wallet-moral-support::after { width: 1.6rem; height: 1px; background: #7f8e82; transform: translateX(-50%); bottom: 1.3rem; }
.wallet-invariants { border-block: 1px solid #c4d1c5; padding: 1rem 0; }
.wallet-payoff { padding: .5rem 0; }
.wallet-payoff h5 { font: 500 1.5rem/1.2 Georgia, serif; margin: 1rem 0; }
.comparison-source { border-top: 1px solid #c4d1c5; margin: 1rem 0; }
.comparison-source summary { padding: .8rem 0; cursor: pointer; font-size: .95rem; }
@media (max-width: 800px) {
  .comparison-ingredients { grid-template-columns: 1fr; gap: 1rem; }
  .wallet-pair { grid-template-columns: 1fr; gap: 1.4rem; }
  .wallet-case { grid-template-rows: auto auto auto auto auto; border-top: 1px solid #bccbbd; padding-top: 1.2rem; }
  .wallet-case h5 { margin-bottom: 1rem; }
  .wallet-core { grid-template-rows: auto auto auto auto; gap: 1.2rem; padding: .9rem; }
  .wallet-supports { min-height: 0; }
  .wallet-supports > div { padding-bottom: 2.2rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .wallet-case .role-value { transition: background-color .25s ease; }
}
