:root {
  --bg: #111214;
  --bg-soft: #1a1b1e;
  --maroon: #3b1420;
  --red: #dc0032;
  --red-bright: #ff2d55;
  --text: #f3f4f6;
  --muted: #8e8b90;
  --muted-2: #6f6c72;
  --line: rgba(255, 255, 255, 0.07);
  --radius: 16px;
  --col: 443px;
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body { overscroll-behavior-y: none; }

a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* ── Шапка ─────────────────────────────────────────────── */

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  background: rgba(17, 18, 20, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 30;
}

.brand { display: flex; align-items: center; gap: 8px; }
.brand-mark { width: 22px; height: 22px; border-radius: 6px; display: block; }
.brand-name { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.brand-badge {
  font-size: 11px;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 2px 9px;
  margin-left: 2px;
}

.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(140deg, #dc0032, #7c0019);
  flex: none;
}

[hidden] { display: none !important; }

.backbar { display: flex; align-items: center; gap: 10px; }
.back {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 10px;
  background: #1b1c1f;
  color: #d9d7dc;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.back svg { width: 18px; height: 18px; }
.back-title { font-size: 15px; font-weight: 600; }

/* ── Контент ───────────────────────────────────────────── */

.view {
  max-width: var(--col);
  margin: 0 auto;
  padding: calc(56px + 18px) 16px calc(74px + env(safe-area-inset-bottom));
}

.greeting { font-size: 13px; color: var(--muted); }
.page-title { margin: 2px 0 16px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }

.loading {
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
}
.spinner {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 3px solid rgba(220, 0, 50, 0.22);
  border-top-color: var(--red);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Большая карточка с иллюстрацией ───────────────────── */

.hero {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--maroon);
  margin-bottom: 24px;
}
.hero-img {
  display: block;
  width: 100%;
  aspect-ratio: 443 / 295;
  object-fit: cover;
  background: #fff;
}
.hero-img--detail { aspect-ratio: 395 / 262; }
.hero-body { padding: 14px 16px 16px; }
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--red-bright);
  text-transform: uppercase;
}
.hero-title { margin: 7px 0 6px; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.hero-text { margin: 0 0 14px; font-size: 13.5px; line-height: 1.45; color: #cfc9cd; }

.btn {
  display: block;
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.btn:active { background: #b80029; }

/* ── Списки и строки ───────────────────────────────────── */

.section-label {
  margin: 24px 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.list { display: flex; flex-direction: column; }

.row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  min-height: 56px;
}
.row:last-child { border-bottom: 0; }

.row-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  color: #b9b7bc;
  flex: none;
}
.row-icon svg { width: 17px; height: 17px; }

.row-main { flex: 1; min-width: 0; }
.row-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
}
.row-sub {
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--muted);
}
.chev { color: #5b595e; flex: none; display: grid; place-items: center; }
.chev svg { width: 16px; height: 16px; }

.chip {
  font-size: 10.5px;
  font-weight: 600;
  color: #3ddc84;
  background: rgba(61, 220, 132, 0.12);
  border-radius: 6px;
  padding: 2px 6px;
  white-space: nowrap;
}

.row-action {
  flex: none;
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.row-action:active { background: #b80029; }

/* ── Профиль ───────────────────────────────────────────── */

.account { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.avatar-lg {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(140deg, #dc0032, #7c0019);
  flex: none;
}
.account-name { font-size: 16px; font-weight: 600; }
.account-id { margin-top: 2px; font-size: 12.5px; color: var(--muted); }

.balance { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; }
.balance-sub { margin: 2px 0 14px; font-size: 13px; color: var(--muted); }

.btn-quiet {
  display: block;
  width: 100%;
  height: 46px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid rgba(220, 0, 50, 0.35);
  color: rgba(220, 0, 50, 0.62);
  font-size: 14px;
  font-weight: 500;
  cursor: not-allowed;
}

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0 10px; }
.stat { background: var(--bg-soft); border-radius: 12px; padding: 12px 14px; }
.stat b { display: block; font-size: 16px; font-weight: 700; }
.stat span { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }

.note { margin: 4px 0 0; font-size: 12px; line-height: 1.45; color: #7c797f; }

.link-red {
  display: inline-block;
  margin: 10px 0 2px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--red);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.link-red .arrow { font-size: 12px; opacity: 0.8; }

.empty { margin: 4px 0 0; font-size: 13px; color: var(--muted); }

.check-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  font-weight: 600;
}
.check-row:last-child { border-bottom: 0; }
.check {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: var(--red);
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
  border: 0;
  cursor: pointer;
}
.check svg { width: 13px; height: 13px; }
.check.off { background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.25); }

.app-foot { margin: 28px 0 0; text-align: center; font-size: 12px; color: var(--muted-2); }

/* ── Карточка направления ──────────────────────────────── */

.view--detail { max-width: 400px; }

.btn-dark {
  display: block;
  width: 100%;
  height: 46px;
  margin: 14px 0 6px;
  border: 0;
  border-radius: 12px;
  background: #26272b;
  color: #e9e9ec;
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
}
.btn-dark:active { background: #303136; }

.steps { list-style: none; margin: 6px 0 0; padding: 0; }
.step { display: flex; gap: 12px; padding: 8px 0; }
.step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid #47474d;
  color: #c9c7cc;
  font-size: 11px;
  font-weight: 600;
  display: grid;
  place-items: center;
  flex: none;
  margin-top: 1px;
}
.step.is-current .step-num { border-color: var(--red); color: #ff5c7a; }
.step.is-done .step-num { background: #2fbf5b; border-color: #2fbf5b; color: #fff; }
.step-title { font-size: 14px; font-weight: 600; }
.step-text { margin-top: 2px; font-size: 12.5px; color: var(--muted); line-height: 1.4; }

.conds { list-style: none; margin: 6px 0 0; padding: 0; }
.cond { display: flex; gap: 12px; padding: 9px 0; }
.cond-badge {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex: none;
  margin-top: 1px;
}
.cond-title { font-size: 14px; font-weight: 600; }
.cond-text { margin: 3px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.45; }

.detail-cta { margin-top: 12px; }

.about { margin: 2px 0 4px; }
.about-block { padding: 10px 0; border-bottom: 1px solid var(--line); }
.about-block:last-child { border-bottom: 0; }
.about-title { margin-bottom: 3px; font-size: 14px; font-weight: 600; }
.about-text { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); }

.row-icon--pink { background: rgba(220, 0, 50, 0.16); color: #ff4d6d; }
.chip--ok { color: #3ddc84; background: rgba(61, 220, 132, 0.12); margin-left: 6px; }
.chip--work { color: #ff3b5c; background: rgba(220, 0, 50, 0.16); }
.chip--muted { color: #a5a2a8; background: rgba(255, 255, 255, 0.08); }

/* ── Форма реквизитов ──────────────────────────────────── */

.req-form { margin: 6px 0 4px; }
.field-label { display: block; margin: 14px 0 6px; font-size: 13px; color: var(--muted); }
.select-wrap { position: relative; }
.select-wrap::after {
  content: '⌄';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-58%);
  color: #c9c7cc;
  font-size: 14px;
  pointer-events: none;
}
.select {
  width: 100%;
  height: 46px;
  padding: 0 38px 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #17181b;
  color: var(--text);
  font-size: 14.5px;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
}
.select:focus { outline: none; border-color: var(--red); }
.input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #17181b;
  color: var(--text);
  font-size: 14.5px;
  font-family: inherit;
}
.input:focus { outline: none; border-color: rgba(220, 0, 50, 0.7); }
.hint { margin: 8px 0 14px; font-size: 12px; line-height: 1.4; color: var(--muted-2); }
.btn-save {
  display: inline-block;
  padding: 10px 18px;
  border: 0;
  border-radius: 9px;
  background: #26272b;
  color: #e9e9ec;
  font-size: 13.5px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
}
.btn-save:active { background: #303136; }

/* ── Экран задания ─────────────────────────────────────── */

.task-card {
  background: #141519;
  border-radius: 14px;
  padding: 18px 18px 16px;
  margin-bottom: 12px;
}
.task-title { margin: 10px 0 4px; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.task-meta { font-size: 12.5px; color: var(--muted); }
.task-line { margin-top: 10px; font-size: 12px; color: #b9b6bc; }
.task-section { margin-top: 16px; }
.task-section-title { margin-bottom: 6px; font-size: 13px; font-weight: 700; }
.task-emoji { font-size: 12px; }
.task-text { margin: 0 0 8px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.task-list { margin: 0; padding: 0; list-style: none; }
.task-list li { position: relative; margin-bottom: 6px; padding-left: 14px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.task-list li::before { content: '▫'; position: absolute; left: 1px; color: #7aa7ff; }
.task-outro { margin: 16px 0 0; font-size: 12.5px; color: #d6d3d8; }

.report-card { background: #141519; border-radius: 14px; padding: 18px; }
.report-title { font-size: 15px; font-weight: 700; }
.report-text { margin: 4px 0 12px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.file-btn {
  position: relative;
  display: inline-block;
  border: 0;
  border-radius: 9px;
  padding: 9px 14px;
  background: #26272b;
  color: #e6e4e9;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  overflow: hidden;
}
.file-btn input[type="file"] {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  cursor: pointer;
}
.file-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; font-size: 12px; color: var(--muted); word-break: break-word; }
.file-chip {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 7px;
  background: #26272b;
  color: #d6d3d8;
  font-size: 11.5px;
}
.file-chip-x {
  margin-left: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8e8b90;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  line-height: 1;
}
.textarea {
  width: 100%;
  min-height: 90px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #17181b;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
}
.textarea:focus { outline: none; border-color: rgba(220, 0, 50, 0.7); }
.report-submit { margin-top: 12px; }
.btn:disabled { opacity: 0.6; }
.btn.is-disabled { background: #2a2b2f; color: #8e8b90; }
.modal-icon--red { color: var(--red); }
.modal-icon--red svg { display: block; width: 34px; height: 34px; }

/* ── Выбор модели оплаты ───────────────────────────────── */

.radio-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  padding: 15px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #1a1b1f;
  cursor: pointer;
}
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-dot {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #8e8b90;
}
.radio-card input:checked + .radio-dot {
  border-color: #fff;
  background: #fff;
  box-shadow: inset 0 0 0 3px #1a1b1f;
}
.radio-text { font-size: 14px; font-weight: 500; }

/* ── Экран «Сколько можно заработать» ──────────────────── */

.earn-name { margin: 18px 0 8px; font-size: 14px; font-weight: 600; }

.mock {
  background: #ffffff;
  color: #111418;
  border-radius: 14px;
  padding: 14px 14px 16px;
  font-size: 13px;
}
.mock-top { display: flex; align-items: center; gap: 8px; color: #111418; }
.mock-icon { font-size: 13px; color: #111418; }
.mock-status { flex: 1; text-align: center; font-weight: 700; font-size: 13px; }
.mock-icons { display: flex; gap: 10px; }
.mock-title { margin: 12px 0 6px; font-size: 19px; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }
.mock-desc { font-size: 12.5px; color: #5b6068; line-height: 1.35; margin-bottom: 8px; }
.mock-metrics { display: flex; gap: 14px; margin: 12px 0 6px; font-size: 13px; font-weight: 600; color: #111418; }
.mock-metric { white-space: nowrap; }
.mock-callout {
  display: inline-block;
  margin: 2px 0 8px;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid #2f80ed;
  color: #2f80ed;
  font-size: 12px;
  font-weight: 700;
  background: #f3f8ff;
}
.mock-limit { background: #fdeef1; border-radius: 10px; padding: 10px 12px; margin: 10px 0; }
.mock-limit-label { font-size: 11.5px; color: #6b7078; }
.mock-q {
  display: inline-grid;
  place-items: center;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid #b9bec6;
  font-size: 9px;
  color: #8a9099;
}
.mock-limit-row { display: flex; align-items: center; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.mock-limit-value { font-size: 18px; font-weight: 800; color: #e11d48; }
.mock-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #e11d48;
  color: #e11d48;
  font-size: 11px;
  font-weight: 600;
  background: #fff;
}
.mock-tag--blue { border-color: #2f80ed; color: #2f80ed; }
.mock-tag--dark { border-color: #d6d9de; color: #6b7078; background: #f4f5f7; font-weight: 500; }
.mock-small {
  margin-left: auto;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid #d6d9de;
  font-size: 12px;
  font-weight: 600;
  background: #fff;
}
.mock-services { display: flex; align-items: center; gap: 6px; margin: 8px 0 2px; font-size: 11.5px; color: #6b7078; }
.mock-btn {
  margin-top: 8px;
  padding: 11px 12px;
  border-radius: 9px;
  background: #1f2126;
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}
.mock-btn--light { background: #f1f2f4; color: #1f2126; }

.earn-caption {
  margin-top: -8px;
  padding: 14px;
  background: #fff;
  color: #111418;
  border-radius: 12px;
}
.earn-caption-head { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; flex-wrap: wrap; }
.earn-caption-text { margin: 4px 0 0; font-size: 12.5px; color: #5b6068; line-height: 1.4; }

.earn-label { margin: 14px 0 6px; font-size: 12px; color: var(--muted-2); text-align: center; }

.earn-table { display: flex; flex-direction: column; }
.earn-table-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
}
.earn-table-row:last-child { border-bottom: 0; }
.earn-table-key { color: var(--muted); }
.earn-table-value { text-align: right; font-weight: 600; color: var(--text); }
.earn-table-value.is-green { color: #3ddc84; }
.earn-section { margin-bottom: 6px; }

/* ── Путь по заданию и блоки объявления ────────────────── */

.path { display: flex; flex-direction: column; gap: 4px; }
.path-step { display: flex; gap: 12px; padding: 8px 0; }
.path-num {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  border: 1.5px solid #47474d;
  color: #c9c7cc;
  font-size: 11px;
  font-weight: 600;
  display: grid;
  place-items: center;
}
.path-num.is-done { background: #2fbf5b; border-color: #2fbf5b; color: #fff; }
.path-num.is-accent { border-color: var(--red); color: #ff5c7a; }
.path-text--link { word-break: break-all; font-size: 11.5px; }
.path-title { font-size: 14px; font-weight: 600; }
.path-text { margin-top: 2px; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.step-btn {
  margin-top: 8px;
  padding: 9px 14px;
  border: 0;
  border-radius: 9px;
  background: #26272b;
  color: #e9e9ec;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.step-btn--red { background: var(--red); color: #fff; }

.copy-box {
  margin-bottom: 4px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #17181b;
}
.copy-text {
  max-height: 260px;
  overflow-y: auto;
  font-size: 12.5px;
  line-height: 1.5;
  color: #c9c7cc;
  white-space: pre-wrap;
}
.copy-btn {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  border: 0;
  border-radius: 9px;
  background: #26272b;
  color: #e9e9ec;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

/* ── Инструкция Avito ──────────────────────────────────── */

.guide-step {
  margin-bottom: 12px;
  padding: 16px;
  border-radius: 14px;
  background: #161719;
}
.guide-head { display: flex; gap: 10px; }
.guide-num {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.guide-title { font-size: 15px; font-weight: 700; }
.guide-title--big { margin-bottom: 10px; font-size: 16px; }
.guide-text { margin-top: 4px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }

.av-mock {
  margin-top: 12px;
  padding: 14px;
  border-radius: 12px;
  background: #ffffff;
  color: #111418;
  font-size: 12.5px;
}
.av-brand { display: flex; align-items: center; gap: 7px; font-size: 16px; font-weight: 800; }
.av-dots { display: grid; grid-template-columns: repeat(2, 4px); gap: 2px; }
.av-dots i { display: block; width: 4px; height: 4px; border-radius: 50%; background: #ff4d6d; }
.av-dots i:nth-child(2) { background: #7b61ff; }
.av-dots i:nth-child(3) { background: #2f80ed; }
.av-dots i:nth-child(4) { background: #ffb020; }
.av-h { margin: 12px 0 4px; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.av-sub { margin: 12px 0 4px; font-size: 15px; font-weight: 700; }
.av-label {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 10px 0 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: #6b7078;
}
.av-hint { color: #2f80ed; font-weight: 500; }
.av-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #e3e5e9;
  border-radius: 8px;
  background: #fafbfc;
  color: #111418;
}
.av-input.is-empty { color: #9aa0a8; }
.av-x { color: #9aa0a8; }
.av-note { margin-top: 6px; font-size: 11px; line-height: 1.35; color: #8a9099; }
.av-field { margin-bottom: 6px; }
.av-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.av-chip {
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #f1f2f4;
  color: #3a3f46;
  font-size: 11.5px;
}
.av-chip.is-on { border-color: #111418; background: #fff; font-weight: 600; }
.av-toggle-row { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; }
.av-toggle {
  position: relative;
  flex: none;
  width: 34px;
  height: 20px;
  margin-top: 2px;
  border-radius: 999px;
  background: #d9dce1;
}
.av-toggle.is-on { background: #111418; }
.av-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
}
.av-toggle.is-on .av-knob { left: 16px; }
.av-toggle-label { display: block; font-size: 12.5px; color: #111418; }
.av-map {
  position: relative;
  height: 150px;
  margin: 8px 0;
  border-radius: 8px;
  background: repeating-linear-gradient(45deg, #eef1f4, #eef1f4 10px, #e6eaee 10px, #e6eaee 20px);
}
.av-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #dc0032;
  box-shadow: 0 0 0 4px rgba(220, 0, 50, 0.15);
  transform: translate(-50%, -50%);
}
.av-upload {
  display: grid;
  place-items: center;
  width: 90px;
  height: 70px;
  margin: 6px 0;
  border-radius: 8px;
  background: #f1f2f4;
  color: #6b7078;
  font-size: 18px;
}
.av-cats { margin-top: 10px; border: 1px solid #eceef1; border-radius: 10px; overflow: hidden; }
.av-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px;
  border-bottom: 1px solid #f0f2f4;
  color: #111418;
}
.av-cat:last-child { border-bottom: 0; }
.av-cat.is-mark { background: #f4f6f8; font-weight: 600; }
.av-arrow { color: #b9bec6; }

.copy-box--inline { margin-top: 10px; background: #111214; }
.step-btn--wide { display: block; width: 100%; margin-top: 8px; }

/* ── Отклики и продвижение ─────────────────────────────── */

.av-top { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: #111418; }
.av-top b { font-size: 12.5px; }
.av-icons { letter-spacing: 2px; }
.av-icon { font-size: 14px; }
.av-help { font-size: 11px; color: #6b7078; }
.av-cand { position: relative; margin-top: 10px; padding: 12px; border-radius: 10px; background: #f4f5f7; }
.av-close { position: absolute; top: 8px; right: 10px; color: #8a9099; }
.av-cand-title { padding-right: 16px; font-size: 14px; font-weight: 700; }
.av-cand-text { margin: 4px 0 8px; font-size: 11.5px; line-height: 1.35; color: #6b7078; }
.av-btn-dark {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
  background: #1f2126;
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
}
.av-btns .av-btn-dark { display: block; margin-top: 6px; text-align: center; }
.av-btns .av-btn-dark.is-hl { outline: 2px solid #2f80ed; }
.av-btn-light {
  display: block;
  margin-top: 6px;
  padding: 9px 12px;
  border-radius: 8px;
  background: #f1f2f4;
  color: #1f2126;
  font-size: 11.5px;
  font-weight: 600;
  text-align: center;
}
.av-metrics { display: flex; gap: 12px; margin: 10px 0 6px; font-size: 12px; font-weight: 600; }
.av-callout {
  display: inline-block;
  margin: 2px 0 6px;
  padding: 4px 9px;
  border: 1px solid #2f80ed;
  border-radius: 7px;
  background: #f3f8ff;
  color: #2f80ed;
  font-size: 11px;
  font-weight: 700;
}
.av-limit-box { margin-top: 8px; padding: 10px; border-radius: 10px; background: #fdeef1; }
.av-limit-head { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #6b7078; }
.av-small {
  margin-left: auto;
  padding: 5px 9px;
  border: 1px solid #d6d9de;
  border-radius: 7px;
  background: #fff;
  color: #1f2126;
  font-size: 11px;
  font-weight: 600;
}
.av-limit-value { margin-top: 4px; font-size: 16px; font-weight: 800; }
.av-limit-bar { height: 5px; margin-top: 6px; border-radius: 999px; background: #e6e8ec; }
.av-services { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 11px; color: #6b7078; }
.av-promo { margin-top: 8px; text-align: center; font-size: 11px; color: #6b7078; }
.av-tabs { display: flex; gap: 8px; margin-top: 8px; }
.av-tabs span {
  flex: 1;
  padding: 8px;
  border-radius: 8px;
  background: #f4f5f7;
  text-align: center;
  font-size: 11.5px;
  color: #6b7078;
}
.av-tabs span.is-on { border: 1px solid #111418; background: #fff; color: #111418; font-weight: 600; }
.av-promo-stats { display: flex; gap: 10px; margin: 10px 0 6px; }
.av-promo-stats span {
  flex: 1;
  padding: 9px 10px;
  border-radius: 9px;
  background: #f4f5f7;
  font-size: 10.5px;
  color: #6b7078;
}
.av-promo-stats b { display: block; margin-top: 2px; font-size: 13px; color: #111418; }
.av-budget {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #d6d9de;
  border-radius: 8px;
}
.av-budget b { font-size: 14px; }
.av-budget s { color: #9aa0a8; font-size: 11px; }
.av-slider { position: relative; height: 4px; margin: 10px 0 12px; border-radius: 999px; background: #e6e8ec; }
.av-slider-knob {
  position: absolute;
  top: 50%;
  left: 35%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #111418;
  transform: translate(-50%, -50%);
}
.av-ring-row { display: flex; align-items: center; gap: 10px; }
.av-ring {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid #2fbf5b;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}
.av-actions { display: flex; gap: 8px; margin-top: 12px; }
.av-ghost {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  background: #f1f2f4;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #3a3f46;
}
.av-actions .av-btn-dark { flex: 1; text-align: center; }

.flow-info {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #cfe2ff;
  border-radius: 12px;
  background: #eaf3ff;
  color: #111418;
}
.flow-info-num {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2f80ed;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.flow-info-head { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; flex-wrap: wrap; }
.av-badge { padding: 3px 7px; border-radius: 6px; background: #e6e8ec; color: #6b7078; font-size: 10px; font-weight: 500; }
.flow-info-text { margin-top: 4px; font-size: 12.5px; line-height: 1.45; color: #3a3f46; }
.flow-info-btn {
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  border: 0;
  border-radius: 10px;
  background: #2f80ed;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.flow-info-btn.is-disabled { opacity: 0.55; }

/* ── Текст ответа ──────────────────────────────────────── */

.answer-card { padding: 20px; border-radius: 14px; background: #1b1c20; }
.answer-title { margin: 0 0 6px; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.answer-lead { margin: 0 0 14px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.copy-text--full { max-height: none; }
.answer-copy { margin-top: 14px; }

/* ── Форма отчёта Avito ────────────────────────────────── */

.form-card { padding: 18px; border-radius: 14px; background: #1b1c20; }
.form-card .field-label { margin-top: 14px; }
.form-card .input { margin-bottom: 6px; }
.form-card .radio-card { margin-bottom: 6px; padding: 13px 14px; }
.form-card .textarea { margin-top: 4px; }
.form-card .file-btn { margin-top: 4px; }

/* ── Правила ───────────────────────────────────────────── */

.rules-card { padding: 22px 20px; border-radius: 14px; background: #1b1c20; }
.rules-title { margin: 0 0 4px; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.rules-subtitle { margin-bottom: 16px; font-size: 13px; color: var(--muted); }
.rules-list { margin: 0 0 18px; padding: 0; list-style: none; }
.rules-list li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 16px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #d6d3d8;
}
.rules-list li::before { content: '•'; position: absolute; left: 2px; color: #8e8b90; }
.rules-note { margin: 0 0 14px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.rules-btn {
  width: 100%;
  margin-top: 4px;
  padding: 14px;
  border: 0;
  border-radius: 12px;
  background: #26272b;
  color: #e9e9ec;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
}

/* ── Приём отчёта ──────────────────────────────────────── */

.accept-form { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.accept-title { margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.accept-grid { display: grid; gap: 8px; margin-bottom: 10px; }
.accept-field { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
.accept-field .input { height: 40px; }
.accept-btn { height: 44px; font-size: 14px; }
.accept-done {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(61, 220, 132, 0.1);
  color: #7ee0a3;
  font-size: 12.5px;
  line-height: 1.5;
}

/* ── Мои отклики ───────────────────────────────────────── */

.apps { display: flex; flex-direction: column; gap: 10px; }
.app-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #17181b;
}
.app-main { min-width: 0; }
.app-title { font-size: 14.5px; font-weight: 600; }
.app-sub { margin-top: 3px; font-size: 12px; color: var(--muted); }
.app-status {
  flex: none;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.app-status::before { content: '●'; margin-right: 5px; font-size: 9px; vertical-align: 1px; }
.app-status.is-pending { background: rgba(240, 180, 60, 0.14); color: #e7b356; }
.app-status.is-approved { background: rgba(61, 220, 132, 0.14); color: #4fd68c; }
.app-status.is-rejected { background: rgba(220, 0, 50, 0.16); color: #ff5c7a; }
.app-status.is-paid { background: rgba(80, 160, 255, 0.16); color: #79b6ff; }
.app-note { margin-top: 4px; font-size: 12px; color: #7ee0a3; }

.app-admin { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.app-admin-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  font-size: 12.5px;
  color: #d6d3d8;
}
.app-admin-actions { display: flex; gap: 6px; }
.app-admin-row:last-child { margin-bottom: 0; }

/* ── Уведомление и модальное окно ──────────────────────── */

.notice {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 14px 0 4px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #3a2f18;
  color: #e0b25a;
  font-size: 12.5px;
  line-height: 1.4;
}
.notice svg { width: 14px; height: 14px; flex: none; margin-top: 2px; }
.notice--ok { background: #16301f; color: #7ee0a3; }

/* ── Админка ───────────────────────────────────────────── */

.admin-summary { margin: 4px 0 12px; font-size: 13px; color: var(--muted); }

.users { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.user-card { background: var(--bg-soft); border-radius: 14px; padding: 12px 14px; }
.user-head { display: flex; align-items: center; gap: 10px; }
.user-main { flex: 1; min-width: 0; }
.user-chips { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; flex: none; }
.user-name { font-size: 14.5px; font-weight: 600; }
.user-sub { margin-top: 2px; font-size: 12px; color: var(--muted); }

.status-chip { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.status-chip.is-new { background: rgba(255, 255, 255, 0.08); color: #b6b3b9; }
.status-chip.is-requested { background: rgba(240, 180, 60, 0.14); color: #e7b356; }
.status-chip.is-issued { background: rgba(61, 220, 132, 0.14); color: #4fd68c; }
.status-chip.is-done { background: rgba(80, 160, 255, 0.16); color: #79b6ff; }

.user-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.mini {
  border: 0;
  border-radius: 8px;
  padding: 7px 10px;
  background: #26272b;
  color: #e6e4e9;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}
.mini:active { background: #303136; }
.mini.ghost { background: transparent; color: var(--muted); }

.report-block { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.report-block-title { font-size: 12.5px; font-weight: 600; color: #d6d3d8; }
.report-block-comment { margin: 4px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.report-fields { display: flex; flex-direction: column; gap: 5px; margin-top: 8px; }
.report-field { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; }
.report-field-key { flex: none; color: var(--muted); }
.report-field-value { color: #d6d3d8; text-align: right; word-break: break-all; }
.report-field-value a { color: #79b6ff; text-decoration: none; }
.thumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.thumb {
  width: 64px;
  height: 64px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  background: #0f1012;
  cursor: pointer;
}
.thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.thumbs--big .thumb { width: 88px; height: 88px; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.9);
}
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; }

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 7, 8, 0.62);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.modal-card {
  width: min(331px, 100%);
  padding: 22px 20px 18px;
  border-radius: 16px;
  background: #1a1b1e;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  text-align: center;
}
.modal-icon { display: block; margin: 0 auto 14px; width: 34px; height: 34px; }
.modal-icon svg { width: 34px; height: 34px; }
.modal-title { margin: 0 0 6px; font-size: 15px; font-weight: 700; line-height: 1.35; }
.modal-sub { margin: 0 0 16px; font-size: 13px; color: var(--muted); line-height: 1.4; }
.modal-actions { display: grid; gap: 8px; }
.modal-close {
  border: 0;
  background: transparent;
  color: var(--muted-2);
  font-size: 13px;
  padding: 6px;
  cursor: pointer;
}

/* ── Нижнее меню ───────────────────────────────────────── */

.tabs {
  position: fixed;
  inset: auto 0 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: calc(64px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(15, 16, 18, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  z-index: 30;
}

.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--muted-2);
  font-size: 11px;
  transition: color 0.15s ease;
}
.tab svg { width: 21px; height: 21px; }
.tab.active { color: var(--red); }

/* ── Тост ──────────────────────────────────────────────── */

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(84px + env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(8px);
  max-width: 320px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #2a2b2f;
  color: var(--text);
  font-size: 13px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 40;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
