/* Team membership: scoped controls and theme palette shared with personal plans. */
.pricing-page .team-redesign{--team-accent:#7962ef;--team-tint:#f0edff;--team-card:#fff;--team-soft:#f7f7fc;--team-border:#e5e4ef;--team-ink:#27273c;--team-muted:#7a7c91;padding:0;border:0;background:transparent!important;color:var(--team-ink)}
body.dark .pricing-page .team-redesign{--team-accent:#a897ff;--team-tint:#2c2845;--team-card:#1d202b;--team-soft:#242735;--team-border:#36394c;--team-ink:#f3f2fa;--team-muted:#a2a5b8}
.team-redesign .team-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,1fr);gap:24px;align-items:start}
.team-redesign .team-config,.team-redesign .team-summary{min-width:0;border:1px solid var(--team-border);border-radius:22px;background:var(--team-card);padding:28px;box-shadow:0 8px 28px #12152c05}
.team-redesign h2{font-size:20px;line-height:1.4;margin:0 0 8px;letter-spacing:-.02em;color:var(--team-ink)}
.team-redesign h3{font-size:14px;line-height:1.5;margin:24px 0 14px;color:var(--team-ink)}
.team-redesign .team-intro{font-size:12px;line-height:1.7;color:var(--team-muted);margin:0 0 28px}
.team-redesign .team-field{display:block;margin:0 0 24px;font-size:13px}
.team-redesign .team-field>span{display:block;font-weight:600;color:var(--team-muted);margin-bottom:10px}
.team-redesign .team-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:0;margin:0;border:0;border-radius:0;background:none;box-shadow:none}
.team-redesign .team-field:nth-of-type(2) .team-options{grid-template-columns:repeat(2,minmax(0,1fr))}
.team-redesign .team-choice{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:10px 12px;border:1px solid var(--team-border);border-radius:12px;background:var(--team-soft);color:var(--team-ink);font:inherit;line-height:1.4;cursor:pointer;transition:background .18s,border-color .18s,box-shadow .18s}
.team-redesign .team-choice small{font-size:11px;color:var(--team-muted);white-space:nowrap}
.team-redesign .team-choice i{display:none}
.team-redesign .team-choice:hover{border-color:var(--team-accent)}
.team-redesign .team-choice[aria-pressed=true]{background:var(--team-tint);border-color:var(--team-accent);color:var(--team-accent);box-shadow:inset 0 0 0 1px var(--team-accent);font-weight:650}
.team-redesign .team-choice[aria-pressed=true] small{color:inherit;opacity:.8}
.team-redesign .team-seats{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px}
.team-redesign .team-seats>span{color:var(--team-muted)}
.team-redesign .team-seats>strong{margin-left:auto;font-size:12px;font-weight:600;padding:7px 10px;border-radius:8px;color:var(--team-accent);background:var(--team-tint)}
.team-redesign .team-stepper{display:flex;align-items:center;gap:2px;padding:4px;border:1px solid var(--team-border);border-radius:12px;background:var(--team-soft)}
.team-redesign .team-stepper button{display:grid;place-items:center;flex:none;width:34px;height:34px;padding:0;border:0;border-radius:8px;background:var(--team-card);color:var(--team-accent);font-size:22px;line-height:1;cursor:pointer}
.team-redesign .team-stepper button:disabled{opacity:.3;cursor:default}
.team-redesign .team-stepper input{width:60px!important;height:34px;padding:0!important;text-align:center;border:0;background:transparent;color:var(--team-ink);font-size:20px;font-weight:650;appearance:textfield;box-shadow:none}
.team-redesign .team-stepper input::-webkit-inner-spin-button{appearance:none}
.team-redesign .team-range-wrap{margin:22px 0 16px}
.team-redesign .team-range{display:block;appearance:none;-webkit-appearance:none;width:100%;height:6px;padding:0;border:0;border-radius:20px;cursor:pointer;background:linear-gradient(to right,var(--team-accent) 0%,var(--team-accent) var(--range-progress),var(--team-border) var(--range-progress),var(--team-border) 100%)}
.team-redesign .team-range::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:22px;height:22px;border:4px solid var(--team-card);border-radius:50%;background:var(--team-accent);box-shadow:0 0 0 1px var(--team-accent),0 3px 8px #16132726;cursor:grab}
.team-redesign .team-range::-moz-range-thumb{width:14px;height:14px;border:4px solid var(--team-card);border-radius:50%;background:var(--team-accent);box-shadow:0 0 0 1px var(--team-accent)}
.team-redesign .team-range:active::-webkit-slider-thumb{cursor:grabbing}
.team-redesign .team-range-hint{display:block;margin-top:12px;font-size:10px;line-height:1.5;color:var(--team-muted)}
.team-redesign .team-tiers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:18px 0 0}
.team-redesign .team-tiers button{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0;padding:11px 4px;border:1px solid var(--team-border);border-radius:11px;background:var(--team-soft);color:var(--team-muted);font-size:11px;cursor:pointer;line-height:1.4}
.team-redesign .team-tiers i,.team-redesign .team-tiers button:before{display:none}
.team-redesign .team-tiers b{font-size:15px;font-weight:650;color:var(--team-ink)}
.team-redesign .team-tiers button[aria-pressed=true]{border-color:var(--team-accent);background:var(--team-tint);color:var(--team-accent)}
.team-redesign .team-tiers button[aria-pressed=true] b{color:var(--team-accent)}
.team-redesign .team-next{margin:13px 0 24px;font-size:11px;color:var(--team-muted);line-height:1.6}
.team-redesign .team-next strong{color:var(--team-accent);font-weight:600}
.team-redesign .team-benefits{border-top:1px solid var(--team-border);padding-top:0}
.team-redesign .team-benefits h3{margin:22px 0 14px}
.team-redesign .team-benefits ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 16px;list-style:none;padding:0;margin:0;color:var(--team-muted);font-size:12px;line-height:1.6}
.team-redesign .team-benefits li{position:relative;padding-left:18px}
.team-redesign .team-benefits li:before{content:'✓';position:absolute;left:0;color:#39b9bf;font-weight:700}
.team-redesign .team-summary{display:flex;flex-direction:column;position:relative;overflow:hidden;padding:0 26px 24px;min-height:0}
.team-redesign .team-summary h2{margin:0 -26px 22px;padding:16px 26px;font-size:12px;letter-spacing:.04em;background:#e9f7fa;color:#197b8b;border-bottom:1px solid var(--team-border)}
body.dark .team-redesign .team-summary h2{background:#203944;color:#83dce5}
.team-redesign[data-kind=life] .team-summary h2{background:var(--team-tint);color:var(--team-accent)}
.team-redesign[data-kind=life][data-grade=all] .team-summary h2{background:#ff7218;color:#fff;border-color:#ff7218}
.team-redesign .team-summary>h3{font-size:19px;line-height:1.5;margin:0 0 20px;color:var(--team-ink)}
.team-redesign .team-summary dl{margin:0}
.team-redesign .team-summary dl>div{display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin:0;padding:10px 0;font-size:12px;line-height:1.5;color:var(--team-muted)}
.team-redesign .team-summary dd{margin:0;text-align:right;color:var(--team-ink);font-variant-numeric:proportional-nums}
.team-redesign .team-summary .team-calculation{border-top:1px solid var(--team-border);border-bottom:0;margin-top:14px;padding-top:14px}
.team-redesign .team-summary .team-saving,.team-redesign .team-summary .team-saving dd{color:var(--team-accent)}
.team-redesign .team-total{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:20px -10px;padding:20px 10px;border-top:1px solid var(--team-border);color:var(--team-ink)}
.team-redesign .team-total>span{font-size:13px;font-weight:600}
.team-redesign .team-total strong{font-size:clamp(30px,3vw,40px);line-height:1.2;color:var(--team-ink);white-space:nowrap}
body.membership-reference .pricing-page .team-redesign .team-summary .member-buy{display:flex;align-items:center;justify-content:center;width:100%;height:46px;padding:0 16px;margin:0;border:0;border-radius:24px;background:#7862ed;color:#fff;font-size:13px;font-weight:650;cursor:pointer}
body.membership-reference .pricing-page .team-redesign[data-kind=life][data-grade=all] .team-summary .member-buy{background:#ff7218}
.team-redesign .team-manage{align-self:center;margin:17px 0 0;font-size:12px;text-decoration:none;color:var(--team-accent)}
.team-redesign .team-summary-note{margin:19px 0 0;font-size:11px;line-height:1.8;color:var(--team-muted);text-align:center}
.team-redesign .team-footer{font-size:11px;line-height:1.7;color:var(--team-muted);text-align:center;margin:18px 0}
.team-redesign button:focus-visible,.team-redesign input:focus-visible{outline:2px solid var(--team-accent);outline-offset:4px}
@media(max-width:1000px){.team-redesign .team-layout{gap:16px;grid-template-columns:minmax(0,1.2fr) minmax(280px,1fr)}.team-redesign .team-config{padding:22px}.team-redesign .team-choice{padding:10px 6px}.team-redesign .team-choice small{font-size:10px}}
@media(max-width:760px){.team-redesign .team-layout{grid-template-columns:1fr;gap:16px}.team-redesign .team-config{padding:20px}.team-redesign h2{font-size:18px}.team-redesign .team-seats>strong{font-size:11px;padding:6px 8px}.team-redesign .team-benefits ul{font-size:11px;gap:10px}.team-redesign .team-total strong{font-size:36px}.team-redesign .team-summary{padding:0 20px 22px}.team-redesign .team-summary h2{margin:0 -20px 20px;padding:15px 20px}.team-redesign .team-choice{min-height:44px}.team-redesign .team-total{margin-top:16px;margin-bottom:16px}}
