/* ════════════════════════════════════════════════════════════════
   Bill Manager — App shell & responsive design system (v2)
   ফোন (APK) + ট্যাবলেট + ডেস্কটপ — সব সাইজে চলে
   ════════════════════════════════════════════════════════════════ */

/* ── Offline ফন্ট (ইন্টারনেট ছাড়াও একই চেহারা) ── */
@font-face{font-family:'Hind Siliguri';font-weight:400;font-style:normal;font-display:swap;src:url('fonts/HindSiliguri-Regular.ttf') format('truetype');}
@font-face{font-family:'Hind Siliguri';font-weight:500;font-style:normal;font-display:swap;src:url('fonts/HindSiliguri-Medium.ttf') format('truetype');}
@font-face{font-family:'Hind Siliguri';font-weight:600;font-style:normal;font-display:swap;src:url('fonts/HindSiliguri-SemiBold.ttf') format('truetype');}
@font-face{font-family:'Hind Siliguri';font-weight:700;font-style:normal;font-display:swap;src:url('fonts/HindSiliguri-Bold.ttf') format('truetype');}

:root{
  --sidebar-w:272px;
  --primary:#2563eb; --primary-d:#1d4ed8; --cyan:#06b6d4;
  --ink:#0f172a; --ink-2:#334155; --muted:#64748b; --line:#e5eaf2;
  --bg:#f3f6fb; --surface:#fff;
  --r-lg:20px; --r-md:14px; --r-sm:10px;
  --shadow:0 2px 6px rgba(15,23,42,.04),0 8px 24px rgba(15,23,42,.06);
  --shadow-lg:0 14px 38px rgba(15,23,42,.14);
  --topbar-h:60px; --bnav-h:64px;
  --safe-b:env(safe-area-inset-bottom,0px);
}

*{-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth;}
body{
  font-family:'Hind Siliguri','Segoe UI',system-ui,sans-serif;margin:0;color:var(--ink-2);
  background:
    radial-gradient(1100px 480px at 90% -8%,rgba(37,99,235,.10),transparent 60%),
    radial-gradient(900px 480px at -10% 105%,rgba(6,182,212,.10),transparent 60%),
    var(--bg);
  background-attachment:fixed;
  overflow-x:hidden; touch-action:manipulation;
}
img,svg{max-width:100%;}
a,button,.btn,.nav-link,.bn-item{touch-action:manipulation;}

