/* Taskey Web — استایل هم‌خانواده‌ی اپ iOS. رنگ‌ها فقط از متغیرهای :root تغییر کنند. */
:root {
  color-scheme: light;

  --accent: #10b981;
  --accent2: #f59e0b;
  --bg: #f5f5f2;
  --surface: #ffffff;
  --surface2: #eeeee9;
  --line: #e3e3dd;
  --ink: #111112;
  --muted: #86867f;
  --good: #16a34a;
  --bad: #e5484d;
  --warn: #f59e0b;
  --info: #3b82f6;
  --radius: 20px;

  --shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 8px 24px -12px rgb(0 0 0 / 0.12);
  /* همان فونت سیستم iOS؛ Vazirmatn اگر نصب باشد اولویت دارد */
  --font: "Vazirmatn", -apple-system, BlinkMacSystemFont, "SF Arabic", "Segoe UI", Tahoma, "Iranian Sans", sans-serif;
  --font-round: ui-rounded, "SF Pro Rounded", -apple-system, "Vazirmatn", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0c0c0e;
    --surface: #161618;
    --surface2: #222226;
    --line: #2b2b30;
    --ink: #f4f4f5;
    --muted: #8e8e93;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 10px 30px -14px rgb(0 0 0 / 0.6);
  }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body { min-height: 100dvh; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: var(--accent); text-decoration: none; }

/* ─────────── چیدمان ─────────── */

.shell {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100dvh;
}

@media (min-width: 960px) {
  .shell {
    grid-template-columns: 1fr 248px; /* سایدبار سمت راست چون RTL */
  }
}

.main {
  /* ۸۴px تب‌بار + فاصله‌ی امن پایین دستگاه */
  padding: 18px 16px calc(96px + env(safe-area-inset-bottom));
  max-width: 620px;      /* هم‌عرض تقریبی اپ موبایل؛ نه تمام‌عرض صفحه‌ی دسکتاپ */
  width: 100%;
  margin: 0 auto;
}

@media (min-width: 960px) {
  .main { padding-bottom: 40px; max-width: 640px; }
}

/* موبایل: عرض کامل تا محتوا زیر نوار پایین نرود و لبه‌ها جا داشته باشند */
@media (max-width: 559px) {
  .main { padding-inline: 14px; }
  .tabbar { inset-inline: 12px; }
}

.page { display: none; }
.page.active { display: block; animation: fade 0.25s ease; }

@keyframes fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* ─────────── سایدبار دسکتاپ ─────────── */

.rail { display: none; }

@media (min-width: 960px) {
  .rail {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 22px 14px;
    position: sticky;
    top: 0;
    height: 100dvh;
    border-inline-start: 1px solid var(--line);
    background: var(--surface);
  }
  .rail .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 18px;
    font-weight: 800;
    font-size: 17px;
    letter-spacing: 0.02em;
  }
  .rail .brand .dot {
    width: 26px; height: 26px; border-radius: 9px;
    background: var(--accent);
    display: grid; place-items: center;
    color: #fff; font-size: 14px;
  }
  .rail button {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 14px; border-radius: 14px;
    color: var(--muted); font-weight: 600; font-size: 14px;
    transition: background 0.15s, color 0.15s;
    text-align: start;
  }
  .rail button:hover { background: var(--surface2); color: var(--ink); }
  .rail button.on { background: var(--ink); color: var(--bg); }
  .rail .spacer { flex: 1; }
  .rail .icon { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; }
}

/* ─────────── نوار پایین موبایل ─────────── */

.tabbar { display: none; }

@media (max-width: 959px) {
  .tabbar {
    display: flex;
    gap: 2px;
    position: fixed;
    inset-inline: 18px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    padding: 5px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: var(--shadow);
    z-index: 50;
  }
  .tabbar button {
    flex: 1;
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 8px 2px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 10.5px; font-weight: 600;
    transition: background 0.18s, color 0.18s;
  }
  .tabbar button .icon { display: flex; align-items: center; justify-content: center; height: 20px; }
  .tabbar button.on { background: var(--ink); color: var(--bg); }
}

