.membership-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.membership-content{display:grid;gap:20px}.membership-plan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.membership-plan{height:100%;border:1px solid var(--pc-border)}.membership-plan-selected{border:2px solid var(--pc-primary)}.membership-plan h2{margin:12px 0}.membership-price{font-size:28px;font-weight:600;font-variant-numeric:tabular-nums;margin:16px 0}.membership-price small{font-size:13px;font-weight:400;color:var(--pc-secondary)}.membership-detail>summary{cursor:pointer;padding:16px 20px;font-weight:600}.membership-detail table th:first-child,.membership-detail table td:first-child{min-width:150px}.membership-detail table th,.membership-detail table td{min-width:120px}.membership-checkout .page-actions{margin:16px 0}.membership-debug{margin-top:16px;color:var(--pc-secondary)}.membership-debug summary{cursor:pointer}.membership-debug button{margin:8px 8px 0 0}.membership-summary{background:linear-gradient(115deg,var(--pc-surface),var(--pc-selected))}.membership-summary .card-body{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}.membership-summary h2{font-size:24px;margin:8px 0}.membership-summary p{margin:8px 0}.membership-allowances{display:flex;gap:16px;flex-wrap:wrap}@media(max-width:700px){.membership-plan-grid{grid-template-columns:1fr}.membership-tabs .btn{flex:1 1 40%}.membership-summary .card-body{align-items:flex-start}}

/* Membership inclusion uses a semantic green, not the income/expense palette. */
.membership-comparison{--membership-included:#28704c;margin:0;overflow:hidden}
.membership-comparison-scroll{overflow-x:auto}
.membership-comparison-scroll:focus-visible{outline:2px solid var(--pc-primary);outline-offset:-2px}
.membership-comparison-table{width:100%;min-width:520px;border-collapse:collapse;table-layout:fixed}
.membership-comparison-table th,.membership-comparison-table td{padding:15px 20px;border-bottom:1px solid var(--pc-border);text-align:center;white-space:normal;overflow-wrap:anywhere;line-height:1.6}
.membership-comparison-table th+th,.membership-comparison-table td{border-left:1px solid var(--pc-border)}
.membership-comparison-table thead th{vertical-align:top;background:var(--pc-surface);color:var(--pc-text);font-size:14px;font-weight:400;padding-top:24px;padding-bottom:24px}
.membership-comparison-table th:first-child{width:30%;text-align:left}
.membership-comparison-table tbody th{font-weight:400;color:var(--pc-text);background:var(--pc-surface)}
.membership-comparison-table tbody td{background:var(--pc-surface)}
.membership-comparison-table h2{font-size:20px;margin:14px 0 8px;line-height:1.5}
.membership-comparison-table .membership-price{margin:12px 0;font-size:28px;line-height:1.5;white-space:nowrap}
.membership-comparison-table .muted{font-size:12px;font-weight:400;min-height:38px;margin:8px 0 16px}
.membership-comparison-table .membership-comparison-selected{background:var(--pc-selected)}
.membership-comparison-table thead .membership-comparison-selected{box-shadow:inset 0 3px 0 var(--pc-primary)}
.membership-comparison-table tbody tr:last-child th,.membership-comparison-table tbody tr:last-child td{border-bottom:0}
.membership-plan-current{display:inline-flex;min-height:44px;align-items:center;color:var(--pc-secondary);font-size:13px}
.membership-legend{display:flex;flex-direction:column;gap:8px;margin:20px 0 0;font-size:12px;font-weight:400}
.membership-feature-included{color:var(--membership-included);font-weight:500}
.membership-feature-unavailable{color:var(--pc-secondary)}
.membership-feature-quota{color:var(--pc-text)}
.membership-feature-upgrade{font-weight:600}
@media(max-width:700px){.membership-comparison-table{min-width:440px}.membership-comparison-table th,.membership-comparison-table td{padding:12px}.membership-comparison-table h2{font-size:16px}.membership-comparison-table .membership-price{font-size:23px}.membership-comparison-table th:first-child{width:32%}}
