/* ══════════ Plan comparison table ([oc_plan_comparison]) ══════════
   Its own small file (1 Nov 2026). These rules used to sit at the end of
   vendor-dashboard.css, which the 26 Oct speed change loads only on the
   dashboards — so the PUBLIC Plans & Pricing page, which shows the same
   table, lost every style on live (client-reported 1 Nov: plan name and
   price run together, the phone tabs do nothing). Loaded on the dashboards
   and wherever the table is shown; see _oc_is_plan_comparison_context(). */
.oc-cmp__heading{margin:38px 0 14px;font-family:Georgia,serif;font-size:1.25rem;color:#1F1B1A;}
.oc-cmp__scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid #E4DDD2;border-radius:12px;background:#fff;}
.oc-cmp__table{width:100%;min-width:620px;border-collapse:collapse;font-size:14px;}
.oc-cmp__table th,.oc-cmp__table td{padding:13px 16px;text-align:left;border-bottom:1px solid #F1ECE4;}
.oc-cmp__table thead th{position:sticky;top:0;background:#FAF7F2;font-family:Georgia,serif;font-size:15px;color:#6E0F2C;white-space:nowrap;border-bottom:2px solid #C9A961;}
.oc-cmp__table thead th small{display:block;margin-top:2px;font-family:inherit;font-size:12px;font-weight:500;color:#8A8077;}
.oc-cmp__table tbody th{font-weight:600;color:#1F1B1A;width:38%;}
.oc-cmp__table tbody td{color:#4A4441;}
.oc-cmp__table tbody tr:last-child th,.oc-cmp__table tbody tr:last-child td{border-bottom:0;}
.oc-cmp__table tbody tr:hover{background:#FDFBF9;}
.oc-cmp__table .is-highlight{background:rgba(110,15,44,.035);}
.oc-cmp__table thead .is-highlight{background:rgba(110,15,44,.07);}
.oc-cmp__yes{color:#2E7D5B;font-weight:700;}
.oc-cmp__no{color:#C4BBB4;}
.oc-cmp__note{margin:12px 2px 0;font-size:12.5px;color:#8A8077;}

/* The plan switcher is a phone affordance only. Declared before the media
   query below, or this equal-specificity rule would win and hide it there too. */
.oc-cmp__tabs{display:none;}

/* Phones: each row becomes its own stacked block with the tier as a label. */
@media (max-width:640px){
	.oc-cmp__scroll{border:0;background:transparent;overflow:visible;}
	.oc-cmp__table{min-width:0;font-size:14px;}
	.oc-cmp__table thead{display:none;}
	.oc-cmp__table tbody tr{display:block;margin-bottom:10px;border:1px solid #E4DDD2;border-radius:10px;background:#fff;overflow:hidden;}
	.oc-cmp__table tbody th{display:block;width:auto;background:#FAF7F2;border-bottom:1px solid #F1ECE4;}
	.oc-cmp__table tbody td{display:flex;align-items:center;justify-content:space-between;gap:14px;}
	.oc-cmp__table tbody td:before{content:attr(data-label);color:#8A8077;font-size:12.5px;font-weight:600;}

	/* One plan at a time. Thirteen features across three plans is 39 rows of
	   scrolling on a phone; the tabs cut it to 13. Desktop keeps all three
	   columns, where they fit side by side and comparing is the point. */
	.oc-cmp__tabs{display:flex;gap:6px;margin:0 0 12px;}
	.oc-cmp__tab{flex:1;min-width:0;padding:9px 6px;border:1px solid #E4DDD2;border-radius:8px;background:#fff;font:inherit;font-size:13px;font-weight:600;line-height:1.2;color:#6B6361;cursor:pointer;}
	.oc-cmp__tab[aria-selected="true"]{background:#6E0F2C;border-color:#6E0F2C;color:#fff;}
	.oc-cmp[data-plan="free"] .oc-cmp__table tbody td:not([data-plan="free"]),
	.oc-cmp[data-plan="professional"] .oc-cmp__table tbody td:not([data-plan="professional"]),
	.oc-cmp[data-plan="premium"] .oc-cmp__table tbody td:not([data-plan="premium"]){display:none;}
	/* One value per row makes the two-line card pure wasted height — thirteen
	   of them is a long scroll again. Collapse each to a single line: feature
	   on the left, value on the right. The plan name goes too; the selected
	   tab already says which plan you are reading. */
	.oc-cmp[data-plan] .oc-cmp__table tbody tr{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:0;border:0;border-bottom:1px solid #F1ECE4;border-radius:0;background:transparent;padding:11px 2px;}
	.oc-cmp[data-plan] .oc-cmp__table tbody tr:last-child{border-bottom:0;}
	.oc-cmp[data-plan] .oc-cmp__table tbody th{display:block;padding:0;background:transparent;border:0;font-weight:600;}
	/* Transparent: the desktop Premium column tint (.is-highlight) otherwise
	   draws a stray grey box behind each value on a phone. */
	.oc-cmp[data-plan] .oc-cmp__table tbody td{display:block;padding:0;border:0;flex:0 0 auto;text-align:right;color:#1F1B1A;font-weight:600;background:transparent;}
	.oc-cmp[data-plan] .oc-cmp__table tbody td:before{content:none;}
	.oc-cmp[data-plan] .oc-cmp__scroll{border:1px solid #E4DDD2;border-radius:12px;background:#fff;padding:2px 14px;}
}