/* ─────────── اجزای پایه ─────────── */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.stack { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; align-items: center; gap: 10px; }
.row.between { justify-content: space-between; }
.row.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 11.5px; }
.bold { font-weight: 700; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.ltr { direction: ltr; unicode-bidi: embed; }
.hidden { display: none !important; }

h1, h2, h3 { margin: 0; line-height: 1.3; }
h1 { font-size: 28px; font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: 19px; font-weight: 700; }
h3 { font-size: 15px; font-weight: 700; }

.head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.head .titles { flex: 1; min-width: 0; }
.head .sub { color: var(--muted); font-size: 14px; margin-top: 2px; }

/* ─────────── دکمه‌ها ─────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--surface2);
  color: var(--ink);
  font-weight: 600; font-size: 14px;
  transition: transform 0.12s, filter 0.15s, background 0.15s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.96); }
.btn:hover { filter: brightness(0.97); }
.btn.primary { background: var(--accent); color: #04120c; }
.btn.dark { background: var(--ink); color: var(--bg); }
.btn.ghost { background: transparent; border: 1px solid var(--line); }
.btn.danger { background: transparent; border: 1px solid var(--line); color: var(--bad); }
.btn.block { width: 100%; }
.btn:disabled { opacity: 0.4; pointer-events: none; }

.iconbtn {
  width: 44px; height: 44px; flex: 0 0 44px;
  color: var(--ink);
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 17px;
  position: relative;
  transition: transform 0.12s;
}
.iconbtn:active { transform: scale(0.92); }
.iconbtn .badge {
  position: absolute; top: -3px; inset-inline-end: -3px;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--bad); color: #fff;
  font-size: 10px; font-weight: 700;
  display: grid; place-items: center;
}

/* ─────────── فرم‌ها ─────────── */

.field { display: flex; flex-direction: column; gap: 6px; }
.field > label { font-size: 13px; color: var(--muted); font-weight: 600; }

input[type="text"], input[type="tel"], input[type="email"], input[type="number"],
input[type="date"], input[type="datetime-local"], input[type="password"], textarea, select {
  width: 100%;
  padding: 12px 14px;
  background: var(--surface2);
  border: 1px solid transparent;
  border-radius: 13px;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
input:focus, textarea:focus, select:focus { border-color: var(--accent); background: var(--surface); }
textarea { resize: vertical; min-height: 68px; }
select { appearance: none; background-image: none; }

.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 0; }
.switch input { display: none; }
.switch .track {
  width: 48px; height: 28px; border-radius: 999px; background: var(--surface2);
  border: 1px solid var(--line); position: relative; transition: background 0.2s; flex: 0 0 48px;
}
.switch .track::after {
  content: ""; position: absolute; top: 3px; inset-inline-start: 3px;
  width: 20px; height: 20px; border-radius: 999px; background: var(--muted);
  transition: transform 0.2s, background 0.2s;
}
.switch input:checked + .track { background: var(--accent); border-color: var(--accent); }
.switch input:checked + .track::after { background: #fff; transform: translateX(-20px); }
[dir="ltr"] .switch input:checked + .track::after { transform: translateX(20px); }

/* ─────────── قرص‌ها و برچسب‌ها ─────────── */

.chips {
  display: flex;
  flex-wrap: wrap;        /* در موبایل می‌پیچد تا قرصی بریده نشود */
  gap: 8px;
  padding-bottom: 2px;
  max-width: 100%;
}
/* فقط وقتی فضای کافی هست، یک ردیف اسکرولی مثل اپ */
@media (min-width: 720px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  padding: 8px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--ink);
  white-space: nowrap; transition: background 0.15s, color 0.15s;
}
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.pills {
  display: flex; gap: 4px; padding: 4px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
}
.pills button {
  flex: 1; padding: 9px 10px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: var(--muted);
  transition: background 0.18s, color 0.18s;
}
.pills button.on { background: var(--ink); color: var(--bg); }

.tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700;
  background: color-mix(in srgb, currentColor 14%, transparent);
}

