/* QuickDone UI. Tokens first, then components. Greens are sampled from the logo (#47D28C top -> #0EA05F bottom). */
:root {
  --qd-g300: #8fe3b8; --qd-g400: #47d28c; --qd-g500: #17b569; --qd-g600: #0ea05f; --qd-g700: #0a7f49; --qd-g800: #086b3d; --qd-g900: #0c3a28;
  --qd-bg: #f7faf8; --qd-surface: #ffffff; --qd-surface-2: #eef3f0; --qd-line: #dde5e1;
  --qd-ink: #16211b; --qd-ink-2: #55625b; --qd-ink-3: #85908a;
  --qd-link: #0a7f49; --qd-btn: #0a7f49; --qd-btn-hover: #086b3d;
  --qd-amber: #f0a62a; --qd-danger: #d64545; --qd-info: #3b82c4;
  --qd-radius: 14px;
  --qd-shadow-sm: 0 1px 2px rgba(22, 33, 27, .08);
  --qd-shadow: 0 1px 2px rgba(22, 33, 27, .06), 0 12px 30px -10px rgba(22, 33, 27, .18);
  --qd-font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Nirmala UI", "Noto Sans Bengali", Kalpurush, Roboto, sans-serif;

  --bs-body-bg: var(--qd-bg); --bs-body-color: var(--qd-ink); --bs-body-font-family: var(--qd-font);
  --bs-border-color: var(--qd-line);
  --bs-link-color: var(--qd-link); --bs-link-hover-color: var(--qd-g800);
  --bs-link-color-rgb: 10, 127, 73; --bs-link-hover-color-rgb: 8, 107, 61;
}
[data-theme="dark"] {
  --qd-bg: #0e1512; --qd-surface: #151f1a; --qd-surface-2: #1c2923; --qd-line: #27372f;
  --qd-ink: #e6efe9; --qd-ink-2: #a4b4ab; --qd-ink-3: #73857b;
  --qd-link: #47d28c; --qd-btn: #12a15f; --qd-btn-hover: #17b569;
  --qd-shadow-sm: 0 1px 2px rgba(0, 0, 0, .45);
  --qd-shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 14px 32px -10px rgba(0, 0, 0, .6);
  --bs-link-hover-color: var(--qd-g300);
  --bs-link-color-rgb: 71, 210, 140; --bs-link-hover-color-rgb: 143, 227, 184;
}

