/* layout-b: инфо/правни страници, клиентски център, форми, модали, 404.
   Линия на съдържанието = вътрешният ръб на .shell (както хедъра). Текстова колона <=820px от същата лява линия. */
:root{--pbn-text-col:820px}
/* 1) Текстови страници: тялото започва от лявата линия, както заглавието */
body.page .editorial-content,body.error404 .editorial-content{max-width:var(--pbn-text-col);margin-left:0;margin-right:auto}
body.page .page-heading p,body.error404 .page-heading p{max-width:var(--pbn-text-col)}
/* таблици/широки елементи в текста не излизат извън колоната */
body.page .editorial-content table{display:block;max-width:100%;overflow-x:auto}
body.page .editorial-content img,body.page .editorial-content iframe{max-width:100%;height:auto}
body.page .editorial-content{overflow-wrap:anywhere}
/* 2) Клиентски център: мрежите не надвишават колоната */
.portal-main,.portal-panel,.workspace-split>*{min-width:0}
.portal-main .bx-panel>*{min-width:0}
@media(max-width:700px){
 .portal-main .bx-panel{grid-template-columns:minmax(0,1fr)}
 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .metric-grid>*{min-width:0}
 /* Промотирай – hero не изрязва текста */
 .bp-hero,.pm-hero{grid-template-columns:minmax(0,1fr)!important}
 .bp-hero>*{min-width:0;max-width:100%}
}
/* Промотирай – таблицата с планове не излиза от линията */
.bx-table-wrap{margin-left:0!important;margin-right:0!important;max-width:100%}
