/* Shared subscription controls: community feed and native Bitrix profiles. */
.h2b-follow-slot{display:flex;align-items:center;gap:10px 16px;flex-wrap:wrap;max-width:100%;margin:14px 0 0}
.h2b-follow-slot[hidden]{display:none!important}
.h2b-platform .h2b-follow-button,.h2b-platform .h2b-topic-toggle,.h2b-platform .h2b-subscription-primary,.h2b-platform .h2b-subscription-secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 13px;border:1px solid #d5e4e6;border-radius:8px;background:#fff;color:#237b7b;font:600 12px/1.4 Inter,"Segoe UI",Arial,sans-serif;cursor:pointer;text-decoration:none;max-width:100%;white-space:normal;text-align:center}
.h2b-platform .h2b-follow-button svg{width:17px;height:17px;flex:none}
.h2b-platform .h2b-follow-button:hover,.h2b-platform .h2b-topic-toggle:hover{background:#f0f8f7;border-color:#84bfbe}
.h2b-platform .h2b-follow-button.is-following,.h2b-platform .h2b-topic-toggle[aria-pressed="true"]{background:#e5f2f0;border-color:#c4e0dd;color:#237b7b}
.h2b-platform .h2b-follow-button:focus-visible,.h2b-platform .h2b-topic-toggle:focus-visible,.h2b-platform .h2b-subscription-primary:focus-visible,.h2b-platform .h2b-subscription-secondary:focus-visible{outline:3px solid #86cfcd;outline-offset:3px}
.h2b-platform .h2b-follow-button:disabled,.h2b-platform .h2b-topic-toggle:disabled,.h2b-platform .h2b-subscription-primary:disabled,.h2b-platform .h2b-subscription-secondary:disabled{opacity:.6;cursor:wait}
.h2b-follow-hint{font:400 12px/1.5 Inter,"Segoe UI",Arial,sans-serif;color:#687e91;max-width:380px}
/* Keep card controls above the existing full-card link, including unpaid profiles. */
.h2b-platform .h2b-follow-card{position:relative;z-index:3;margin:0 0 10px;max-width:100%;width:100%}
.h2b-platform .h2b-follow-card .h2b-follow-button{width:100%;min-height:40px;border-radius:24px;border-color:#2da1a1;font-size:14px}
.h2b-platform .h2b-follow-inline{position:relative;z-index:3;margin:10px 0 0}
.h2b-platform .h2b-follow-offer{position:relative;margin:0;padding:0 20px 16px}
.h2b-platform .h2b-follow-offer .h2b-follow-button{width:100%}
.h2b-platform .h2b-subscription-primary{background:#2da1a1;border-color:#2da1a1;color:white;min-height:44px;font-size:13px;padding:11px 18px}
.h2b-platform .h2b-subscription-primary:hover{background:#278e8e}
.h2b-platform .h2b-subscription-secondary{background:#edf2f7;color:#3d5a80;border-color:#e0e6ed}
.h2b-subscription-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:1300;max-width:calc(100vw - 30px);width:max-content;border-radius:10px;background:#203c52;color:#fff;box-shadow:0 7px 30px #18304d30;padding:13px 20px;font:400 13px/1.5 Inter,"Segoe UI",Arial,sans-serif}
.h2b-subscription-toast[hidden]{display:none}
.h2b-subscription-card{background:#fff;border:1px solid #e5eaf0;border-radius:12px;padding:22px;margin:20px 0}
.h2b-subscription-card h2{font-size:19px;line-height:1.4;margin:0 0 8px}
.h2b-subscription-card>p,.h2b-subscription-card>div>p{color:#687e91;font-size:13px;line-height:1.6}
.h2b-subscription-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.h2b-subscription-count{background:#edf2f7;color:#3d5a80;border-radius:20px;padding:3px 9px;font-size:12px;margin-left:6px;vertical-align:middle}
.h2b-subscription-links{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:14px}
.h2b-subscription-links a,.h2b-subscription-setting-link{font-size:13px;font-weight:600;color:#237b7b;display:inline-flex;min-height:36px;align-items:center}
.h2b-source-list{list-style:none;padding:0;margin:8px 0 0}
.h2b-source-list li{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid #edf0f4;min-width:0}
.h2b-source-list li:last-child{border-bottom:0;padding-bottom:0}
.h2b-source-avatar{width:38px;height:38px;flex:none;display:grid;place-items:center;background:#e7eef6;border-radius:50%;font-size:13px;font-weight:700;color:#3d5a80}
.h2b-source-info{flex:1;min-width:0}
.h2b-source-info a{font-size:14px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.h2b-source-info a:hover{color:#237b7b}
.h2b-source-info small{display:block;font-size:11px;line-height:1.5;color:#687e91;margin-top:3px}
.h2b-source-list .h2b-follow-slot{margin:0;flex:none}
.h2b-subscription-empty{padding:18px 0 0;line-height:1.6}
.h2b-subscription-empty strong{font-size:15px;display:block;color:#203344}
.h2b-subscription-empty p{font-size:13px;color:#687e91;margin-top:8px}
.h2b-following-feed-heading{font-size:20px;margin:26px 0 0}
.h2b-preferences-form fieldset{border:0;padding:0;margin:0;min-width:0}
.h2b-preferences-form legend{font-size:19px;font-weight:700;color:#203344;margin-bottom:8px}
.h2b-preferences-form fieldset>p,.h2b-topic-preferences>p{font-size:13px;line-height:1.7;color:#687e91;margin:0 0 18px}
.h2b-frequency-option{display:flex;align-items:flex-start;gap:12px;padding:15px 14px;border:1px solid #e0e6ed;border-radius:9px;margin:9px 0;cursor:pointer}
.h2b-frequency-option:has(input:checked){border-color:#81bebc;background:#f2f9f8}
.h2b-frequency-option input{accent-color:#2da1a1;width:18px;height:18px;flex:none;margin:2px 0 0}
.h2b-frequency-option strong{display:block;font-size:14px;line-height:1.5;font-weight:600}
.h2b-frequency-option small{display:block;color:#687e91;font-size:12px;font-weight:400;line-height:1.6;margin-top:4px}
.h2b-email-address{font-size:12px;color:#687e91;margin-top:18px;overflow-wrap:anywhere}
.h2b-email-address a{color:#237b7b;text-decoration:underline}
.h2b-email-confirmed{display:inline-block;color:#237b7b;background:#e5f2f0;border-radius:4px;padding:2px 6px;margin-left:5px}
.h2b-email-verification{margin-top:24px;border-top:1px solid #e5eaf0;padding-top:24px}
.h2b-email-verification>p{font-size:13px;line-height:1.7;color:#687e91;margin:10px 0 14px;overflow-wrap:anywhere}
.h2b-email-verification #h2b-email-code-form{margin-top:18px}
.h2b-email-verification #h2b-email-code-form[hidden]{display:none}
.h2b-email-verification label{display:block;font-size:13px;font-weight:600;margin-bottom:8px}
.h2b-email-code-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.h2b-email-code-controls input{box-sizing:border-box;width:150px;min-width:0;max-width:100%;min-height:44px;border:1px solid #cad9e1;border-radius:8px;padding:10px 12px;background:#fff;color:#203344;font:600 18px/1.3 Inter,"Segoe UI",Arial,sans-serif;letter-spacing:5px}
.h2b-email-code-controls input:focus-visible{outline:3px solid #86cfcd;outline-offset:3px}
.h2b-email-verification #h2b-email-code-hint{font-size:12px;color:#687e91;line-height:1.6;margin-top:8px}
.h2b-email-verification #h2b-email-verification-result{margin-bottom:0;color:#3d5a80;font-size:13px;line-height:1.7}
.h2b-email-verification #h2b-email-verification-result:empty{display:none}
.h2b-email-verification #h2b-email-verification-result.is-error{color:#a23838}
.h2b-email-confirmation-success{padding:14px;background:#edf8f4;color:#237b7b;font-size:13px;line-height:1.6;margin-top:22px;border-radius:8px}
.h2b-preference-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:18px}
.h2b-preference-actions [role="status"]{font-size:13px;line-height:1.5;color:#3d5a80}
.h2b-topic-preferences{border-top:1px solid #e5eaf0;margin-top:28px;padding-top:24px}
.h2b-topic-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #edf0f4;padding:12px 0;font-size:14px}
.h2b-topic-row>span{min-width:0;overflow-wrap:anywhere}
.h2b-topic-preferences .h2b-preference-note{font-size:12px;margin:18px 0 0}
.h2b-subscriptions-aside p{font-size:13px;line-height:1.7;color:#687e91;margin-top:12px}
.h2b-subscriptions-aside h2{font-size:20px;line-height:1.35;margin:0}
@media(max-width:650px){
 .h2b-platform .h2b-follow-card .h2b-follow-button{min-height:44px}
 .h2b-platform .h2b-follow-button,.h2b-platform .h2b-topic-toggle{min-height:44px;font-size:13px;padding:9px 12px}
 .h2b-subscription-card{padding:18px 16px;margin:16px 0}
 .h2b-subscription-heading{align-items:flex-start;gap:4px}
 .h2b-source-list li{flex-wrap:wrap;gap:10px}
 .h2b-source-list .h2b-follow-slot{flex-basis:100%;padding-left:48px}
 .h2b-source-list .h2b-follow-button{width:100%}
 .h2b-frequency-option{padding:14px 11px}
 .h2b-frequency-option small,.h2b-follow-hint,.h2b-email-address{font-size:13px}
 .h2b-topic-row{align-items:flex-start;font-size:14px}
 .h2b-topic-row>span{padding-top:11px}
 .h2b-topic-toggle{flex:0 0 145px}
 .h2b-subscription-toast{font-size:14px;bottom:15px}
 .h2b-preference-actions{align-items:flex-start;flex-direction:column}
 .h2b-preference-actions .h2b-subscription-primary{width:100%}
}
