/* Interfaz de suscripción legible; sin estilos globales ni cambios documentales. */
.sub-surface{font-size:18px;line-height:1.6;color:#405a50;min-width:0}
.sub-details summary{cursor:pointer;color:#006b5a;font-weight:650;min-height:44px;padding:8px 0}.sub-details>p{margin:8px 0}.sub-trial h3{margin-bottom:8px}.sub-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.sub-choices legend{grid-column:1/-1}
.sub-box{background:#fff;border:1px solid #dae5df;border-radius:16px;padding:24px;margin:0 0 22px;min-width:0}
.sub-box h3{font:700 23px/1.4 Lora,Georgia,serif;color:#006b5a;margin:0 0 16px}
.sub-note,.sub-important,.sub-provider{margin:12px 0;overflow-wrap:anywhere}
.sub-state{font-weight:700;color:#006b5a;margin:0 0 18px}
.sub-price{font:700 26px/1.4 Lora,Georgia,serif;color:#006b5a;margin:0 0 20px}
.sub-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:0}
.sub-dates dt{font-weight:700}.sub-dates dd{margin:5px 0 0}
.sub-choices{border:0;padding:0;margin:0;min-width:0;display:grid;gap:12px}
.sub-choices legend{font-weight:700;margin-bottom:12px;padding:0}
.sub-choice{display:flex!important;align-items:flex-start;gap:14px;border:1px solid #b7cec4;border-radius:12px;padding:18px;cursor:pointer;margin:0!important;min-width:0}
.sub-choice:has(input:checked){border-color:#006b5a;background:#f2f8f5}
.sub-choice>input{width:22px!important;height:22px;min-height:22px;flex:0 0 22px;margin:4px 0 0;accent-color:#006b5a}
.sub-choice>span{min-width:0}.sub-choice strong,.sub-choice span span{display:block;overflow-wrap:anywhere}
.sub-choice strong{color:#006b5a;font-size:19px}.sub-choice span span{margin-top:5px;font-size:18px;font-weight:400}
.sub-important{font-weight:600}.sub-surface button{font-size:18px!important;line-height:1.4;min-height:54px;white-space:normal;overflow-wrap:anywhere}
.sub-surface button:disabled{opacity:1;background:#edf2ef;color:#65756e;border-color:#ccd8d1;cursor:not-allowed}
.sub-fiscal summary{font:700 23px/1.4 Lora,Georgia,serif;color:#006b5a;cursor:pointer;min-height:54px;display:list-item;list-style-position:inside;padding:8px 0}
.sub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:20px 0}
.sub-field{min-width:0}.sub-field label{display:block;font-size:18px!important;line-height:1.4;margin:0 0 9px;color:#405a50;font-weight:600}
.sub-field input,.sub-field select{width:100%;min-height:54px;padding:12px;font-family:inherit;font-size:18px!important;line-height:1.4;border:1px solid #adc6b9;border-radius:10px;background:#fff;color:#263f34;box-sizing:border-box}
.sub-feedback{border:1px solid #bad1c4;background:#f0f7f3;color:#005f4e;border-radius:10px;padding:16px;overflow-wrap:anywhere;margin:0 0 18px;scroll-margin:120px}
.sub-feedback button{margin-top:14px;display:block}
.sub-error{color:#a52b2b;line-height:1.6;overflow-wrap:anywhere}.sub-feedback.sub-error{background:#fff4f2;border-color:#e8c1bb}
.sub-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 26px}
.sub-pending{margin:0 auto 0 0;color:#806000}.sub-provider{font-size:16px;color:#607168}
.sub-surface :focus-visible{outline:3px solid #66bba6;outline-offset:3px}
.sub-test-payments{border-top:1px solid #dae5df;padding-top:24px;margin-top:24px}
.sub-pay-actions{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}
.sub-pay-consent{display:flex!important;align-items:flex-start;gap:14px;margin:22px 0!important;font-size:18px!important;font-weight:600;cursor:pointer}
.sub-pay-consent input{width:24px!important;height:24px;min-height:24px;flex:0 0 24px;margin-top:4px;accent-color:#006b5a}
.sub-pay-dialog{width:min(620px,calc(100vw - 32px));box-sizing:border-box;padding:28px;border:1px solid #b7cec4;border-radius:16px;background:#fff;position:fixed;inset:0;margin:auto;max-height:calc(100dvh - 32px);overflow:auto}
.sub-pay-dialog::backdrop{background:rgba(20,45,35,.45)}
.sub-pay-dialog h2{font:700 26px/1.4 Lora,Georgia,serif;color:#006b5a;margin:0 0 16px}
.sub-pay-dialog .sub-pay-actions{justify-content:flex-end;margin-bottom:0}
.sub-pay-history{padding-left:24px}.sub-pay-history li{padding:12px 0;border-bottom:1px solid #dae5df;overflow-wrap:anywhere}.sub-pay-history p{margin:6px 0}
@media(max-width:650px){.sub-choices{grid-template-columns:1fr}.sub-pay-actions{flex-direction:column}.sub-pay-actions button{width:100%}.sub-pay-dialog{padding:20px}.sub-pay-dialog h2{font-size:23px}}
@media(max-width:650px){.sub-grid,.sub-dates{grid-template-columns:1fr}.sub-box{padding:18px}.sub-box h3,.sub-fiscal summary{font-size:21px}.sub-actions{align-items:stretch;flex-direction:column}.sub-actions>button{width:100%}.sub-price{font-size:24px}.sub-choice{padding:14px}.sub-field select{max-width:100%}}

/* 2.115: estado primero; una acción principal; edición secundaria desplegable. */
.sub-surface{--sub-green:#006b5a;--sub-border:#dae5df}
.sub-page-title,.cfg-pane > .cfg-heading.sub-page-title{font:700 44px/1.25 Lora,Georgia,serif;color:var(--sub-green,#006b5a);margin:0 0 22px}
.sub-box{padding:34px;border-radius:12px;margin-bottom:24px}
.sub-box h3{font-size:30px;margin-bottom:18px}
.sub-access{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:28px;align-items:start}
.sub-access h3{margin-bottom:6px}.sub-access p{margin:0}.sub-access-price{border-left:1px solid var(--sub-border);padding-left:28px}
.sub-access-price .sub-price{font-size:28px;white-space:normal;margin-bottom:4px}
.sub-trial>.sub-details{border-top:1px solid var(--sub-border);margin-top:26px;padding-top:12px}
.sub-trial>.sub-details summary{font-weight:400}
.sub-test-payments{border:1px solid var(--sub-border);margin-top:0;padding-top:34px}
.sub-test-notice{display:flex;align-items:center;gap:14px;background:#e7f5ef;border-radius:9px;padding:16px 18px;color:#005f4e;margin:0 0 24px}
.sub-test-notice::before{content:'i';display:inline-flex;align-items:center;justify-content:center;flex:0 0 26px;width:26px;height:26px;border-radius:50%;font:600 17px/1 system-ui,sans-serif;color:white;background:var(--sub-green)}
.sub-payment-title{font:700 28px/1.4 Lora,Georgia,serif;color:var(--sub-green);margin:0 0 2px}
.sub-state{font-weight:400;margin:0 0 24px;color:#405a50}
.sub-pay-actions{gap:12px;align-items:center;margin:0 0 28px}
.sub-surface button{min-height:50px;font-weight:500}
.sub-pay-actions .btn-primary{background:var(--sub-green);color:white;border:1px solid var(--sub-green);border-radius:9px;padding:12px 20px}
.sub-pay-actions .btn-sec,.sub-pay-history .btn-sec{color:var(--sub-green);background:white;border:1px solid var(--sub-green);border-radius:9px;padding:12px 18px}
.sub-text-button{padding:10px 12px;border:0;background:transparent;color:var(--sub-green);text-decoration:underline;text-underline-offset:4px}
.sub-history{border-top:1px solid var(--sub-border);padding-top:22px}
.sub-pay-history{padding:0;margin:0;list-style:none;display:grid;gap:12px}
.sub-pay-history li{display:flex;gap:20px;justify-content:space-between;align-items:center;flex-wrap:wrap;border:1px solid var(--sub-border);border-radius:10px;padding:18px 22px}
.sub-pay-history li>div:first-child{flex:1 1 320px;min-width:0}
.sub-receipt-actions{max-width:100%;min-width:0}.sub-receipt-actions a.btn-sec{display:inline-flex;justify-content:center;align-items:center;font:inherit;text-decoration:none}.sub-receipt-actions button{font:inherit}.sub-receipt-actions .sub-error{max-width:360px;margin-top:8px;font-size:16px}.sub-receipt-actions [disabled]{opacity:.65;cursor:wait}
.sub-pay-history strong{font:600 21px/1.5 Lora,Georgia,serif;color:#22473d}
.sub-pay-history p{margin:3px 0}.sub-confirmed-date{font-size:16px;color:#607168}
.sub-history>.sub-note{font-size:16px;margin:12px 0 0;color:#607168}
.sub-receipt-result{flex:1 0 100%;min-width:0;margin:0}.sub-receipt-result span{display:block;font-size:16px;margin:6px 0 0}
.sub-receipt-link{display:inline-block;min-height:44px;line-height:44px;color:var(--sub-green);text-decoration:underline;text-underline-offset:4px;font-weight:600;overflow-wrap:anywhere}
.sub-editor>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;font:700 27px/1.4 Lora,Georgia,serif;color:var(--sub-green);padding:0;min-height:44px}
.sub-editor>summary::-webkit-details-marker{display:none}
.sub-editor>summary::after{content:'';width:10px;height:10px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg);flex:0 0 10px;margin-right:5px}
.sub-editor[open]>summary::after{transform:rotate(135deg)}
.sub-editor>summary strong{font:inherit;display:block}
.sub-editor-description{display:block;font:400 18px/1.5 system-ui,sans-serif;color:#536c61;margin-top:4px}
.sub-editor[open]>summary{margin-bottom:24px}
.sub-provider{text-align:center;margin:30px 0 0;color:#607168;font-size:15px}
.sub-actions{padding:18px;background:#f0f7f3;border:1px solid var(--sub-border);border-radius:10px}
.sub-surface [hidden]{display:none!important}
.sub-payment-choice .sub-choices legend{font:700 28px/1.4 Lora,Georgia,serif;color:var(--sub-green);margin-bottom:18px}
.sub-choice-note{font-size:16px;color:#607168;margin:12px 0 22px}
.sub-empty{padding:22px 0;margin:0;color:#536c61}
.sub-trial>.sub-details{margin-top:20px}
.sub-test-payments .sub-feedback{margin-top:18px}
.sub-surface[aria-busy=true]{cursor:progress}
.sub-danger{background:#fff;color:#a52b2b;border:1px solid #c36d64;border-radius:9px;padding:12px 20px}
.sub-confirmation{display:flex;align-items:flex-start;gap:12px;margin:24px 0}
.sub-confirmation input{width:22px;height:22px;flex:0 0 22px;margin-top:4px;accent-color:#006b5a}
.sub-exit-divider{border-top:1px solid var(--sub-border);padding-top:24px;margin-top:24px}
@media(max-width:650px){.sub-payment-choice .sub-choices legend{font-size:24px}}
@media(max-width:900px){.sub-access{grid-template-columns:1fr}.sub-access-price{border-left:0;border-top:1px solid var(--sub-border);padding:16px 0 0}.sub-pay-actions{gap:10px}}
@media(max-width:650px){.sub-page-title,.cfg-pane > .cfg-heading.sub-page-title{font-size:29px;margin-bottom:20px}.sub-box{padding:20px;margin-bottom:18px}.sub-box h3{font-size:24px}.sub-access{gap:14px}.sub-pay-history li{padding:16px;gap:12px}.sub-pay-history li>div:first-child{flex-basis:100%}.sub-pay-history li>button,.sub-receipt-actions,.sub-receipt-actions .btn-sec{width:100%}.sub-editor>summary{font-size:22px}.sub-editor-description{font-size:17px}.sub-text-button{text-align:left}.sub-pay-actions button{width:100%}}
.sub-lifecycle{margin:20px 0;background:#fff;border:1px solid #c8dad2;border-left:4px solid #006b5a;border-radius:10px;padding:22px 26px}
.sub-lifecycle h2{font:700 25px/1.4 Lora,Georgia,serif;color:#006b5a;margin:0 0 8px}.sub-lifecycle p{margin:8px 0 18px}.sub-lifecycle .sub-pay-actions{margin:0}
