/* صفحه‌های اپِ ۱٫۷ (۴ اکتبر ۲۰۲۶) — عینِ ماکتِ تأییدشده‌ی Desktop\claude\app17-mockup (نسخه‌ی ۲)، با توکن‌های خودِ سامانه.
   رنگ فقط از توکن (gta-theme.css)؛ شب خودکار با html.gta-dark. پیشوندِ a17- تا با چیزی برخورد نکند. */
.a17 {
  --a17-red-soft: color-mix(in srgb, var(--gta-s-red) 15%, transparent);
  --a17-org-soft: color-mix(in srgb, var(--gta-s-orange) 15%, transparent);
  --a17-blue-soft: color-mix(in srgb, var(--gta-s-blue) 14%, transparent);
  --a17-gold-soft: color-mix(in srgb, var(--gta-s-gold) 16%, transparent);
  color: var(--gta-text);
  font-size: 15px;
  line-height: 1.5;
}
.a17 button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
.a17 [hidden] { display: none !important; }
.a17-i, .a17 svg.a17-i { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.a17 .num { font-feature-settings: "tnum"; font-weight: 500; letter-spacing: -.01em; }

/* ---- پوسته‌ی گوشی ---- */
.a17-ph { max-width: 560px; margin: 0 auto; padding: 0 16px 40px; }
.a17-nav { display: flex; align-items: center; gap: 10px; height: 60px; }
.a17-nav .grow { flex: 1; }
.a17-gb { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--gta-glass-menu); color: var(--gta-text);
  backdrop-filter: blur(22px) saturate(180%); -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: var(--gta-shadow-card), inset 0 0 0 1px var(--gta-sep); transition: transform .12s var(--gta-ease-spring); text-decoration: none; }
.a17-gb:active { transform: scale(.92); }
.a17-gb.q { font-size: 16px; font-weight: 500; color: var(--gta-text-2); }
.a17-lt { font-size: 30px; font-weight: 700; line-height: 1.25; margin: 2px 2px 4px; }

