*{box-sizing:border-box}body{margin:0;background:#303030;color:#101010;font-family:'Noto Serif Bengali','SolaimanLipi','Kalpurush',serif}.bp-overlay{min-height:100vh;padding:12px 16px 30px;display:flex;justify-content:center;align-items:flex-start}.bp-dialog{position:relative;background:white;width:min(1190px,100%);border-radius:12px;padding:24px 26px 16px;box-shadow:0 12px 50px #0005}.bp-close{position:absolute;right:23px;top:12px;border:0;background:none;font-size:38px;cursor:pointer;z-index:2}#bp-paper{background:#fff;max-width:1120px;margin:auto;padding:0 0 16px}.bp-masthead{text-align:center;padding:8px 40px 10px}.bp-masthead img{max-width:min(390px,75%);max-height:100px;width:auto;height:auto;object-fit:contain}.bp-site{font:12px Arial,sans-serif;color:#666}h1{text-align:center;font-size:clamp(24px,3vw,39px);line-height:1.35;margin:10px 15px 20px}.bp-date{background:#f4f5f6;text-align:center;padding:15px;margin-bottom:16px;color:#666;font-size:19px;font-style:italic}.bp-story{font-size:var(--bp-story-size,21px);column-count:3;column-gap:22px;column-rule:1px solid #e6e6e6;text-align:justify;line-height:1.7}.bp-story figure{break-inside:avoid;margin:0 0 12px;column-span:1}.bp-story figure img{display:block;width:100%;height:auto}.bp-story figcaption{font-size:12px;line-height:1.4;color:#666;text-align:left}.bp-story p{margin:0 0 12px}.bp-story .bp-author{display:inline;font-weight:700}.bp-story h2,.bp-story h3{font-size:1.1em;break-after:avoid}.bp-article{padding:0 5px}.bp-article blockquote{margin:10px 0;padding:5px 12px;border-left:3px solid #b91c1c}#bp-paper footer{text-align:center;border-top:1px solid #ddd;margin-top:18px;padding-top:9px;font:12px Arial,sans-serif;color:#666}.bp-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:14px;border-top:1px solid #eee;padding-top:14px;font:14px Arial,sans-serif}.bp-actions button{background:#ba1624;color:white;border:0;padding:11px 15px;border-radius:5px;cursor:pointer}.bp-actions button:disabled{opacity:.5}#bp-status{color:#a11;font-size:13px}@media(max-width:700px){.bp-overlay{padding:0}.bp-dialog{border-radius:0;padding:40px 10px 14px}.bp-story{column-count:1;font-size:17px}.bp-masthead img{max-height:70px}h1{font-size:24px}.bp-date{font-size:14px}.bp-close{top:2px;right:10px}}@media print{body{background:white}.bp-overlay{display:block;padding:0}.bp-dialog{box-shadow:none;width:100%;padding:0;border-radius:0}.bp-close,.bp-actions{display:none!important}.bp-story{font-size:var(--bp-story-size,21px);column-count:3;font-size:14pt}h1{font-size:25pt}@page{size:A4;margin:12mm}}

.bp-editing [contenteditable="true"]{outline:1px dashed #b91c1c;outline-offset:3px;cursor:text}.bp-size-label{display:flex;align-items:center;gap:7px;color:#222}.bp-size-label input{width:105px}.bp-actions #bp-reset{background:#555}

/* Independent, editable type controls for headline and article. */
#bp-paper h1{font-family:var(--bp-title-font,'SolaimanLipi'), 'Noto Serif Bengali',serif;font-size:var(--bp-title-size,39px)}
#bp-paper .bp-story{font-family:var(--bp-body-font,'SolaimanLipi'),'Noto Serif Bengali',serif;font-size:var(--bp-story-size,18px)}
.bp-font-label,.bp-size-label{display:flex;align-items:center;gap:6px;color:#222}.bp-font-label select,.bp-size-label input{border:1px solid #ccc;border-radius:4px;padding:6px;background:#fff;color:#222}.bp-size-label input{width:64px}
@media(max-width:700px){#bp-paper h1{font-size:var(--bp-title-size,39px)}#bp-paper .bp-story{font-size:var(--bp-story-size,18px)}}
@media print{#bp-paper h1{font-size:var(--bp-title-size,39px)}#bp-paper .bp-story{font-size:var(--bp-story-size,18px)}}
