.one230-agency-billing,
.one230-agency-addons {
	margin: 0 0 28px;
	padding: 22px 22px 20px;
	border: 1px solid var(--pdfy-border, #ece8e0);
	border-radius: 16px;
	background: #fff;
}

.one230-agency-billing__head h3,
.one230-agency-addons .one230-agency-billing__head h3 {
	margin: 0 0 6px;
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.one230-agency-billing__head p,
.one230-agency-addons .one230-agency-billing__head p {
	margin: 0 0 16px;
	color: var(--pdfy-muted, #5c574e);
	font-size: 14.5px;
	line-height: 1.5;
}

.one230-agency-capacity__kicker {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--pdfy-muted, #5c574e);
}

.one230-agency-capacity__grid,
.one230-agency__plan-grid,
.one230-agency-addons__grid,
.one230-agency-signup__plans {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.one230-agency-capacity__grid,
.one230-agency-addons__grid {
	grid-template-columns: 1fr 1fr;
}

.one230-agency-capacity__card,
.one230-agencies__plan,
.one230-agency-addons__card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 16px;
	border: 1px solid var(--pdfy-border, #ece8e0);
	border-radius: 14px;
	background: #fbfaf7;
	min-width: 0;
}

.one230-agencies__plan {
	overflow: hidden;
}

.one230-agencies__plan:has(.one230-agencies__badge) {
	padding-top: 36px;
}

.one230-agency-capacity__card h3,
.one230-agency-addons__card h4 {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 800;
}

.one230-agencies__plan h2,
.one230-agencies__plan h4 {
	margin: 0 0 8px;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.15;
}

.one230-agency-capacity__value {
	margin: 0;
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -0.03em;
}

.one230-agency-capacity__value span {
	display: block;
	margin-top: 2px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0;
	color: var(--pdfy-muted, #5c574e);
}

.one230-agency-capacity__rollover {
	margin: 12px 0 0;
	color: var(--pdfy-muted, #5c574e);
	font-size: 13.5px;
	line-height: 1.45;
}

.one230-agency-capacity__extra {
	margin: 6px 0 0;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--pdfy-muted, #5c574e);
}

.one230-agencies__plan.is-featured:not(.is-current) {
	background: #161513;
	color: #fff;
	border-color: #161513;
}

.one230-agencies__plan.is-featured:not(.is-current) h2,
.one230-agencies__plan.is-featured:not(.is-current) h4,
.one230-agencies__plan.is-featured:not(.is-current) p,
.one230-agencies__plan.is-featured:not(.is-current) li,
.one230-agencies__plan.is-featured:not(.is-current) .one230-agencies__price {
	color: #fff;
	-webkit-text-fill-color: #fff;
}

.one230-agencies__plan.is-featured:not(.is-current) li::before {
	color: #fff;
	-webkit-text-fill-color: #fff;
}

.one230-agencies__plan.is-current {
	background: #ECFFB7;
	color: #161513;
	border: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: 0 10px 28px rgba(22, 21, 19, 0.08);
}

.one230-agencies__plan.is-current h2,
.one230-agencies__plan.is-current h4,
.one230-agencies__plan.is-current p,
.one230-agencies__plan.is-current li,
.one230-agencies__plan.is-current .one230-agencies__price {
	color: #161513;
	-webkit-text-fill-color: #161513;
}

.one230-agencies__plan.is-current li::before {
	color: #161513;
	-webkit-text-fill-color: #161513;
}

.one230-agencies__badge {
	position: absolute;
	top: 0;
	right: 0;
	left: auto;
	z-index: 1;
	display: inline-block;
	margin: 0;
	padding: 5px 10px;
	border-radius: 0 0 0 8px;
	background: #161513;
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.05em;
	line-height: 1.2;
	text-transform: uppercase;
}

.one230-agencies__plan.is-featured:not(.is-current) .one230-agencies__badge {
	background: #ECFFB7;
	color: #161513;
}

.one230-agency-billing.has-active-plan .one230-agencies__plan.is-featured:not(.is-current) .one230-agencies__badge {
	background: #161513;
	color: #fff;
}

.one230-agencies__price {
	margin: 0 0 12px;
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -0.03em;
}

.one230-agencies__price span {
	font-size: 14px;
	font-weight: 600;
	color: #8a857c;
}

.one230-agencies__plan.is-featured:not(.is-current) .one230-agencies__price span {
	color: rgba(255, 255, 255, 0.72);
	-webkit-text-fill-color: rgba(255, 255, 255, 0.72);
}

/* Active subscriber: every non-current card matches Scale (light), including Pro. */
.one230-agency-billing.has-active-plan .one230-agencies__plan.is-featured:not(.is-current) {
	background: #fbfaf7;
	color: inherit;
	border-color: var(--pdfy-border, #ece8e0);
	box-shadow: none;
}

.one230-agency-billing.has-active-plan .one230-agencies__plan.is-featured:not(.is-current) h2,
.one230-agency-billing.has-active-plan .one230-agencies__plan.is-featured:not(.is-current) h4,
.one230-agency-billing.has-active-plan .one230-agencies__plan.is-featured:not(.is-current) p,
.one230-agency-billing.has-active-plan .one230-agencies__plan.is-featured:not(.is-current) li,
.one230-agency-billing.has-active-plan .one230-agencies__plan.is-featured:not(.is-current) .one230-agencies__price {
	color: inherit;
	-webkit-text-fill-color: currentColor;
}

.one230-agency-billing.has-active-plan .one230-agencies__plan.is-featured:not(.is-current) li::before {
	color: inherit;
	-webkit-text-fill-color: currentColor;
}

.one230-agency-billing.has-active-plan .one230-agencies__plan.is-featured:not(.is-current) .one230-agencies__price span {
	color: #8a857c;
	-webkit-text-fill-color: #8a857c;
}

.one230-agencies__plan.is-current .one230-agencies__price span {
	color: rgba(22, 21, 19, 0.62);
	-webkit-text-fill-color: rgba(22, 21, 19, 0.62);
}

.one230-agencies__plan ul {
	list-style: none;
	padding: 0;
	margin: 0 0 16px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1 1 auto;
	font-size: 13.5px;
	font-weight: 600;
}

.one230-agencies__plan label {
	display: block;
	cursor: pointer;
}

.one230-agencies__plan input[type="radio"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.one230-agencies__plan .one230-profile-button {
	width: 100%;
	margin-top: auto;
}

.one230-agency-billing__status-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px 14px;
	width: 100%;
	margin-top: auto;
	box-sizing: border-box;
	min-height: 44px;
	padding: 8px 10px 8px 14px;
	border: 1px solid #161513;
	border-radius: 12px;
	background: #161513;
	color: #fff;
}

.one230-agency-billing__status-bar.is-scheduled {
	background: #1a221c;
	border-color: #3d6b45;
}

.one230-agencies__plan.is-scheduled {
	border-color: #c8e6cc;
	box-shadow: 0 0 0 1px #c8e6cc;
}

.one230-agency-billing__status-label {
	display: flex;
	align-items: center;
	min-width: 0;
	flex: 1 1 auto;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.01em;
	line-height: 1.25;
	color: #fff;
	-webkit-text-fill-color: #fff;
}

.one230-agency-billing__status-label::before {
	content: "";
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	margin-right: 10px;
	border-radius: 50%;
	background: #ECFFB7;
	box-shadow: 0 0 0 3px rgba(236, 255, 183, 0.4);
}

.one230-agency-billing__status-bar.is-scheduled .one230-agency-billing__status-label::before {
	background: #8fd49a;
	box-shadow: 0 0 0 3px rgba(143, 212, 154, 0.35);
}

.one230-agency-billing__status-action {
	flex: 0 0 auto;
	appearance: none;
	margin: 0;
	padding: 7px 12px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	-webkit-text-fill-color: #fff;
	font: inherit;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.one230-agency-billing__status-action:hover {
	background: rgba(255, 255, 255, 0.16);
	border-color: rgba(255, 255, 255, 0.4);
}

.one230-agency-billing__note {
	margin: 16px 0 0;
	font-size: 13.5px;
	color: var(--pdfy-muted, #5c574e);
}

.one230-agency-billing__note-link {
	color: inherit;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.one230-agency-addons__unit {
	margin: 0 0 12px;
	font-size: 22px;
	font-weight: 800;
}

.one230-agency-addons__unit span {
	font-size: 13px;
	font-weight: 600;
	color: var(--pdfy-muted, #5c574e);
}

.one230-agency-addons__card .one230-agency-stepper,
.one230-agency-stepper {
	display: inline-flex;
	align-items: stretch;
	align-self: flex-start;
	flex: 0 0 auto;
	width: max-content;
	max-width: 100%;
	gap: 0;
	border: 1px solid #d8d3c9;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
}

.one230-agency-stepper button {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: #fff;
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}

.one230-agency-stepper input,
.one230-agency-stepper input[type="number"] {
	box-sizing: border-box;
	flex: 0 0 64px;
	width: 64px !important;
	min-width: 64px;
	max-width: 64px;
	height: 40px !important;
	margin: 0 !important;
	padding: 0 8px !important;
	border: 0;
	border-radius: 0 !important;
	border-left: 1px solid #ece8e0;
	border-right: 1px solid #ece8e0;
	text-align: center;
	font-size: 16px !important;
	font-weight: 800;
	line-height: 40px;
	background: #fff;
	color: #161513;
	-webkit-text-fill-color: #161513;
	appearance: textfield;
	-moz-appearance: textfield;
}

.one230-agency-stepper input::-webkit-outer-spin-button,
.one230-agency-stepper input::-webkit-inner-spin-button {
	appearance: none;
	-webkit-appearance: none;
	margin: 0;
	display: none;
}

.one230-agency-addons__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 16px;
	flex-wrap: wrap;
}

.one230-agency-addons__bar p {
	margin: 0;
	font-size: 18px;
	font-weight: 800;
}

.one230-agency-addons__error {
	margin: 10px 0 0;
	color: #9b1c1c;
	font-size: 13.5px;
	font-weight: 600;
}

.one230-agency-addons.is-locked .one230-agency-addons__card,
.one230-agency-addons.is-locked .one230-agency-stepper {
	opacity: 0.62;
}

.one230-agency-addons.is-locked .one230-agency-stepper button,
.one230-agency-addons.is-locked .one230-agency-stepper input {
	cursor: not-allowed;
	pointer-events: none;
}

.one230-agency-addons__lock {
	margin: 0 0 16px;
	padding: 12px 14px;
	border-radius: 12px;
	background: #f4f1ea;
	color: #3d3a34;
	font-size: 14px;
	font-weight: 650;
	line-height: 1.45;
}

.one230-agency-addons__lock a {
	margin-left: 6px;
	color: inherit;
	font-weight: 800;
}

.one230-agency-addons__range {
	margin: -6px 0 12px;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--pdfy-muted, #5c574e);
}

.one230-agency-signup .one230-agency-signup__error {
	color: #9b1c1c;
	font-weight: 600;
}

@media (max-width: 860px) {
	.one230-agency__plan-grid,
	.one230-agency-signup__plans,
	.one230-agency-capacity__grid,
	.one230-agency-addons__grid {
		grid-template-columns: 1fr;
	}
}
