/* 🍎 برگه‌ی «ارسالِ شماره شبا» روی رومیزی — macOS 27، گونه‌ی «ج۲» = جدول (تأییدِ «آره، بساز» ۲۳ نوامبر ۲۰۲۶).
   فقط .gpm-dlg (رومیزی)؛ گوشی = gp-trades-ios.css. ماکت: Desktop/claude/mockups/iban-redesign-2026-11-23/ (base.css، variants.js)
   مشخصاتِ حالت‌ها: Desktop/claude/apple-spec/iban-table-build-2026-11-23-spec.md (+ چکِ پیش از ساخت: iban-table-css-check-2026-11-23-spec.md). ?v را دیپلوی خودش می‌زند. */
@font-face { font-family: IbanRay; font-weight: 400; font-display: swap; src: url('Fonts/Ray/Ray-Regular.woff2') format('woff2'); } /* brand-check-ignore: نامِ مستعارِ Ray با وزن‌های واقعی؛ GtaUI وزنِ ۵۰۰ را Bold نشان می‌دهد */
@font-face { font-family: IbanRay; font-weight: 500; font-display: swap; src: url('Fonts/Ray/Ray-Medium.woff2') format('woff2'); } /* brand-check-ignore: همان */
@font-face { font-family: IbanRay; font-weight: 700; font-display: swap; src: url('Fonts/Ray/Ray-Bold.woff2') format('woff2'); } /* brand-check-ignore: همان */ /* weight-ok: فقط برای عنوانِ بزرگ و مبلغِ معامله */

