/* Трекер занятости */
.tracker { position: relative; max-width: 980px; }
.tracker__title { font-size: clamp(44px, 7vw, 84px); }   /* в макете Oswald 84 px */
.tracker__top { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }
.tstat, .tslots { padding: clamp(22px, 3vw, 40px) clamp(22px, 4vw, 60px); border-radius: 40px; min-height: 200px; }
.tstat__kicker { margin: 0; font-family: var(--f-display); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #b884d6; }
.tstat__state { display: flex; align-items: center; gap: 14px; margin: 2px 0 24px; font-family: var(--f-display); font-size: clamp(32px, 3.4vw, 42px); text-transform: uppercase; line-height: 1; }
.tstat__state i { width: 10px; height: 10px; border-radius: 50%; background: #f1d8ff; box-shadow: 0 0 0 4px rgba(233,139,255,.3), 0 0 16px var(--accent); }
.tstat__state[data-open="true"] i { background: #c9ffe0; box-shadow: 0 0 0 4px rgba(70,212,138,.3), 0 0 16px var(--ok); }
.tstat__follow { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-family: var(--f-display); font-weight: 300; font-size: 15px; }
.tstat__follow span { display: inline-flex; align-items: center; gap: 10px; }
.tstat__follow span i { width: 40px; height: 1px; background: var(--accent); position: relative; }
.tstat__follow span i::after { content: ""; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-top: 1px solid var(--accent); border-right: 1px solid var(--accent); transform: rotate(45deg); }
.tstat__follow .btn { min-height: 32px; padding: 4px 16px; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; }
.tslots { display: flex; align-items: center; justify-content: center; gap: 16px; background: radial-gradient(60% 70% at 30% 50%, rgba(107,63,240,.22), transparent), linear-gradient(160deg, rgba(13,9,21,.16), rgba(13,9,21,.08)); }
.tslots__num { margin: 0; font-family: var(--f-display); font-weight: 300; font-size: clamp(64px, 7vw, 90px); line-height: 1; white-space: nowrap; }
.tslots__num b { font-weight: 300; color: #7b4a9e; }
.tslots__text { margin: 0; font-family: var(--f-display); font-size: clamp(18px, 2vw, 22px); text-transform: uppercase; line-height: 1.1; }
.tslots__text small { display: block; margin-top: 4px; font-size: 11px; color: #9b6fb8; text-transform: lowercase; }

.tracker__group { margin: 56px 0 16px; text-transform: uppercase; font-size: clamp(17px, 2vw, 21px); letter-spacing: .04em; max-width: 860px; }
.tracker__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.tq {
  display: grid; grid-template-columns: 40px minmax(150px, 1fr) minmax(160px, 1.5fr) auto; align-items: center; gap: 18px;
  padding: 16px 26px 16px 30px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(21,13,33,.9), rgba(34,21,52,.72)), url("../../assets/img/dmaf-bg.webp") center 40% / cover;
  filter: saturate(.75);
}
.tq__num { font-family: var(--f-display); font-size: 16px; color: var(--accent); text-shadow: var(--neon-text); }
.tq__who { display: grid; gap: 4px; min-width: 0; }
.tq__name { font-family: var(--f-display); font-size: clamp(22px, 2.4vw, 28px); text-transform: uppercase; letter-spacing: .04em; line-height: 1.15; padding-bottom: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tq__tags { display: flex; gap: 4px; flex-wrap: wrap; }
.tq__tags span { padding: 1px 8px; border-radius: 999px; background: #e9dcf5; color: #3b2457; font-family: var(--f-body); font-weight: 800; font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.tq__bar { position: relative; height: 24px; border-radius: 999px; background: rgba(130,110,170,.35); border: 1px solid rgba(255,255,255,.25); overflow: hidden; }
.tq__bar i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: linear-gradient(90deg, #6b3ff0, #c467ff 80%, #ffd4ff); box-shadow: 0 0 14px rgba(196,103,255,.7); transition: width 1s var(--ease); }
.tq__bar b { position: relative; display: grid; place-items: center; height: 100%; font-family: var(--f-display); font-weight: 400; font-size: 14px; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
/* у заказа без чек-листа полосы прогресса нет: место под неё на широком экране остаётся, чтобы строки стояли ровно */
.tq__bar.is-none { visibility: hidden; }
.tq__pay { padding: 4px 12px; border-radius: 999px; font-family: var(--f-display); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; border: 1px solid; }
.tq__pay--paid, .tq__pay--done { color: #8ff0b4; border-color: rgba(70,212,138,.5); background: rgba(20,70,45,.6); }
.tq__pay--unpaid { color: #ffd2d2; border-color: rgba(255,122,122,.5); background: rgba(120,30,40,.7); }
.tracker__empty { color: var(--muted); padding-left: 4px; }
.tracker__updated { margin-top: 30px; font-size: 13px; color: var(--muted); }
.tracker__error { padding: 30px; text-align: center; color: var(--warn); }

@media (max-width: 760px) {
  .tracker__title { font-size: min(9.6vw, 56px); white-space: nowrap; }
  .tracker__top { grid-template-columns: 1fr; }
  .tq { grid-template-columns: 30px 1fr auto; border-radius: 28px; padding: 14px 18px; row-gap: 10px; }
  .tq__bar { grid-column: 1 / -1; grid-row: 2; }
  .tq__bar.is-none { display: none; }
}
