.bh-premium {
	--bh-accent: #0a2f88;
	--bh-accent-dark: #071f5c;
	--bh-accent-soft: #eef4ff;
	--bh-yellow: #f8b400;
	--bh-green: #12ad78;
	--bh-red: #eb3345;
	--bh-ink: #0b1736;
	--bh-ink-2: #53627e;
	--bh-ink-3: #8290a8;
	--bh-line: #dce3ef;
	--bh-surface: #fff;
	--bh-bg: #f7f9fc;
	--bh-radius: 15px;
	--bh-shadow: 0 16px 36px -30px rgba(9, 42, 120, .58);
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
	min-height: 0 !important;
	margin: clamp(16px, 2.6vw, 42px) auto !important;
	padding: 0 clamp(14px, 2vw, 30px) 22px !important;
	background: #fbfcfe;
	color: var(--bh-ink);
	font-family: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, sans-serif;
}

.bh-premium *, .bh-premium *::before, .bh-premium *::after { box-sizing: border-box; }
/* Bricks centraliza o shortcode inteiro verticalmente. Isso criava um grande
   vazio acima do portal em telas largas e deslocava login e formulários para
   baixo. O portal administra o próprio espaçamento, então a seção hospedeira
   deve começar no topo e ocupar a largura disponível. */
body:has(.bh-premium) .brxe-section:has(.bh-premium) { align-items: stretch !important; justify-content: flex-start !important; }
body:has(.bh-premium) .brxe-shortcode:has(> .bh-premium) { width: 100% !important; max-width: none !important; }
.bh-premium.bh--center { display: flex !important; align-items: center !important; justify-content: flex-start !important; min-height: 0 !important; }
.bh-premium.bh--narrow { width: 100% !important; max-width: none !important; }
.bh-premium :focus-visible { outline: 3px solid rgba(21, 94, 239, .28); outline-offset: 3px; }
.bh-premium h1, .bh-premium h2, .bh-premium h3 { color: var(--bh-ink); letter-spacing: -.035em; }

