/* Conceptual BD v8.3: responsive hero and shared phone layouts. */
img,picture,video,canvas,svg{max-width:100%}img{height:auto}main,main>*,section,article,aside,.panel,.card,.card-body,.detail-grid>*,.tracker-grid>*,.admin-grid>*,.planner-layout>*,.member-plan-grid>*{min-width:0}p,h1,h2,h3,label,li,td,th,.job-result a{overflow-wrap:anywhere}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}pre{max-width:100%;overflow:auto}.table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}iframe{max-width:100%}
#mobile-menu-toggle{display:none}.home-banner{position:relative;isolation:isolate;display:flex;align-items:center;min-height:520px;margin:27px 0 35px;border:1.5px solid #a2bad6;border-radius:20px;overflow:hidden;background:#e7f1fa;box-shadow:0 8px 28px #244c7914}.home-banner picture{position:absolute;inset:0;display:block}.home-banner picture img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.home-banner::after{content:'';position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,#eef5fc 0%,#eef5fcf5 19%,#eef5fcb8 33%,#eef5fc33 47%,transparent 62%)}.home-banner-copy{position:relative;z-index:1;width:46%;padding:42px}.home-banner-copy .tag{font-size:12px;padding:6px 11px;background:#ffffffd9;border-color:#8aa9ce;color:#304e7c}.home-banner-copy h1{font-family:'Noto Sans Bengali',Inter,sans-serif;font-size:clamp(32px,3.4vw,45px);line-height:1.6;letter-spacing:-.5px;margin:12px 0 17px;color:#152e4c}.home-banner-copy h1 em{font-style:normal;color:#2942b5}.home-banner-copy p{color:#385473;font-size:16px;line-height:1.95;margin-bottom:25px}.home-banner-copy .button{font-size:14px;min-height:46px}.featured-home{scroll-margin-top:100px}
@media(max-width:1050px){.home-banner-copy{padding:30px;width:49%}.home-banner-copy h1{font-size:35px}.home-banner-copy p{font-size:15px}}
@media(max-width:900px){.home-banner{display:flex;flex-direction:column;align-items:stretch;min-height:0;margin-top:20px}.home-banner picture{position:relative;inset:auto;width:100%;aspect-ratio:16/9}.home-banner picture img{position:absolute;inset:0;object-position:68% center}.home-banner::after{display:none}.home-banner-copy{width:100%;padding:28px 30px;background:linear-gradient(135deg,#f1f7fd,#e8f0ff)}.home-banner-copy h1{font-size:34px;margin-top:8px}.home-banner-copy h1 br{display:none}.home-banner-copy p{max-width:650px}.home-banner-copy .button{min-width:210px}.reading{margin:28px auto}.reading h1{font-size:30px}}
@media(max-width:760px){
 html{scroll-padding-top:84px}body{font-size:15px;line-height:1.8}.topline{display:none}header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 14px;margin:0;width:100%;position:sticky;top:0;z-index:40}.brand{min-width:0;gap:8px}.brand img{width:40px;height:40px}.brand-wordmark{font-size:18px}.brand-wordmark strong{font-size:9px;letter-spacing:3px}
 #mobile-menu-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 13px;border:2px solid #7f9ac9;border-radius:9px;background:#edf3ff;color:#294b91;font-size:14px;font-weight:700}#nav{display:none;grid-column:1/-1;width:100%;min-width:0;max-height:calc(100dvh - 90px);overflow-y:auto;overflow-x:visible;gap:8px;padding:10px 0 2px;white-space:normal}.menu-open #nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}#nav .main-tab{width:100%;min-width:0;min-height:45px;display:flex;align-items:center;justify-content:center;white-space:normal;text-align:center;line-height:1.6;font-size:12px;padding:8px}#nav #logout{grid-column:1/-1;min-height:44px;padding:8px;border:1px solid #afbed4;border-radius:8px}header>nav:not(#nav){grid-column:1/-1;display:flex;flex-wrap:wrap;gap:9px}header>nav:not(#nav) a{padding:8px 10px;min-height:44px;display:inline-flex;align-items:center;border:1px solid #b0c1dc;border-radius:7px}
 main,.admin-mode main{width:calc(100% - 24px);margin:0 auto;max-width:none;padding-bottom:35px}.pagehead{padding:27px 0 12px}.pagehead h1{font-size:27px}.pagehead p{font-size:14px}.panel,.card-body{padding:20px}.grid,.detail-grid,.tracker-grid,.admin-grid,.planner-layout{grid-template-columns:minmax(0,1fr);gap:18px}.stats{gap:8px}.stats>div{padding:13px 9px;min-width:0}.stats strong{font-size:clamp(22px,6vw,29px);line-height:1.5}.stats span{font-size:11px}.actions{flex-wrap:wrap;gap:12px;margin:20px 0}.button{min-height:44px;padding:11px 16px}.textbtn{min-height:40px}.inlineform{flex-direction:column;align-items:stretch}.inlineform .button{width:100%}
 input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px;min-height:44px}input[type=checkbox],input[type=radio]{width:20px;height:20px;flex-shrink:0;vertical-align:middle}.form-panel{width:100%;margin:22px auto;padding:22px}.form-panel.account-wide{padding:0}.form-panel h1{font-size:26px}.form-panel .panel{padding:18px}.detail-grid>.panel{width:100%}form{min-width:0}.question{padding:16px 12px;min-inline-size:0}.question legend{max-width:100%;font-size:15px;line-height:1.8}.question .option,.option{display:flex;align-items:flex-start;gap:10px;min-height:48px;font-size:15px;line-height:1.85;padding:12px}.option input{margin-top:4px}.timer{top:72px;overflow-wrap:anywhere;font-size:14px}.result strong{font-size:40px}.viewer{min-height:70dvh;width:100%}.code-example{font-size:12px;line-height:1.8}.prose{font-size:16px;line-height:2}
 .workspace-tabs{gap:8px;max-width:100%;margin-inline:0;padding:9px 0 16px}.workspace-tabs a,.workspace-tabs button{padding:9px 12px;min-height:44px}.subject-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.subject-tabs a{min-width:0;white-space:normal;padding:10px 8px}.subject-slots{grid-template-columns:repeat(2,minmax(0,1fr))}.subject-slot{padding:17px}.room-heading{display:block}.room-count{display:inline-block}.reading{width:100%;margin:20px auto}.reading h1{font-size:28px}
 .planner-heading{align-items:stretch}.planner-datebar{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;grid-template-areas:"previous label next" "date date today";gap:9px}.planner-datebar>div{grid-area:label;min-width:0}.planner-datebar #plan-previous{grid-area:previous}.planner-datebar #plan-next{grid-area:next}.planner-datebar input{grid-area:date;min-width:0;width:100%;max-width:100%}.planner-datebar #plan-today{grid-area:today;font-size:12px;padding-inline:5px}.plan-fields{grid-template-columns:1fr}.schedule-item{grid-template-columns:53px minmax(0,1fr) 37px 32px;gap:7px}.schedule-item label{min-width:0;font-size:13px;line-height:1.8;align-items:flex-start}.schedule-item label input{margin-top:3px}.schedule-item time{font-size:12px}.schedule-item .textbtn{font-size:11px}.schedule-item .icon-action{min-width:30px;min-height:40px}.planner-chart{padding:18px}.chart-bars{max-width:100%;gap:6px}.chart-column{min-width:30px}.achievement-panel{position:static}.achievement-ring{max-width:100%}.week-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.week-grid>div{padding:12px 5px}.focus-clock{font-size:42px}
 .job-result{padding:19px 16px}.job-result h3{font-size:18px;line-height:1.85}.job-facts{font-size:13px;padding-left:18px}.job-status .button{flex-shrink:0}.job-keyword-help{font-size:13px}.member-plan-grid{grid-template-columns:1fr}.member-plan{padding:23px}.member-plan h3{min-height:0}.member-summary,.member-history,.member-review{padding:20px}.member-review .sectionhead{display:block}.member-review .sectionhead h3{font-size:17px}.member-review .actions{flex-direction:column;align-items:stretch}.member-admin-filters{display:grid;gap:10px}.member-history table{min-width:530px}.member-access>div{display:block}.member-access span{margin-top:7px}.member-review-action{width:100%}
 .admin-menu{position:static;display:flex;flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding:8px;gap:7px}.admin-menu a,.admin-menu>a:first-child{padding:10px;flex-shrink:0;white-space:nowrap;min-height:44px;margin:0}.admin-shortcuts{grid-template-columns:1fr}#admin-body form{grid-template-columns:1fr}.access-grant .inline-check{display:flex}.bkash-checkout{padding:23px 18px}.payment-qr{max-width:min(100%,240px);height:auto}.merchant-number{overflow-wrap:anywhere}.bkash-amount{font-size:35px}
 .booster-mode main,.booster-focus main{width:calc(100% - 12px);padding-top:8px}.booster-mode .booster-box{padding:0 3px 7px;border-width:1px}.booster-mode .booster-box .sectionhead{padding:12px 10px 0;display:block}.booster-mode .booster-box .sectionhead>div{display:block}.booster-mode .booster-box .sectionhead h2{font-size:22px}.booster-mode #booster-sync{display:block;font-size:12px;margin:5px 0}.booster-mode .booster-box iframe{border-width:1px;border-radius:8px}.booster-expand{margin:4px 9px 13px}.booster-focus .booster-expand{top:6px}.booster-mode .booster-box .sectionhead a{font-size:12px}footer{padding:24px 16px;gap:18px}
}
@media(max-width:550px){.home-banner{border-radius:15px;margin:15px 0 25px}.home-banner picture{aspect-ratio:4/3}.home-banner picture img{object-position:72% center}.home-banner-copy{padding:23px 21px}.home-banner-copy .tag{font-size:11px}.home-banner-copy h1{font-size:30px;line-height:1.65}.home-banner-copy h1 br{display:block}.home-banner-copy p{font-size:14px;margin-bottom:19px}.home-banner-copy .button{width:100%;font-size:14px}.home-job-highlight{padding:22px 19px}.home-job-highlight h2{font-size:22px}.home-job-highlight>.button{width:100%;font-size:13px}.home-tool-grid{grid-template-columns:1fr}.home-feature{padding:23px}.home-feature h3{font-size:22px}.home-feature p{font-size:14px}.subject-slots{gap:10px}.subject-slot h2{font-size:17px}.lesson-row{flex-wrap:wrap;align-items:flex-start;gap:11px}.lesson-row>div{min-width:calc(100% - 45px)}.lesson-row>.button{margin-left:40px}.job-result .job-status{flex-wrap:wrap}.job-result .job-status label{min-width:150px}.form-panel{padding:20px}.stats strong{font-size:24px}}
@media(max-width:359px){.brand-wordmark{font-size:16px}.brand-wordmark strong{font-size:8px}.brand img{width:36px;height:36px}#mobile-menu-toggle{padding:8px 10px;font-size:13px}main{width:calc(100% - 18px)}.home-banner-copy{padding:20px 17px}.home-banner-copy h1{font-size:27px}.stats{grid-template-columns:1fr}.subject-slots{grid-template-columns:1fr}.schedule-item{grid-template-columns:45px minmax(0,1fr) 33px 28px;gap:5px}.achievement-panel{display:block}.achievement-ring{margin:0 auto 15px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important}}
