/* ============================================================
   حساب ساده — شیشه‌ای iOS، تم روشن/تاریک، چیدمان انعطاف‌پذیر
   ============================================================ */

:root {
  --font: "Vazirmatn", -apple-system, BlinkMacSystemFont, "SF Pro Text", "IRANSansX", "Tahoma", sans-serif;

  --ink: #141a15;
  --muted: #5f6e63;
  --line: rgba(20, 26, 21, .09);

  --glass: rgba(255, 255, 255, .55);
  --glass-brd: rgba(255, 255, 255, .7);
  --glass-hl: rgba(255, 255, 255, .8);
  --blur: 30px;

  --mini-bg: rgba(255, 255, 255, .5);
  --mini-hover: rgba(255, 255, 255, .72);
  --row-bg: rgba(255, 255, 255, .5);
  --row-hover: rgba(255, 255, 255, .84);
  --field-bg: rgba(255, 255, 255, .7);
  --field-focus-bg: rgba(255, 255, 255, .9);
  --seg-bg: rgba(120, 128, 122, .16);
  --seg-thumb-bg: #ffffff;
  --btn-bg: #141a15;
  --btn-ink: #ffffff;

  --accent: #c6ff3e;
  --accent-ink: #1b2400;
  --income: #2f8f2a;
  --expense: #c0564a;
  --income-soft: rgba(198, 255, 62, .6);
  --income-soft-ink: #3d5a00;
  --expense-soft: rgba(192, 86, 74, .15);
  --expense-soft-ink: #a8412f;
  --bar-expense: #e0a89f;
  --dot-expense: #d98f83;

  --blob1: #d6ff8f;
  --blob2: #cde9d1;
  --blob-op: .5;

  --bg:
    radial-gradient(1200px 760px at 10% -12%, #eef4ee 0%, transparent 56%),
    radial-gradient(1000px 760px at 100% -4%, #dff6df 0%, transparent 52%),
    radial-gradient(900px 700px at 50% 120%, #e9f3e6 0%, transparent 55%),
    linear-gradient(165deg, #eceff0 0%, #e6efe6 58%, #eef4ec 100%);

  --r-card: 34px;
  --r-mid: 22px;
  --r-sm: 16px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.4, .5, 1);
}

/* ---------- تم تاریک ---------- */
html[data-theme="dark"] {
  --ink: #ecf1ea;
  --muted: #9aa79c;
  --line: rgba(255, 255, 255, .13);

  --glass: rgba(24, 30, 25, .62);
  --glass-brd: rgba(255, 255, 255, .11);
  --glass-hl: rgba(255, 255, 255, .13);

  --mini-bg: rgba(255, 255, 255, .06);
  --mini-hover: rgba(255, 255, 255, .1);
  --row-bg: rgba(255, 255, 255, .05);
  --row-hover: rgba(255, 255, 255, .09);
  --field-bg: rgba(255, 255, 255, .07);
  --field-focus-bg: rgba(255, 255, 255, .12);
  --seg-bg: rgba(120, 128, 122, .24);
  --seg-thumb-bg: #333c34;
  --btn-bg: #c6ff3e;
  --btn-ink: #1b2400;

  --income: #a3e26a;
  --expense: #f0a294;
  --income-soft: rgba(198, 255, 62, .22);
  --income-soft-ink: #d7ff8f;
  --expense-soft: rgba(192, 86, 74, .26);
  --expense-soft-ink: #f4a999;
  --bar-expense: #7a4a42;
  --dot-expense: #8a4f45;

  --blob-op: .35;

  --bg:
    radial-gradient(1200px 760px at 10% -12%, #1a211b 0%, transparent 56%),
    radial-gradient(1000px 760px at 100% -4%, #16241a 0%, transparent 52%),
    radial-gradient(900px 700px at 50% 120%, #131c14 0%, transparent 55%),
    linear-gradient(165deg, #0d110e 0%, #101710 58%, #0e150f 100%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background .5s var(--ease), color .35s var(--ease);
}

.bg-blobs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-blobs::before, .bg-blobs::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(80px); opacity: var(--blob-op);
  animation: float 16s var(--ease) infinite alternate;
  transition: background .5s var(--ease);
}
.bg-blobs::before { width: 440px; height: 440px; background: var(--blob1); top: -140px; right: -100px; }
.bg-blobs::after { width: 480px; height: 480px; background: var(--blob2); bottom: -180px; left: -130px; animation-delay: -6s; }

@keyframes float {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(0, 40px, 0) scale(1.08); }
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 34px 22px 72px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* ---------- شیشه ---------- */
.glass {
  background: var(--glass);
  border: .5px solid var(--glass-brd);
  box-shadow:
    0 26px 60px -34px rgba(10, 14, 11, .45),
    0 2px 10px -6px rgba(10, 14, 11, .18),
    inset 0 1px 0 var(--glass-hl),
    inset 0 -.5px 0 rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(180%);
  backdrop-filter: blur(var(--blur)) saturate(180%);
  transition: background .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}

/* ---------- انیمیشن ورود ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
.wrap > * { animation: rise .62s var(--ease) both; }
.wrap > *:nth-child(2) { animation-delay: .06s; }
.wrap > *:nth-child(3) { animation-delay: .12s; }
.wrap > *:nth-child(4) { animation-delay: .18s; }
.wrap > *:nth-child(5) { animation-delay: .24s; }
.wrap > *:nth-child(6) { animation-delay: .3s; }
.wrap > *:nth-child(7) { animation-delay: .36s; }

/* ---------- هرو ---------- */
.hero { border-radius: var(--r-card); padding: 28px 32px 30px; }
.hero-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.eyebrow { margin: 0; font-size: 12.5px; letter-spacing: .16em; color: var(--muted); font-weight: 600; }
.hero h1 { margin: 6px 0 0; font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.hero-actions { display: flex; align-items: center; gap: 10px; }
.hero-currency {
  background: var(--accent); color: var(--accent-ink);
  border-radius: 999px; padding: 8px 20px; font-weight: 700; font-size: 14px;
  box-shadow: 0 12px 26px -12px rgba(160, 214, 20, .85), inset 0 1px 0 rgba(255, 255, 255, .5);
}

.iconbtn {
  width: 42px; height: 42px; flex: none;
  border: .5px solid var(--glass-brd); border-radius: 50%;
  background: var(--field-bg); color: var(--ink);
  font-size: 18px; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform .3s var(--spring), background .3s var(--ease), color .3s var(--ease);
}
.iconbtn:hover { transform: translateY(-2px); }
.iconbtn:active { transform: scale(.92); }

.balance { margin: 26px 0 6px; }
.balance-num {
  font-size: clamp(46px, 9vw, 88px);
  font-weight: 200;
  letter-spacing: -.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: transform .4s var(--spring);
}
.balance-num.pop { transform: scale(1.03); }
.balance-label { color: var(--muted); font-size: 13.5px; margin-top: 10px; }

.mini-stats { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.mini {
  background: var(--mini-bg);
  border: .5px solid var(--glass-brd);
  border-radius: var(--r-mid);
  padding: 14px 18px;
  flex: 1 1 150px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform .35s var(--spring), background .35s var(--ease);
}
.mini:hover { transform: translateY(-2px); background: var(--mini-hover); }
.mini-label { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.mini-val { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- کارت ---------- */
.card { border-radius: var(--r-card); padding: 26px 30px; }
.card h2 { margin: 0; font-size: 17.5px; font-weight: 600; letter-spacing: -.005em; }
.card > h2 { margin-bottom: 18px; }

.card-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px; flex-wrap: wrap; margin-bottom: 18px;
}
.sub { font-size: 12.5px; color: var(--muted); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; }

.filters select, .field select, .field input, .set-input {
  font-family: inherit; color: var(--ink);
  background: var(--field-bg);
  border: .5px solid var(--line);
  outline: none;
  -webkit-appearance: none; appearance: none;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .4s var(--ease);
}
.filters select, .field select, .field input { font-size: 14px; border-radius: 999px; padding: 10px 16px; }
.filters select { cursor: pointer; }
.field input, .field select { width: 100%; border-radius: var(--r-sm); padding: 12px 14px; font-size: 15px; }
.field input:focus, .field select:focus, .filters select:focus, .set-input:focus {
  border-color: var(--accent);
  background: var(--field-focus-bg);
  box-shadow: 0 0 0 4px rgba(198, 255, 62, .3);
}

/* ---------- سگمنت (iOS) ---------- */
.seg {
  position: relative;
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  width: 100%; max-width: 320px;
  padding: 2px; margin-bottom: 20px;
  background: var(--seg-bg);
  border-radius: 12px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background .4s var(--ease);
}
.seg--3 { max-width: none; }
.seg-thumb {
  position: absolute; top: 2px; left: 0; height: calc(100% - 4px); width: 0;
  background: var(--seg-thumb-bg); border-radius: 10px;
  box-shadow: 0 3px 8px rgba(10, 14, 11, .18), 0 1px 1px rgba(10, 14, 11, .05);
  transition: transform .34s var(--spring), width .34s var(--spring), background .4s var(--ease);
  will-change: transform, width;
}
.seg-btn {
  position: relative; z-index: 1;
  border: 0; background: transparent; font-family: inherit;
  font-size: 14.5px; font-weight: 600; color: var(--muted);
  padding: 9px 10px; border-radius: 10px; cursor: pointer;
  transition: color .3s var(--ease), transform .2s var(--ease);
}
.seg--3 .seg-btn { font-size: 13.5px; padding: 9px 6px; }
.seg-btn:active { transform: scale(.97); }
.seg-btn.active { color: var(--ink); }

/* ---------- فورم ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-size: 13px; color: var(--muted); font-weight: 600; }
.hint { color: var(--muted); font-size: 12px; min-height: 14px; }

/* ---------- بنر حالت ویرایش ---------- */
.edit-note {
  display: flex; align-items: center; gap: 10px;
  background: var(--income-soft); color: var(--income-soft-ink);
  border: .5px solid var(--glass-brd); border-radius: var(--r-sm);
  padding: 11px 15px; font-size: 13.5px; font-weight: 600;
  margin-bottom: 16px;
  animation: rowIn .4s var(--ease) both;
}
.edit-note[hidden] { display: none; }
.edit-note-ico { font-size: 15px; }
.edit-cancel {
  margin-inline-start: auto;
  border: .5px solid var(--line); background: var(--field-bg); color: var(--ink);
  font-family: inherit; font-size: 12.5px; font-weight: 600;
  padding: 7px 14px; border-radius: 999px; cursor: pointer; flex: none;
  transition: transform .25s var(--spring), background .3s var(--ease);
}
.edit-cancel:hover { transform: translateY(-1px); }
.edit-cancel:active { transform: scale(.95); }

.btn-primary {
  margin-top: 20px;
  border: 0; background: var(--btn-bg); color: var(--btn-ink); font-family: inherit;
  font-size: 15.5px; font-weight: 600; padding: 14px 38px; border-radius: 999px;
  cursor: pointer;
  transition: transform .3s var(--spring), box-shadow .3s var(--ease), background .35s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(10, 14, 11, .55); }
.btn-primary:active { transform: scale(.97); }

/* ---------- لیست ---------- */
@keyframes rowIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.row {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 16px; margin-bottom: 10px;
  border: .5px solid var(--glass-brd); border-radius: var(--r-mid);
  background: var(--row-bg);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  animation: rowIn .45s var(--ease) both;
  transition: background .35s var(--ease), transform .3s var(--spring), box-shadow .3s var(--ease);
}
.row:hover { background: var(--row-hover); transform: translateX(-3px); box-shadow: 0 14px 30px -22px rgba(10, 14, 11, .5); }
.badge {
  width: 42px; height: 42px; border-radius: 14px; flex: none;
  display: grid; place-items: center; font-size: 18px; font-weight: 700;
  transition: transform .35s var(--spring), background .4s var(--ease), color .4s var(--ease);
}
.row:hover .badge { transform: scale(1.06) rotate(-3deg); }
.badge.income { background: var(--income-soft); color: var(--income-soft-ink); }
.badge.expense { background: var(--expense-soft); color: var(--expense-soft-ink); }
.row-main { flex: 1; min-width: 0; }
.row-title { font-weight: 600; font-size: 15px; }
.row-sub { color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.row-amt { font-weight: 700; font-size: 16px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.row-amt.income { color: var(--income); }
.row-amt.expense { color: var(--expense); }

.row.is-editing {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  background: var(--row-hover);
  transform: translateX(-3px);
}
.row-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 7px; }
.tag-edited {
  font-size: 11px; font-weight: 700; color: var(--accent-ink);
  background: var(--accent); border-radius: 999px; padding: 2px 9px;
}
.tag-prev {
  font-size: 11px; font-weight: 600; color: var(--muted);
  border: .5px dashed var(--line); border-radius: 999px; padding: 2px 9px;
  font-variant-numeric: tabular-nums;
}

.edit {
  border: 0; background: transparent; color: var(--muted); cursor: pointer;
  width: 36px; height: 36px; border-radius: 12px; font-size: 15px; flex: none;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--spring);
}
.edit:hover { background: var(--income-soft); color: var(--income-soft-ink); transform: scale(1.1); }
.edit:active { transform: scale(.9); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.empty { text-align: center; color: var(--muted); padding: 42px 12px; font-size: 14px; line-height: 2; animation: fadeIn .5s var(--ease) both; }

/* ---------- جزئیات بیشتر ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.tile {
  background: var(--mini-bg);
  border: .5px solid var(--glass-brd);
  border-radius: var(--r-mid);
  padding: 15px 17px;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  animation: rowIn .45s var(--ease) both;
  transition: transform .35s var(--spring), background .35s var(--ease);
}
.tile:hover { transform: translateY(-2px); background: var(--mini-hover); }
.tile-label { font-size: 12.5px; color: var(--muted); margin-bottom: 7px; }
.tile-val { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tile-val.income { color: var(--income); }
.tile-val.expense { color: var(--expense); }
.tile-sub { font-size: 12px; color: var(--muted); margin-top: 5px; }

/* ---------- راپور ماهانه ---------- */
.legend { display: flex; gap: 16px; font-size: 12.5px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot.income { background: var(--accent); }
.dot.expense { background: var(--dot-expense); }

.month-row { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; animation: rowIn .45s var(--ease) both; }
.month-name { width: 108px; flex: none; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.bars { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.bar { height: 12px; border-radius: 999px; width: 0; transition: width .7s var(--ease); }
.bar.income { background: var(--accent); box-shadow: 0 0 12px -2px rgba(198, 255, 62, .7); }
.bar.expense { background: var(--bar-expense); }
.month-net {
  width: 120px; flex: none; text-align: left; font-weight: 600; font-size: 13.5px;
  font-variant-numeric: tabular-nums;
}

/* ---------- تاریخچه ---------- */
.hrow {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 2px;
  border-bottom: .5px solid var(--line);
  animation: rowIn .4s var(--ease) both;
}
.hrow:last-child { border-bottom: 0; }
.hrow.is-del { opacity: .72; }
.hdot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.hdot.income { background: var(--accent); box-shadow: 0 0 0 4px rgba(198, 255, 62, .26); }
.hdot.expense { background: var(--dot-expense); box-shadow: 0 0 0 4px var(--expense-soft); }
.hdot.del { background: transparent; border: 2px solid var(--muted); box-shadow: none; }
.hdot.edit { background: var(--income); box-shadow: 0 0 0 4px var(--income-soft); }
.hmain { flex: 1; min-width: 0; }
.htitle { font-size: 14px; font-weight: 600; }
.hsub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.hamt { font-size: 14px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hamt.income { color: var(--income); }
.hamt.expense { color: var(--expense); }
.hmore { text-align: center; color: var(--muted); font-size: 12.5px; padding: 12px 0 4px; }

/* ---------- فوتر و توست ---------- */
.foot { text-align: center; color: var(--muted); font-size: 12.5px; padding-top: 4px; }

.toast {
  position: fixed; bottom: 26px; left: 50%;
  transform: translate(-50%, 24px);
  background: var(--btn-bg); color: var(--btn-ink);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  padding: 12px 24px; border-radius: 999px; font-size: 14px; font-weight: 500;
  opacity: 0; pointer-events: none;
  box-shadow: 0 22px 44px -18px rgba(10, 14, 11, .6);
  transition: opacity .3s var(--ease), transform .35s var(--spring), background .4s var(--ease), color .4s var(--ease);
  z-index: 80;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- پنل تنظیمات ---------- */
.backdrop {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(8, 12, 9, .38);
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  opacity: 0; transition: opacity .35s var(--ease);
}
.backdrop.show { opacity: 1; }

.sheet {
  position: fixed; z-index: 70;
  left: 50%; bottom: 0;
  width: min(560px, 100%);
  max-height: 88vh; overflow-y: auto;
  padding: 10px 26px 30px;
  border-radius: 28px 28px 0 0;
  transform: translate(-50%, 100%);
  transition: transform .45s var(--spring);
}
.sheet.show { transform: translate(-50%, 0); }

.sheet-grab {
  display: block; width: 44px; height: 5px; border-radius: 3px;
  background: rgba(120, 128, 122, .4); margin: 8px auto 16px;
}
.sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.sheet-head h2 { margin: 0; font-size: 19px; font-weight: 700; }

.set-group { margin-bottom: 22px; }
.set-group .seg { margin-bottom: 0; }
.set-label { display: block; font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 10px; }

.set-input {
  width: 100%; font-size: 15px; padding: 12px 16px; border-radius: var(--r-sm);
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.chip {
  border: .5px solid var(--line); background: var(--field-bg); color: var(--muted);
  font-family: inherit; font-size: 13px; padding: 9px 18px; border-radius: 999px;
  cursor: pointer;
  transition: transform .25s var(--spring), background .3s var(--ease), color .3s var(--ease);
}
.chip:hover { color: var(--ink); transform: translateY(-1px); }
.chip:active { transform: scale(.95); }
.chip.active { background: var(--accent); color: var(--accent-ink); border-color: transparent; font-weight: 600; }

.set-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; cursor: pointer;
}
.set-row-label { font-size: 14.5px; font-weight: 600; }
.switch-input { display: none; }
.switch-ui {
  position: relative; width: 52px; height: 32px; border-radius: 999px; flex: none;
  background: var(--seg-bg);
  transition: background .3s var(--ease);
}
.switch-ui::after {
  content: ""; position: absolute; top: 2px; right: 2px;
  width: 28px; height: 28px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 6px rgba(10, 14, 11, .28);
  transition: transform .3s var(--spring);
}
.switch-input:checked + .switch-ui { background: var(--accent); }
.switch-input:checked + .switch-ui::after { transform: translateX(-20px); }

/* ---------- وضعیت ذخیره‌سازی ---------- */
.db-status { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--muted); }
.db-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); flex: none; transition: background .3s var(--ease), box-shadow .3s var(--ease); }
.db-dot.ok { background: var(--income); box-shadow: 0 0 0 4px var(--income-soft); }
.db-dot.warn { background: var(--expense); box-shadow: 0 0 0 4px var(--expense-soft); }

/* ---------- چیدمان انعطاف‌پذیر ---------- */
@media (min-width: 768px) {
  .sheet {
    bottom: auto; top: 50%;
    border-radius: 30px;
    padding-top: 22px;
    transform: translate(-50%, -46%) scale(.94);
    opacity: 0;
    transition: transform .4s var(--ease), opacity .3s var(--ease);
  }
  .sheet.show { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  .sheet-grab { display: none; }
}

@media (max-width: 640px) {
  .wrap { padding: 20px 14px 60px; gap: 16px; }
  .hero, .card { padding: 22px 20px; }
  .seg { max-width: none; }
  .month-name { width: 76px; font-size: 12.5px; }
  .month-net { width: 82px; font-size: 12.5px; }
  .row-amt { font-size: 14.5px; }
  .row { gap: 10px; padding: 12px 12px; }
}

/* ---------- کاهش حرکت ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    transition-duration: .001ms !important;
  }
}
