.hc-site :where(.actions,.community-actions){gap:12px}
.hc-site :where(.soft-card,.account-card,.detail-card,.success-card)>p+:where(p,form,.actions,.community-actions,.btn,.btn-secondary,.btn-danger){margin-top:16px}
.hc-site :where(.soft-card,.account-card,.detail-card)>:where(.actions,.community-actions)+:where(form,.actions,.community-actions){margin-top:18px}
.hc-site .community-detail .community-text{margin-block:18px;line-height:1.65}
.hc-site .community-detail-actions{margin-top:24px;gap:14px;align-items:flex-start}
.hc-site .community-detail-actions>a{max-width:100%;white-space:normal;text-align:center}
.hc-site .community-page .soft-card>form+.community-actions{margin-top:20px}
.hc-site .community-page .page-head>.community-actions{margin-top:20px}
.hc-site .community-page .soft-card>form{margin-top:18px}
.hc-site .community-page .soft-card>p+p{margin-top:12px}
.hc-site .community-detail h2{margin-top:24px;margin-bottom:12px}
.hc-back-to-top{position:fixed;left:16px;bottom:calc(20px + env(safe-area-inset-bottom));z-index:840;width:46px;height:46px;border:1px solid #b7cbbf;border-radius:50%;display:grid;place-items:center;background:#214d3e;color:#fff;box-shadow:0 4px 16px #173c3130;cursor:pointer}
.hc-back-to-top[hidden]{display:none!important}.hc-back-to-top svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hc-back-to-top:hover{background:#163c2e}.hc-back-to-top:focus-visible{outline:3px solid #b4d6a0;outline-offset:4px}
@media(max-width:760px){.hc-site .community-detail-actions{flex-direction:column;align-items:stretch}.hc-back-to-top{left:12px}}

.hc-site :where(.soft-card,.account-card,.detail-card)>:where(.btn,.btn-secondary,.btn-danger)+:where(p,form){margin-top:16px}
.hc-site :where(.soft-card,.account-card,.detail-card)>:where(h2,h3)+p{margin-top:12px}

/* A stable corner: scrolling content never changes the button's position. */
.hc-site .hc-back-to-top{left:auto;right:16px;bottom:24px;border-radius:50%}
.hc-site:has(.provider-floating-actions) .hc-back-to-top{bottom:112px}
@media(max-width:760px){.hc-site .hc-back-to-top{left:auto;right:12px;bottom:calc(88px + env(safe-area-inset-bottom))}.hc-site:has(.provider-floating-actions) .hc-back-to-top{bottom:calc(164px + env(safe-area-inset-bottom))}}

.hc-site .provider-promotions fieldset{padding:24px;margin-top:24px;min-width:0}.hc-site .provider-promotions fieldset>.check-row{margin:12px 0 20px}.hc-site .provider-promotions>p{margin-block:16px;line-height:1.6}.hc-site .provider-promotions .form-grid{gap:20px}

.hc-site .provider-plan-offer{margin-block:28px;padding:clamp(22px,3vw,32px)}

.hc-site .provider-promotions{padding:clamp(14px,3vw,28px);min-width:0;max-width:100%;box-sizing:border-box}
.promotion-heading{display:flex;align-items:start;justify-content:space-between;gap:20px}.promotion-heading>div{min-width:0}.promotion-heading p{line-height:1.6;margin:12px 0 0}.promotion-list{display:grid;gap:16px;margin-block:24px}.promotion-row{min-width:0;border:1px solid #cbd9d0;border-radius:14px;background:#fff}.promotion-row summary{padding:18px;display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;cursor:pointer;list-style:none}.promotion-row-title{font-weight:700;overflow-wrap:anywhere}.promotion-row-meta{font-size:14px;background:#eef4ef;color:#214d3e;border-radius:99px;padding:6px 10px}.promotion-edit-label{margin-left:auto;font-weight:600}.promotion-row-fields{display:grid;gap:20px;padding:20px;border-top:1px solid #e1e9e3;min-width:0}.promotion-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.promotion-form-grid>.field,.promotion-row-fields>.field{min-width:0}.hc-site .provider-promotions input:not([type=checkbox]),.hc-site .provider-promotions select{width:100%;min-width:0;max-width:100%;box-sizing:border-box;inline-size:100%;font-size:16px}.hc-site .provider-promotions input[type=datetime-local]{appearance:none;-webkit-appearance:none;min-inline-size:0}.promotion-row-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
@media(max-width:760px){.promotion-heading{flex-direction:column}.promotion-form-grid{grid-template-columns:minmax(0,1fr)}.promotion-row-fields{padding:14px}.promotion-row summary{padding:14px}.promotion-row-meta{border-radius:8px}.promotion-row-actions{align-items:stretch;flex-direction:column}.hc-site .provider-promotions .field{min-width:0;width:100%}}

.billing-due-date{display:grid;gap:8px;margin-block:18px;padding:18px;border:1px solid #c9dbcf;border-radius:12px;background:#f0f6f1;min-width:0}.billing-due-date>span{font-size:1.4rem;font-weight:700}.billing-due-date small{line-height:1.5}.row-actions:has(.billing-due-date){flex-wrap:wrap}.row-actions>.billing-due-date{flex-basis:100%}

@media(max-width:760px){.hc-site .app-shell:has(.admin-dashboard){padding-inline:12px}.hc-site #configuracion.admin-panel{padding:18px 10px}.hc-site #configuracion .admin-settings-form{padding:0;border:0;box-shadow:none;background:transparent}.hc-site #configuracion .provider-promotions{padding:16px 0;border:0;box-shadow:none;background:transparent}.promotion-row summary{gap:10px}.promotion-row-meta{font-size:13px}}
