/* Billing period picker on plan cards (upgrade screen). */
.terms{border:0;margin:4px 0 12px;padding:0;display:grid;gap:8px;min-width:0}
.terms legend{padding:0;margin:0 0 6px;font-size:.78rem;font-weight:600;letter-spacing:.02em;color:var(--muted);text-transform:uppercase}
.term{position:relative;display:grid;grid-template-columns:20px 1fr auto;align-items:center;gap:10px;padding:11px 12px;border:1.5px solid var(--line);border-radius:14px;background:var(--card,#fff);cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s}
.term:hover{border-color:#b9d9d3}
.term input{position:absolute;inset:0;opacity:0;margin:0;cursor:pointer}
.term input:focus-visible~.t-dot{outline:2px solid var(--brand);outline-offset:2px}
.t-dot{width:20px;height:20px;border-radius:50%;border:2px solid #c7d3d1;display:grid;place-items:center;transition:border-color .15s}
.t-dot::after{content:"";width:10px;height:10px;border-radius:50%;background:var(--brand);transform:scale(0);transition:transform .15s}
.t-name{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0}
.t-name b{font-size:.98rem;line-height:1.25;white-space:nowrap}
.t-tag{font-style:normal;font-size:.72rem;font-weight:700;line-height:1.3;padding:2px 8px;border-radius:999px;background:#fdf1d8;color:#8a5a00;white-space:nowrap}
.t-tag.soft{background:var(--soft,#eef4f3);color:var(--muted)}
.t-price{display:flex;flex-direction:column;align-items:flex-end;text-align:right;line-height:1.2}
.t-price b{font-size:1.12rem;font-variant-numeric:tabular-nums}
.t-price small{font-size:.74rem;color:var(--muted);white-space:nowrap;margin-top:2px}
.term:has(input:checked){border-color:var(--brand);background:#eef8f6;box-shadow:0 0 0 3px rgba(15,118,110,.10)}
.term:has(input:checked) .t-dot{border-color:var(--brand)}
.term:has(input:checked) .t-dot::after{transform:scale(1)}
.term:has(input:checked) .t-price b{color:var(--brand)}