.a17-grp { background: var(--gta-card); border-radius: 24px; box-shadow: var(--gta-shadow-card); overflow: hidden; }
.a17-grp + .a17-grp { margin-top: 14px; }
.a17-r { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 9px 14px; position: relative; cursor: pointer; transition: background .2s; width: 100%; text-align: right; }
.a17-r:active { background: var(--gta-card-2); }
.a17-r:focus-visible { outline: none; box-shadow: inset var(--gta-focus); }
.a17-r + .a17-r::before { content: ""; position: absolute; top: 0; right: 56px; left: 0; height: 1px; background: var(--gta-sep); }
.a17-r .tx { flex: 1; min-width: 0; }
.a17-r .t { font-size: 16px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a17-r .s { font-size: 13px; color: var(--gta-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a17-r .v { font-size: 14px; color: var(--gta-text-2); white-space: nowrap; }
.a17-r .chev { color: var(--gta-text-3); width: 16px; height: 16px; }
.a17-r.big { min-height: 64px; }
.a17-r.big .t { font-size: 17px; }

.a17-sq { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: #fff; flex: none; background: var(--c, var(--gta-s-gray)); }
.a17-sq .a17-i { width: 18px; height: 18px; }
.a17-sq.blue { --c: var(--gta-s-blue); } .a17-sq.grn { --c: var(--gta-s-green); } .a17-sq.gold { --c: var(--gta-s-gold); }
.a17-sq.org { --c: var(--gta-s-orange); } .a17-sq.red { --c: var(--gta-s-red); } .a17-sq.gray { --c: var(--gta-s-gray); }

.a17-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 13.5px; font-weight: 500;
  background: color-mix(in srgb, var(--c, var(--gta-s-gray)) 20%, transparent); color: var(--c, var(--gta-text)); }
.a17-av.a1 { --c: var(--gta-s-blue); } .a17-av.a2 { --c: var(--gta-gold-ink, var(--gta-s-gold)); } .a17-av.a3 { --c: var(--gta-accent-ink); }
.a17-av.a4 { --c: var(--gta-s-purple); } .a17-av.a5 { --c: var(--gta-s-orange); }

/* کلید */
.a17-tg { width: 51px; height: 31px; border-radius: 99px; background: var(--gta-card-3); position: relative; flex: none; transition: background .3s; }
.a17-tg::after { content: ""; position: absolute; top: 2px; right: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25); transition: transform .3s var(--gta-ease-spring); }
.a17-tg.on { background: var(--gta-accent); } .a17-tg.on::after { transform: translateX(-20px); }
.a17-tg.busy { opacity: .55; }

.a17-chip { height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; flex: none; }
.a17-chip.grn { background: var(--gta-accent-soft); color: var(--gta-accent-ink); } .a17-chip.org { background: var(--a17-org-soft); color: var(--gta-s-orange); }
.a17-chip.red { background: var(--a17-red-soft); color: var(--gta-s-red); } .a17-chip.blue { background: var(--a17-blue-soft); color: var(--gta-s-blue); }
.a17-chip.gray { background: var(--gta-card-2); color: var(--gta-text-2); }

.a17-btn { height: 52px; border-radius: 999px; background: var(--gta-accent); color: #fff; font-size: 16px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--gta-accent) 70%, transparent); transition: transform .12s var(--gta-ease-spring); border: 0; cursor: pointer; font-family: inherit; }
.a17-btn:active { transform: scale(.97); }
.a17-btn:disabled { opacity: .6; }
.a17-btn.ghost { background: transparent; color: var(--gta-text-2); box-shadow: none; height: 46px; font-weight: 500; }

/* برگه‌ی پایین */
.a17-scrim { position: fixed; inset: 0; background: rgba(0,0,0,.5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); z-index: 3000; animation: a17fade .3s; }
.a17-sheet { position: fixed; left: 0; right: 0; bottom: 0; max-width: 560px; margin: 0 auto; background: var(--gta-card); color: var(--gta-text); border-radius: 38px 38px 0 0; box-shadow: var(--gta-shadow-float);
  z-index: 3001; padding: 10px 20px calc(26px + env(safe-area-inset-bottom)); animation: a17up .45s var(--gta-ease-spring); font-family: inherit; text-align: center; }
.a17-sheet .a17-grab, .a17-grab { width: 38px; height: 5px; border-radius: 99px; background: var(--gta-card-3); margin: 0 auto 18px; }
.a17-sheet h3 { font-size: 22px; font-weight: 700; margin: 0 0 6px; }
.a17-sheet .a17-lead { color: var(--gta-text-2); font-size: 14.5px; margin: 0 0 24px; }
.a17-sheet .a17-lead b { color: var(--gta-text); font-weight: 500; }
.a17-hero-ic { width: 76px; height: 76px; border-radius: 50%; margin: 4px auto 14px; display: grid; place-items: center; background: var(--gta-accent-soft); color: var(--gta-accent-ink); }
.a17-hero-ic .a17-i { width: 38px; height: 38px; stroke-width: 1.5; }
.a17-sheet .a17-grp { background: var(--gta-card-2); box-shadow: none; margin-bottom: 18px; text-align: right; }
.a17-sheet .a17-r { min-height: 54px; }
.a17-ntf { background: var(--gta-card-3); border-radius: 22px; padding: 12px 14px; display: flex; gap: 12px; align-items: center; margin: 0 0 20px; box-shadow: var(--gta-shadow-card); text-align: right; }
.a17-ntf .ap { width: 36px; height: 36px; border-radius: 11px; background: var(--gta-accent); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; }
.a17-ntf .t { font-size: 15px; font-weight: 600; } .a17-ntf .s { font-size: 13px; color: var(--gta-text-2); }
@keyframes a17up { from { transform: translateY(105%); } }
@keyframes a17fade { from { opacity: 0; } }

/* پیامِ کوتاهِ بالا */
.a17-toast { position: fixed; top: 14px; left: 50%; transform: translate(-50%, -90px); background: var(--gta-glass-menu); color: var(--gta-text); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  box-shadow: var(--gta-shadow-float), inset 0 0 0 1px var(--gta-sep); border-radius: 999px; padding: 10px 18px; font-size: 14px; z-index: 3100; transition: transform .45s var(--gta-ease-spring);
  display: flex; gap: 8px; align-items: center; white-space: nowrap; direction: rtl; }
.a17-toast.on { transform: translate(-50%, 0); }
.a17-toast .ok { width: 22px; height: 22px; border-radius: 50%; background: var(--gta-s-green); color: #fff; display: grid; place-items: center; }
.a17-toast .ok .a17-i { width: 14px; height: 14px; stroke-width: 2.6; }
.a17-err { margin: 0 0 12px; padding: 10px 14px; border-radius: 16px; background: var(--a17-red-soft); color: var(--gta-s-red); font-size: 14px; }

/* ---- فرستادن ---- */
.a17-ths { display: flex; gap: 10px; margin: 4px 0 8px; overflow-x: auto; scrollbar-width: none; }
.a17-th { width: 104px; height: 132px; border-radius: 18px; flex: none; position: relative; overflow: hidden; box-shadow: var(--gta-shadow-card); background: var(--gta-card-2); display: grid; place-items: center; }
.a17-th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.a17-th .lb { position: absolute; bottom: 0; right: 0; left: 0; padding: 16px 9px 7px; font-size: 11.5px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.6)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right; }
.a17-th.doc .lb { background: none; color: var(--gta-text-2); }
.a17-th .dc { width: 46px; height: 56px; border-radius: 10px; background: var(--gta-s-red); color: #fff; display: grid; place-items: center; margin-bottom: 18px; font-size: 11px; font-weight: 700; }
.a17-th .dc.other { background: var(--gta-s-gray); }
/* نوارِ جستجو همیشه بالای نوارِ پایینِ سامانه (--gta-appnav-total = قدِ نوار + حاشیه‌ی امن؛ دسکتاپ صفر) */
.a17-bbar { position: fixed; bottom: var(--gta-appnav-total, 0px); right: 0; left: 0; z-index: 1240;
  padding: 12px 16px max(12px, calc(16px + env(safe-area-inset-bottom, 0px) - var(--gta-appnav-total, 0px)));
  background: linear-gradient(transparent, var(--gta-canvas) 40%); }
.a17-bbar-space { height: calc(90px + var(--gta-appnav-total, 0px)); }
.a17-bbar .in { max-width: 528px; margin: 0 auto; }
.a17-srch { height: 52px; border-radius: 999px; background: var(--gta-glass-menu); backdrop-filter: blur(22px) saturate(180%); -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: var(--gta-shadow-float), inset 0 0 0 1px var(--gta-sep); display: flex; align-items: center; gap: 10px; padding: 0 18px; color: var(--gta-text-3); }
.a17-srch input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--gta-text); font: inherit; font-size: 15.5px; }
.a17-srch input::placeholder { color: var(--gta-text-3); }
.a17-done { min-height: calc(100dvh - 160px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-bottom: 80px; }
.a17-tick { width: 96px; height: 96px; border-radius: 50%; background: var(--gta-s-green); color: #fff; display: grid; place-items: center; margin-bottom: 22px;
  box-shadow: 0 18px 40px -14px color-mix(in srgb, var(--gta-s-green) 80%, transparent); animation: a17pop .6s var(--gta-ease-spring); }
.a17-tick .a17-i { width: 46px; height: 46px; stroke-width: 2.6; stroke-dasharray: 30; stroke-dashoffset: 30; animation: a17draw .45s .25s ease-out forwards; }
@keyframes a17pop { from { transform: scale(.6); opacity: 0; } }
@keyframes a17draw { to { stroke-dashoffset: 0; } }
.a17-done h2 { font-size: 24px; font-weight: 700; margin: 0 0 28px; }
.a17-done .acts { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 6px; }
.a17-empty { min-height: calc(100dvh - 200px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; color: var(--gta-text-2); }
.a17-empty .a17-hero-ic { margin: 0; }
.a17-empty .a17-btn { max-width: 240px; }
.a17-busy { padding: 40px 0; text-align: center; color: var(--gta-text-2); }

/* ---- حضورِ من ---- */
.a17-hero { padding: 10px 4px 18px; }
.a17-hero .k { font-size: 15px; color: var(--gta-text-2); }
.a17-hero .v { font-size: 52px; line-height: 1.15; font-weight: 500; }
.a17-hero .ln { font-size: 15px; color: var(--gta-text-2); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.a17-r .hrs { font-size: 16px; color: var(--gta-text-2); white-space: nowrap; }

/* ---- مدیر: سربرگ ---- */
.a17d { display: flex; flex-direction: column; gap: 12px; padding: 4px 0 12px; min-height: calc(100dvh - 120px); font-size: 14px; }
.a17d-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.a17-island { background: var(--gta-glass-bar); backdrop-filter: blur(22px) saturate(180%); -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: var(--gta-shadow-card), inset 0 0 0 1px var(--gta-sep); border-radius: 999px; height: 44px; display: flex; align-items: center; padding: 0 6px; gap: 4px; }
.a17-island.title { padding: 0 12px 0 8px; gap: 10px; align-items: baseline; padding-top: 10px; }
.a17-island h1 { font-size: 19px; font-weight: 700; margin: 0; padding: 0 4px; }
.a17-island .sub { color: var(--gta-text-2); font-size: 12.5px; }
.a17-island .ib { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--gta-text-2); }
.a17-seg { display: flex; gap: 2px; }
.a17-seg button { height: 34px; padding: 0 16px; border-radius: 999px; color: var(--gta-text-2); font-size: 13.5px; white-space: nowrap; }
.a17-seg button.on { background: var(--gta-card-2); color: var(--gta-text); box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.a17-pill { height: 34px; padding: 0 14px 0 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--gta-text); text-decoration: none; }
.a17-pill.acc { background: var(--gta-accent); color: #fff; }
.a17d .grow { flex: 1; }
.a17-card { background: var(--gta-card); border-radius: 24px; box-shadow: var(--gta-shadow-card); padding: 14px 18px; min-width: 0; display: flex; flex-direction: column; }
.a17-mhead { display: none; }

/* سه عدد */
.a17-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 6px 4px; }
.a17-kpi { padding: 6px 18px; position: relative; }
.a17-kpi + .a17-kpi::before { content: ""; position: absolute; right: 0; top: 12px; bottom: 12px; width: 1px; background: var(--gta-sep); }
.a17-kpi .k { font-size: 14px; color: var(--gta-text-2); display: flex; align-items: center; gap: 8px; }
.a17-kpi .k i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.a17-kpi .v { font-size: 36px; line-height: 1.2; }

/* فهرستِ امروز (دسکتاپ دوستونه) */
.a17-plist { list-style: none; margin: 0; padding: 0; flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); column-gap: 28px; }
.a17-plist li { display: grid; grid-template-columns: 38px minmax(0, 1fr) 56px 170px; gap: 12px; align-items: center; position: relative; padding: 0 6px; min-height: 52px; }
.a17-plist li.sep::before { content: ""; position: absolute; top: 0; right: 56px; left: 6px; height: 1px; background: var(--gta-sep); }
.a17-plist .nm { font-size: 15.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a17-plist .tm { font-size: 15px; color: var(--gta-text-2); }
.a17-plist .st { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.a17-callb { width: 30px; height: 30px; border-radius: 50%; background: var(--gta-accent-soft); color: var(--gta-accent-ink); display: grid; place-items: center; text-decoration: none; }
.a17-callb .a17-i { width: 14px; height: 14px; }

/* این ماه */
.a17-ch { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; min-height: 36px; }
.a17-mnav { display: flex; align-items: center; gap: 4px; background: var(--gta-card-2); border-radius: 999px; height: 36px; padding: 0 4px; }
.a17-mnav b { font-weight: 500; padding: 0 8px; font-size: 14px; }
.a17-mnav button { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--gta-text-2); }
.a17-mnav button:disabled { opacity: .3; cursor: default; }
.a17-mg { display: grid; grid-template-columns: 34px minmax(0, 200px) minmax(0, 1fr) 90px 90px; gap: 16px; align-items: center; }
.a17-hb { display: flex; align-items: center; gap: 12px; }
.a17-hb .tr { flex: 1; height: 8px; border-radius: 99px; background: var(--gta-card-2); overflow: hidden; }
.a17-hb .tr i { display: block; height: 100%; border-radius: 99px; background: var(--gta-accent); }
.a17-hb b { font-weight: 500; min-width: 24px; }
.a17-mh { font-size: 12.5px; color: var(--gta-text-3); padding: 4px 6px; }
.a17-mrows { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; flex-direction: column; }
.a17-mrows li { flex: 1; min-height: 40px; max-height: 52px; padding: 0 6px; position: relative; font-size: 15px; }
.a17-mrows li + li::before { content: ""; position: absolute; top: 0; right: 54px; left: 6px; height: 1px; background: var(--gta-sep); }
.a17-mrows .a17-av { width: 30px; height: 30px; font-size: 11.5px; }
.a17-mrows .nm { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a17-mrows .mu { color: var(--gta-text-3); } .a17-mrows .w { color: var(--gta-s-orange); } .a17-mrows .bd { color: var(--gta-s-red); }
.a17-none { padding: 30px 10px; text-align: center; color: var(--gta-text-2); }

/* ---- تنظیم ---- */
.a17-cols { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 12px; }
.a17-side { display: flex; flex-direction: column; gap: 12px; min-height: 0; }
.a17-cols .a17-card { padding: 10px 8px; }
.a17-cols .a17-card .a17-r { min-height: 54px; padding: 6px 10px; border-radius: 14px; }
.a17-cols .a17-card .a17-r + .a17-r::before { right: 56px; left: 10px; }
.a17-cols .a17-card .a17-r .t { font-size: 15.5px; }
.a17-cols .a17-card .a17-r .v { font-size: 15px; color: var(--gta-text); }
.a17-cols .ch2 { padding: 4px 10px 6px; font-size: 15px; font-weight: 600; }
.a17-emp { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.a17-emp .list { overflow: auto; flex: 1; scrollbar-width: thin; }
.a17-emp .a17-av { width: 34px; height: 34px; font-size: 12px; }
.a17-mapc { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--gta-shadow-card); min-height: 520px; background: var(--gta-card-2); }
.a17-mapc .map { position: absolute; inset: 0; z-index: 0; }
.a17-ov { position: absolute; z-index: 500; background: var(--gta-glass-menu); backdrop-filter: blur(22px) saturate(180%); -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: var(--gta-shadow-float), inset 0 0 0 1px var(--gta-sep); border-radius: 999px; display: flex; align-items: center; gap: 4px; }
.a17-ov.places { top: 14px; right: 14px; padding: 4px; max-width: calc(100% - 28px); overflow-x: auto; scrollbar-width: none; }
.a17-ov.places button { height: 36px; padding: 0 14px; border-radius: 999px; font-size: 14px; color: var(--gta-text-2); white-space: nowrap; }
.a17-ov.places button.on { background: var(--gta-accent); color: #fff; }
.a17-ov.places .add { width: 36px; padding: 0; display: grid; place-items: center; }
.a17-ov.me { top: 14px; left: 14px; width: 44px; height: 44px; justify-content: center; }
.a17-ov.rad { bottom: 14px; right: 50%; transform: translateX(50%); height: 52px; padding: 0 18px; width: min(420px, calc(100% - 28px)); gap: 14px; font-size: 14px; }
.a17-ov.rad .lbl { white-space: nowrap; color: var(--gta-text-2); } .a17-ov.rad .lbl b { color: var(--gta-text); font-weight: 500; }
.a17-ov.rad input[type=range] { flex: 1; min-width: 0; accent-color: var(--gta-accent); }
.a17-sheet .a17-days { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: 0 0 16px; }
.a17-sheet .a17-days button { width: 40px; height: 40px; border-radius: 50%; background: var(--gta-card-2); color: var(--gta-text-2); font-size: 13px; }
.a17-sheet .a17-days button.on { background: var(--gta-accent); color: #fff; }
.a17-sheet input[type=time], .a17-sheet input[type=number], .a17-sheet input[type=text] { font: inherit; color: var(--gta-text); background: transparent; border: 0; outline: 0; text-align: left; width: 110px; color-scheme: light dark; }
.a17-sheet .a17-more { background: none; border: 0; color: var(--gta-text-2); font: inherit; font-size: 14px; padding: 4px 10px; margin: -8px 0 12px; cursor: pointer; }

@media (max-width: 1180px) {
  .a17-plist li { grid-template-columns: 34px minmax(0, 1fr) 48px 150px; }
  .a17-plist { column-gap: 18px; }
  .a17-cols { grid-template-columns: minmax(0, 1fr) 330px; }
}
@media (max-width: 760px) {
  .a17d { font-size: 15px; gap: 12px; min-height: 0; }
  .a17d-top { display: none; }
  .a17-mhead { display: block; }
  .a17-mhead .bar { display: flex; align-items: center; height: 60px; }
  .a17-mhead .bar .grow { flex: 1; }
  .a17-mseg { position: sticky; top: 8px; z-index: 15; margin: 6px 0 4px; background: var(--gta-glass-menu); backdrop-filter: blur(22px) saturate(180%); -webkit-backdrop-filter: blur(22px) saturate(180%);
    box-shadow: var(--gta-shadow-float), inset 0 0 0 1px var(--gta-sep); border-radius: 999px; padding: 4px; display: flex; }
  .a17-mseg .a17-seg { flex: 1; } .a17-mseg .a17-seg button { flex: 1; padding: 0; }
  .a17-mbranch { display: flex; justify-content: center; margin: 4px 0 0; }
  .a17-kpi { padding: 4px 12px; } .a17-kpi .v { font-size: 28px; } .a17-kpi .k { font-size: 13px; }
  .a17-card { padding: 10px 14px; }
  .a17-plist { display: block; }
  .a17-plist li { grid-template-columns: 36px minmax(0, 1fr) auto; grid-template-areas: "av nm st" "av tm st"; row-gap: 0; padding: 10px 2px; }
  .a17-plist li::before { right: 50px !important; }
  .a17-plist li:first-child::before { display: none; }
  .a17-plist li:not(:first-child)::before { content: ""; position: absolute; top: 0; left: 6px; height: 1px; background: var(--gta-sep); }
  .a17-plist .a17-av { grid-area: av; } .a17-plist .nm { grid-area: nm; } .a17-plist .tm { grid-area: tm; font-size: 13px; } .a17-plist .st { grid-area: st; }
  .a17-mg { grid-template-columns: 30px minmax(0, 1fr) 56px 32px 36px; gap: 10px; }
  .a17-mh span { white-space: nowrap; }
  .a17-hb .tr { display: none; }
  .a17-mrows li { min-height: 48px; font-size: 14.5px; }
  .a17-cols { display: flex; flex-direction: column; }
  .a17-mapc { min-height: 260px; }
  .a17-ov.rad { height: 46px; padding: 0 14px; }
  .a17-emp .list { overflow: visible; }
}
@media (min-width: 761px) { .a17-mbranch { display: none; } }
@media (prefers-reduced-motion: reduce) { .a17 *, .a17-sheet, .a17-scrim, .a17-toast { transition: none !important; animation: none !important; } }
.leaflet-container .leaflet-control-attribution { font-size: 10px; }
/* شبِ کامل: فقط کاشی‌های نقشه تیره می‌شوند؛ دایره و نشانگر (لایه‌ی overlay) دست نمی‌خورند */
html.gta-dark .a17-mapc .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.85) contrast(.9); }
html.gta-dark .a17-mapc .leaflet-control-attribution { background: var(--gta-card-2); color: var(--gta-text-3); }
html.gta-dark .a17-mapc .leaflet-control-attribution a { color: var(--gta-text-2); }
/* برگه‌ی محل: کادرِ نام + ذخیره + حذف */
.a17-sheet .a17-field { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; border-radius: 16px; background: var(--gta-card-2); margin: 14px 0 16px; }
.a17-sheet .a17-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--gta-text); font: inherit; font-size: 16px; text-align: right; width: auto; }
.a17-sheet .a17-field:focus-within { box-shadow: var(--gta-focus); }
.a17-sheet .a17-r.danger .t { color: var(--gta-s-red); }
.a17-sheet .a17-btn.danger { background: var(--gta-s-red); box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--gta-s-red) 70%, transparent); }
.a17-blank { flex: 1; min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; color: var(--gta-text-2); padding: 30px 16px; }
.a17-blank .ic { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: var(--gta-card-2); color: var(--gta-text-3); }
.a17-blank .ic .a17-i { width: 44px; height: 44px; stroke-width: 1.4; }
.a17-blank .a17-pill { margin-top: 4px; }
/* ظرفِ صفحه (mud-container) z-index:1 دارد ⇒ برگه هر چقدر هم بالا، زیرِ نوارِ پایینِ گوشی (gta-appnav، 1250) می‌ماند.
   فقط وقتی برگه باز است ظرف را بالای نوار می‌بریم. */
.mud-container:has(> * .a17-sheet), .mud-container:has(.a17-sheet) { z-index: 3000 !important; }