/* ── Top progress bar (পেজ বদলের সময়) ── */
.nav-progress{position:fixed;top:0;left:0;height:3px;width:0;z-index:3000;background:linear-gradient(90deg,#2563eb,#06b6d4);
  box-shadow:0 0 10px rgba(6,182,212,.7);opacity:0;pointer-events:none;transition:width .4s ease,opacity .25s;}
.nav-progress.run{opacity:1;width:78%;transition:width 6s cubic-bezier(.1,.7,.2,1);}

/* ════════ SIDEBAR / DRAWER ════════ */
.sidebar{
  position:fixed;top:0;left:0;height:100vh;height:100dvh;width:var(--sidebar-w);z-index:1100;
  background:linear-gradient(185deg,#0a1122 0%,#0f1b34 55%,#0b2a4a 100%);
  display:flex;flex-direction:column;overflow-y:auto;overscroll-behavior:contain;
  box-shadow:6px 0 30px rgba(2,6,23,.35);
  transition:transform .32s cubic-bezier(.2,.8,.2,1);
}
.sidebar::-webkit-scrollbar{width:4px;} .sidebar::-webkit-scrollbar-thumb{background:rgba(255,255,255,.15);border-radius:4px;}
.sidebar::before{content:'';position:absolute;inset:0 0 auto 0;height:220px;pointer-events:none;
  background:radial-gradient(260px 160px at 20% 0%,rgba(37,99,235,.35),transparent 70%);}

.sidebar-head{position:relative;display:flex;align-items:center;padding-right:14px;}
.sidebar-brand{flex:1;min-width:0;padding:22px 18px 18px;display:flex;align-items:center;gap:12px;text-decoration:none;}
.brand-icon{width:44px;height:44px;border-radius:14px;flex-shrink:0;
  background:linear-gradient(135deg,#2563eb,#06b6d4);display:flex;align-items:center;justify-content:center;
  box-shadow:0 8px 22px rgba(6,182,212,.45),inset 0 1px 0 rgba(255,255,255,.35);}
.brand-icon i{color:#fff;font-size:21px;}
.brand-text{color:#fff;font-size:1.08rem;font-weight:700;line-height:1.15;}
.brand-text small{display:block;color:rgba(255,255,255,.5);font-size:.72rem;font-weight:400;margin-top:2px;}
.sb-close{display:none;width:38px;height:38px;border-radius:12px;border:0;background:rgba(255,255,255,.08);color:#fff;font-size:18px;align-items:center;justify-content:center;}

.nav-section{position:relative;padding:18px 22px 6px;font-size:.66rem;color:rgba(255,255,255,.34);text-transform:uppercase;letter-spacing:1.4px;font-weight:700;}
.sidebar .nav-link{
  position:relative;display:flex;align-items:center;gap:13px;
  padding:11px 14px;margin:2px 12px;border-radius:14px;
  color:rgba(255,255,255,.68);font-size:.93rem;font-weight:500;text-decoration:none;
  transition:background .2s,color .2s,transform .2s;
}
.sidebar .nav-link i{font-size:17px;width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;
  background:rgba(255,255,255,.06);flex-shrink:0;transition:all .2s;}
.sidebar .nav-link:hover{background:rgba(255,255,255,.07);color:#fff;}
.sidebar .nav-link:hover i{background:rgba(255,255,255,.12);}
.sidebar .nav-link.active{color:#fff;background:linear-gradient(135deg,rgba(37,99,235,.95),rgba(8,145,178,.95));
  box-shadow:0 10px 24px rgba(37,99,235,.38);}
.sidebar .nav-link.active i{background:rgba(255,255,255,.2);}
.sidebar .nav-link.active::after{content:'';position:absolute;right:-12px;top:50%;width:4px;height:22px;margin-top:-11px;border-radius:4px 0 0 4px;background:#38bdf8;}

.sidebar-footer{position:relative;margin-top:auto;padding:14px 14px calc(14px + var(--safe-b));border-top:1px solid rgba(255,255,255,.07);}
.admin-badge{display:flex;align-items:center;gap:11px;padding:11px 12px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.07);border-radius:16px;}
.admin-avatar{width:40px;height:40px;border-radius:50%;flex-shrink:0;background:linear-gradient(135deg,#f59e0b,#ef4444);
  display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:1rem;box-shadow:0 4px 12px rgba(239,68,68,.35);}
.admin-info{overflow:hidden;min-width:0;flex:1;}
.admin-name{font-size:.88rem;font-weight:600;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.admin-role{font-size:.72rem;color:rgba(255,255,255,.5);}
.sb-logout{width:38px;height:38px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;
  background:rgba(239,68,68,.16);color:#fca5a5;text-decoration:none;font-size:17px;transition:all .2s;}
.sb-logout:hover{background:#ef4444;color:#fff;}

.sidebar-overlay{display:none;position:fixed;inset:0;background:rgba(2,6,23,.55);z-index:1050;opacity:0;transition:opacity .3s;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);}
.sidebar-overlay.show{display:block;opacity:1;}

/* ════════ MAIN / TOPBAR ════════ */
.main-wrap{margin-left:var(--sidebar-w);min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;min-width:0;}
.topbar{
  background:rgba(255,255,255,.86);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(226,232,240,.8);
  height:var(--topbar-h);padding:0 26px;display:flex;align-items:center;justify-content:space-between;gap:10px;
  position:sticky;top:0;z-index:900;box-shadow:0 2px 14px rgba(15,23,42,.04);
}
.topbar-title{font-size:1.1rem;font-weight:700;color:var(--ink);display:flex;align-items:center;min-width:0;flex:1;}
.topbar-title>*:not(.menu-btn){min-width:0;}
.topbar-title i{flex-shrink:0;}
.topbar-title .tt{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.topbar-right{display:flex;align-items:center;gap:10px;flex-shrink:0;}
.date-chip{display:flex;align-items:center;gap:6px;background:#eff6ff;color:#1d4ed8;padding:7px 14px;border-radius:20px;font-size:.8rem;font-weight:600;}
.menu-btn{display:none;border:none;background:#eff6ff;color:#1d4ed8;width:42px;height:42px;border-radius:13px;font-size:22px;margin-right:12px;flex-shrink:0;align-items:center;justify-content:center;}
.menu-btn:active{transform:scale(.94);}
.btn-logout{display:flex;align-items:center;gap:6px;padding:7px 15px;border-radius:20px;border:1px solid #e2e8f0;color:#64748b;background:#fff;font-size:.84rem;font-weight:600;text-decoration:none;transition:all .2s;}
.btn-logout:hover{background:#fee2e2;color:#dc2626;border-color:#fca5a5;}

.page-content{padding:26px;flex:1;min-width:0;}
.page-content>*{animation:fadeUp .4s ease both;}
@keyframes fadeUp{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

/* ════════ BOTTOM NAV (ফোনে) ════════ */
.bottom-nav{display:none;position:fixed;left:0;right:0;bottom:0;z-index:950;
  background:rgba(255,255,255,.95);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);
  border-top:1px solid var(--line);box-shadow:0 -8px 28px rgba(15,23,42,.08);
  padding:6px 8px calc(6px + var(--safe-b));}
.bn-item{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:3px;padding:4px 2px;border:0;background:none;
  color:#64748b;font-size:.7rem;font-weight:600;text-decoration:none;font-family:inherit;line-height:1.1;}
.bn-ic{display:flex;width:56px;height:30px;align-items:center;justify-content:center;border-radius:16px;transition:background .25s,transform .25s;}
.bn-ic i{font-size:20px;line-height:1;}
.bn-item.active{color:var(--primary-d);}
.bn-item.active .bn-ic{background:#dbeafe;}
.bn-item:active .bn-ic{transform:scale(.92);}
.bn-item span.bn-lbl{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;}

/* ════════ CARDS / CONTAINERS ════════ */
.card,.tbl-wrap,.pay-table,.client-card,.search-box,.section-card,.card-x,.not-found,.stat,.fbox,.panel,.sum{
  border:1px solid rgba(226,232,240,.75)!important;border-radius:var(--r-lg)!important;box-shadow:var(--shadow)!important;background:#fff;
}
.card:hover,.stat:hover{box-shadow:var(--shadow-lg)!important;}
.card,.stat{transition:box-shadow .25s,transform .25s;}
.stat-card{transition:transform .25s,box-shadow .25s;border-radius:var(--r-lg)!important;}
.stat-card:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(15,23,42,.22)!important;}
.card-header{background:transparent;}

/* ════════ TABLES (ডেস্কটপ) ════════ */
.table{--bs-table-hover-bg:#eff6ff;--bs-table-bg:transparent;}
.table thead th,.table thead{background:linear-gradient(180deg,#f8fafc,#f1f5f9)!important;}
.table thead th{color:#475569!important;font-weight:700!important;border-bottom:2px solid #e2e8f0!important;white-space:nowrap;}
.table tbody tr{transition:background .15s;}
.table tbody td{border-color:#f1f5f9;}
.tscroll{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%;}
code{background:#eef2ff;color:#4338ca;padding:2px 8px;border-radius:6px;font-weight:600;}

/* ════════ BUTTONS / FORMS ════════ */
.btn{border-radius:12px;font-weight:600;transition:all .2s ease;display:inline-flex;align-items:center;justify-content:center;}
.btn:active{transform:scale(.97);}
.btn-sm{border-radius:10px;}
.btn-primary{background:linear-gradient(135deg,#2563eb,#1d4ed8);border:none;box-shadow:0 4px 14px rgba(37,99,235,.32);}
.btn-primary:hover,.btn-primary:focus{background:linear-gradient(135deg,#1d4ed8,#1e40af);box-shadow:0 6px 18px rgba(37,99,235,.42);}
.btn-success{background:linear-gradient(135deg,#10b981,#059669);border:none;box-shadow:0 4px 14px rgba(16,185,129,.32);}
.btn-success:hover{background:linear-gradient(135deg,#059669,#047857);}
.btn-danger{background:linear-gradient(135deg,#ef4444,#dc2626);border:none;box-shadow:0 4px 14px rgba(239,68,68,.3);}
.btn-outline-primary:hover,.btn-outline-success:hover,.btn-outline-danger:hover{box-shadow:0 4px 12px rgba(15,23,42,.15);}
.btn-xs{padding:3px 9px;font-size:.75rem;border-radius:8px;}

.form-label{color:var(--ink-2);font-size:.86rem;}
.form-control,.form-select{border-radius:12px;border:1.5px solid #e2e8f0;padding:.6rem .85rem;background-color:#fff;transition:border-color .2s,box-shadow .2s;}
.form-control:focus,.form-select:focus{border-color:#3b82f6;box-shadow:0 0 0 4px rgba(59,130,246,.15);}
.form-control::placeholder{color:#a3b0c2;}
.form-check-input{width:1.15em;height:1.15em;}
.form-check-input:checked{background-color:#2563eb;border-color:#2563eb;}
.modal-content{border-radius:22px!important;border:none!important;box-shadow:0 24px 60px rgba(15,23,42,.3);}
.alert{border:none;}

/* ── Flash toasts ── */
.flash-wrap{position:fixed;top:16px;right:16px;z-index:9999;min-width:290px;max-width:calc(100vw - 24px);}
.flash-item{display:flex;align-items:center;gap:10px;padding:13px 18px;border-radius:16px;margin-bottom:10px;
  box-shadow:0 12px 30px rgba(0,0,0,.16);animation:slideIn .35s cubic-bezier(.2,.9,.3,1.2);font-size:.92rem;font-weight:600;}
.flash-item i{font-size:1.15rem;flex-shrink:0;}
@keyframes slideIn{from{opacity:0;transform:translateX(40px)}to{opacity:1;transform:none}}
.flash-success{background:#d1fae5;color:#065f46;border-left:5px solid #10b981;}
.flash-danger{background:#fee2e2;color:#991b1b;border-left:5px solid #ef4444;}
.flash-warning{background:#fef3c7;color:#92400e;border-left:5px solid #f59e0b;}
.flash-info{background:#dbeafe;color:#1e40af;border-left:5px solid #3b82f6;}

/* ── সাধারণ ইউটিলিটি ── */
.filter-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;}
.page-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px;}

/* ════════ TABLET & PHONE ( < 992px ) ════════ */
@media (max-width:991.98px){
  :root{--topbar-h:58px;}
  .sidebar{transform:translateX(-105%);width:min(86vw,320px);box-shadow:none;}
  .sidebar.open{transform:none;box-shadow:10px 0 40px rgba(2,6,23,.5);}
  .sb-close{display:inline-flex;}
  .sidebar .nav-link.active::after{display:none;}
  .main-wrap{margin-left:0;}
  .menu-btn{display:inline-flex;}
  .date-chip,.topbar .btn-logout{display:none;}
  .topbar{padding:0 14px;}
  .topbar-title{font-size:1.02rem;}
  .topbar-title>span,.topbar-title .tt{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .page-content{padding:16px 14px calc(var(--bnav-h) + 26px + var(--safe-b));}
  .bottom-nav{display:flex;}
  .flash-wrap{top:calc(var(--topbar-h) + 8px);left:12px;right:12px;min-width:0;}
  #bmSyncBanner{left:12px!important;right:12px!important;max-width:none!important;bottom:calc(var(--bnav-h) + 14px + var(--safe-b))!important;}
}

/* ════════ PHONE ( < 768px ) ════════ */
@media screen and (max-width:767.98px){
  html{font-size:15.5px;}
  .page-content{padding-top:14px;}

  /* ফর্ম: বড় টাচ এরিয়া, ১৬px ফন্ট */
  .form-control,.form-select{min-height:48px;font-size:16px;padding:.65rem .9rem;}
  textarea.form-control{min-height:84px;}
  .form-control-sm,.form-select-sm{min-height:46px!important;font-size:16px!important;padding:.55rem .85rem!important;border-radius:12px!important;}
  .btn{min-height:44px;padding-left:1.1rem;padding-right:1.1rem;}
  .btn-sm{min-height:44px;font-size:.92rem;padding:.5rem 1rem;}
  .btn-xs{min-height:38px;min-width:38px;padding:6px 12px!important;font-size:.9rem!important;border-radius:10px!important;}

  /* ফিল্টার/সার্চ ফর্ম: ফুল-উইডথ, ২ কলাম */
  form.d-flex.flex-wrap,.filter-bar{gap:10px!important;}
  form.d-flex.flex-wrap>input,form.d-flex.flex-wrap>select{width:100%!important;flex:1 1 100%;}
  form.d-flex.flex-wrap>.btn,form.d-flex.flex-wrap>a.btn{flex:1 1 calc(50% - 5px);}
  form.d-flex.flex-wrap>.ms-auto{margin-left:0!important;flex:1 1 100%;}
  .page-content>.d-flex.justify-content-between{flex-wrap:wrap;gap:10px;}
  .page-content>.d-flex.justify-content-between>.btn,
  .page-content>.d-flex.justify-content-between>a.btn{flex:1 1 100%;}
  .page-content>.d-flex.justify-content-end{flex-wrap:wrap;}
  .page-content>.d-flex.justify-content-end>.btn{flex:1 1 calc(50% - 5px);}

  .card-body.p-4{padding:1.15rem!important;}
  .card,.search-box,.client-card,.fbox,.panel{border-radius:18px!important;}

  /* কার্ডের ভেতরের বড় সংখ্যা যেন ভেঙে না পড়ে */
  .stat-card{padding:16px 14px!important;}
  .stat-card .stat-icon{width:40px!important;height:40px!important;margin-bottom:10px!important;}
  .stat-card .stat-val{font-size:clamp(1.2rem,6vw,1.65rem)!important;word-break:break-word;}
  .stat-card .stat-lbl{font-size:.76rem!important;}
  .sum .v,.stat .v,.kpi .v{font-size:clamp(1.05rem,5.2vw,1.45rem)!important;word-break:break-word;}
  .kpi{padding:16px!important;}

  /* Modal → নিচ থেকে ওঠা শিট */
  .modal-dialog{margin:0!important;position:fixed;left:0;right:0;bottom:0;max-width:none!important;width:100%;min-height:0!important;
    transform:translate(0,100%)!important;transition:transform .32s cubic-bezier(.2,.8,.2,1)!important;}
  .modal.show .modal-dialog{transform:none!important;}
  .modal-content{border-radius:26px 26px 0 0!important;max-height:92vh;max-height:92dvh;display:flex;flex-direction:column;padding-bottom:var(--safe-b);}
  .modal-content>form{display:flex;flex-direction:column;min-height:0;}
  .modal-body{overflow-y:auto;-webkit-overflow-scrolling:touch;}
  .modal-header::before{content:'';position:absolute;top:8px;left:50%;width:42px;height:4px;margin-left:-21px;border-radius:4px;background:#d5dbe6;}
  .modal-header{position:relative;padding-top:22px;}
  .modal-footer{gap:10px;}
  .modal-footer>.btn{flex:1;}

  /* ── টেবিল → কার্ড ── */
  .stack-host{background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important;border-radius:0!important;}
  .stack-host>.card-header,.stack-host>div:not(.tscroll):not(.stack-host){background:#fff;border:1px solid var(--line)!important;border-radius:16px;margin-bottom:12px;box-shadow:var(--shadow);}
  table.stack{display:block;width:100%;border:0;background:transparent;}
  table.stack thead{display:none;}
  table.stack tbody,table.stack tfoot{display:block;width:100%;}
  table.stack tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:16px;width:100%;background:#fff;
    border:1px solid rgba(226,232,240,.8);border-radius:18px;margin:0 0 12px;padding:6px 16px 10px;box-shadow:var(--shadow);position:relative;}
  table.stack>:not(caption)>*>*{box-shadow:none!important;background:transparent!important;}
  table.stack td{display:flex!important;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:3px;min-width:0;
    padding:9px 0!important;border:0!important;text-align:left!important;font-size:.93rem!important;word-break:break-word;color:var(--ink);}
  table.stack td::before{content:attr(data-label);order:-1;font-size:.68rem;font-weight:700;color:#94a3b8;text-transform:uppercase;letter-spacing:.5px;line-height:1.2;}
  table.stack td.st-title{grid-row:1;grid-column:1/-1;font-size:1.08rem!important;font-weight:700;padding:10px 0 9px!important;
    border-bottom:1px solid #eef2f7!important;margin-bottom:2px;}
  table.stack td.st-title::before,table.stack td.st-nolabel::before,table.stack td.st-actions::before{display:none;}
  table.stack td.st-wide{grid-column:1/-1;}
  table.stack td.st-dash{display:none!important;}
  table.stack td.st-actions{grid-column:1/-1;grid-row:99;flex-direction:row;justify-content:flex-end;align-items:center;gap:8px;flex-wrap:wrap;
    border-top:1px solid #eef2f7!important;margin-top:6px;padding:12px 0 2px!important;}
  table.stack td.st-actions form{display:inline-block!important;margin:0;}
  table.stack td.st-empty{display:block!important;grid-column:1/-1;text-align:center!important;padding:28px 8px!important;}
  table.stack td.st-empty::before{display:none;}
  table.stack tr.st-emptyrow{box-shadow:none;}
  table.stack td[data-label="#"]{position:absolute;top:12px;right:14px;width:auto;padding:0!important;font-size:.72rem!important;color:#cbd5e1!important;}
  table.stack td[data-label="#"]::before{display:none;}
  table.stack td:empty{display:none!important;}
  table.stack tfoot tr{background:linear-gradient(135deg,#eff6ff,#f0f9ff);border-color:#bfdbfe;}

  /* স্ক্রল-টেবিল (মাসিক ম্যাট্রিক্স ইত্যাদি) */
  .tscroll>table{min-width:640px;}
  .tscroll{border-radius:var(--r-md);}
  .matrix-wrap{max-height:72vh!important;-webkit-overflow-scrolling:touch;}
  table.mx .c2{min-width:120px!important;left:80px!important;} table.mx .c1{min-width:80px!important;}
  table.mx{font-size:.76rem!important;}

  /* ছোট পরিসংখ্যান গ্রিড */
  .row.g-3{--bs-gutter-x:.75rem;--bs-gutter-y:.75rem;}
  .row.g-4{--bs-gutter-x:.75rem;--bs-gutter-y:1rem;}
}

/* ছোট ফোন */
@media (max-width:359.98px){
  .bn-ic{width:46px;} .bn-item{font-size:.64rem;}
  .brand-text{font-size:1rem;}
}

/* ল্যান্ডস্কেপ ফোন: বটম নেভ ছোট */
@media (max-height:480px) and (orientation:landscape){
  :root{--bnav-h:52px;--topbar-h:50px;}
  .bn-item .bn-lbl{display:none;} .bn-ic{height:34px;}
  .bottom-nav{padding-top:3px;padding-bottom:calc(3px + var(--safe-b));}
}

/* বড় স্ক্রিন */
@media (min-width:1500px){ .page-content{padding:30px 40px;} }

/* ════════ PRINT ════════ */
@media print{
  .bottom-nav,.nav-progress,.sidebar,.sidebar-overlay,.topbar,.flash-wrap,#bmSyncBanner{display:none!important;}
  .main-wrap{margin-left:0!important;}
  .page-content{padding:0!important;} .page-content>*{animation:none;}
  .tscroll{overflow:visible!important;}
}