html:root:not(.gta-print-doc) .mud-dialog.gpm-dlg:not(.mud-dialog-fullscreen) {
  --fill: #f6f6f8; --card: #fff; --ink: rgba(0,0,0,.85); --g2: rgba(60,60,67,.6); --g3: rgba(60,60,67,.3); --u: rgba(60,60,67,.5); /* brand-check-ignore: رنگ‌های ماکتِ تأییدشده‌ی ۲۳ نوامبر */
  --line: rgba(60,60,67,.09); --hl2: rgba(60,60,67,.18); --zebra: rgba(0,0,0,.028); --tot: rgba(0,0,0,.025); --gray5: #e5e5ea; --gray4: #d1d1d6; --g5h: #dcdce1; /* brand-check-ignore: خاکستری‌های سیستمیِ اپل */
  --acc: #387a4c; --acc2: #387a4c; --acct: rgba(56,122,76,.13); --org: #9a4400; --orgt: rgba(255,141,40,.16); --orgb: #9a4400; --orgbf: rgba(154,68,0,.13); --orgbh: rgba(154,68,0,.18); --red: #e0262d; --redt: rgba(255,56,60,.12); --redr: rgba(224,38,45,.18); /* brand-check-ignore: رنگ‌های ماکتِ تأییدشده */
  --hov: rgba(0,0,0,.045); --hov2: rgba(0,0,0,.06); --prs: rgba(0,0,0,.10); --fx: #fff; --ring: 0 0 0 2px #387a4c, 0 0 0 4px rgba(56,122,76,.22); --sel: rgba(60,60,67,.10); --self: rgba(56,122,76,.10); /* brand-check-ignore: حلقه و انتخابِ مشخصات */
  --tbsh: 0 0 0 .5px rgba(0,0,0,.05), 0 1px 2px rgba(0,0,0,.04), 0 6px 20px rgba(0,0,0,.055);
  --edge: 0 1px 3px rgba(0,0,0,.08), 0 0 0 .5px rgba(0,0,0,.14), inset 0 0 0 1px rgba(255,255,255,.9); --grpbg: rgba(255,255,255,.75);
  --pmbg: #fff; --pmsh: 0 0 0 .5px rgba(0,0,0,.2), 0 .5px 1px rgba(0,0,0,.08); --pmdiv: rgba(60,60,67,.2); --pill: #fff; --pillh: #f2f2f7; --pillsh: 0 0 0 .5px rgba(0,0,0,.18), 0 .5px 1.5px rgba(0,0,0,.1); /* brand-check-ignore: Gray6 برای هاورِ قرص */
  width: 880px !important; max-width: calc(94 * var(--gta-vw, 1vw)) !important; max-height: calc(90 * var(--gta-vh, 1vh)) !important; margin: 0 !important;
  display: flex !important; flex-direction: column; overflow: hidden !important;
  background: var(--fill) !important; border-radius: 34px !important; color: var(--ink); font-size: 15px; line-height: 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 0 0 .5px rgba(0,0,0,.16), 0 16px 48px rgba(0,0,0,.3) !important;
}
html:root:not(.gta-print-doc).gta-dark .mud-dialog.gpm-dlg:not(.mud-dialog-fullscreen) {
  --fill: #2c2c2e; --card: #3a3a3c; --ink: rgba(255,255,255,.88); --g2: rgba(235,235,245,.6); --g3: rgba(235,235,245,.3); --u: rgba(235,235,245,.45); /* brand-check-ignore: شبِ ۲۷ اکتبر */
  --line: rgba(255,255,255,.10); --hl2: rgba(255,255,255,.14); --zebra: rgba(255,255,255,.035); --tot: rgba(255,255,255,.04); --gray5: #48484a; --gray4: #48484a; --g5h: #545456; /* brand-check-ignore: خاکستری‌های شبِ اپل */
  --acc: #4a9a63; --acc2: #6fcf8e; --acct: rgba(74,154,99,.2); --org: #ffa14f; --orgt: rgba(255,146,48,.12); --orgb: #ffb879; --orgbf: rgba(255,161,79,.10); --orgbh: rgba(255,161,79,.14); --red: #ff4245; --redt: rgba(255,66,69,.16); --redr: rgba(255,66,69,.18); /* brand-check-ignore: رنگ‌های شبِ مشخصات */
  --hov: rgba(255,255,255,.07); --hov2: rgba(255,255,255,.10); --prs: rgba(255,255,255,.16); --fx: rgba(255,255,255,.10); --ring: 0 0 0 2px #4a9a63, 0 0 0 4px rgba(74,154,99,.25); --sel: rgba(235,235,245,.12); --self: rgba(74,154,99,.18); /* brand-check-ignore: حلقه و انتخابِ شب */
  --tbsh: 0 0 0 .5px rgba(0,0,0,.5), 0 1px 2px rgba(0,0,0,.3), 0 6px 20px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.05);
  --edge: 0 0 0 .5px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.08); --grpbg: rgba(255,255,255,.10);
  --pmbg: rgba(255,255,255,.12); --pmsh: 0 0 0 .5px rgba(255,255,255,.14); --pmdiv: rgba(255,255,255,.18); --pill: rgba(255,255,255,.10); --pillh: rgba(255,255,255,.18); --pillsh: 0 0 0 .5px rgba(255,255,255,.14); --selbg: rgba(56,122,76,.35); /* brand-check-ignore: داوری ۲: انتخابِ متنِ شب سبزِ برند؛ قرصِ .10 تا سبزِ #6fcf8e رویش ≈۴٫۵ باشد */
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 0 .5px rgba(255,255,255,.12), 0 16px 48px rgba(0,0,0,.6) !important;
}
html:root:not(.gta-print-doc) .mud-dialog.gpm-dlg .mud-dialog-title { display: none !important; }
html:root:not(.gta-print-doc) .mud-dialog.gpm-dlg .mud-dialog-content { flex: 1 1 auto; min-height: 0; padding: 0 !important; overflow: auto !important; }
html:root:not(.gta-print-doc) .mud-dialog.gpm-dlg .mud-dialog-actions { position: static !important; padding: 0 !important; background: transparent !important; box-shadow: none !important; display: block; flex: none; }
html body .gpm-dlg, html body .gpm-dlg * { font-family: 'GtaNum', IbanRay, sans-serif !important; } /* brand-check-ignore: نامِ مستعارِ Ray */
.gpm-dlg *, .gpm-dlg *::before { box-sizing: border-box; }
/* فقط آیکون‌های خطیِ خودِ برگه؛ آیکونِ پُرِ MudBlazor (⋯ِ GtaRowMenu) با stroke قابِ ۲۴×۲۴ و نقطه‌های توخالی می‌گرفت (عکسِ زنده‌ی ۲۳ نوامبر) */
.gpm-dlg svg:not(.mud-icon-root) { flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.gpm-dlg button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.gpm-dlg button:disabled { cursor: default; }
.gpm-sp { flex: 1; }
.gpm-u { color: var(--u); font-size: 13px; font-weight: 400; }
.gpm-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* سر: عنوان + مشتری + شمارشِ لغو؛ خطِ دوم مبلغِ معامله؛ کپسولِ شیشه‌ایِ «چسباندن | عکس» در همان خط */
.gpm-hd { position: sticky; top: 0; z-index: 3; display: flex; align-items: flex-start; gap: 16px; padding: 22px 22px 12px; background: var(--fill); }
.gpm-hdl { min-width: 0; }
.gpm-l1 { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.gpm-l1 b { font-size: 20px; line-height: 26px; font-weight: 700; } /* weight-ok: عنوانِ بزرگِ برگه */
.gpm-who { color: var(--g2); }
.gpm-cd { align-self: center; display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; border-radius: 12px; background: var(--orgt); color: var(--org); font-size: 13px; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.gpm-cd.is-hot { background: var(--redt); color: var(--red); }
.gpm-cd svg { width: 14px; height: 14px; }
.gpm-l2 { margin-top: 4px; display: flex; align-items: baseline; gap: 6px; color: var(--g2); }
.gpm-l2 b { color: var(--ink); font-size: 22px; line-height: 28px; font-weight: 700; font-variant-numeric: tabular-nums; } /* weight-ok: عددِ قهرمان = مبلغِ معامله */
.gpm-grp { flex: none; display: inline-flex; height: 32px; margin-top: 2px; border-radius: 16px; background: var(--grpbg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--edge); }
.gpm-grp button { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 14px !important; border-radius: 16px; font-weight: 500; white-space: nowrap; transition: background .12s ease-out; }
.gpm-grp button + button::before { content: ""; position: absolute; right: 0; top: 8px; bottom: 8px; width: 1px; background: var(--hl2); }
.gpm-grp svg { width: 16px; height: 16px; color: var(--acc2); }
.gpm-grp button:hover:not(:disabled) { background: var(--hov) !important; }
.gpm-grp button:active:not(:disabled) { background: var(--prs) !important; }
.gpm-grp button.is-on { color: var(--acc2) !important; }
.gpm-grp button:disabled { opacity: .45; }

.gpm { padding: 6px 22px 4px; outline: none; }
.gpm-dlg .gpt-skel { margin: 14px 22px; }

/* کادرِ متنِ مشتری (بالای جدول) */
.gpm-paste { background: var(--card); border-radius: 20px; box-shadow: var(--tbsh); padding: 12px 16px; margin-bottom: 14px; }
.gpm-paste .mud-input { font-size: 14px; color: var(--ink) !important; }
.gpm-paste .mud-input-control { margin: 0 !important; }
.gpm-paste-b { display: flex; justify-content: flex-end; gap: 6px; margin-top: 6px; }

/* ── جدول (macOS): گوشه‌ی ۲۰ (squircle ۳۰)، لبه‌ی ۰٫۵ + سایه‌ی نرم، سرستونِ ۲۸ با خطِ جداکننده‌ی نازک ── */
.gpm-tb { background: var(--card); border-radius: 20px; overflow: hidden; box-shadow: var(--tbsh); }
.gpm-tb table { width: 100%; border-collapse: collapse; table-layout: fixed; font-variant-numeric: tabular-nums; }
.gpm-tb col.c-bk { width: 104px; } .gpm-tb col.c-ac { width: 150px; } .gpm-tb col.c-ow { width: 126px; } .gpm-tb col.c-am { width: 130px; } .gpm-tb col.c-mo { width: 40px; }
html body .gpm-dlg .gpm-tb th, html body .gpm-dlg .gpm-tb td { text-align: right !important; border: 0; background: transparent; vertical-align: middle; }
html body .gpm-dlg .gpm-tb th.n, html body .gpm-dlg .gpm-tb td.n { text-align: left !important; }
html body .gpm-dlg .gpm-tb th { position: relative; height: 28px; padding: 0 12px; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--g2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.gpm-tb th + th::before { content: ""; position: absolute; right: 0; top: 7px; bottom: 7px; width: 1px; background: var(--line); }
.gpm-tb th .gpm-u { font-size: 12px; }
html body .gpm-dlg .gpm-tb td { height: 40px; padding: 0 12px; white-space: nowrap; font-size: 15px; color: var(--ink); }
/* هر شبا یک گروه: راه‌راه و خطِ بینِ گروه‌ها روی کلِ گروه، نه تک‌سطر */
html body .gpm-dlg .gpm-tb tbody.gpm-g:nth-of-type(even) > tr > td { background: var(--zebra); }
html body .gpm-dlg .gpm-tb tbody.gpm-g + tbody.gpm-g > tr:first-child > td, html body .gpm-dlg .gpm-tb tbody.gpm-f > tr:first-child > td { border-top: 1px solid var(--line); }
/* سطرِ انتخاب‌شده (۲ شبا به بالا؛ همان که «−» برمی‌دارد): خاکستری، و سبزِ کم‌رنگ وقتی مکان‌نما داخلِ جدول است */
html body .gpm-dlg .gpm-tb tbody.gpm-g.is-act > tr > td { background: var(--sel); transition: background .12s ease-out; }
html body .gpm-dlg .gpm-main:focus-within tbody.gpm-g.is-act > tr > td { background: var(--self); }
html body .gpm-dlg .gpm-tb tr.gpm-x > td { height: 36px; }
html body .gpm-dlg .gpm-tb td.gpm-xk { font-size: 13px; line-height: 18px; color: var(--g2); overflow: hidden; text-overflow: ellipsis; }
/* خطِ زیرِ شبا ۲۶ مثلِ ماکت (چسبیده به بالا)؛ با تیکِ «ذخیره شود» ۲۸ */
html body .gpm-dlg .gpm-tb tr.gpm-sub > td { height: 26px; padding-top: 0; padding-bottom: 0; vertical-align: top; font-size: 13px; }
html body .gpm-dlg .gpm-tb tr.gpm-sub:has(.gpm-keep) > td { height: 28px; }
html body .gpm-dlg .gpm-tb tr.gpm-nt > td { height: auto; padding: 0 12px 6px; font-size: 13px; line-height: 18px; color: var(--g2); white-space: normal; }
html body .gpm-dlg .gpm-tb tr.gpm-nt > td.is-err { color: var(--red); }
html body .gpm-dlg .gpm-tb tr.gpm-bar > td { height: 40px; }
html body .gpm-dlg .gpm-tb tr.gpm-tot > td { height: 44px; border-top: 1px solid var(--line); background: var(--tot); }
html body .gpm-dlg .gpm-tb td.gpm-mc { padding: 0 6px; text-align: center !important; }
/* جدول‌های فقط‌خواندنی (ذخیره‌شده‌ها، فیش‌های قبلی): متنِ بلند با «…» و راهنمای موس */
html body .gpm-dlg .gpm-tb tbody.gpm-svs > tr > td { overflow: hidden; text-overflow: ellipsis; }
html body .gpm-dlg .gpm-tb tbody.gpm-svs > tr:nth-child(even) > td { background: var(--zebra); }
.gpm-sv { cursor: pointer; outline: none; }
html body .gpm-dlg .gpm-tb tbody.gpm-svs > tr.gpm-sv:hover > td, html body .gpm-dlg .gpm-tb tbody.gpm-svs > tr.gpm-sv:focus-visible > td { background: var(--hov); }
.gpm-num { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
.gpm-no { color: var(--g3); }
.gpm-tag { flex: none; font-size: 12px; color: var(--g2); white-space: nowrap; }
.gpm-am { font-weight: 500; }

/* نشانِ بانک: کاشیِ ۲۲ با رنگِ بانک + نامِ کوتاه */
.gpm-bkt { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; vertical-align: middle; font-size: 13px; }
.gpm-bkt i { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; flex: none; color: #fff; background: linear-gradient(160deg, #2f8fe0, #1663b5); } /* brand-check-ignore: رنگِ نشانِ بانک */
.gpm-bkt i svg { width: 14px; height: 14px; stroke-width: 1.6; }
.gpm-bkt i.h0 { background: linear-gradient(160deg, #e0354b, #b0102a); } /* brand-check-ignore: ملت */
.gpm-bkt i.h1 { background: linear-gradient(160deg, #2a6dc0, #173f80); } /* brand-check-ignore: ملی */
.gpm-bkt i.h2 { background: linear-gradient(160deg, #a55ad6, #7a35a8); } /* brand-check-ignore: رنگِ نشانِ بانک */
.gpm-bkt i.h3 { background: linear-gradient(160deg, #2fa577, #1c7a55); } /* brand-check-ignore: رنگِ نشانِ بانک */
.gpm-bkt i.h4 { background: linear-gradient(160deg, #e08a35, #b5651a); } /* brand-check-ignore: رنگِ نشانِ بانک */
.gpm-bkt i.h5 { background: linear-gradient(160deg, #26a6bb, #167a8a); } /* brand-check-ignore: رنگِ نشانِ بانک */
.gpm-bkt i.hx { background: var(--gray5); color: var(--g3); }
html.gta-dark .gpm-bkt i:not(.hx) { filter: brightness(.88); }
.gpm-bkn { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* خانه‌ی ویرایشی: بی‌کادر در حالتِ عادی؛ هاور کم‌رنگ؛ فوکوس سفید با حلقه‌ی ۲+۲ (۴ پیکسل از لبه‌ی خانه)؛ خطا = حلقه‌ی قرمز */
.gpm-v { display: flex; align-items: center; gap: 6px; height: 30px; margin: 0 -8px; padding: 0 8px; border-radius: 8px; min-width: 0; transition: background .12s ease-out, box-shadow .12s ease-out; }
.gpm-v:hover { background: var(--hov); }
.gpm-v:focus-within { background: var(--fx); box-shadow: var(--ring); }
.gpm-v.is-err, .gpm-v.is-err:focus-within { box-shadow: 0 0 0 2px var(--red), 0 0 0 4px var(--redr); }
tr.gpm-x .gpm-v { height: 28px; }
.gpm-v.gpm-short { max-width: 300px; }
.gpm-dlg .gpm-v .mud-input, .gpm-dlg .gpm-v .mud-input-control, .gpm-dlg .gpm-v .mud-input-control-input-container, .gpm-dlg .gpm-v input { box-shadow: none !important; outline: none !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; }
.gpm-dlg .gpm-v .mud-input-outlined-border { display: none !important; }
.gpm-v .mud-input-control { margin: 0 !important; flex: 1 1 auto; min-width: 0; }
.gpm-v .mud-input-control > .mud-input-control-input-container { width: 100%; }
.gpm-v .mud-input { font-size: 15px !important; color: var(--ink) !important; }
.gpm-v .mud-input > input.mud-input-root, .gpm-v .mud-input-slot { padding: 4px 0 !important; height: 22px; line-height: 22px; caret-color: var(--acc); }
.gpm-v .mud-input.mud-input-underline::before, .gpm-v .mud-input.mud-input-underline::after { display: none !important; }
.gpm-v .mud-input-helper-text, .gpm-v .mud-input-control-helper-container { display: none !important; }
.gpm-v input:disabled { color: var(--ink) !important; opacity: .4; }
.gpm-dlg input::placeholder, .gpm-dlg textarea::placeholder { color: var(--g3) !important; opacity: 1; }
.gpm-v.ltr input { direction: ltr; text-align: right; font-variant-numeric: tabular-nums; }
.gpm-v.ltr input:placeholder-shown { direction: rtl; }
.gpm-amt input { direction: ltr; text-align: left !important; font-weight: 500; font-variant-numeric: tabular-nums; }
.gpm-imgv .gpt-img { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 0; color: var(--ink); font: inherit; font-size: 13px; }
.gpm-imgv .gpt-img-t { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; display: inline-block; box-shadow: 0 0 0 .5px rgba(0,0,0,.2); }
.gpm-imgv .gpt-img svg { width: 16px; height: 16px; color: var(--g2); }

/* ریزه‌ها: «چسباندن» در خانه‌ی خالی، ✕ فقط با نشانگر، «⋯» */
.gpm-pst { flex: none; height: 22px; padding: 0 8px !important; border-radius: 11px; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 500; color: var(--acc2) !important; background: var(--pill) !important; box-shadow: var(--pillsh); white-space: nowrap; transition: background .12s ease-out, transform .12s ease-out; }
.gpm-pst svg { width: 12px; height: 12px; stroke-width: 1.8; }
.gpm-pst:hover, .gpm-addb:hover, .gpm-fillk:hover { background: var(--pillh) !important; }
.gpm-pst:active, .gpm-addb:active, .gpm-fillk:active { transform: scale(.97); }
.gpm-ib { width: 22px; height: 22px; border-radius: 11px; display: inline-grid; place-items: center; color: var(--g2) !important; flex: none; padding: 0 !important; opacity: 0; transition: opacity .12s ease-out, transform .12s ease-out; }
.gpm-ib svg { width: 11px; height: 11px; stroke-width: 1.8; }
.gpm-svb .gpm-ib svg { width: 14px; height: 14px; stroke-width: 1.5; }
.gpm-tb tr:hover .gpm-ib, .gpm-tb tr:focus-within .gpm-ib, .gpm-ib:focus-visible { opacity: .5; }
.gpm-ib:hover { opacity: .9 !important; background: var(--hov2) !important; }
.gpm-ib:active { background: var(--prs) !important; transform: scale(.96); }
/* «⋯» = GtaRowMenuِ سامانه، به اندازه‌ی ستونِ ۴۰: دایره‌ی ۲۸ با سه نقطه‌ی پُرِ ۱۶ (مشخصاتِ apple-spec/iban-row-more-button-spec-2026-11-23.md)؛ در حالتِ عادی کم‌رنگ ولی پیدا */
html body .gpm-dlg .gpm-mc .gta-row-menu .mud-icon-button { width: 28px; height: 28px; padding: 0 !important; border-radius: 14px; color: var(--g2) !important; opacity: .9; transition: opacity .1s ease-out, background .1s ease-out; }
html body .gpm-dlg .gpm-mc .gta-row-menu .mud-icon-button .mud-icon-root { width: 16px; height: 16px; font-size: 16px; fill: currentColor; }
html body .gpm-dlg .gpm-tb tr:hover .gpm-mc .mud-icon-button, html body .gpm-dlg .gpm-tb tr:focus-within .gpm-mc .mud-icon-button { opacity: 1; }
/* داوری ۲: انتخابِ متن در خانه‌ها سبزِ برند، نه آبیِ مرورگر */
.gpm-dlg input::selection { background: var(--selbg, rgba(56,122,76,.22)); color: inherit; } /* brand-check-ignore: سبزِ برندِ ماکت برای انتخابِ متن */
html body .gpm-dlg .gpm-mc .gta-row-menu .mud-icon-button:hover { opacity: 1; background: var(--hov2) !important; }
html body .gpm-dlg .gpm-mc .gta-row-menu .mud-icon-button:active { background: var(--prs) !important; }
html body .gpm-dlg .gpm-mc .gta-row-menu .mud-icon-button:focus-visible { opacity: 1; outline: none; box-shadow: 0 0 0 1px var(--card), 0 0 0 3px rgba(56,122,76,.55); } /* brand-check-ignore: حلقه‌ی فوکوسِ مشخصات */
.gpm-rc { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 !important; font-size: 13px; }
.gpm-th { width: 28px; height: 28px; border-radius: 6px; background: linear-gradient(135deg,#dfe7e1,#b9c9bd); flex: none; position: relative; overflow: hidden; display: inline-block; vertical-align: middle; } /* brand-check-ignore: بندانگشتیِ فیش مثلِ ماکت */
.gpm-th::after { content: ""; position: absolute; inset: 7px 6px; border-top: 2px solid rgba(255,255,255,.9); border-bottom: 2px solid rgba(255,255,255,.7); }
.gpm-see { color: var(--acc2); font-weight: 500; }
.gpm-bad { color: var(--red); font-weight: 500; }
/* ۲۸ نوامبر ۲۰۲۶: عکسِ خودِ فیش در اندازه‌ی متوسط (مشخصاتِ مک: apple-spec/shaba-receipt-thumb-spec.md) — ۱۶۰ بلند، گوشه‌ی ۱۰، خطِ مویی، بی‌نوشته */
html body .gpm-dlg .gpm-tb tr.gpm-rcx > td { vertical-align: top !important; padding-top: 8px !important; padding-bottom: 8px !important; }
html body .gpm-dlg .gpm-tb tr.gpm-rcx > td.gpm-xk { padding-top: 14px !important; }
.gpm-rcw { display: flex; align-items: flex-start; gap: 12px; }
html body .gpm-dlg button.gpm-rct { position: relative; display: block; height: 160px; min-width: 72px; max-width: 120px; padding: 0 !important; border: 0 !important; border-radius: 10px !important; overflow: hidden;
  background: var(--fill) !important; box-shadow: 0 1px 2px rgba(0,0,0,.10); cursor: pointer; transition: box-shadow .12s ease-out, transform .08s ease-out; }
.gpm-rct img { display: block; height: 160px; width: auto; max-width: 120px; object-fit: contain; animation: gpmRcIn .15s ease-out; }
.gpm-rct::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 .5px rgba(0,0,0,.12); pointer-events: none; transition: background .12s ease-out; }
.gpm-rct.is-bad::after { box-shadow: inset 0 0 0 1px rgba(154,68,0,.35); } /* brand-check-ignore: لبه‌ی نارنجیِ ناهمخوان طبقِ مشخصات */
html body .gpm-dlg button.gpm-rct:hover { box-shadow: 0 4px 12px rgba(0,0,0,.16); }
.gpm-rct:hover::after { background: rgba(0,0,0,.04); }
html body .gpm-dlg button.gpm-rct:active { transform: scale(.98); }
html body .gpm-dlg button.gpm-rct:focus-visible { outline: none; box-shadow: var(--ring); }
.gpm-rct-x { position: absolute; inset-inline-end: 6px; bottom: 6px; width: 24px; height: 24px; border-radius: 12px; display: grid; place-items: center; z-index: 1;
  background: rgba(255,255,255,.67); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); box-shadow: 0 0 0 .5px rgba(0,0,0,.12); opacity: 0; transition: opacity .12s ease-out; }
.gpm-rct-x svg { width: 12px; height: 12px; fill: none; stroke: rgba(0,0,0,.75); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.gpm-rct:hover .gpm-rct-x, .gpm-rct:focus-visible .gpm-rct-x { opacity: 1; }
.gpm-rct-s { display: block; width: 72px; height: 160px; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%) var(--fill); background-size: 200% 100%; animation: gpmRcSh 1.2s linear infinite; }
.gpm-rct-f { width: 96px; height: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 0 8px; font-size: 12px; line-height: 16px; color: var(--g2); text-align: center; }
.gpm-rct-f svg { width: 24px; height: 24px; fill: none; stroke: var(--g3); stroke-width: 1.5; }
/* ماکتِ دورِ ۲ (۲۸ نوامبر): کنارِ عکس کلمه‌ی وضعیت + دلیل‌ها (۱۳، رنگِ متن) + زمان و شماره‌ی پیگیری (۱۲، خاکستری) */
.gpm-rcm { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 2px; max-width: 420px; }
.gpm-rcp { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 11px; font-size: 12px; font-weight: 500; margin-bottom: 2px; color: var(--ink); background: var(--sel); }
.gpm-rcp.is-bad { color: var(--orgb); background: var(--orgbf); }
.gpm-rcp.is-ok { color: var(--acc2); background: var(--acct); }
.gpm-rcp svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.gpm-rcr { font-size: 13px; line-height: 18px; color: var(--ink); }
.gpm-rcd { font-size: 12px; line-height: 16px; color: var(--g2); margin-top: 2px; }
.gpm-rcd bdi { color: var(--ink); cursor: copy; }
.gpm-rcw > .gpm-rc { margin-top: 1px; }
html.gta-dark .gpm-rct.is-bad::after { box-shadow: inset 0 0 0 1px rgba(255,161,79,.45); } /* brand-check-ignore: لبه‌ی نارنجیِ ناهمخوانِ شب */
@keyframes gpmRcIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes gpmRcSh { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .gpm-rct-s, .gpm-rct img { animation: none; } }
html.gta-dark .gpm-dlg button.gpm-rct { box-shadow: none; }
html.gta-dark .gpm-dlg button.gpm-rct:hover { box-shadow: 0 4px 12px rgba(0,0,0,.4); }
html.gta-dark .gpm-rct::after { box-shadow: inset 0 0 0 .5px rgba(255,255,255,.14); }
html.gta-dark .gpm-rct-s { background-image: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.06) 50%, transparent 70%); }
html.gta-dark .gpm-rct-x { background: rgba(58,58,60,.6); }
html.gta-dark .gpm-rct-x svg { stroke: rgba(255,255,255,.85); }
.gpm-chev { width: 11px; height: 11px; color: var(--g3); stroke-width: 2; }

/* خطِ زیرِ هر شبا: «⊕ کارت یا حساب همین شخص»، تیکِ «ذخیره شود»، «همه‌ی مبلغ: …» */
.gpm-subw { display: flex; align-items: center; gap: 20px; }
.gpm-lk { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 !important; font-size: 13px; font-weight: 500; color: var(--acc2) !important; white-space: nowrap; }
.gpm-lk svg { width: 15px; height: 15px; }
.gpm-lk:hover { text-decoration: underline; text-underline-offset: 2px; }
.gpm-keep { display: inline-flex; align-items: center; gap: 7px; height: 24px; padding: 0 !important; font-size: 13px; color: var(--ink) !important; white-space: nowrap; }
.gpm-chk { width: 16px; height: 16px; border-radius: 4px; background: var(--acc); display: grid; place-items: center; color: #fff; flex: none; }
.gpm-chk svg { width: 11px; height: 11px; stroke-width: 2.2; }
.gpm-chk.off { background: var(--card); box-shadow: inset 0 0 0 .5px rgba(0,0,0,.3), 0 0 0 .5px rgba(0,0,0,.08); }
html.gta-dark .gpm-chk.off { background: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.gpm-chk.off svg { visibility: hidden; }
.gpm-lnk { color: var(--acc2) !important; font-size: 13px; font-weight: 500; padding: 0 !important; white-space: nowrap; font-variant-numeric: tabular-nums; }
.gpm-lnk:hover { text-decoration: underline; text-underline-offset: 2px; }
.gpm-lnk:active { opacity: .6; }
.gpm-ntw { display: inline-flex; align-items: flex-start; gap: 5px; }
.gpm-ntw > svg { width: 13px; height: 13px; stroke-width: 2; margin-top: 2.5px; }

/* «+ −» زیرِ جدول + وضعیتِ جمع */
.gpm-barw { display: flex; align-items: center; gap: 10px; }
.gpm-pm { display: inline-flex; flex: none; height: 22px; border-radius: 6px; background: var(--pmbg); box-shadow: var(--pmsh); }
.gpm-pm button { position: relative; width: 26px; height: 22px; display: grid; place-items: center; padding: 0 !important; color: var(--ink) !important; }
.gpm-pm button:first-child { border-radius: 0 6px 6px 0; }
.gpm-pm button:last-child { border-radius: 6px 0 0 6px; }
.gpm-pm button + button::before { content: ""; position: absolute; right: 0; top: 4px; bottom: 4px; width: 1px; background: var(--pmdiv); }
.gpm-pm button:hover:not(:disabled) { background: var(--hov) !important; }
.gpm-pm button:active:not(:disabled) { background: var(--prs) !important; }
.gpm-pm button:disabled { color: var(--g3) !important; }
.gpm-pm svg { width: 13px; height: 13px; stroke-width: 1.8; }
.gpm-tl { font-size: 13px; color: var(--g2) !important; padding: 0 !important; height: 22px; }
.gpm-tl:hover { color: var(--ink) !important; }
.gpm-toth { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.gpm-k2 { color: var(--g2); }
.gpm-tot b { font-size: 15px; font-weight: 700; } /* weight-ok: جمعِ کلِ شباها = عددِ کلیدیِ جدول در ماکتِ تأییدشده */
.gpm-hint { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 11px; border-radius: 14px; font-size: 13px; font-weight: 500; background: var(--acct); color: var(--acc2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.gpm-hint.less { background: var(--orgt); color: var(--org); }
.gpm-hint.more { background: var(--redt); color: var(--red); }
.gpm-hint svg { width: 12px; height: 12px; stroke-width: 2.2; }
.gpm-fillk { height: 24px; padding: 0 10px !important; border-radius: 12px; background: var(--pill) !important; box-shadow: var(--pillsh); color: var(--ink) !important; font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; white-space: nowrap; transition: background .12s ease-out, transform .12s ease-out; }
/* ۲۳ نوامبر «ب»: «کم است» + «اضافه به همین شبا» یک کپسولِ نارنجیِ دوبخشی با خطِ باریکِ میانی */
/* «آره، درستش کن» (داورِ اپل): بلندیِ ۲۸ مثلِ کنترلِ مک؛ بخشِ کار همیشه تهِ رنگیِ خودش را دارد تا بی‌موس هم دکمه دیده شود (خطِ میانی دیگر لازم نیست) */
.gpm-hint.gpm-hcap { padding: 0; gap: 0; overflow: hidden; }
.gpm-hcap .gpm-hw { display: inline-flex; align-items: center; gap: 5px; padding: 0 11px; }
.gpm-hcap .gpm-hsep { display: none; }
html body .gpm-dlg .gpm-hcap .gpm-fillk { height: 28px; padding: 0 12px !important; border-radius: 0; background: var(--orgbf) !important; box-shadow: none; color: var(--orgb) !important; }
html body .gpm-dlg .gpm-hcap .gpm-fillk:hover { background: var(--orgbh) !important; }
html body .gpm-dlg .gpm-hcap .gpm-fillk:active { transform: none; background: var(--orgbh) !important; filter: brightness(.96); }
html body .gpm-dlg .gpm-hcap .gpm-fillk:focus-visible { border-radius: 0; box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--org) 55%, transparent); }

/* شماره‌های ذخیره‌شده: جدولِ دوم، بی‌سرستون، «+ افزودن» در ستونِ مبلغ */
.gpm-cap3 { display: flex; align-items: baseline; gap: 8px; margin: 20px 4px 8px; font-size: 13px; font-weight: 500; color: var(--g2); }
.gpm-svb { display: inline-flex; align-items: center; gap: 4px; }
.gpm-addb { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 10px; border-radius: 12px; background: var(--pill); color: var(--acc2); font-size: 13px; font-weight: 500; box-shadow: var(--pillsh); white-space: nowrap; transition: background .12s ease-out, transform .12s ease-out; }
.gpm-addb svg { width: 13px; height: 13px; stroke-width: 2; }

/* یادداشت و خطا بیرونِ جدول */
.gpm-note { padding: 0 12px; margin: 10px 0 0; font-size: 13px; line-height: 18px; color: var(--g2); }
.gpm-note.gpm-top { margin: 0 0 10px; }
.gpm-note.is-err, .gpm-err { color: var(--red); }
.gpm-err { font-size: 13px; line-height: 18px; }

/* پایین: پس‌گرفتن (راست، قرصِ Gray5 با متنِ قرمز) … انصراف + ارسال (چپ) */
.gpm-ft { display: flex; align-items: center; gap: 8px; padding: 18px 22px 22px; }
.gpm-rv, .gpm-cn { height: 32px; padding: 0 14px !important; border-radius: 16px; display: inline-flex; align-items: center; font-weight: 500; background: var(--gray5) !important; color: var(--ink) !important; white-space: nowrap; transition: background .12s ease-out; }
.gpm-rv { color: var(--red) !important; }
.gpm-rv:hover, .gpm-cn:hover { background: var(--g5h) !important; }
.gpm-sd { height: 32px; min-width: 148px; padding: 0 20px !important; border-radius: 16px; background: var(--acc) !important; color: #fff !important; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 1px 2px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.18); white-space: nowrap; }
.gpm-sd.sm { min-width: 0; height: 28px; padding: 0 16px !important; border-radius: 14px; }
.gpm-paste-b .gpm-cn { height: 28px; border-radius: 14px; }
.gpm-sd:disabled { background: var(--gray4) !important; color: var(--g3) !important; box-shadow: none; }
.gpm-sd:hover:not(:disabled) { filter: brightness(1.06); }
.gpm-sd:active:not(:disabled) { filter: brightness(.92); }
html.gta-dark .gpm-sd:hover:not(:disabled) { filter: none; background: #55a870 !important; } /* brand-check-ignore: هاورِ دکمه‌ی اصلیِ شب طبقِ مشخصات */
html.gta-dark .gpm-sd:active:not(:disabled) { filter: none; background: #3f8656 !important; } /* brand-check-ignore: فشردنِ دکمه‌ی اصلیِ شب طبقِ مشخصات */
.gpm-grp button:focus-visible, .gpm-pm button:focus-visible, .gpm-tl:focus-visible, .gpm-lk:focus-visible, .gpm-keep:focus-visible, .gpm-lnk:focus-visible, .gpm-sd:focus-visible, .gpm-cn:focus-visible, .gpm-rv:focus-visible, .gpm-moi:focus-visible, .gpm-rc:focus-visible, .gpm-fillk:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }

/* squircle بعد از همه‌ی قاعده‌های گوشه (وگرنه گوشه‌ی پایه برنده می‌شود؛ ریشه‌ی «لبه‌ی تیز» ۲۳ نوامبر) */
@supports (corner-shape: squircle) {
  html:root:not(.gta-print-doc) .mud-dialog.gpm-dlg:not(.mud-dialog-fullscreen) { corner-shape: squircle; border-radius: 48px !important; }
  .gpm-tb, .gpm-paste { corner-shape: squircle; border-radius: 30px; }
  .gpm-bkt i, .gpm-th, .gpm-imgv .gpt-img-t { corner-shape: squircle; border-radius: 8px; }
  html body .gpm-dlg button.gpm-rct, .gpm-rct::after { corner-shape: squircle; }
  .gpm-v { corner-shape: squircle; border-radius: 11px; }
}

/* منوی «⋯»: گزینه‌ی حذف قرمز */
.mud-menu-item.gpm-del, .mud-menu-item.gpm-del .mud-icon-root { color: #e0262d !important; } /* brand-check-ignore: قرمزِ حذف */
html.gta-dark .mud-menu-item.gpm-del, html.gta-dark .mud-menu-item.gpm-del .mud-icon-root { color: #ff4245 !important; } /* brand-check-ignore: قرمزِ حذف */
