/* Free vs Teams + the storage calculator (inc/teams-pricing.php, js/teams-calc.js) on the corporate pages. */
.tc-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 28px; }
.tc-plan { border: 1px solid var(--border); border-radius: var(--radius-lg, 16px); padding: 28px; background: var(--bg); display: flex; flex-direction: column; }
.tc-plan-on { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.tc-plan h3 { font-size: 1.25rem; font-weight: 700; margin: 0; }
.tc-soon { display: inline-block; vertical-align: 3px; margin-left: 6px; padding: 2px 8px; border-radius: 9999px; font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; background: var(--bg-alt); color: var(--text-muted); }
.tc-cost { font-size: 2rem; font-weight: 700; margin: 10px 0 14px; letter-spacing: -.02em; }
.tc-cost span { font-size: .9375rem; font-weight: 400; color: var(--text-muted); letter-spacing: 0; }
.tc-plan ul { list-style: none; margin: 0 0 22px; padding: 0; flex: 1; }
.tc-plan li { padding: 7px 0 7px 24px; position: relative; font-size: .9375rem; line-height: 1.45; border-top: 1px solid var(--border); }
.tc-plan li::before { content: '✓'; position: absolute; left: 0; top: 7px; font-weight: 700; }
.tc-plan .hs-btn { align-self: flex-start; --ink: var(--text); --ground: var(--bg); }
.tc-fine { margin: 12px 0 0; font-size: .8125rem; color: var(--text-muted); line-height: 1.5; }
.tc-fine a { text-decoration: underline; color: inherit; }

.tc-calc { padding: 32px; background: var(--bg-alt); }
.tc-calc-head h3 { font-size: 1.375rem; font-weight: 700; margin: 0 0 6px; }
.tc-calc-head p { margin: 0 0 22px; color: var(--text-muted); }
.tc-calc-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.tc-field { margin-bottom: 14px; }
.tc-field label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: 6px; }
.tc-field label span { font-weight: 400; color: var(--text-muted); }
.tc-pair { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 12px; align-items: center; }
.tc-pair input[type=range] { width: 100%; accent-color: var(--text); }
.tc-pair input[type=number] { width: 100%; padding: 8px 10px; border: 1px solid var(--border); border-radius: var(--radius-sm, 8px); background: var(--bg); color: var(--text); font: inherit; }
.tc-pair input[type=number]:focus-visible, .tc-pair input[type=range]:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.tc-help { font-size: .8125rem; color: var(--text-muted); margin: 6px 0 0; }
.tc-out { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg, 16px); padding: 24px; }
.tc-nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 18px; }
.tc-nums div { border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.tc-nums dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.tc-nums dd { margin: 4px 0 0; font-size: 1.375rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.tc-rec { font-size: .9375rem; color: var(--text-muted); }
.tc-rec b { display: block; font-size: 2rem; color: var(--text); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tc-gauge { margin-top: 14px; height: 12px; border-radius: 9999px; background: var(--bg-alt); overflow: hidden; border: 1px solid var(--border); }
.tc-gauge-fill { display: block; height: 100%; width: 0; background: var(--text); border-radius: 9999px; transition: width .25s ease; }
.tc-gauge-fill.over { background: #b45309; }
.tc-gauge-scale { display: flex; justify-content: space-between; font-size: .75rem; color: var(--text-muted); margin-top: 6px; }
.tc-suggest { margin: 16px 0 0; font-size: .9375rem; line-height: 1.5; }
.tc-suggest a { text-decoration: underline; color: inherit; }
@media (prefers-reduced-motion: reduce) { .tc-gauge-fill { transition: none; } }
@media (max-width: 860px) {
  .tc-plans, .tc-calc-grid { grid-template-columns: 1fr; }
  .tc-calc { padding: 22px 16px; }
  .tc-plan { padding: 22px 18px; }
}
@media (max-width: 420px) { .tc-pair { grid-template-columns: minmax(0, 1fr) 80px; } .tc-nums dd { font-size: 1.125rem; } }