.bh-portal-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100% !important; max-width: none !important; min-height: 76px; margin-bottom: clamp(24px, 3vw, 44px); padding: 10px 2px; border-bottom: 1px solid var(--bh-line); }
.bh-portal-brand { display: flex; align-items: center; gap: 11px; color: var(--bh-ink); text-decoration: none; }
.bh-portal-brand img { width: 44px; height: 44px; object-fit: contain; }
.bh-portal-brand span { display: flex; flex-direction: column; }
.bh-portal-brand strong { font-size: 18px; letter-spacing: .08em; }
.bh-portal-brand small { color: var(--bh-ink-2); font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.bh-portal-nav { display: flex; align-self: stretch; align-items: center; gap: clamp(18px, 2.3vw, 38px); overflow-x: auto; }
.bh-portal-nav a { position: relative; flex: none; display: flex; align-items: center; align-self: stretch; color: var(--bh-ink-2); font-size: 14px; font-weight: 600; text-decoration: none; transition: color .2s ease; }
.bh-portal-nav a:hover { color: var(--bh-accent); }
.bh-portal-tools { display: flex; align-self: stretch; align-items: center; justify-content: flex-end; gap: clamp(14px, 2vw, 28px); min-width: 0; margin-left: auto; }

/* Persistent notification inbox ----------------------------------------- */
.bh-inbox { position: relative; z-index: 80; flex: 0 0 auto; }
.bh-inbox__toggle { position: relative; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid var(--bh-line); border-radius: 13px; background: #fff; color: var(--bh-ink); cursor: pointer; transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease; }
.bh-inbox__toggle:hover, .bh-inbox__toggle[aria-expanded="true"] { border-color: #b8c8e8; background: var(--bh-accent-soft); color: var(--bh-accent); transform: translateY(-1px); }
.bh-inbox__toggle svg { width: 23px; height: 23px; }
.bh-inbox__badge { position: absolute; top: -7px; right: -7px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border: 3px solid #fbfcfe; border-radius: 999px; background: #e9283d; color: #fff; font-size: 10px; font-weight: 800; line-height: 1; }
.bh-inbox__panel[hidden] { display: none !important; }
.bh-inbox__panel { position: absolute; top: calc(100% + 12px); right: 0; width: min(430px, calc(100vw - 28px)); overflow: hidden; border: 1px solid var(--bh-line); border-radius: 17px; background: #fff; box-shadow: 0 28px 70px -28px rgba(9, 27, 67, .55); color: var(--bh-ink); text-align: left; }
.bh-inbox__head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; border-bottom: 1px solid var(--bh-line); background: #f8faff; }
.bh-inbox__head > div { display: grid; gap: 2px; }
.bh-inbox__head strong { font-size: 17px; }
.bh-inbox__head span { color: var(--bh-ink-2); font-size: 12px; }
.bh-inbox__head > a { color: var(--bh-accent); font-size: 11px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.bh-inbox__head > a:hover { text-decoration: underline; }
.bh-inbox__list { max-height: min(570px, 66vh); overflow-y: auto; overscroll-behavior: contain; }
.bh-inbox-item { display: grid; grid-template-columns: 9px minmax(0, 1fr); gap: 12px; padding: 15px 19px; border-bottom: 1px solid #edf1f6; color: inherit; text-decoration: none; transition: background .16s ease; }
.bh-inbox-item:last-child { border-bottom: 0; }
.bh-inbox-item:hover { background: #f6f9ff; color: inherit; }
.bh-inbox-item.is-unread { background: #f1f6ff; }
.bh-inbox-item.is-unread:hover { background: #e9f1ff; }
.bh-inbox-item__dot { width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: #b7c0cf; }
.bh-inbox-item.is-unread .bh-inbox-item__dot { background: var(--bh-accent); box-shadow: 0 0 0 4px rgba(10, 47, 136, .1); }
.bh-inbox-item__copy { display: grid; gap: 4px; min-width: 0; }
.bh-inbox-item__copy strong { color: var(--bh-ink); font-size: 14px; line-height: 1.3; }
.bh-inbox-item.is-unread .bh-inbox-item__copy strong { color: var(--bh-accent-dark); }
.bh-inbox-item__copy > span { display: -webkit-box; overflow: hidden; color: var(--bh-ink-2); font-size: 12px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.bh-inbox-item__copy time { color: var(--bh-ink-3); font-size: 10px; }
.bh-inbox__empty { display: grid; justify-items: center; gap: 6px; padding: 42px 26px; text-align: center; }
.bh-inbox__empty > span { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 4px; border-radius: 50%; background: #e6f8f1; color: #08764f; font-size: 20px; font-weight: 800; }
.bh-inbox__empty strong { font-size: 15px; }
.bh-inbox__empty p { max-width: 280px; margin: 0; color: var(--bh-ink-2); font-size: 12px; line-height: 1.5; }
.bh-inbox__footer { padding: 12px 18px; border-top: 1px solid var(--bh-line); background: #fff; }
.bh-inbox__footer a { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--bh-accent); font-size: 13px; font-weight: 750; text-decoration: none; }
.bh-inbox__footer a:hover { color: var(--bh-accent-dark); }

/* Notification center -------------------------------------------------- */
.bh-notification-center { width: min(100%, 1280px); margin: 0 auto; color: var(--bh-ink); }
.bh-notification-center__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px; margin: 12px 0 28px; padding: clamp(24px, 4vw, 46px); overflow: hidden; border-radius: 22px; background: #092a78; color: #fff; box-shadow: 0 30px 65px -42px rgba(9, 42, 120, .8); }
.bh-notification-center__head .bh-eyebrow, .bh-notification-thread .bh-eyebrow { display: block; margin-bottom: 9px; color: #f2bd18; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.bh-notification-center__head h1 { margin: 0; color: #fff; font-size: clamp(34px, 5vw, 64px); line-height: .98; letter-spacing: -.05em; }
.bh-notification-center__head p { max-width: 620px; margin: 13px 0 0; color: #dbe5fb; font-size: clamp(14px, 1.5vw, 17px); line-height: 1.6; text-wrap: pretty; }
.bh-notification-center__count { display: grid; min-width: 132px; padding: 16px 20px; border: 1px solid rgba(255,255,255,.2); border-radius: 15px; background: rgba(255,255,255,.08); }
.bh-notification-center__count strong { color: #fff; font-size: 37px; line-height: 1; font-variant-numeric: tabular-nums; }
.bh-notification-center__count span { margin-top: 5px; color: #dbe5fb; font-size: 12px; }
.bh-notification-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.bh-notification-filters a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 15px; border: 1px solid var(--bh-line); border-radius: 9px; background: #fff; color: var(--bh-ink-2); font-size: 13px; font-weight: 700; text-decoration: none; transition: .18s ease; }
.bh-notification-filters a:hover, .bh-notification-filters a.is-active { border-color: var(--bh-accent); background: var(--bh-accent-soft); color: var(--bh-accent); }
.bh-notification-filters a b { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 50%; background: var(--bh-accent); color: #fff; font-size: 10px; }
.bh-notification-filters .bh-notification-filters__read { margin-left: auto; border-color: transparent; background: transparent; }
.bh-notification-list { overflow: hidden; border: 1px solid var(--bh-line); border-radius: 17px; background: #fff; box-shadow: 0 22px 55px -45px rgba(9,42,120,.75); }
.bh-notification-row { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto 24px; align-items: center; gap: 16px; min-height: 112px; padding: 20px 24px; border-bottom: 1px solid #e9eef6; color: inherit; text-decoration: none; transition: background .18s ease, transform .18s ease; }
.bh-notification-row:last-child { border-bottom: 0; }
.bh-notification-row:hover { background: #f7f9fd; color: inherit; }
.bh-notification-row.is-unread { background: #f1f6ff; }
.bh-notification-row.is-unread:hover { background: #eaf2ff; }
.bh-notification-row__mark { width: 9px; height: 9px; border-radius: 50%; background: #bac4d2; }
.bh-notification-row.is-unread .bh-notification-row__mark { background: var(--bh-accent); box-shadow: 0 0 0 5px rgba(10,47,136,.1); }
.bh-notification-row__body { display: grid; gap: 4px; min-width: 0; }
.bh-notification-row__body small { color: var(--bh-accent); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.bh-notification-row__body strong { color: var(--bh-ink); font-size: 17px; line-height: 1.3; text-wrap: pretty; }
.bh-notification-row__body > span { overflow: hidden; color: var(--bh-ink-2); font-size: 13px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.bh-notification-row > time { color: var(--bh-ink-3); font-size: 11px; white-space: nowrap; }
.bh-notification-row__arrow { color: var(--bh-accent); font-size: 20px; }
.bh-notification-empty { display: grid; justify-items: center; gap: 9px; padding: clamp(44px, 8vw, 90px) 24px; text-align: center; }
.bh-notification-empty > span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #e4f8ef; color: #08764f; font-size: 23px; font-weight: 800; }
.bh-notification-empty strong { font-size: 21px; }
.bh-notification-empty p { max-width: 480px; margin: 0 0 8px; color: var(--bh-ink-2); line-height: 1.6; }
.bh-notification-pages { display: flex; justify-content: center; gap: 7px; margin-top: 22px; }
.bh-notification-pages a { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid var(--bh-line); border-radius: 8px; background: #fff; color: var(--bh-ink-2); font-weight: 700; text-decoration: none; }
.bh-notification-pages a.is-active { border-color: var(--bh-accent); background: var(--bh-accent); color: #fff; }
.bh-notification-detail { width: min(100%, 1080px); }
.bh-notification-detail > .bh-back { display: inline-flex; margin: 4px 0 16px; color: var(--bh-accent); font-weight: 700; text-decoration: none; }
.bh-notification-detail__card { padding: clamp(26px, 5vw, 54px); border-radius: 22px; background: #092a78; color: #fff; box-shadow: 0 30px 65px -42px rgba(9,42,120,.9); }
.bh-notification-detail__card > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bh-notification-detail__source { color: #f2bd18; font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.bh-notification-detail__card time { color: #c8d5ee; font-size: 11px; }
.bh-notification-detail__card h1 { max-width: 820px; margin: 26px 0 17px; color: #fff; font-size: clamp(32px, 5vw, 58px); line-height: 1.03; letter-spacing: -.045em; text-wrap: balance; }
.bh-notification-detail__body { max-width: 720px; color: #e2e9f7; font-size: clamp(15px, 1.6vw, 18px); line-height: 1.7; }
.bh-notification-detail__body p:last-child { margin-bottom: 0; }
.bh-notification-detail__action { margin-top: 25px; background: #f2bd18 !important; color: #171717 !important; }
.bh-notification-thread { margin-top: 18px; overflow: hidden; border: 1px solid var(--bh-line); border-radius: 20px; background: #fff; box-shadow: 0 24px 55px -48px rgba(9,42,120,.8); }
.bh-notification-thread__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 26px 30px 21px; border-bottom: 1px solid var(--bh-line); }
.bh-notification-thread__head .bh-eyebrow { margin-bottom: 5px; color: var(--bh-accent); }
.bh-notification-thread__head h2 { margin: 0; font-size: clamp(22px, 3vw, 32px); letter-spacing: -.035em; }
.bh-notification-thread__head > span { color: var(--bh-ink-3); font-size: 12px; }
.bh-notification-messages { display: grid; gap: 18px; max-height: 650px; padding: 28px 30px; overflow-y: auto; background: #f8faff; }
.bh-notification-messages__empty { padding: 28px; border: 1px dashed #c9d4e5; border-radius: 12px; text-align: center; }
.bh-notification-messages__empty strong { font-size: 16px; }
.bh-notification-messages__empty p { margin: 5px 0 0; color: var(--bh-ink-2); }
.bh-notification-message { display: grid; justify-items: start; max-width: 78%; }
.bh-notification-message.is-participant { justify-self: end; justify-items: end; }
.bh-notification-message__meta { display: flex; align-items: center; gap: 10px; margin: 0 4px 6px; }
.bh-notification-message__meta strong { font-size: 12px; }
.bh-notification-message__meta time { color: var(--bh-ink-3); font-size: 10px; }
.bh-notification-message__bubble { padding: 14px 17px; border: 1px solid var(--bh-line); border-radius: 5px 16px 16px; background: #fff; line-height: 1.6; overflow-wrap: anywhere; }
.bh-notification-message.is-participant .bh-notification-message__bubble { border-color: var(--bh-accent); border-radius: 16px 5px 16px 16px; background: var(--bh-accent); color: #fff; }
.bh-notification-message__bubble p { margin: 0 0 8px; }
.bh-notification-message__bubble p:last-child { margin-bottom: 0; }
.bh-notification-reply { display: grid; gap: 10px; padding: 25px 30px 30px; border-top: 1px solid var(--bh-line); }
.bh-notification-reply > label { font-size: 14px; font-weight: 750; }
.bh-notification-reply textarea { width: 100%; min-height: 118px; padding: 14px; border: 1px solid #c9d4e5; border-radius: 11px; resize: vertical; }
.bh-notification-reply textarea:focus { border-color: var(--bh-accent); box-shadow: 0 0 0 2px rgba(10,47,136,.12); outline: none; }
.bh-notification-reply > div { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.bh-notification-reply small { color: var(--bh-ink-3); line-height: 1.5; }

.bh-welcome { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; width: 100% !important; max-width: none !important; margin-bottom: 22px; }
.bh-eyebrow { display: block; margin-bottom: 8px; color: var(--bh-accent); font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .13em; }
.bh-welcome h1 { margin: 0 0 6px; font-size: clamp(34px, 4vw, 58px); font-weight: 760; line-height: 1.02; }
.bh-welcome p { margin: 0; color: var(--bh-ink-2); font-size: clamp(15px, 1.4vw, 19px); }
.bh-role-state { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.bh-role-state span { padding: 12px 16px; border: 1px solid var(--bh-line); border-radius: 11px; background: #fff; color: var(--bh-accent); font-size: 13px; font-weight: 700; white-space: nowrap; }
.bh-role-state .is-traffic { color: #9a6500; }

.bh-program-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; width: 100% !important; max-width: none !important; }
.bh-program { min-width: 0; padding: clamp(18px, 2vw, 28px); border: 1px solid var(--bh-line); border-radius: var(--bh-radius); background: var(--bh-surface); box-shadow: var(--bh-shadow); }
.bh-program > .bh-head { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; text-align: left; }
.bh-program > .bh-head h1 { margin: 0 0 2px; font-size: clamp(20px, 1.8vw, 27px); }
.bh-program > .bh-head p { margin: 0; font-size: 14px; }
.bh-program__icon { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 10px; background: var(--bh-accent); color: #fff; font-size: 19px; font-weight: 800; }
.bh-program__icon.is-traffic { background: var(--bh-yellow); }
.bh-program .bh-grid { display: grid; grid-template-columns: 1fr; gap: 9px; }
.bh-program .bh-card { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; gap: 2px 13px; width: 100%; max-width: none; min-height: 78px; padding: 11px 14px; border-radius: 11px; box-shadow: none; text-align: left; }
.bh-program .bh-card:hover { border-color: #b8c8e8; background: #f8faff; transform: translateY(-1px); box-shadow: 0 12px 24px -22px rgba(9, 42, 120, .7); }
.bh-program .bh-card__logo { grid-row: 1 / 3; width: 50px; height: 50px; margin: 0; border-radius: 12px; }
.bh-program .bh-card__name { align-self: end; margin: 0; font-size: 16px; }
.bh-program .bh-card__desc { align-self: start; min-height: 0; margin: 0; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.bh-program .bh-card__count { position: static; grid-column: 3; grid-row: 1 / 3; min-width: 32px; margin: 0; padding: 7px 9px; text-align: center; }
.bh-program__policy { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--bh-line); color: var(--bh-ink-3); font-size: 11px; line-height: 1.45; }

.bh-cross-invite { display: grid; grid-template-columns: 82px minmax(0, 1fr) auto; align-items: center; gap: 22px; width: 100% !important; max-width: none !important; margin-top: 20px; overflow: hidden; padding: 18px 24px 18px 0; border: 1px solid var(--bh-line); border-radius: var(--bh-radius); background: #fff; }
.bh-cross-invite img { width: 82px; height: 82px; margin-left: -16px; object-fit: contain; transform: scale(1.35); }
.bh-cross-invite span { color: var(--bh-accent); font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .12em; }
.bh-cross-invite h2 { margin: 3px 0 2px; font-size: clamp(18px, 1.8vw, 25px); }
.bh-cross-invite p { margin: 0; color: var(--bh-ink-2); font-size: 13px; }
.bh-cross-invite a { padding: 12px 18px; border-radius: 8px; background: var(--bh-accent); color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }

.bh-premium > .bh-head, .bh-premium > .bh-form, .bh-premium > .bh-post, .bh-premium > .bh-thread, .bh-premium > .bh-list, .bh-premium > .bh-payments, .bh-premium > .bh-tabs, .bh-premium > .bh-empty, .bh-premium > .bh-blank, .bh-premium > .bh-gate { width: min(100%, 1180px) !important; max-width: 1180px !important; }
.bh-premium > .bh-head h1 { font-size: clamp(30px, 3.5vw, 50px); }
.bh-premium > .bh-head--promo { width: min(100%, 1480px) !important; max-width: 1480px !important; text-align: left !important; }
.bh-premium .bh-form, .bh-premium .bh-post, .bh-premium .bh-promo-link { padding: clamp(20px, 3vw, 34px); }
.bh-premium .bh-form input[type="text"], .bh-premium .bh-form input[type="number"], .bh-premium .bh-form input[type="datetime-local"], .bh-premium .bh-form textarea, .bh-premium .bh-form select, .bh-premium .bh-reply textarea { min-height: 48px; border-color: #cfd8e8; border-radius: 9px; font-size: 15px; }
.bh-premium .bh-btn { min-height: 44px; border-radius: 8px; background: var(--bh-accent); font-weight: 700; }
.bh-premium .bh-btn:hover { background: var(--bh-accent-dark); }
.bh-premium .bh-gate__profile-callout .bh-btn { background: #fff; color: var(--bh-accent-dark); }
.bh-premium .bh-gate__profile-callout .bh-btn:hover { background: var(--bh-accent-soft); color: var(--bh-accent-dark); }
.bh-premium .bh-gate__footer .bh-btn--ghost { min-height: 0; padding: 6px 0; border: 0; background: transparent; color: var(--bh-ink-2); }
.bh-premium .bh-gate__footer .bh-btn--ghost:hover { background: transparent; color: var(--bh-accent); }
.bh-premium .bh-drop { min-height: 142px; border-color: #c7d3e7; border-radius: 12px; background: #fafbfe; }
.bh-premium .bh-session { width: 100% !important; max-width: none !important; justify-content: flex-end; margin-top: 26px; }
.bh-premium.bh--narrow > .bh-gate { width: min(100%, 720px) !important; margin: clamp(28px, 5vw, 64px) auto 0 !important; }
.bh-premium.bh--narrow > .bh-gate--login { width: min(100%, 760px) !important; max-width: 760px !important; }
.bh-premium.bh--narrow > .bh-gate--pending { width: min(100%, 980px) !important; max-width: 980px !important; }

.bh-promo-workspace { display: grid; gap: 18px; width: min(100%, 1480px); margin-right: auto; margin-left: auto; }
.bh-promo-workspace > .bh-promo-link { width: 100% !important; max-width: none !important; }
.bh-promo-workspace__main { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 18px; min-width: 0; }
.bh-promo-workspace__main:has(> .bh-thread) { grid-template-columns: minmax(0, 1.65fr) minmax(320px, .75fr); }
.bh-promo-workspace__main > .bh-form, .bh-promo-workspace__main > .bh-thread { width: 100% !important; max-width: none !important; margin: 0 !important; }
.bh-promo-workspace__main > .bh-thread { position: sticky; top: 24px; padding: clamp(20px, 2.2vw, 30px); border: 1px solid var(--bh-line); border-radius: var(--bh-radius); background: #fff; box-shadow: var(--bh-shadow); }
.bh-promo-workspace__main > .bh-thread h2 { margin: 0 0 14px; font-size: clamp(20px, 1.6vw, 27px); }
.bh-promo-workspace .bh-promo-link__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.bh-promo-workspace .bh-promo-link__row code { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 1050px) {
	.bh-program-grid { grid-template-columns: 1fr; }
	.bh-program .bh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bh-promo-workspace__main { grid-template-columns: 1fr; }
	.bh-promo-workspace__main > .bh-thread { position: static; }
}

@media (max-width: 820px) {
	.bh-premium { margin: 0 auto !important; padding-top: 10px !important; }
	.bh-portal-head { align-items: flex-start; flex-direction: column; margin-bottom: 26px; }
	.bh-portal-nav { align-self: stretch; width: 100%; min-height: 46px; border-top: 1px solid var(--bh-line); border-bottom: 1px solid var(--bh-line); }
	.bh-portal-tools { align-self: stretch; width: 100%; margin-left: 0; }
	.bh-portal-tools .bh-portal-nav { min-width: 0; }
	.bh-inbox__panel { position: fixed; top: max(74px, calc(env(safe-area-inset-top) + 62px)); right: 12px; left: 12px; width: auto; max-height: calc(100vh - 90px); }
	.bh-inbox__list { max-height: calc(100vh - 170px); }
	.bh-notification-center__head { grid-template-columns: 1fr; align-items: start; }
	.bh-notification-center__count { min-width: 0; width: 100%; }
	.bh-notification-row { grid-template-columns: 9px minmax(0, 1fr) 18px; gap: 12px; padding: 17px 16px; }
	.bh-notification-row > time { grid-column: 2; }
	.bh-notification-row__arrow { grid-column: 3; grid-row: 1 / span 2; }
	.bh-notification-row__body > span { display: -webkit-box; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
	.bh-notification-thread__head, .bh-notification-messages, .bh-notification-reply { padding-right: 20px; padding-left: 20px; }
	.bh-welcome { align-items: flex-start; flex-direction: column; }
	.bh-role-state { justify-content: flex-start; }
	.bh-cross-invite { grid-template-columns: 58px 1fr; padding-right: 16px; }
	.bh-cross-invite img { width: 58px; height: 58px; }
	.bh-cross-invite a { grid-column: 1 / -1; width: 100%; text-align: center; }
	.bh-premium > .bh-head, .bh-premium > .bh-form, .bh-premium > .bh-post, .bh-premium > .bh-thread, .bh-premium > .bh-list, .bh-premium > .bh-payments, .bh-premium > .bh-tabs, .bh-premium > .bh-empty, .bh-premium > .bh-blank, .bh-premium > .bh-gate { max-width: none !important; }
}

@media (max-width: 620px) {
	.bh-notification-center__head { margin-top: 2px; padding: 25px 20px 28px; border-radius: 16px; }
	.bh-notification-center__head h1 { font-size: 38px; }
	.bh-notification-filters { display: grid; grid-template-columns: 1fr 1fr; }
	.bh-notification-filters a { justify-content: center; }
	.bh-notification-filters .bh-notification-filters__read { grid-column: 1 / -1; margin-left: 0; }
	.bh-notification-detail__card { padding: 28px 21px 31px; border-radius: 16px; }
	.bh-notification-detail__card > header { align-items: flex-start; flex-direction: column; gap: 7px; }
	.bh-notification-detail__card h1 { margin-top: 21px; font-size: 35px; }
	.bh-notification-detail__action { width: 100%; text-align: center; }
	.bh-notification-thread { border-radius: 15px; }
	.bh-notification-thread__head { align-items: flex-start; flex-direction: column; gap: 8px; }
	.bh-notification-message { max-width: 92%; }
	.bh-notification-reply > div { align-items: stretch; flex-direction: column; }
	.bh-notification-reply .bh-btn { width: 100%; }
	.bh-program { padding: 15px; }
	.bh-program .bh-grid { grid-template-columns: 1fr; }
	.bh-program .bh-card { grid-template-columns: 48px minmax(0, 1fr) auto; padding: 10px; }
	.bh-program .bh-card__logo { width: 44px; height: 44px; }
	.bh-role-state { display: grid; width: 100%; }
	.bh-role-state span { width: 100%; }
	.bh-premium .bh-row { grid-template-columns: 1fr; gap: 0; }
	.bh-premium .bh-actions { align-items: stretch; }
	.bh-premium .bh-actions .bh-btn { width: 100%; }
	.bh-promo-workspace .bh-promo-link__row { grid-template-columns: 1fr; }
	.bh-promo-workspace .bh-promo-link__row .bh-btn { width: 100%; }
}

@media (min-width: 1800px) { .bh-program .bh-card { min-height: 84px; } }