/* ─────────── نوار پیشرفت ─────────── */

.bar { height: 8px; border-radius: 999px; background: var(--surface2); overflow: hidden; }
.bar > i {
  display: block; height: 100%; border-radius: 999px; background: var(--accent);
  transition: width 0.45s cubic-bezier(0.34, 1.3, 0.64, 1);
}
.bar.thin { height: 6px; }

/* ─────────── متریک ─────────── */

.metric { flex: 1; min-width: 0; }
.metric .k { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.metric .v { font-size: 14px; font-weight: 800; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--font-round); }

/* ─────────── لیست‌ها ─────────── */

.items > * + * { border-top: 1px solid var(--line); }
.item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; width: 100%; text-align: start;
  transition: opacity 0.15s;
}
.item:hover { opacity: 0.75; }
.item .ico {
  width: 36px; height: 36px; flex: 0 0 36px;
  border-radius: 999px; display: grid; place-items: center; font-size: 14px;
}
.item .ttl { font-weight: 700; font-size: 14px; }
.item .sub { font-size: 12px; color: var(--muted); margin-top: 1px; }

.avatar {
  width: 44px; height: 44px; flex: 0 0 44px;
  border-radius: 999px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent); font-weight: 800; font-size: 17px;
}

/* ─────────── خالی ─────────── */

.empty { text-align: center; padding: 30px 16px; color: var(--muted); }
.empty .ic { font-size: 32px; opacity: 0.6; }
.empty .t { font-weight: 700; color: var(--ink); margin-top: 8px; }
.empty .d { font-size: 13px; margin-top: 4px; }

/* ─────────── مودال ─────────── */

