/* ব্যবসা হিসাব — ওয়েব ভার্সন (অ্যাপের রং ও ফন্টের সাথে মিল রেখে) */
@font-face { font-family: 'HisabBangla'; font-weight: 400; font-display: swap; src: url('fonts/HindSiliguri-Regular.ttf') format('truetype'); }
@font-face { font-family: 'HisabBangla'; font-weight: 700; font-display: swap; src: url('fonts/HindSiliguri-Bold.ttf') format('truetype'); }

:root {
  --bg: #F5F2EA;
  --surface: #FFFFFF;
  --ink: #22301F;
  --ink-soft: #5B6155;
  --primary: #1F5C42;
  --primary-dark: #143A29;
  --accent: #A9762F;
  --line: #DCD3BE;
  --danger: #9B3B2E;
  --good-bg: #E9F0E5;
  --warn-row: #F3DFA0;
  --danger-row: #F0C7BC;
  --delivered-row: #D7ECCF;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'HisabBangla', 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
  -webkit-text-size-adjust: 100%;
}
button, input, select, textarea { font: inherit; color: inherit; }

.page { max-width: 1100px; margin: 0 auto; padding: 16px; padding-bottom: 48px; }
.page.narrow { max-width: 520px; }

/* ---------- header ---------- */
.topbar { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.topbar h1 { flex: 1; min-width: 0; font-size: 19px; margin: 0; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.back { background: var(--surface); border: 0; border-radius: 999px; padding: 6px 16px; font-size: 18px; cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.08); }

/* ---------- OTP chip ---------- */
.otp-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--good-bg);
  border: 1px solid var(--primary);
  border-radius: 999px;
  padding: 3px 4px 3px 12px;
  white-space: nowrap;
}
.otp-chip .code {
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
}
.otp-chip .btn {
  padding: 4px 12px;
  font-size: 12px;
}

/* ---------- buttons ---------- */
.btn { border: 0; border-radius: 999px; padding: 9px 20px; cursor: pointer; font-weight: 700; background: var(--primary); color: #fff; white-space: nowrap; }
.btn:hover { filter: brightness(1.08); }
.btn:disabled { opacity: .5; cursor: default; }
.btn.accent { background: var(--accent); }
.btn.danger { background: var(--danger); }
.btn.dark { background: var(--primary-dark); }
.btn.light { background: var(--surface); color: var(--primary); }
.btn.ghost { background: transparent; color: var(--danger); font-size: 20px; padding: 4px 10px; }
.btn.small { padding: 5px 14px; font-size: 13px; }
.btn.faded { opacity: .45; }
/* বাটন পুরো স্ক্রিন জুড়ে নয় — লেখার মাপে, নিজের জায়গায় */
.btn.block { display: inline-block; width: auto; margin: 0 8px 8px 0; }
.btn-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 8px; }
.btn-stack .btn.block { margin: 0; }
.btn-center { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 8px 0; }
.btn-center .btn.block { margin: 0; }
.row-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }

/* ---------- date bar ---------- */
.datebar { display: flex; align-items: center; gap: 10px; background: var(--primary); color: #fff; border-radius: 16px; padding: 6px 8px 6px 14px; margin-bottom: 12px; }
.datebar .d { flex: 1; font-weight: 700; font-size: 15px; }
.datebar input[type=date] { border: 0; border-radius: 999px; padding: 4px 6px; font-size: 13px; }

/* ---------- stat boxes ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
.stat { background: var(--surface); padding: 10px 12px; border-radius: 14px; min-width: 0; }
.stat.good { background: var(--good-bg); }
.stat .l { font-size: 12px; color: var(--ink-soft); }
.stat .v { font-size: 18px; font-weight: 700; overflow-wrap: anywhere; }
.stat input { width: 100%; border: 0; background: transparent; font-size: 18px; font-weight: 700; padding: 0; outline: none; }
.stat input:focus { border-bottom: 2px solid var(--primary); }
.pos { color: var(--primary); }
.neg { color: var(--danger); }
.soft { color: var(--ink-soft); }
.note { color: var(--ink-soft); font-size: 13px; margin: 4px 0 10px; }
.note.link { cursor: pointer; text-decoration: underline dotted; }

/* ---------- tiles / cards ---------- */
.tile { display: block; width: 100%; text-align: left; border: 0; background: var(--surface); border-radius: 16px; padding: 16px; margin-bottom: 12px; cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.tile:hover { box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.tile b { display: block; font-size: 17px; }
.tile span { color: var(--ink-soft); font-size: 13px; }
.tile.good { background: var(--good-bg); }
.tile.accent { background: var(--accent); color: #fff; display: flex; align-items: center; }
.tile.accent b { flex: 1; font-size: 16px; }
.tile.accent span { color: #fff; font-weight: 700; }
.tile.notice { background: var(--primary); color: #fff; display: flex; align-items: center; }
.tile.notice b { font-size: 16px; }
.tile.notice span { color: #E9F0E5; }
.tile.notice > span { color: #fff; font-weight: 700; }
textarea.notice-input { width: 100%; min-height: 90px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; resize: vertical; background: #fff; }
.notice-text { white-space: pre-wrap; font-size: 15px; overflow-wrap: anywhere; }
.card { background: var(--surface); border-radius: 16px; padding: 12px 14px; margin-bottom: 12px; }
.card.good { background: var(--good-bg); }
.card.click { cursor: pointer; }
.card h3 { margin: 0 0 2px; font-size: 16px; }
.card .sub { color: var(--ink-soft); font-size: 12.5px; margin-bottom: 8px; }
.mini-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 6px; }
.mini-stats .l { font-size: 11px; color: var(--ink-soft); }
.mini-stats .v { font-weight: 700; }
.boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 8px; }
.boxes > div { background: var(--bg); padding: 8px 10px; border-radius: 6px; }
.boxes > div.good { background: var(--good-bg); }
.boxes .l { font-size: 11px; color: var(--ink-soft); }
.boxes .v { font-weight: 700; font-size: 15px; }
h2.section { font-size: 15px; margin: 18px 0 8px; }

/* ---------- tables ---------- */
.tablewrap { overflow-x: auto; background: var(--surface); border-radius: 8px; -webkit-overflow-scrolling: touch; }
table.grid { border-collapse: collapse; min-width: 100%; }
table.grid th { background: var(--bg); text-align: left; font-size: 13px; padding: 8px 8px; white-space: nowrap; border-bottom: 1px solid var(--line); }
table.grid td { padding: 3px 4px; border-bottom: 1px solid #efe9da; vertical-align: middle; }
table.grid td.ro { padding: 6px 8px; font-size: 14px; }
table.grid input, table.grid select {
  width: 100%; min-width: 110px; border: 1px solid transparent; background: transparent; padding: 6px 6px; border-radius: 6px; outline: none;
}
table.grid input:hover { border-color: var(--line); }
table.grid input:focus, table.grid select:focus { border-color: var(--primary); background: #fff; }
table.grid input:disabled { color: var(--ink-soft); }
table.grid input.cr { color: var(--primary); font-weight: 700; }
table.grid input.bad { color: var(--danger); border-color: var(--danger); }
table.grid tr.locked td { background: var(--good-bg); }
table.grid tr.archived td { background: var(--bg); }
table.grid tr.pending td { color: var(--ink-soft); }
table.grid tr.row-danger td { background: var(--danger-row); }
table.grid tr.row-warn td { background: var(--warn-row); }
table.grid tr.row-delivered td { background: var(--delivered-row); }
table.grid tfoot td { font-weight: 700; background: var(--good-bg); padding: 8px; }
.cellflex { display: flex; align-items: center; gap: 4px; }
.cellflex input { min-width: 100px; }
.warn { color: var(--danger); font-size: 11px; padding: 0 6px 2px; }
.tag { font-size: 12px; color: var(--primary); white-space: nowrap; padding: 0 6px; }
.num { text-align: right; }
select.status { font-weight: 700; min-width: 120px; }

/* ---------- forms ---------- */
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 13px; color: var(--ink-soft); margin-bottom: 4px; }
.field input { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.status-text { color: var(--danger); min-height: 22px; margin-top: 8px; font-size: 14px; }
.hero { text-align: center; padding: 40px 0 24px; }
.hero h1 { font-size: 28px; margin: 0; color: var(--primary); }
/* M.B.D.T.C লোগো */
.hero-logo { display: block; width: 110px; height: 110px; margin: 0 auto 14px; border-radius: 50%; box-shadow: 0 6px 18px rgba(14,31,84,.22); }
.topbar-logo { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.hero p { color: var(--ink-soft); margin: 6px 0 0; }

/* ---------- report view ---------- */
iframe.report { width: 100%; height: calc(100vh - 170px); min-height: 400px; border: 0; background: #fff; border-radius: 8px; }

/* ---------- modal ---------- */
.modal-back { position: fixed; inset: 0; background: rgba(0,0,0,.35); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 50; }
.modal { background: #fff; border-radius: 12px; padding: 18px; width: 100%; max-width: 420px; max-height: 90vh; overflow: auto; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.modal h3 { margin: 0 0 8px; font-size: 17px; }
.modal p { margin: 0 0 12px; color: var(--ink-soft); white-space: pre-line; }
.modal input { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 12px; }
.modal .actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #22301F; color: #fff; padding: 10px 16px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 60; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: .95; }

.notif { cursor: pointer; }
.notif.unread { background: var(--good-bg); }
.notif .t { font-weight: 700; }
.notif .time { font-size: 11px; color: var(--ink-soft); margin-top: 4px; }

@media (max-width: 480px) {
  .page { padding: 12px; }
  .stat .v, .stat input { font-size: 16px; }
  .topbar h1 { font-size: 17px; }
}
@media print {
  .noprint { display: none !important; }
}

a.btn { text-decoration: none; display: inline-block; }

/* ---------- নতুন নকশা (ছবির মতো) ---------- */
.topbar h1 { font-size: 21px; }
/* হোম: বড় লোগো + M.B.D.T.C */
.home-top .topbar-logo { width: 60px; height: 60px; }
.home-top h1 { font-size: 30px; letter-spacing: .5px; }
.tile b { font-size: 20px; }
.tile span { font-size: 14px; }
.tile.notice b { font-size: 19px; }

/* অন্যান্য আয় ও খরচ */
.ledger-total { display: flex; align-items: center; background: var(--surface); border-radius: 6px; padding: 16px; margin-bottom: 14px; }
.ledger-total span { flex: 1; color: var(--ink-soft); font-size: 15px; }
.ledger-total.strong span { color: var(--ink); font-weight: 700; font-size: 18px; }
.ledger-total b { font-size: 22px; }
.tablewrap.ledger { border-radius: 0; }
.tablewrap.ledger table.grid th { background: var(--line); font-size: 16px; padding: 10px 10px; }
table.grid th.act, table.grid td.act { width: 1%; text-align: right; white-space: nowrap; }

/* নামজারি: মূল সারি + বিস্তারিত */
table.grid tr.nj-detail > td { padding: 4px 4px 10px 24px; }
table.grid tr.nj-detail .tablewrap { background: transparent; }
table.grid tr.nj-detail th { background: transparent; border-bottom: 0; font-size: 14px; }
table.grid tr.nj-detail td { border-bottom: 0; }
/* মূল টেবিল ফোনের পর্দায় ধরে যায়; খোলা বিস্তারিত নিজের ভেতরে পাশে স্ক্রল হয় */
table.grid.nj-main { table-layout: fixed; width: 100%; }
table.grid.nj-main > thead th:nth-child(1) { width: 11%; }
table.grid.nj-main > thead th:nth-child(2), table.grid.nj-main > thead th:nth-child(3) { width: 25%; }
table.grid.nj-main > thead th:nth-child(4) { width: 20%; }
table.grid.nj-main > thead th:nth-child(5) { width: 19%; }
table.grid.nj-main > thead th { white-space: normal; font-size: 14px; }
table.grid.nj-main > tbody > tr:not(.nj-detail) input { min-width: 0; padding: 6px 2px; font-size: 14px; }
table.grid.nj-main > tbody > tr:not(.nj-detail) .btn.small { padding: 5px 10px; }
table.grid.nj-main tr.nj-detail > td { padding: 4px 4px 10px 16px; }
table.grid.nj-main tr.nj-detail .tablewrap { width: 100%; }
table.grid.nj-main tr.nj-detail table.grid { width: max-content; min-width: 0; }
@media (max-width: 480px) {
  table.grid.nj-main > tbody > tr:not(.nj-detail) input { font-size: 12.5px; }
}
table.grid.nj-main tr.nj-detail table.grid input { width: 120px; min-width: 0; }
table.grid.nj-main tr.nj-detail table.grid .cellflex input { width: 115px; }
table.grid.nj-main tr.nj-detail table.grid select.status { width: 130px; }

/* ট্যাক্স টেবিল (ছবির মতো): সাদা হেডার, "সাবমিট" লেবেল, হেডারে "+ নতুন সারি", নিচে "মোট=" */
.tablewrap.tax-table { border-radius: 0; margin-top: 14px; }
.tablewrap.tax-table table.grid th { background: var(--surface); font-size: 16px; padding: 14px 10px; }
.pill-label { display: inline-block; background: var(--primary); color: #fff; border-radius: 999px; padding: 3px 12px; font-size: 12px; }
table.grid tfoot td.foot-blank { background: var(--surface); }
table.grid tfoot td.foot-total { background: var(--bg); font-size: 15px; }

/* ---------- সব টেবিলে লাইন (গ্রিড) আর ক্রমিক নং ---------- */
table.grid { border-collapse: collapse; }
table.grid th, table.grid td { border: 1px solid #B4A98F; }
table.grid th.sl, table.grid td.sl { width: 1%; min-width: 46px; text-align: center; white-space: nowrap; font-weight: 700; padding: 6px 6px; }
table.grid th.sl { font-size: 12px; white-space: normal; }
table.grid.nj-main th.sl, table.grid.nj-main td.sl { min-width: 0; padding: 6px 2px; }
/* বিস্তারিত অংশের ভেতরের টেবিলের নিজের লাইন থাকে — বাইরের ঘরের লাইন বাদ */
table.grid tr.nj-detail > td { border-top: 0; }
table.grid.nj-main tr.nj-detail table.grid th { border: 1px solid #B4A98F; }
table.grid.nj-main tr.nj-detail table.grid td { border: 1px solid #B4A98F; }
/* ফোনে নামজারি মূল টেবিল: তারিখ পুরো দেখা যাবে */
table.grid.nj-main > thead th:nth-child(1) { width: 11%; }
table.grid.nj-main > thead th:nth-child(2), table.grid.nj-main > thead th:nth-child(3) { width: 27%; }
table.grid.nj-main > thead th:nth-child(4) { width: 17%; }
table.grid.nj-main > thead th:nth-child(5) { width: 18%; }
table.grid.nj-main > thead th { padding: 8px 4px; }
table.grid.nj-main > tbody > tr:not(.nj-detail) > td { padding: 3px 2px; }
table.grid.nj-main > tbody > tr:not(.nj-detail) .btn.small { padding: 5px 8px; font-size: 12px; }
table.grid.nj-main input[type=date]::-webkit-calendar-picker-indicator { margin-left: 1px; padding: 0; width: 12px; }
/* অন্যান্য: টেবিল পর্দার মাপে */
.tablewrap.ledger table.grid { table-layout: fixed; width: 100%; }
.tablewrap.ledger table.grid input { min-width: 0; }
.tablewrap.ledger table.grid th.sl, .tablewrap.ledger table.grid td.sl { width: 13%; min-width: 0; }
.tablewrap.ledger table.grid th.act, .tablewrap.ledger table.grid td.act { width: 30%; }
.tablewrap.ledger table.grid th.act .btn { padding: 5px 10px; font-size: 12px; }
@media (max-width: 480px) { .tablewrap.ledger table.grid th { font-size: 14px; padding: 8px 6px; } }
.tablewrap.ledger table.grid th.ty { width: 34%; }
.tablewrap.ledger table.grid th { white-space: normal; }
/* নামজারি খরচ টেবিল (শুধু দেখা) */
.tablewrap.ledger.nj-cost table.grid th.ty { width: 45%; }
.tablewrap.ledger.nj-cost table.grid td.ro { padding: 10px 8px; }
/* নামজারি মূল টেবিল: "সাবমিট" কলাম যোগ হওয়ায় ফোনে পাশে স্ক্রল করে */
table.grid.nj-main { min-width: 600px; }
table.grid.nj-main > thead th:nth-child(1) { width: 8%; }
table.grid.nj-main > thead th:nth-child(2), table.grid.nj-main > thead th:nth-child(3) { width: 21%; }
table.grid.nj-main > thead th:nth-child(4) { width: 18%; }
table.grid.nj-main > thead th:nth-child(5) { width: 16%; }
table.grid.nj-main > thead th:nth-child(6) { width: 16%; }
/* শেয়ার করা বিকাশ OTP চিপ (টাইটেল বারে) */
.otp-chip { display: flex; align-items: center; gap: 6px; background: var(--good-bg); border: 1px solid var(--primary); border-radius: 999px; padding: 3px 4px 3px 12px; white-space: nowrap; }
.otp-chip .code { color: var(--primary); font-size: 14px; }
.otp-chip .btn.small { padding: 4px 12px; }
.topbar { gap: 8px; flex-wrap: wrap; }
/* নামজারি বিস্তারিত পেজ: প্রতি ঘর আলাদা লাইনে */
.nj-field { margin-bottom: 12px; }
.nj-field > label { display: block; font-size: 13px; color: var(--ink-soft); margin-bottom: 4px; }
.nj-field input, .nj-field select { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: #fff; }
.nj-field .cellflex input { width: auto; flex: 1; }
.nj-field .warn { padding: 2px 0 0; }

/* ভাসমান OTP চিপ (ওয়েব) — সব পেজে নিচের কোণায় */
.otp-chip.otp-float { position: fixed; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 900; background: var(--good-bg); box-shadow: 0 4px 14px rgba(0,0,0,.22); padding: 6px 6px 6px 14px; }
.otp-chip.otp-float .code { cursor: pointer; font-size: 15px; }
.otp-chip.otp-float .btn.small { padding: 7px 16px; font-size: 13px; }

/* ---------- বাকি খাতা (৭ কলাম — ফোনে পাশে স্ক্রল হয়) ---------- */
.tablewrap.ledger table.grid.baki { min-width: 760px; }
.tablewrap.ledger table.grid.baki th.sl, .tablewrap.ledger table.grid.baki td.sl { width: 7%; }
.tablewrap.ledger table.grid.baki th.ty { width: 20%; }
.tablewrap.ledger table.grid.baki th.act, .tablewrap.ledger table.grid.baki td.act { width: 17%; }
.tablewrap.ledger table.grid.baki td.ro { padding: 8px; }

/* Owner-এর "নিজে সংশোধন" ফর্ম */
.modal.owner-edit { max-height: 88vh; overflow-y: auto; }
.owner-edit-field { display: block; margin: 8px 0; }
.owner-edit-field span { display: block; font-size: 12px; color: var(--ink-soft); margin-bottom: 3px; }
.owner-edit-field input, .owner-edit-field select { width: 100%; box-sizing: border-box; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: #fff; }

/* OTP ঘর — উপরে (টাইটেল লাইনের ডানে); টাইটেল লাইন না থাকলে উপরের ডান কোণে */
.otp-chip.otp-top { position: fixed; right: 14px; top: calc(10px + env(safe-area-inset-top, 0px)); z-index: 900; box-shadow: 0 2px 8px rgba(0,0,0,.15); padding: 5px 5px 5px 14px; }
.otp-chip.otp-top.in-bar { position: static; box-shadow: none; margin-left: auto; flex: none; }
.otp-chip.otp-top .code { cursor: pointer; font-size: 15px; }
.otp-chip.otp-top .btn.small { padding: 6px 16px; font-size: 13px; }

/* ---------- গ্রুপ চ্যাট ---------- */
.chat-fab { position: fixed; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 850; display: flex; align-items: center; gap: 6px;
  background: var(--primary); color: #fff; border: 0; border-radius: 999px; padding: 12px 18px; font-weight: 700; font-size: 16px; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.chat-fab .ico { font-size: 20px; line-height: 1; }
.chat-fab .badge { background: var(--danger); color: #fff; border-radius: 999px; min-width: 22px; height: 22px; padding: 0 6px; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.chat-list { display: flex; flex-direction: column; gap: 8px; padding-bottom: 90px; }
.chat-msg { max-width: 82%; padding: 8px 12px 6px; border-radius: 14px; background: var(--surface); box-shadow: 0 1px 2px rgba(0,0,0,.06); overflow-wrap: anywhere; }
.chat-msg.other { align-self: flex-start; border-top-left-radius: 4px; }
.chat-msg.mine { align-self: flex-end; background: var(--good-bg); border-top-right-radius: 4px; }
.chat-msg.owner.other { border-left: 3px solid var(--accent); }
.chat-who { font-size: 12px; font-weight: 700; color: var(--primary); margin-bottom: 2px; }
.chat-msg.owner .chat-who { color: var(--accent); }
.chat-text { white-space: pre-wrap; font-size: 15px; }
.chat-meta { display: flex; align-items: center; justify-content: flex-end; gap: 6px; font-size: 11px; color: var(--ink-soft); margin-top: 2px; }
.chat-del { border: 0; background: transparent; color: var(--danger); font-size: 15px; cursor: pointer; padding: 0 2px; line-height: 1; }
.chat-compose { position: fixed; left: 0; right: 0; bottom: 0; z-index: 800; display: flex; gap: 8px; align-items: flex-end; background: var(--bg);
  padding: 10px max(16px, calc((100vw - 1100px) / 2 + 16px)) calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.chat-compose textarea { flex: 1; resize: none; border: 1px solid var(--line); border-radius: 18px; padding: 9px 14px; background: #fff; min-height: 40px; max-height: 120px; }
.chat-compose textarea:focus { outline: none; border-color: var(--primary); }

/* লগইনের কোডের ঘর */
.code-input { font-size: 24px !important; letter-spacing: 8px; text-align: center; font-weight: 700; }
.code-input::placeholder { letter-spacing: normal; font-size: 16px; font-weight: 400; }

/* আগের দিন থেকে আসা অসম্পূর্ণ সারি — "⏳ ১০ অক্টোবর থেকে · আর ৪ দিন" */
.carry-note { font-size: 11px; color: var(--accent); white-space: nowrap; margin-top: 2px; }
.carry-note.urgent { color: var(--danger); font-weight: 700; }

.late-caption { caption-side: bottom; text-align: left; font-size: 12px; color: var(--primary); padding: 8px 6px; }
.datebar select { color: var(--ink); background: #fff; border: 0; border-radius: 999px; padding: 6px 12px; font-weight: 700; }


/* ---------- আপডেট থেকে আসা নতুন নকশা ---------- */
.userbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.userbar .chip { background: #2B5C9A; color: #fff; padding: 5px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.btn.green { background: #2E9E3E; color: #fff; }
/* হোম পেজের চার রঙের বাটন */
.tile.c-tax, .tile.c-namjari, .tile.c-other, .tile.c-hisab { color: #fff; text-align: center; padding: 22px 16px; }
.tile.c-tax b, .tile.c-namjari b, .tile.c-other b, .tile.c-hisab b { font-size: 20px; }
.tile.c-tax { background: #2B5C9A; }
.tile.c-namjari { background: #FF8000; }
.tile.c-other { background: #808080; }
.tile.c-hisab { background: #4FA83D; }
.powered { text-align: center; color: var(--ink-soft); font-size: 13px; margin-top: 36px; }
/* Owner-এর কমেন্ট ও রিঅ্যাক্ট */
.remark { min-width: 200px; }
.remark input { width: 100%; }
.reacts { display: flex; gap: 2px; margin-top: 4px; flex-wrap: wrap; }
.react-btn { border: 1px solid transparent; background: transparent; border-radius: 999px; padding: 2px 6px; font-size: 16px; cursor: pointer; opacity: .55; line-height: 1.2; }
.react-btn:hover { opacity: 1; background: rgba(0,0,0,.05); }
.react-btn.on { opacity: 1; border-color: var(--accent, #2B5C9A); background: rgba(43,92,154,.12); }
