:root{--primary:#008a98;--primary-dark:#007580;--wash:#edf6f7}
.payment-plan-editor{border-block:1px solid var(--line);padding:22px 0;margin:24px 0}.payment-plan-editor h2{font-size:21px}.payment-option-editor{min-width:0;padding:18px;border:1px solid var(--line);border-radius:8px;margin:20px 0}.payment-option-editor legend{font-weight:600}.payment-option-editor label{display:block;font-size:13px;font-weight:600}.payment-option-editor input,.payment-option-editor select{display:block;width:100%;max-width:100%;min-width:0;padding:10px;border:1px solid var(--line);border-radius:6px;font:inherit;font-weight:400;background:white;margin-top:7px}.plan-payment-editor{border:1px solid var(--line);border-radius:7px;min-width:0;margin:16px 0;padding:16px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 16px}.plan-payment-editor>.payment-price-field{grid-column:1/-1}.plan-payment-editor>.small-button{justify-self:start}.plan-editor-actions{display:flex;gap:12px;flex-wrap:wrap}.purchase-payment-options{display:grid;gap:24px}.payment-choice{border:1px solid var(--line);border-radius:8px;padding:20px}.payment-choice h2{font-size:22px}.payment-choice ol{padding-left:22px;font-size:14px}.payment-balance{overflow-wrap:anywhere}@media(max-width:600px){.plan-payment-editor{grid-template-columns:minmax(0,1fr)}.plan-payment-editor>.payment-price-field{grid-column:auto}.payment-option-editor{padding:14px}.payment-option-editor input{font-size:16px}}

.plan-payment-editor>.payment-name-fields{grid-column:1/-1}.plan-payment-editor>legend{padding-inline:7px;font-size:15px}.plan-payment-editor .payment-name-fields .form-field{margin-bottom:12px}

.edit-panel.product-form-card{width:100%;max-width:none}
.payment-checkpoint-notice{padding:16px;border:1px solid var(--line);background:var(--wash);border-radius:8px;margin-block:18px}.payment-checkpoint-notice p{margin-top:0}.payment-checkpoint-notice .plan-editor-actions{margin-top:12px}.payment-checkpoint-notice a{text-decoration:none}.payment-plan-editor button:disabled{opacity:.5;cursor:not-allowed}.has-checkpoint-error [data-payment-checkpoint]{border-color:#bd3030}.payment-plan-editor .field-error{color:#b42318;font-size:13px;margin-top:8px}

.product-form-card .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px;row-gap:0}
.product-form-card .form-field,.product-form-card .form-grid>*{min-width:0}
.product-form-card .product-language-options .checkbox-row{min-height:50px;align-items:center;flex-wrap:wrap}
.product-form-card .workflow-policy-fields:not([hidden]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px;row-gap:0}
.product-form-card select,.product-form-card input{max-width:100%;min-width:0}
@media(min-width:1101px){.product-form-card .plan-payment-editor{grid-template-columns:repeat(3,minmax(0,1fr))}.product-form-card .plan-payment-editor>.payment-price-field{grid-column:auto}}
@media(max-width:750px){.product-form-card .form-grid,.product-form-card .workflow-policy-fields:not([hidden]){grid-template-columns:minmax(0,1fr)}}

/* Compact spacing within the product editor. */
.product-form-page{padding-block:20px 48px}
.product-form-page>.back-link{margin-bottom:12px}
.product-form-page>.dashboard-title{margin-bottom:20px}
.product-form-page>.dashboard-title h1{margin-bottom:8px}
.product-form-page>.dashboard-title p{margin-bottom:0}
.product-form-page .product-form-card{padding:24px}
.product-form-card .form-field{margin-bottom:16px}
.product-form-card .form-field>label,.product-form-card .form-field legend{margin-bottom:6px}
.product-form-card .form-field>input,.product-form-card .form-field>select{padding:10px 12px;min-height:44px}
.product-form-card>fieldset.form-field{margin-bottom:20px}
.product-form-card>.form-field>.form-grid>.form-field{margin-bottom:0}
.product-form-card>.form-field>.field-help{margin-block:0 10px}
.product-form-card>.form-field>.field-help:last-child{margin-block:8px 0}
.product-form-card .product-language-options .checkbox-row{min-height:46px}
.product-form-card .payment-plan-editor{padding-block:16px;margin-block:18px}
.product-form-card .payment-checkpoint-notice{padding:12px;margin-block:12px}
.product-form-card .payment-option-editor{padding:16px;margin-block:14px}
.product-form-card .plan-payment-editor{padding:14px;margin-block:12px}
.product-form-card .plan-payment-editor .form-field{margin-bottom:12px}
.product-form-card .form-actions{margin-top:20px}
@media(max-width:750px){.product-form-page .product-form-card{padding:20px}.product-form-page>.dashboard-title{margin-bottom:16px}}

.product-form-card .payment-option-editor input,.product-form-card .payment-option-editor select{min-height:44px}