.sheet-wrap {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: end center;
  background: rgb(0 0 0 / 0.4);
  backdrop-filter: blur(3px);
  animation: fadeIn 0.18s ease;
}
@media (min-width: 720px) { .sheet-wrap { place-items: center; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.sheet {
  width: 100%; max-width: 560px;
  max-height: 92dvh;
  background: var(--bg);
  border-radius: 26px 26px 0 0;
  display: flex; flex-direction: column;
  animation: slideUp 0.26s cubic-bezier(0.32, 0.72, 0, 1);
  overflow: hidden;
}
@media (min-width: 720px) { .sheet { border-radius: 26px; max-height: 88dvh; } }
@keyframes slideUp { from { transform: translateY(24px); opacity: 0.6; } to { transform: none; opacity: 1; } }

.sheet header {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.sheet header .ttl { font-weight: 800; font-size: 16px; flex: 1; }
.sheet .body { padding: 18px; overflow-y: auto; flex: 1; }
.sheet footer {
  display: flex; gap: 10px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); background: var(--bg);
}
.sheet footer .btn { flex: 1; }

/* ─────────── تقویم ─────────── */

.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-grid .wd { text-align: center; font-size: 11.5px; color: var(--muted); font-weight: 700; padding-bottom: 2px; }
.cal-day {
  min-height: 44px; border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-size: 14px; color: var(--ink);
  transition: transform 0.15s, background 0.15s;
}
.cal-day:hover { transform: scale(1.04); }
.cal-day.sel { background: var(--ink); color: var(--bg); font-weight: 800; }
.cal-day .dot { width: 5px; height: 5px; border-radius: 999px; background: transparent; }
.cal-day .dot.due { background: var(--warn); }
.cal-day.today { box-shadow: inset 0 0 0 1.5px var(--ink); }

/* ─────────── فاکتور ─────────── */

.invoice-preview {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a0a0a;
  line-height: 0;
}
.invoice-preview canvas { width: 100%; height: auto; display: block; }

/* ─────────── اعلان داخل صفحه ─────────── */

.toast-layer {
  position: fixed; z-index: 200;
  inset-inline: 0; bottom: calc(90px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  pointer-events: none;
}
@media (min-width: 960px) { .toast-layer { bottom: 24px; } }
.toast {
  background: var(--ink); color: var(--bg);
  padding: 11px 18px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600;
  box-shadow: var(--shadow);
  animation: toastIn 0.25s cubic-bezier(0.34, 1.4, 0.64, 1);
  max-width: 88vw;
}
.toast.bad { background: var(--bad); color: #fff; }
@keyframes toastIn { from { transform: translateY(10px) scale(0.95); opacity: 0; } to { transform: none; opacity: 1; } }

/* ─────────── ورود ─────────── */

.auth {
  min-height: 100dvh;
  display: grid; place-items: center;
  padding: 24px;
}
.auth .box { width: 100%; max-width: 400px; }
.auth .logo {
  width: 56px; height: 56px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 26px;
  margin-bottom: 18px;
}
.auth h1 { font-size: 28px; }
.auth .lead { color: var(--muted); font-size: 14.5px; margin-top: 4px; margin-bottom: 22px; }

/* ─────────── جدول (دسکتاپ) ─────────── */

.grid2 { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 720px) { .grid2 { grid-template-columns: 1fr 1fr; } }

/* ─────────── اسکلت بارگذاری ─────────── */

.loading { display: grid; place-items: center; min-height: 60dvh; color: var(--muted); gap: 12px; }
.spinner {
  width: 26px; height: 26px; border-radius: 999px;
  border: 2.5px solid var(--line); border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─────────── شناسه‌ی پروژه ─────────── */

.proj-code {
  display: inline-block;
  font-family: var(--font-round);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: var(--surface2);
  border-radius: 6px;
  padding: 1px 7px;
  direction: ltr;
  unicode-bidi: embed;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ─────────── کارت پروژه ─────────── */

.proj-card {
  display: block;
  width: 100%;
  max-width: 100%;
  text-align: start;
  overflow: hidden;          /* هیچ فرزندی از کارت بیرون نزند */
  padding: 14px 16px;
}

.proj-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.proj-title {
  min-width: 0;              /* لازم برای اینکه متن بلند کوتاه شود نه اینکه بترکاند */
}
.proj-title .bold {
  font-size: 15px;
  line-height: 1.45;
  /* دو خط حداکثر، بعد کوتاه شود — عنوان کامل در صفحه‌ی جزئیات هست */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.proj-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  max-width: 45%;
}
.proj-badges .tag {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.proj-bar { margin: 12px 0 9px; }

/* متادیتا: هر مورد مستقل و قابل شکستن — نه یک رشته‌ی nowrap */
.proj-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 12px;
  color: var(--muted);
  min-width: 0;
}
.proj-meta > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.proj-debt { margin-top: 10px; }
.proj-debt .tag { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ─────────── محافظ سراسری سرریز ─────────── */

html, body { max-width: 100%; overflow-x: hidden; }

.shell, .main, .stack, .card, .head {
  min-width: 0;
  max-width: 100%;
}

.card { overflow-wrap: anywhere; }

/* ردیف‌هایی که متن بلند دارند باید بتوانند بشکنند، نه اینکه بیرون بزنند */
.row { min-width: 0; }
.row > * { min-width: 0; }

/* برچسب‌ها هرگز از عرض کارت بیرون نزنند */
.tag { max-width: 100%; }
.chips { max-width: 100%; }

/* دکمه‌های آیکونی نباید کوچک شوند و نباید فضای متن را بخورند */
.iconbtn { flex-shrink: 0; }

/* متن‌های nowrap فقط برای محتوای کوتاه؛ اگر بلند شد کوتاه شود */
.nowrap { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

/* ─────────── چاپ ─────────── */

.num-round { font-family: var(--font-round); letter-spacing: -0.01em; }

@media print {
  .rail, .tabbar, .head .iconbtn, .btn, .toast-layer, .install { display: none !important; }
  .main { padding: 0; max-width: none; }
  .card { border: 0; }
  body { background: #fff; }
}

/* ─────────── راهنمای نصب روی صفحهٔ خانه ─────────── */

html.install-open, html.install-open body { overflow: hidden; }

.install {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  justify-content: center;
  background: var(--surface);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.install.on { opacity: 1; }
.install.closing { opacity: 0; }

.install-card {
  width: 100%;
  max-width: 430px;
  min-height: 100%;
  padding: calc(36px + env(safe-area-inset-top)) 24px calc(16px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}

/* روی صفحه‌های کوتاه، فاصله‌های بالا و پایین کم شوند تا محتوا به دکمه نچسبد */
@media (max-height: 620px) {
  .install-card { padding-top: calc(20px + env(safe-area-inset-top)); }
  .install-logo { margin-bottom: 14px; }
  .install-logo img { width: 64px; height: 64px; }
  .install-title { font-size: 17px; }
  .install-sep { margin-top: 16px; }
  .istep { padding: 8px 0; }
}

/* آیفون SE و صفحه‌های کوتاه‌تر: دکمه باید بدون اسکرول دیده شود */
@media (max-height: 620px) and (max-width: 400px) {
  .install-card { padding-top: calc(14px + env(safe-area-inset-top)); padding-inline: 20px; }
  .install-hint { display: none; }
  .install-logo { margin-bottom: 10px; }
  .install-logo img { width: 56px; height: 56px; border-radius: 16px; }
  .install-title { font-size: 16px; line-height: 1.6; max-width: 270px; }
  .install-sep { margin: 14px 4px 2px; }
  .install-steps { padding-top: 6px; }
  .istep { padding: 6px 0; gap: 10px; }
  .istep-t { font-size: 12.5px; line-height: 1.7; }
  .istep-i { flex-basis: 28px; height: 28px; }
  .istep-i svg { width: 20px; height: 20px; }
  .install-foot { padding-top: 14px; }
  .install-foot .btn { padding: 13px 16px; font-size: 14px; }
}

.install-top { text-align: center; }

.install-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.install-logo img {
  width: 76px; height: 76px;
  border-radius: 20px;
  box-shadow: 0 6px 20px -8px rgb(0 0 0 / 0.28);
}

.install-title {
  margin: 0 auto;
  max-width: 300px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.62;
  letter-spacing: -0.2px;
  color: var(--ink);
  text-wrap: balance;
}

.install-hint {
  margin: 10px auto 0;
  max-width: 316px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--muted);
}

.install-sep {
  height: 1px;
  margin: 22px 4px 6px;
  background: var(--line);
}

.install-steps { padding: 12px 2px 0; }

.istep {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
}

.istep-n {
  flex: 0 0 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--surface2);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.istep-t {
  flex: 1;
  min-width: 0;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink);
}
.istep-t b { font-weight: 800; }

.istep-i {
  flex: 0 0 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--info);
}
.istep-i svg { width: 24px; height: 24px; }

.ipill {
  font-size: 12px;
  font-weight: 700;
  color: var(--info);
  border: 1px solid var(--info);
  border-radius: 8px;
  padding: 3px 7px;
  line-height: 1;
}

.install-foot {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.install-foot .btn { padding: 15px 18px; font-size: 15px; font-weight: 700; border-radius: 15px; }

@media (min-width: 720px) {
  .install { align-items: center; background: rgb(0 0 0 / 0.35); }
  .install-card {
    min-height: 0;
    max-width: 420px;
    border-radius: 26px;
    background: var(--surface);
    padding: 30px 26px 24px;
    box-shadow: var(--shadow);
  }
  .install-foot { padding-top: 22px; }
}
