/* ═══════════════════════════════════════════════════════════════════
   معاملاتِ مشتری — گوشیِ iOS 27 (۱۱ نوامبر ۲۰۲۶).
   ماکتِ تأییدشده: Desktop/claude/mockups/trades-ios27-2026-11-10/demo.html
   فقط گوشی (≤۶۴۰): فهرست (.gti-*)، برگه‌ی معامله (.gti-sheet)، برگه‌ی شبا (.mud-dialog:has(.gti-pay-nav)).
   دسکتاپ هیچ‌چیزش عوض نشده؛ این کلاس‌ها فقط در نشانه‌گذاریِ گوشی هستند.
   رنگ‌ها عددهای ماکتِ تأییدشده‌ی مالک‌اند؛ فقط همین‌جا (توکن) و شب با html.gta-dark.
   ═══════════════════════════════════════════════════════════════════ */
:root {
    --gti-bg: #f2f2f7; --gti-card: #fff; --gti-ink: #000; /* brand-check-ignore: ماکتِ تأییدشده‌ی مالک */
    --gti-ink2: rgba(60,60,67,.6); --gti-ink3: rgba(60,60,67,.3); --gti-sep: rgba(60,60,67,.29);
    --gti-fill: rgba(118,118,128,.12); --gti-brand: #387a4c; --gti-brandTx: #2c6a40; --gti-brandT: rgba(56,122,76,.12); /* brand-check-ignore: ماکتِ تأییدشده‌ی مالک */
    --gti-onbrand: #fff;
    --gti-red: #ff383c; --gti-redT: rgba(255,56,60,.14); --gti-orange: #ff8d28; --gti-orangeT: rgba(255,141,40,.15); --gti-warn: #c46a00; --gti-redTx: #d70015; /* brand-check-ignore: ماکتِ تأییدشده‌ی مالک؛ redTx = متنِ قرمز با کنتراستِ ۵٫۴ */
    --gti-blue: #0088ff; --gti-blueT: rgba(0,136,255,.12); --gti-green: #248a3d; --gti-greenT: rgba(52,199,89,.14); /* brand-check-ignore: ماکتِ تأییدشده‌ی مالک */
    --gti-glass: rgba(255,255,255,.62); --gti-rim: inset 0 1px 0 rgba(255,255,255,.8), inset 0 -1px 0 rgba(0,0,0,.06);
    --gti-shadow: 0 4px 16px rgba(0,0,0,.08); --gti-dim: rgba(0,0,0,.25); --gti-thumb: #fff; --gti-sepline: rgba(0,0,0,.12); /* brand-check-ignore: ماکتِ تأییدشده‌ی مالک */
}
html.gta-dark {
    --gti-bg: #2c2c2e; --gti-card: #3a3a3c; --gti-ink: #fff; /* brand-check-ignore: ماکتِ تأییدشده‌ی مالک، شب */
    --gti-ink2: rgba(235,235,245,.6); --gti-ink3: rgba(235,235,245,.3); --gti-sep: rgba(84,84,88,.6);
    --gti-fill: rgba(118,118,128,.24); --gti-brand: #4f9a66; --gti-brandTx: #7cc795; --gti-brandT: rgba(79,154,102,.20); /* brand-check-ignore: ماکتِ تأییدشده‌ی مالک، شب */
    --gti-onbrand: #0b1f12; /* brand-check-ignore: متنِ تیره روی سبزِ روشنِ شب (AA) */
    --gti-red: #ff4245; --gti-redT: rgba(255,66,69,.2); --gti-orange: #ff9f0a; --gti-orangeT: rgba(255,159,10,.2); --gti-warn: #ffb35c; --gti-redTx: #ff8a80; /* brand-check-ignore: ماکتِ تأییدشده‌ی مالک، شب؛ redTx = متنِ قرمزِ شب با کنتراستِ ۵ */
    --gti-blue: #3fa3ff; --gti-blueT: rgba(63,163,255,.2); --gti-green: #5fd47c; --gti-greenT: rgba(48,209,88,.18); /* brand-check-ignore: ماکتِ تأییدشده‌ی مالک، شب */
    --gti-glass: rgba(58,58,60,.60); --gti-rim: inset 0 1px 0 rgba(255,255,255,.14);
    --gti-shadow: 0 8px 28px rgba(0,0,0,.45); --gti-dim: rgba(0,0,0,.5); --gti-thumb: #5a5a5e; --gti-sepline: rgba(255,255,255,.14); /* brand-check-ignore: ماکتِ تأییدشده‌ی مالک، شب */
}