/* ---- base ---- */
html { color-scheme: light; }
[data-theme="dark"] { color-scheme: dark; }
body { background: var(--qd-bg); color: var(--qd-ink); font-family: var(--qd-font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { letter-spacing: -.01em; }
img, svg, video { max-width: 100%; } img { height: auto; }
h1, h2, h3, h4, p, a, span, li { overflow-wrap: break-word; }
::selection { background: rgba(23, 181, 105, .28); }
:focus-visible { outline: 3px solid rgba(23, 181, 105, .45); outline-offset: 2px; }

/* ---- Bootstrap bridge ---- */
.btn { border-radius: 10px; font-weight: 600; padding: .55rem 1.1rem; }
.btn-lg { padding: .75rem 1.4rem; border-radius: 12px; font-size: 1.02rem; }
.btn-primary {
  --bs-btn-color: #fff; --bs-btn-hover-color: #fff; --bs-btn-active-color: #fff;
  --bs-btn-bg: var(--qd-btn); --bs-btn-border-color: var(--qd-btn);
  --bs-btn-hover-bg: var(--qd-btn-hover); --bs-btn-hover-border-color: var(--qd-btn-hover);
  --bs-btn-active-bg: var(--qd-btn-hover); --bs-btn-active-border-color: var(--qd-btn-hover);
  --bs-btn-disabled-bg: var(--qd-btn); --bs-btn-disabled-border-color: var(--qd-btn);
  --bs-btn-focus-shadow-rgb: 23, 181, 105;
}
.btn-outline-secondary {
  --bs-btn-color: var(--qd-ink-2); --bs-btn-border-color: var(--qd-line);
  --bs-btn-hover-bg: var(--qd-surface-2); --bs-btn-hover-color: var(--qd-ink); --bs-btn-hover-border-color: var(--qd-ink-3);
  --bs-btn-active-bg: var(--qd-surface-2); --bs-btn-active-color: var(--qd-ink); --bs-btn-active-border-color: var(--qd-ink-3);
}
.btn-link { color: var(--qd-link); text-decoration: none; font-weight: 600; }
.btn.is-busy { opacity: .7; pointer-events: none; }
.form-control, .form-select { background-color: var(--qd-surface); border-color: var(--qd-line); color: var(--qd-ink); border-radius: 10px; padding: .6rem .8rem; }
.form-control:focus, .form-select:focus { background-color: var(--qd-surface); border-color: var(--qd-g500); box-shadow: 0 0 0 .22rem rgba(23, 181, 105, .22); color: var(--qd-ink); }
.form-control:disabled, .form-control[readonly] { background: var(--qd-surface-2); color: var(--qd-ink-2); }
.form-check-input:checked { background-color: var(--qd-g600); border-color: var(--qd-g600); }
.dropdown-menu {
  --bs-dropdown-bg: var(--qd-surface); --bs-dropdown-border-color: var(--qd-line); --bs-dropdown-link-color: var(--qd-ink);
  --bs-dropdown-link-hover-bg: var(--qd-surface-2); --bs-dropdown-link-hover-color: var(--qd-ink);
  --bs-dropdown-link-active-bg: var(--qd-surface-2); --bs-dropdown-link-active-color: var(--qd-ink);
  border-radius: 12px; box-shadow: var(--qd-shadow);
}

/* ---- brand + avatar ---- */
.qd-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; color: var(--qd-ink); text-decoration: none; }
.qd-brand:hover { color: inherit; }
.qd-brand img { border-radius: 10px; }
.qd-brand--light, .qd-brand--light:hover { color: #fff; }
.qd-avatar { --h: 150; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-size: .78rem; font-weight: 700; color: #fff; background: hsl(var(--h) 48% 38%); flex: none; }
.qd-avatar img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.qd-avatar.has-photo { background: var(--qd-surface-2); }
.qd-avatar--xl { width: 96px; height: 96px; font-size: 2rem; }
.qd-credit { color: var(--qd-ink-3); font-size: .85rem; text-align: center; }
.qd-credit a { font-weight: 600; }

/* ---- decorative mini board ---- */
.qd-mock { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.qd-mock__col { display: grid; gap: 8px; align-content: start; min-height: 150px; padding: 10px; border-radius: 14px; background: var(--qd-surface-2); }
.qd-mock__col b { padding: 2px 4px; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--qd-ink-3); }
.qd-mock__col i { --c: var(--qd-g500); position: relative; display: block; height: 50px; border-radius: 10px; background: #fff; box-shadow: var(--qd-shadow-sm); border-left: 4px solid var(--c); }
.qd-mock__col i.s1 { --c: var(--qd-g500); } .qd-mock__col i.s2 { --c: var(--qd-amber); } .qd-mock__col i.s3 { --c: var(--qd-info); }
.qd-mock__col i u { position: absolute; left: 12px; right: 22px; top: 13px; height: 7px; border-radius: 4px; background: #dfe7e2; }
.qd-mock__col i u::after { content: ""; position: absolute; left: 0; top: 16px; width: 55%; height: 7px; border-radius: 4px; background: #dfe7e2; opacity: .7; }
.qd-mock__col i.ok::before { content: ""; position: absolute; right: 11px; top: 14px; width: 10px; height: 5px; border-left: 2.5px solid var(--qd-g500); border-bottom: 2.5px solid var(--qd-g500); transform: rotate(-45deg); }

/* ---- sign-in / sign-up shell ---- */
.qd-auth { min-height: 100vh; display: grid; grid-template-columns: minmax(360px, .9fr) 1.1fr; }
.qd-auth__brand {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 36px;
  padding: 44px 52px; color: #eafaf1;
  background: radial-gradient(900px 420px at 8% -5%, rgba(71, 210, 140, .85), transparent 62%), linear-gradient(165deg, #0ea05f 0%, #0a7f49 52%, #0c3a28 100%);
}
.qd-auth__brand::before { content: ""; position: absolute; right: -90px; bottom: -110px; width: 380px; height: 380px; border-radius: 50%; border: 46px solid rgba(255, 255, 255, .07); }
.qd-auth__brand::after { content: ""; position: absolute; right: 52px; bottom: 74px; width: 78px; height: 40px; border-left: 15px solid rgba(255, 255, 255, .14); border-bottom: 15px solid rgba(255, 255, 255, .14); border-radius: 4px; transform: rotate(-45deg); }
.qd-auth__brand .qd-mock__col { background: rgba(255, 255, 255, .13); }
.qd-auth__brand .qd-mock__col b { color: rgba(255, 255, 255, .78); }
.qd-auth__pitch h2 { margin: 0 0 12px; font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 800; line-height: 1.1; }
.qd-auth__pitch p { margin: 0; max-width: 34ch; font-size: 1.05rem; opacity: .9; }
.qd-auth__main { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 32px 20px; }
.qd-auth__mobilebrand { display: none; }
.qd-auth__card { width: 100%; max-width: 440px; padding: 34px 32px; border: 1px solid var(--qd-line); border-radius: 20px; background: var(--qd-surface); box-shadow: var(--qd-shadow); }
.qd-auth__title { margin: 0 0 6px; font-size: 1.65rem; font-weight: 800; }
.qd-auth__sub { margin: 0 0 22px; color: var(--qd-ink-2); }
.qd-auth__alt { margin: 22px 0 0; text-align: center; color: var(--qd-ink-2); }
.qd-auth__alt a { font-weight: 600; }
.qd-auth__legal { margin: 14px 0 0; color: var(--qd-ink-3); font-size: .82rem; text-align: center; }

/* language button: a pill on the sign-in pages and the landing page (inside the app it is an item of the user menu) */
.qd-lang { display: inline-block; margin: 0; }
.qd-langbtn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 1px solid var(--qd-line); border-radius: 999px; background: var(--qd-surface); color: var(--qd-ink-2); font-size: .88rem; font-weight: 600; cursor: pointer; }
.qd-langbtn:hover { border-color: var(--qd-ink-3); color: var(--qd-ink); }
.qd-auth__lang { position: absolute; top: 16px; right: 16px; }

/* ---- forms ---- */
.qd-form { display: grid; gap: 16px; }
.qd-field { display: grid; gap: 6px; }
.qd-field label { margin: 0; font-size: .9rem; font-weight: 600; }
.qd-field__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.qd-field__hint { color: var(--qd-ink-3); font-size: .8rem; }
.qd-field__err { color: var(--qd-danger); font-size: .82rem; }
.qd-field__err:empty { display: none; }
.qd-alert { padding: 10px 14px; border: 1px solid rgba(214, 69, 69, .3); border-radius: 12px; background: rgba(214, 69, 69, .1); color: var(--qd-danger); font-size: .9rem; }
.qd-alert.validation-summary-valid { display: none; }
.qd-alert ul { margin: 0; padding-left: 1.1rem; }
.qd-check { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--qd-ink-2); font-size: .92rem; cursor: pointer; }
.qd-pw { position: relative; }
.qd-pw .form-control { padding-right: 2.8rem; }
.qd-pw__btn { position: absolute; right: 4px; top: 50%; width: 38px; height: 38px; border: 0; border-radius: 8px; background: transparent; color: var(--qd-ink-3); transform: translateY(-50%); }
.qd-pw__btn:hover { background: var(--qd-surface-2); color: var(--qd-ink); }
.qd-resend { margin-top: 10px; text-align: center; }
.qd-notice { text-align: center; }
.qd-notice__icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 20px; background: rgba(23, 181, 105, .14); color: var(--qd-g700); font-size: 1.8rem; transform: rotate(-4deg); }
[data-theme="dark"] .qd-notice__icon { color: var(--qd-g400); }
.qd-notice .btn { margin-top: 8px; }
.qd-notice__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.qd-devlink { margin: 14px 0; padding: 12px 14px; border: 1px dashed var(--qd-amber); border-radius: 12px; background: rgba(240, 166, 42, .1); text-align: left; font-size: .85rem; word-break: break-all; }
.qd-devlink strong { display: block; margin-bottom: 4px; }

/* ---- signed-in app shell: one header (brand, a pill menu in the middle, the tools on the right) over the whole page, no side column,
   so a board gets the full width; a floating dock replaces the menu on phones ---- */
.qd-shell { min-height: 100vh; }
.qd-main { display: flex; flex-direction: column; min-width: 0; min-height: 100vh; }
.qd-top { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 12px clamp(16px, 3vw, 32px); border-bottom: 1px solid var(--qd-line); background: var(--qd-bg); }
@supports (background: color-mix(in srgb, red, blue)) { .qd-top { background: color-mix(in srgb, var(--qd-bg) 86%, transparent); backdrop-filter: blur(10px); } }
.qd-top__left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.qd-top__title { display: none; min-width: 0; overflow: hidden; font-size: 1.05rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.qd-top__right { display: flex; align-items: center; gap: 8px; }
.qd-top .qd-iconbtn, .qd-top .qd-searchbtn, .qd-top .qd-userbtn { border-radius: 99px; }
/* the menu: a white pill; the page you are on is lit green, its icon filled and tilted like the other icon tiles of the site */
.qd-nav { justify-self: center; display: inline-flex; gap: 2px; box-sizing: border-box; height: 38px; padding: 3px; border: 1px solid var(--qd-line); border-radius: 99px; background: var(--qd-surface); }
.qd-nav__i { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px; border-radius: 99px; color: var(--qd-ink-2); font-size: .9rem; font-weight: 600; line-height: 1; white-space: nowrap; text-decoration: none; transition: background .15s, color .15s; }
.qd-nav__i i { font-size: 1.05rem; line-height: 1; transition: transform .2s cubic-bezier(.2, .8, .2, 1), color .15s; }
a.qd-nav__i:hover { background: var(--qd-surface-2); color: var(--qd-ink); }
.qd-nav__i.is-active, a.qd-nav__i.is-active:hover { background: rgba(23, 181, 105, .16); color: var(--qd-g800); }
.qd-nav__i.is-active i { color: var(--qd-g600); transform: rotate(-6deg) scale(1.08); }
[data-theme="dark"] .qd-nav__i.is-active, [data-theme="dark"] a.qd-nav__i.is-active:hover { color: var(--qd-g300); }
[data-theme="dark"] .qd-nav__i.is-active i { color: var(--qd-g400); }
.qd-nav .qd-unread--nav { position: absolute; top: -5px; right: -3px; box-sizing: border-box; min-width: 18px; height: 18px; margin: 0; padding: 0 3px; border: 2px solid var(--qd-surface); font-size: .62rem; }
.qd-iconbtn { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--qd-line); border-radius: 10px; background: var(--qd-surface); color: var(--qd-ink-2); }
.qd-iconbtn:hover { border-color: var(--qd-ink-3); color: var(--qd-ink); }
.qd-userbtn { display: flex; align-items: center; gap: 10px; padding: 4px 12px 4px 4px; border: 1px solid var(--qd-line); border-radius: 99px; background: var(--qd-surface); color: var(--qd-ink); font-size: .9rem; font-weight: 600; }
.qd-userbtn { box-sizing: border-box; height: 38px; padding: 0 12px 0 4px; }   /* as tall as the other header controls, so the header is exactly --qd-top-h */
.qd-userbtn .qd-avatar { width: 28px; height: 28px; font-size: .7rem; }
.qd-userbtn.is-active { border-color: var(--qd-g500); }
.qd-userbtn__name { max-width: 16ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qd-menu { min-width: 230px; padding: 8px; }
.qd-menu .dropdown-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; }
.qd-menu__head { display: grid; margin-bottom: 6px; padding: 8px 10px 10px; border-bottom: 1px solid var(--qd-line); }
.qd-menu__head span { color: var(--qd-ink-3); font-size: .82rem; overflow-wrap: anywhere; }
.qd-content { flex: 1; padding: clamp(18px, 3vw, 34px) clamp(16px, 3vw, 32px); }
.qd-foot { padding: 16px; color: var(--qd-ink-3); font-size: .82rem; text-align: center; }
.qd-page-head h1 { margin: 0 0 4px; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; }
.qd-page-head p { margin: 0 0 22px; color: var(--qd-ink-2); }
.qd-card { padding: 24px; border: 1px solid var(--qd-line); border-radius: var(--qd-radius); background: var(--qd-surface); box-shadow: var(--qd-shadow-sm); }
.qd-card__title { margin: 0 0 4px; font-size: 1.05rem; font-weight: 700; }
.qd-empty { padding: clamp(32px, 7vw, 72px) 20px; border: 2px dashed var(--qd-line); border-radius: 22px; background: var(--qd-surface); text-align: center; }
.qd-empty__icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 22px; background: rgba(23, 181, 105, .13); color: var(--qd-g600); font-size: 2rem; transform: rotate(-4deg); }
.qd-empty h2 { font-size: 1.25rem; font-weight: 800; }
.qd-empty p { max-width: 46ch; margin: 6px auto 0; color: var(--qd-ink-2); }
.qd-bottomnav { display: none; }

/* ---- toasts ---- */
.qd-toasts { position: fixed; z-index: 1100; inset: 16px 16px auto auto; display: grid; gap: 10px; width: min(380px, calc(100vw - 32px)); height: auto; margin: 0; padding: 0; border: 0; overflow: visible; background: transparent; color: inherit; pointer-events: none; }
.qd-toast { --t: var(--qd-g500); display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 1px solid var(--qd-line); border-left: 5px solid var(--t); border-radius: 12px; background: var(--qd-surface); color: var(--qd-ink); box-shadow: var(--qd-shadow); opacity: 0; transform: translateX(24px); transition: transform .28s cubic-bezier(.2, .8, .2, 1), opacity .28s; pointer-events: auto; cursor: pointer; }
.qd-toast.show { opacity: 1; transform: none; }
.qd-toast.hide { opacity: 0; transform: translateX(24px); }
.qd-toast--error { --t: var(--qd-danger); } .qd-toast--warning { --t: var(--qd-amber); } .qd-toast--info { --t: var(--qd-info); }
.qd-toast__icon { color: var(--t); font-size: 1.15rem; line-height: 1.3; }
.qd-toast__msg { flex: 1; font-size: .93rem; line-height: 1.4; overflow-wrap: anywhere; }
.qd-toast__close { padding: 0; border: 0; background: transparent; color: var(--qd-ink-3); line-height: 1; }

/* ---- confirm dialog (native <dialog>) ---- */
.qd-dialog { width: min(420px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--qd-line); border-radius: 16px; background: var(--qd-surface); color: var(--qd-ink); box-shadow: var(--qd-shadow); }
.qd-dialog::backdrop { background: rgba(8, 16, 12, .55); }
.qd-dialog__body { padding: 24px 24px 8px; }
.qd-dialog h3 { margin: 0 0 8px; font-size: 1.1rem; font-weight: 700; }
.qd-dialog p { margin: 0; color: var(--qd-ink-2); }
.qd-dialog__foot { display: flex; justify-content: flex-end; gap: 10px; padding: 18px 24px 22px; }

/* ---- unread badge (bell, menu, dock) ---- */
.qd-unread { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--qd-danger); color: #fff; font-size: .68rem; font-weight: 700; line-height: 1; }
.qd-unread[hidden] { display: none; }
.qd-bell { position: relative; }
.qd-bell .qd-unread { position: absolute; top: -6px; right: -6px; border: 2px solid var(--qd-bg); box-sizing: content-box; }
.qd-unread--nav { margin-left: auto; }

/* ---- responsive ---- */
@media (max-width: 1359.98px) {
  /* the menu shrinks to icons; the page you are on keeps its word (the others stay readable for screen readers and in the title tooltip) */
  .qd-nav__i:not(.is-active) { padding: 0 11px; }
  .qd-nav__i:not(.is-active) span { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 991.98px) {
  .qd-auth { grid-template-columns: minmax(0, 1fr); }
  .qd-auth__brand { display: none; }
  .qd-auth__mobilebrand { display: inline-flex; }
  .qd-top .qd-brand span, .qd-userbtn__name { display: none; }
}
@media (max-width: 767.98px) {
  .qd-top { display: flex; gap: 10px; }
  .qd-top__left { flex: 1; }
  .qd-top__title { display: block; }
  .qd-nav { display: none; }
  .qd-userbtn .bi-chevron-down { display: none; }
  .qd-userbtn { justify-content: center; width: 38px; padding: 0; }
  .qd-content { padding-bottom: 92px; }
  .qd-auth__card { padding: 26px 20px; }
  /* the dock: a floating white pill with the five places, the current one lit like in the top menu */
  .qd-bottomnav { position: fixed; z-index: 40; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); left: 12px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; padding: 6px; border: 1px solid var(--qd-line); border-radius: 24px; background: var(--qd-surface); box-shadow: var(--qd-shadow); }
  .qd-bottomnav a { position: relative; display: grid; justify-items: center; gap: 2px; min-width: 0; padding: 7px 2px 6px; border-radius: 18px; color: var(--qd-ink-3); font-size: .68rem; font-weight: 600; line-height: 1.2; text-decoration: none; }
  .qd-bottomnav a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .qd-bottomnav i { font-size: 1.25rem; line-height: 1; transition: transform .2s cubic-bezier(.2, .8, .2, 1); }
  .qd-bottomnav .is-active { background: rgba(23, 181, 105, .16); color: var(--qd-g800); }
  .qd-bottomnav .is-active i { color: var(--qd-g600); transform: rotate(-6deg) scale(1.06); }
  [data-theme="dark"] .qd-bottomnav .is-active { color: var(--qd-g300); }
  [data-theme="dark"] .qd-bottomnav .is-active i { color: var(--qd-g400); }
  .qd-bottomnav .qd-unread--nav { position: absolute; top: 2px; right: 18%; box-sizing: border-box; min-width: 18px; height: 18px; margin: 0; padding: 0 3px; border: 2px solid var(--qd-surface); font-size: .62rem; }
  .qd-toasts { top: auto; right: 16px; bottom: 84px; left: 16px; width: auto; }
  .qd-toast { transform: translateY(16px); }
  .qd-toast.show { transform: none; }
  .qd-toast.hide { transform: translateY(16px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---- Bangla pages: the script reads a little smaller than Latin at the same size, its marks reach well above and below the line,
   and letter-spacing pulls joined letters apart - so more size and line height, and no tracking ---- */
html[lang="bn"] { font-size: 106.25%; }
html[lang="bn"] body { line-height: 1.6; }
html[lang="bn"] * { letter-spacing: normal !important; }
html[lang="bn"] h1, html[lang="bn"] h2, html[lang="bn"] h3 { line-height: 1.35; }
html[lang="bn"] .qd-auth__pitch h2 { line-height: 1.3; }
html[lang="bn"] .qd-tile__title, html[lang="bn"] .qd-drawer__title { line-height: 1.45; }