.gti-glass { background: var(--gti-glass); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); box-shadow: var(--gti-rim), var(--gti-shadow); }
.gti-card { background: var(--gti-card); border-radius: 18px; overflow: hidden; min-width: 0; }
@supports (corner-shape: squircle) { .gti-card { corner-shape: squircle; border-radius: 26px; } }
.gti-pt { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex: none; background: var(--gti-brandT); color: var(--gti-brand); }
@supports (corner-shape: squircle) { .gti-pt { corner-shape: squircle; border-radius: 15px; } }
.gti-pt.is-buy { background: var(--gti-blueT); color: var(--gti-blue); }
.gti-gl { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.gti-chev.mud-icon-root { width: 15px; height: 15px; color: var(--gti-ink3); flex: none; }

/* ───────────── فهرست (فقط گوشی) ───────────── */
.gti-m { display: none; }
@media (max-width: 640px) {
    .gps-page.gti { padding-inline: 0; }
    .gti-m { display: block; min-width: 0; }
    .gti-nav { direction: ltr; display: flex; justify-content: flex-start; padding: 2px 16px 0; }
    .gti-cap { direction: rtl; display: flex; width: 88px; height: 44px; border-radius: 22px; }
    .gti-cap > .mud-menu { flex: 1; position: relative; display: flex; }
    .gti-cap > .mud-menu + .mud-menu::before { content: ""; position: absolute; right: 0; top: 11px; height: 22px; width: 1px; background: var(--gti-sepline); }
    .gti-cap .mud-menu-activator { width: 100%; height: 44px; }
    .gti-cb { position: relative; width: 100%; height: 44px; display: grid; place-items: center; color: var(--gti-ink); cursor: pointer; }
    .gti-cb .mud-icon-root { width: 22px; height: 22px; }
    .gti-dot { position: absolute; top: 9px; right: 9px; width: 8px; height: 8px; border-radius: 4px; background: var(--gti-brand); }
    .gti-h1 { margin: 0; padding: 8px 16px 8px; font-size: 34px; line-height: 41px; font-weight: 700; color: var(--gti-ink); }
    .gti-srch { margin: 0 16px; height: 36px; border-radius: 18px; background: var(--gti-fill); display: flex; align-items: center; gap: 6px; padding: 0 10px; color: var(--gti-ink2); }
    .gti-srch .mud-icon-root { width: 16px; height: 16px; flex: none; }
    .gti-srch input { flex: 1; min-width: 0; height: 36px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 17px; color: var(--gti-ink); }
    .gti-srch input::placeholder { color: var(--gti-ink2); }
    .gti-seg { margin: 10px 16px 0; height: 32px; border-radius: 16px; background: var(--gti-fill); display: flex; padding: 2px; gap: 0; }
    .gti-seg button { flex: 1; min-width: 0; border: 0; border-radius: 14px; background: transparent; font: inherit; font-size: 13px; font-weight: 500; color: var(--gti-ink2); white-space: nowrap; display: flex; align-items: center; justify-content: center; gap: 4px; padding: 0 2px; cursor: pointer; }
    .gti-seg button.is-on { background: var(--gti-thumb); color: var(--gti-ink); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
    .gti-cnt { font-style: normal; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--gti-orange); color: #fff; font-size: 11px; line-height: 16px; font-weight: 700; text-align: center; } /* brand-check-ignore: عددِ منتظرها روی نارنجیِ ماکت */
    html.gta-dark .gti-cnt { color: #000; } /* brand-check-ignore: عددِ منتظرها، شب */
    .gti-fb { margin: 10px 16px 0; padding: 12px; background: var(--gti-card); border-radius: 18px; }
    /* ۲۴ نوامبر ۲۰۲۶ (ماکتِ r4): کپسولِ فیلتر و ⋯ روی همان خطِ عنوانِ بزرگ، سمتِ چپ */
    .gti-trow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 16px 8px; }
    .gti-trow .gti-h1 { padding: 0; min-width: 0; }
    .gti-trow .gti-cap { flex: none; }
    .gti-list { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
    .gti-cap3 { display: flex; justify-content: space-between; align-items: baseline; padding: 22px 32px 8px; gap: 8px; }
    .gti-cap3 b { font-size: 15px; font-weight: 600; color: var(--gti-ink); }
    .gti-cap3 span { font-size: 13px; color: var(--gti-ink2); }
    .gti-list .gti-card { margin: 0 16px; }
    .gti-r { display: flex; align-items: center; gap: 12px; width: 100%; height: 68px; padding: 0 16px; border: 0; background: none; font: inherit; color: var(--gti-ink); text-align: start; position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
    .gti-r + .gti-r::before { content: ""; position: absolute; top: 0; right: 68px; left: 0; height: .5px; background: var(--gti-sep); }
    .gti-r:active { background: var(--gti-fill); }
    .gti-rm { flex: 1; min-width: 0; display: flex; flex-direction: column; }
    .gti-ra, .gti-rb { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
    .gti-p { flex: 1; min-width: 0; font-size: 15px; line-height: 21px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .gti-q { flex: none; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; unicode-bidi: isolate; }
    .gti-q small { font-size: 10.5px; font-weight: 400; color: var(--gti-ink2); }
    .gti-rb { margin-top: 3px; font-size: 12.5px; line-height: 20px; color: var(--gti-ink2); }
    .gti-c { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .gti-am { flex: none; font-size: 12px; font-variant-numeric: tabular-nums; unicode-bidi: isolate; white-space: nowrap; }
    .gti-am b { font-weight: 400; }
    .gti-st { flex: none; height: 20px; padding: 0 7px; border-radius: 10px; display: inline-flex; align-items: center; font-size: 11px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
    .gti-st.off { background: var(--gti-fill); color: var(--gti-ink2); }
    .gti-st.wait { background: var(--gti-orangeT); color: var(--gti-warn); }
    .gti-st.bad { background: var(--gti-redT); color: var(--gti-red); }
    .gti-st.is-hot { background: var(--gti-redT); color: var(--gti-red); }
    .gti-r.is-off { opacity: .55; }
    .gti-r.is-off .gti-p, .gti-r.is-off .gti-q { color: var(--gti-ink2); }
    .gti-r.is-off .gti-pt { background: var(--gti-fill); color: var(--gti-ink2); }
    .gti-r.is-off .gti-q { text-decoration: line-through; }
}

/* ───────────── برگه‌ی معامله (Wallet) — فقط وقتی Phone ───────────── */
.gps-scrim.gti-scrim { background: var(--gti-dim); }
.gps-sheet.gti-sheet { inset: 54px 8px 8px 8px; bottom: 8px; max-width: 520px; max-height: none !important; margin: 0 auto; padding: 0 0 28px; overflow-y: auto; overflow-x: hidden;
    background: var(--gti-bg); border-radius: 26px; box-shadow: 0 -2px 24px rgba(0,0,0,.12); color: var(--gti-ink); font-size: 17px; }
@supports (corner-shape: squircle) { .gps-sheet.gti-sheet { corner-shape: squircle; border-radius: 38px; } }
.gti-grab { width: 36px; height: 5px; border-radius: 3px; background: var(--gti-ink3); margin: 5px auto 0; }
.gti-x { position: absolute; top: 14px; left: 14px; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 22px; display: grid; place-items: center; color: var(--gti-ink); cursor: pointer; padding: 0; }
.gti-x .mud-icon-root { width: 18px; height: 18px; }
.gti-kind { position: absolute; top: 24px; right: 20px; z-index: 1; height: 26px; padding: 0 12px; border-radius: 13px; font-size: 13px; font-weight: 600; display: flex; align-items: center; }
.gti-kind.is-sell { background: var(--gti-brandT); color: var(--gti-brandTx); }
.gti-kind.is-buy { background: var(--gti-blueT); color: var(--gti-blue); }
.gti-hero { text-align: center; padding: 36px 20px 18px; }
.gti-hero .gti-pt { width: 64px; height: 64px; border-radius: 18px; margin: 0 auto; }
@supports (corner-shape: squircle) { .gti-hero .gti-pt { corner-shape: squircle; border-radius: 24px; } }
.gti-hero .gti-gl { width: 34px; height: 34px; stroke-width: 1.6; }
.gti-pn { font-size: 20px; line-height: 26px; font-weight: 600; margin-top: 12px; }
.gti-amt { font-size: 34px; line-height: 41px; font-weight: 700; margin-top: 6px; font-variant-numeric: tabular-nums; }
.gti-u { font-size: 15px; font-weight: 400; color: var(--gti-ink2); margin-right: 4px; }
.gti-meta { font-size: 13px; line-height: 18px; color: var(--gti-ink2); margin-top: 4px; display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; }
.gti-stt.gps-stt { height: 22px; padding: 0 9px; border-radius: 11px; gap: 4px; font-size: 12px; font-weight: 600; background: var(--gti-fill); color: var(--gti-ink2); }
.gti-stt.gps-stt i { width: 6px; height: 6px; background: currentColor !important; }
.gti-stt.s1 { background: var(--gti-greenT); color: var(--gti-green); }
.gti-stt.s0, .gti-stt.s4 { background: var(--gti-orangeT); color: var(--gti-warn); }
.gti-stt.s3 { background: var(--gti-redT); color: var(--gti-red); }
.gti-sheet .gti-card, .gti-sheet .gps-shpo.gti-pend { margin: 0 8px 14px; }
.gti-sheet .gps-shpo.gti-pend { border-radius: 18px; padding: 12px 16px 14px; background: var(--gti-card); }
.gti-act { display: flex; align-items: center; gap: 12px; width: 100%; height: 52px; padding: 0 16px; border: 0; background: none; font: inherit; font-size: 17px; color: var(--gti-ink); text-align: start; position: relative; cursor: pointer; text-decoration: none; }
.gti-act.tall { height: 60px; }
.gti-act:disabled { opacity: .5; cursor: default; }
.gti-act + .gti-act::before { content: ""; position: absolute; top: 0; right: 58px; left: 0; height: .5px; background: var(--gti-sep); }
.gti-act.is-red, .gti-act.is-red .gti-n { color: var(--gti-red); }
.gti-n { flex: 1; min-width: 0; }
.gti-n2 { flex: 1; min-width: 0; }
.gti-n2 b { display: block; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gti-sub { display: block; font-size: 13px; line-height: 18px; color: var(--gti-ink2); margin-top: 1px; }
.gti-sub.is-warn { color: var(--gti-warn); }
.gti-tl { font-size: 13px; color: var(--gti-ink2); flex: none; }
.gti-tl.brand { color: var(--gti-brandTx); font-size: 15px; }
.gti-tl.or { color: var(--gti-warn); }
.gti-tile { width: 30px; height: 30px; border-radius: 7px; display: grid; place-items: center; flex: none; color: #fff; } /* brand-check-ignore: آیکونِ سفید روی کاشیِ رنگی (ماکت) */
@supports (corner-shape: squircle) { .gti-tile { corner-shape: squircle; border-radius: 10px; } }
.gti-tile .mud-icon-root { width: 18px; height: 18px; color: inherit; }
.t-blue { background: linear-gradient(#3d9bff, #0a7aff); } .t-sell { background: linear-gradient(#4a9a62, #387a4c); } /* brand-check-ignore: کاشی‌های ماکتِ تأییدشده */
.t-gold { background: #ff9f0a; } .t-green { background: linear-gradient(#4cd964, #34c759); } /* brand-check-ignore: کاشی‌های ماکتِ تأییدشده */
.t-teal { background: linear-gradient(#5ac8c8, #30b0b0); } .t-gray { background: linear-gradient(#a1a1a6, #8e8e93); } /* brand-check-ignore: کاشی‌های ماکتِ تأییدشده */
.t-red, .gti-act.is-red .gti-tile { background: var(--gti-redT); color: var(--gti-red); }
.gti-act .gpo-accs { margin-inline-start: auto; }
.gti-kv.gps-kv { min-height: 44px; padding: 11px 16px; gap: 12px; font-size: 17px; }
.gti-kv.gps-kv + .gti-kv.gps-kv::before { inset-inline: auto; right: 16px; left: 0; border-top: 0; height: .5px; background: var(--gti-sep); }
.gti-kv.gps-kv > span:first-child { color: var(--gti-ink); }
.gti-kv.gps-kv b { flex: 1; font-size: 16px; font-weight: 400; color: var(--gti-ink2); text-align: left; min-width: 0; }
.gti-kv.gps-kv .gta-fh { flex: 1; min-width: 0; display: flex; justify-content: flex-end; }
.gti-kv.gps-kv small { font-size: 13px; color: var(--gti-ink3); }
.gti-kv.is-top { align-items: flex-start; }
.gti-kv.is-top b { font-size: 15px; line-height: 20px; }
.gti-foot { font-size: 13px; line-height: 18px; color: var(--gti-ink2); padding: 0 32px 12px; margin-top: -6px; }
.gti-sheet .gps-dlv { padding: 10px 14px 12px; }

/* ───────────── برگه‌ی ارسالِ شبا (فقط گوشی؛ عنوان/دکمه‌ی دسکتاپ و گوشی هر دو رندر می‌شوند و با CSS انتخاب) ───────────── */
.gti-m-only { display: none; }
.gti-d-only.mud-spacer { display: block; }
@media (max-width: 640px) {
    .gti-d-only { display: none !important; }
    .gti-pay-nav.gti-m-only { display: flex; }
    .mud-button-root.gti-send.gti-m-only { display: inline-flex; }
}
@media (max-width: 640px) {
/* gta-taste.css قاعده‌ی سراسریِ دیالوگ را با !important دارد؛ اینجا با ویژگیِ بیشتر همان را برای این برگه برمی‌گردانیم */
html:root:not(.gta-print-doc) .mud-dialog:has(.gti-pay-nav):not(.mud-dialog-fullscreen) { height: calc(calc(100 * var(--gta-dvh, 1dvh)) - 54px) !important; max-height: none !important; max-width: 520px !important; margin: 0 auto !important; inset: auto 0 0 0 !important; display: flex; flex-direction: column; overflow: hidden;
    background: var(--gti-bg) !important; border-radius: 38px 38px 0 0 !important; box-shadow: 0 -2px 24px rgba(0,0,0,.12) !important; color: var(--gti-ink); }
@supports (corner-shape: squircle) { html:root:not(.gta-print-doc) .mud-dialog:has(.gti-pay-nav):not(.mud-dialog-fullscreen) { corner-shape: squircle; } }
.mud-dialog:has(.gti-pay-nav)::before { content: ""; position: absolute; top: 5px; left: 50%; width: 36px; height: 5px; margin-left: -18px; border-radius: 3px; background: var(--gti-ink3); z-index: 2; }
.mud-dialog:has(.gti-pay-nav) .mud-dialog-title { padding: 0; flex: none; }
html:root:not(.gta-print-doc) .mud-dialog:has(.gti-pay-nav):not(.mud-dialog-fullscreen) .mud-dialog-content:not([style*="overflow"]):not([style*="height"]) { flex: 1; min-height: 0; overflow-y: auto !important; padding: 4px 0 12px; }
.mud-dialog:has(.gti-pay-nav) .mud-dialog-actions { flex: none; padding: 22px 8px 26px; background: linear-gradient(transparent, var(--gti-bg) 34px); }
.mud-dialog:has(.gti-pay-nav) .gpt { width: 100%; gap: 14px; padding: 0 16px; }
.gti-pay-nav { position: sticky; top: -4px; z-index: 4; height: 56px; display: flex; align-items: center; padding: 8px 16px 0; background: var(--gti-bg); }
.gti-cancel { border: 0; background: none; font: inherit; font-size: 17px; color: var(--gti-brandTx); cursor: pointer; z-index: 1; padding: 0; height: 44px; }
.gti-pay-t { position: absolute; inset: 8px 0 0 0; padding: 0 104px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; text-align: center; }
.gti-pay-t span { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gti-pay-t b { font-size: 17px; line-height: 22px; font-weight: 600; color: var(--gti-ink); }
.gti-pay-t span { font-size: 13px; line-height: 18px; color: var(--gti-ink2); }
.gti-pay-cd { margin-inline-start: auto; z-index: 1; }
.gti-prog { padding: 12px 16px; }
.gti-ptop { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.gti-ptop b { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.gti-ptop u { text-decoration: none; font-size: 13px; font-weight: 400; color: var(--gti-ink2); }
.gti-ptop span { font-size: 13px; color: var(--gti-ink2); }
.gti-bar { height: 6px; border-radius: 3px; background: var(--gti-fill); margin-top: 10px; overflow: hidden; }
.gti-bar i { display: block; height: 100%; border-radius: 3px; background: var(--gti-brand); }
.gti-bar i.is-warn { background: var(--gti-orange); }
.gti-pok { margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--gti-brandTx); display: flex; align-items: center; gap: 4px; }
.gti-pok.is-warn { color: var(--gti-warn); }
.gti-pok .mud-icon-root { width: 13px; height: 13px; }
.gti-ih { height: 50px; display: flex; align-items: center; padding: 0 16px 0 4px; gap: 10px; }
.gti-bk { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(#e2394d, #c8102e); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; flex: none; margin-inline-start: 12px; } /* brand-check-ignore: نشانِ بانک مثلِ ماکت */
@supports (corner-shape: squircle) { .gti-bk { corner-shape: squircle; border-radius: 11px; } }
.gti-ht { flex: 1; min-width: 0; }
.gti-ht b { display: block; font-size: 16px; line-height: 20px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gti-ht span { font-size: 12px; color: var(--gti-ink2); }
.gti-h44 { width: 44px; height: 44px; display: grid; place-items: center; color: var(--gti-ink2); border: 0; background: none; padding: 0; cursor: pointer; flex: none; }
.gti-h44.is-red { color: var(--gti-red); }
.gti-h44 .mud-icon-root { width: 22px; height: 22px; }
.gti-seg2 { margin: 0 16px 8px; height: 32px; border-radius: 16px; background: var(--gti-fill); display: flex; padding: 2px; }
.gti-seg2 button { flex: 1; border: 0; border-radius: 14px; background: transparent; font: inherit; font-size: 13px; font-weight: 500; color: var(--gti-ink2); cursor: pointer; }
.gti-seg2 button.is-on { background: var(--gti-thumb); color: var(--gti-ink); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.gti-fld { position: relative; min-height: 52px; padding: 0 16px; display: flex; align-items: center; }
.gti-fld::before { content: ""; position: absolute; top: 0; right: 16px; left: 0; height: .5px; background: var(--gti-sep); }
.gti-fld .mud-input-control { width: 100%; margin: 0; }
.gti-fld .mud-input, .gti-fld .mud-input-slot { font-size: 16px; color: var(--gti-ink); }
.gti-fld .mud-input.mud-input-text { margin-top: 0; }
.gti-fld .mud-input::before, .gti-fld .mud-input::after { display: none !important; }
.gti-fld .mud-input-label { font-size: 16px; color: var(--gti-ink2); }
.gti-fld .mud-input-helper-text { display: none; }
.gti-fld.gti-ltr input { direction: ltr; text-align: right; font-variant-numeric: tabular-nums; letter-spacing: .6px; }
.gti-amtf input { direction: ltr; text-align: right !important; font-variant-numeric: tabular-nums; font-weight: 600; padding-left: 60px; }
.gti-unit { position: absolute; left: 16px; bottom: 12px; font-size: 13px; color: var(--gti-ink3); pointer-events: none; }
.gti-fld.gti-img { gap: 6px; padding-block: 6px; }
.gti-fld.gti-keep { min-height: 44px; }
.gti-note { position: relative; padding: 8px 16px; font-size: 12.5px; line-height: 18px; color: var(--gti-ink2); }
.gti-note::before { content: ""; position: absolute; top: 0; right: 16px; left: 0; height: .5px; background: var(--gti-sep); }
.gti-paste { padding: 10px 16px; display: flex; flex-direction: column; gap: 8px; }
.gti-duo { display: flex; gap: 10px; padding: 10px 16px 14px; position: relative; }
.gti-duo::before { content: ""; position: absolute; top: 0; right: 58px; left: 0; height: .5px; background: var(--gti-sep); }
.gti-duo > button { flex: 1; height: 46px; border: 0; border-radius: 23px; background: var(--gti-fill); display: flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-size: 15px; font-weight: 500; color: var(--gti-ink); cursor: pointer; padding: 0 6px; white-space: nowrap; }
.gti-duo > button:disabled { opacity: .5; cursor: default; }
.gti-duo .gti-tile { width: 26px; height: 26px; border-radius: 7px; }
.gti-duo .gti-tile .mud-icon-root { width: 16px; height: 16px; }
.gti-card .gpt-file { display: none; }
.mud-dialog-actions .mud-button-root.mud-button-filled.gti-send { width: 100%; height: 50px; border-radius: 25px; background: var(--gti-brand) !important; color: var(--gti-onbrand) !important; font-size: 17px; font-weight: 600; text-transform: none; box-shadow: none; }
.mud-dialog-actions .mud-button-root.mud-button-filled.gti-send.mud-disabled, .mud-dialog-actions .mud-button-root.mud-button-filled.gti-send:disabled { opacity: .4; }
.mud-dialog:has(.gti-pay-nav) .mud-dialog-actions .mud-button-root { margin: 0; }

/* ───────── برگه‌ی شبا، گونه‌ی «ب» (۱۲ نوامبر ۲۰۲۶): فهرست + صفحه‌ی ویرایش ───────── */
.mud-dialog:has(.gti-pay-nav) .gpt { gap: 0; }
.mud-dialog:has(.gti-pay-nav) .mud-dialog-actions { padding: 12px 16px 26px; background: var(--gti-bar); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border-top: .5px solid var(--gti-sep); }
.mud-dialog.gti-editing .mud-dialog-actions { display: none; }
.gti-cancel { height: 40px; padding: 0 18px; border-radius: 20px; background: var(--gti-glass); backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%); box-shadow: var(--gti-rim), var(--gti-shadow); font-weight: 500; }
.gti-back { width: 44px; height: 44px; border: 0; border-radius: 22px; padding: 0; display: grid; place-items: center; background: var(--gti-glass); backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%); box-shadow: var(--gti-rim), var(--gti-shadow); color: var(--gti-brandTx); cursor: pointer; z-index: 1; }
.gti-back .mud-icon-root { width: 24px; height: 24px; }
.gti-done { margin-inline-start: auto; height: 38px; padding: 0 20px; border: 0; border-radius: 19px; background: var(--gti-brand); color: var(--gti-onbrand); font: inherit; font-size: 17px; font-weight: 600; cursor: pointer; z-index: 1; box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.gti-fill { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0 0; }
.gti-fill > button { height: 50px; border: 0; border-radius: 25px; background: var(--gti-card); color: var(--gti-brandTx); font: inherit; font-size: 16px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; padding: 0 6px; white-space: nowrap; }
.gti-fill > button:disabled { opacity: .5; cursor: default; }
.gti-fill .mud-icon-root { width: 22px; height: 22px; }
.gti-sec { font-size: 13px; line-height: 18px; color: var(--gti-ink2); padding: 18px 16px 7px; }
.gtp-list { margin: 0; }
.gti-ir { width: 100%; min-height: 64px; display: flex; align-items: center; gap: 12px; padding: 0 16px; border: 0; background: none; font: inherit; color: var(--gti-ink); text-align: start; cursor: pointer; position: relative; }
.gti-ir + .gti-ir::before { content: ""; position: absolute; top: 0; right: 16px; left: 0; height: .5px; background: var(--gti-sep); }
.gti-ir .gti-bk { width: 38px; height: 38px; margin: 0; border-radius: 10px; font-size: 13px; letter-spacing: 0; }
.gti-ir .gti-bk.h0 { background: #d4203a; } .gti-ir .gti-bk.h1 { background: #1f6fd1; } .gti-ir .gti-bk.h2 { background: #2a9d6f; } /* brand-check-ignore: نشانِ بانک مثلِ ماکتِ تأییدشده */
.gti-ir .gti-bk.h3 { background: #8e5bd8; } .gti-ir .gti-bk.h4 { background: #d9822b; } .gti-ir .gti-bk.h5 { background: #1f9bb0; } /* brand-check-ignore: نشانِ بانک مثلِ ماکتِ تأییدشده */
.gti-irk { flex: 1; min-width: 0; }
.gti-irk b { display: block; font-size: 16px; line-height: 21px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gti-irk > span { display: block; font-size: 13px; line-height: 18px; color: var(--gti-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gti-d { unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
.gtp-am { flex: none; font-size: 15px; color: var(--gti-ink); font-variant-numeric: tabular-nums; unicode-bidi: isolate; white-space: nowrap; }
.gtp-am u { text-decoration: none; font-size: 12px; color: var(--gti-ink3); margin-inline-start: 3px; }
.gtp-am.is-warn { color: var(--gti-warn); font-size: 13px; }
.gti-ir .gti-chev.mud-icon-root { width: 18px; height: 18px; }
.gti-ir.gti-addr .gti-irk b { font-weight: 400; }
.gti-ir.gti-addr .gti-tile { background: var(--gti-orange); color: #fff; } /* brand-check-ignore: ماکتِ تأییدشده */
/* عکسِ واقعیِ فیش، اندازه‌ی متوسط بالای ردیف (۲۸ نوامبر ۲۰۲۶، گزینه‌ی B؛ عددها از apple-spec/shaba-receipt-phone-spec.md) */
.gti-rcimg { display: block; position: relative; width: calc(100% - 32px); height: 200px; margin: 12px 16px 0; padding: 0; border: 0; border-radius: 12px; background: var(--gti-bg); overflow: hidden; cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.gti-rcimg::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 .5px var(--gti-sep); background: transparent; transition: background .2s ease-out; pointer-events: none; }
.gti-rcimg:active::after { background: rgba(0,0,0,.06); transition-duration: .1s; }
html.gta-dark .gti-rcimg:active::after { background: rgba(255,255,255,.08); }
.gti-rcimg.is-bad::after { box-shadow: inset 0 0 0 1px var(--gti-red); }
.gti-rcimg:focus { outline: none; }
.gti-rcimg:focus-visible { outline: 2px solid var(--gti-brand); outline-offset: 2px; }
.gti-rcimg img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; animation: gtiRcIn .2s ease-out; }
.gti-rcimg-x { position: absolute; left: 8px; bottom: 8px; width: 32px; height: 32px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: var(--gti-glass); backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%); box-shadow: var(--gti-rim), 0 2px 8px rgba(0,0,0,.14); color: var(--gti-ink); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.gti-rcimg:active .gti-rcimg-x { transform: scale(.94); transition-duration: .12s; }
.gti-rcimg-s ~ .gti-rcimg-x, .gti-rcimg-f ~ .gti-rcimg-x { display: none; }
.gti-rcimg-x svg, .gti-rcimg-f svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.gti-rcimg-f { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: var(--gti-fill); font-size: 15px; line-height: 20px; font-weight: 500; color: var(--gti-ink); }
.gti-rcimg-f svg { width: 28px; height: 28px; color: var(--gti-ink3); }
.gti-rcimg-s { position: absolute; inset: 0; background: var(--gti-fill); overflow: hidden; }
.gti-rcimg-s::after { content: ""; position: absolute; top: 0; bottom: 0; width: 100px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent); animation: gtiRcSh 1.2s linear infinite; }
html.gta-dark .gti-rcimg-s::after { background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent); }
@keyframes gtiRcIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes gtiRcSh { from { left: -100px; } to { left: 100%; } }
@media (prefers-reduced-motion: reduce) { .gti-rcimg img, .gti-rcimg-s::after { animation: none; } .gti-rcimg-s::after { display: none; } }
@supports (corner-shape: squircle) { .gti-rcimg { corner-shape: squircle; border-radius: 18px; } }
.gti-rcimg + .gti-ir::before { display: none; }
.gti-ir + .gti-rcimg { margin-top: 12px; }
.gti-ir:has(+ .gti-rcimg)::after { content: ""; position: absolute; bottom: 0; right: 16px; left: 0; height: .5px; background: var(--gti-sep); }
.gti-rw { flex: none; display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; }
.gti-rw .mud-icon-root { width: 15px; height: 15px; }
.gti-rw.is-wait { color: var(--gti-wait); }
.gti-rw.is-ok { color: var(--gti-brandTx); }
.gti-rw.is-bad { color: var(--gti-redTx); }
.gti-rcrow { padding-block: 10px; }
.gti-rcrow .gti-irk > span { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.gti-revoke { display: block; width: 100%; border: 0; background: none; font: inherit; font-size: 15px; color: var(--gti-red); text-align: center; padding: 18px 0 14px; cursor: pointer; }
.gpt-err { margin: 8px 16px 0; }
.gti-card + .gti-card, .gti-fill + .gti-card { margin-top: 12px; }
.gti-hidefile { display: none !important; }
.gti-ed .gti-sf, .gti-ed .gti-fr { position: relative; }
.gti-ed > :not(:first-child)::before { content: ""; position: absolute; top: 0; right: 16px; left: 0; height: .5px; background: var(--gti-sep); }
.gti-sf { min-height: 64px; padding: 10px 16px 8px; display: flex; flex-direction: column; justify-content: center; }
.gtp-c { font-size: 13px; line-height: 18px; color: var(--gti-ink2); }
.gti-sf .mud-input-control { margin: 0; width: 100%; }
.gti-sf .mud-input, .gti-fr .mud-input { font-size: 17px; color: var(--gti-ink); }
.gti-sf .mud-input.mud-input-text, .gti-fr .mud-input.mud-input-text { margin-top: 0; }
.gti-sf .mud-input::before, .gti-sf .mud-input::after, .gti-fr .mud-input::before, .gti-fr .mud-input::after { display: none !important; }
.gti-sf .mud-input-slot, .gti-fr .mud-input-slot { padding: 0 !important; height: 26px; }
.gti-sf .mud-input-helper-text, .gti-fr .mud-input-helper-text { display: none; }
.gti-sf input::placeholder, .gti-fr input::placeholder { color: var(--gti-ink3); opacity: 1; }
.gti-sf.gti-ltr input { direction: ltr; text-align: right; font-variant-numeric: tabular-nums; letter-spacing: .3px; }
.gti-fr { min-height: 52px; padding: 0 16px; display: flex; align-items: center; gap: 12px; }
.gti-k { flex: none; font-size: 17px; color: var(--gti-ink); }
.gti-fr .mud-input-control { flex: 1; margin: 0; min-width: 0; }
.gti-fr input { text-align: left; }
.gti-amtf input { direction: ltr; text-align: left !important; font-variant-numeric: tabular-nums; padding-left: 0 !important; }
.gti-ed .gti-unit { position: static; font-size: 13px; color: var(--gti-ink3); }
.gti-addn, .gti-del { width: 100%; border: 0; background: none; font: inherit; font-size: 16px; cursor: pointer; text-align: start; }
.gti-addn { color: var(--gti-brandTx); min-height: 48px; }
.gti-del { color: var(--gti-red); font-size: 17px; }
.gti-addn .mud-icon-root, .gti-del .mud-icon-root { width: 22px; height: 22px; }
.gtp-x { position: absolute; left: 8px; top: 10px; width: 30px; height: 30px; border: 0; background: none; color: var(--gti-ink3); display: grid; place-items: center; cursor: pointer; padding: 0; }
.gtp-x .mud-icon-root { width: 20px; height: 20px; }
.gti-bad { font-size: 12.5px; color: var(--gti-red); }
.gti-sf.gti-img { flex-direction: row; align-items: center; gap: 6px; padding-block: 6px; min-height: 56px; }
.gti-fr.gti-keep { min-height: 48px; }
.gti-foot .gpt-fill { font: inherit; }
.gti-pin { flex: 1; min-width: 0; }
.gti-tot { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 15px; color: var(--gti-ink2); margin-bottom: 10px; }
.gti-tn { font-variant-numeric: tabular-nums; }
.gti-tn b { font-size: 17px; color: var(--gti-ink); font-weight: 700; }
.gti-tn u { text-decoration: none; }
.gti-okw { display: flex; align-items: center; gap: 4px; color: var(--gti-brandTx); font-size: 13px; font-weight: 600; flex: none; }
.gti-okw .mud-icon-root { width: 15px; height: 15px; }
.gti-okw.is-warn { color: var(--gti-warn); }
.gti-pin .mud-button-root.gti-send { width: 100%; }
html:root:not(.gta-print-doc) .mud-dialog:has(.gti-pay-nav) .mud-dialog-actions .mud-button-root.mud-button-filled.gti-send { background: var(--gti-brand) !important; color: var(--gti-onbrand) !important; box-shadow: 0 4px 14px rgba(56,122,76,.28) !important; } /* brand-check-ignore: ماکتِ تأییدشده */
.gti-tn { white-space: nowrap; font-size: 12px; color: var(--gti-ink2); min-width: 0; flex: none; }
.gti-tn b { font-size: 18px; line-height: 24px; font-weight: 700; color: var(--gti-ink); }
.gti-tot .gti-okw { font-size: 12px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gti-rel { display: inline-block; max-width: 46%; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
.gti-foot { margin-top: 8px; }

}
:root { --gti-wait: #b25000; --gti-bar: rgba(242,242,247,.96); } /* brand-check-ignore: عددهای ماکتِ تأییدشده */
html.gta-dark { --gti-wait: #ff9230; --gti-bar: rgba(44,44,46,.96); } /* brand-check-ignore: عددهای ماکتِ تأییدشده، شب */
/* تهِ فایل عمداً قاعده‌ی ساده (نه @media) */
.gti-nav .gti-cap { flex: none; }
