/* Веб-приложение «Работа» (S72, Э2). Портрет телефона, цели касания от 44 px,
   без горизонтальной прокрутки. Цвета — только переменные; тёмная тема —
   по prefers-color-scheme. Шрифт системный: ничего не грузится. */

:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-2: #eef0f4;
  --text: #15171c;
  --text-muted: #626976;
  --border: #dde1e8;
  --accent: #2563eb;
  --accent-soft: #e3ebfd;
  --accent-text: #ffffff;
  --danger: #c62828;
  --danger-soft: #fdecec;
  --warn: #a15c00;
  --warn-soft: #fff3df;
  --ok: #1b7f3b;
  --ok-soft: #e4f4e8;
  --violet: #6d3fd1;
  --violet-soft: #efe9fc;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --radius: 14px;
  --radius-small: 10px;
  --tap: 44px;
  --topbar: 52px;
  --tabbar: 60px;
  --gutter: 16px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111318;
    --surface: #1b1e25;
    --surface-2: #252932;
    --text: #e8eaef;
    --text-muted: #9aa1ae;
    --border: #2f3440;
    --accent: #6b9bff;
    --accent-soft: #1f2d4d;
    --accent-text: #0b1220;
    --danger: #ff7b7b;
    --danger-soft: #3a1d20;
    --warn: #f0b45a;
    --warn-soft: #3a2c15;
    --ok: #6fd28f;
    --ok-soft: #173223;
    --violet: #b59bff;
    --violet-soft: #2b2342;
    --shadow: none;
    color-scheme: dark;
  }
}

/* ------------------------------------------------------------- основа */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
  overflow-wrap: anywhere;
  -webkit-tap-highlight-color: transparent;
}

[hidden] { display: none !important; }

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

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.icon, .tab svg, .topbar__back svg {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ------------------------------------------------------- шапка и экран */

.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 4px;
  min-height: calc(var(--topbar) + var(--safe-top));
  padding: var(--safe-top) var(--gutter) 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.topbar__back {
  display: grid; place-items: center;
  width: var(--tap); height: var(--tap); margin-left: -12px;
  border: 0; border-radius: 50%; background: none; cursor: pointer;
}
.topbar__back:active { background: var(--surface-2); }

.topbar__title {
  flex: 1 1 auto; min-width: 0; margin: 0;
  font-size: 18px; font-weight: 650;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.topbar__net {
  flex: none; padding: 2px 8px; border-radius: 99px;
  background: var(--warn-soft); color: var(--warn); font-size: 13px;
}

.screen {
  max-width: 640px; margin: 0 auto;
  padding: 12px var(--gutter) calc(24px + var(--safe-bottom));
  outline: none;
}
.has-tabbar .screen { padding-bottom: calc(var(--tabbar) + 24px + var(--safe-bottom)); }

.boot { padding: 48px 0; text-align: center; color: var(--text-muted); }

/* ------------------------------------------------------ нижняя навигация */

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  height: calc(var(--tabbar) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.tab {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-width: 0; min-height: var(--tap);
  color: var(--text-muted); font-size: 11px;
}
.tab span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tab svg { width: 24px; height: 24px; }
.tab--active { color: var(--accent); }

.tab--main svg {
  width: 40px; height: 32px; padding: 4px 8px;
  border-radius: 12px; background: var(--accent); color: var(--accent-text);
}
.tab--main.tab--active svg { box-shadow: 0 0 0 3px var(--accent-soft); }

.tab__badge {
  position: absolute; top: 4px; left: calc(50% + 6px);
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--danger); color: #fff;
  font-size: 11px; line-height: 18px; text-align: center;
}

/* --------------------------------------------------------------- кнопки */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--tap); padding: 0 16px;
  border: 1px solid var(--border); border-radius: var(--radius-small);
  background: var(--surface); color: var(--text);
  font-weight: 600; cursor: pointer; text-align: center;
  overflow-wrap: normal; /* переносить по словам, а не по буквам */
  touch-action: manipulation;
}
.btn:active { background: var(--surface-2); }
.btn:disabled { opacity: .5; cursor: default; }

.btn--primary { border-color: var(--accent); background: var(--accent); color: var(--accent-text); }
.btn--primary:active { filter: brightness(.92); background: var(--accent); }
.btn--danger { color: var(--danger); }
.btn--ghost { border-color: transparent; background: transparent; color: var(--accent); }
.btn--small { padding: 0 12px; font-size: 14px; }
.btn--block { display: flex; width: 100%; }

.link { color: var(--accent); }

/* ------------------------------------------------------------ состояния */

.state {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 40px 0; color: var(--text-muted); text-align: center;
}
.state--empty { padding: 24px 0; }
.state p { margin: 0; }

.spinner {
  width: 24px; height: 24px; border-radius: 50%;
  border: 3px solid var(--border); border-top-color: var(--accent);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.is-busy { opacity: .7; pointer-events: none; transition: opacity .15s; }

/* ------------------------------------------------------------ сообщения */

.toasts {
  position: fixed; left: var(--gutter); right: var(--gutter); z-index: 30;
  bottom: calc(var(--tabbar) + 12px + var(--safe-bottom));
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  pointer-events: none;
}
.toast {
  max-width: 480px; padding: 10px 14px;
  border-radius: var(--radius-small); background: var(--text); color: var(--bg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .2); font-size: 15px;
  transition: opacity .3s, transform .3s;
}
.toast--error { background: var(--danger); color: #fff; }
.toast--warn { background: var(--warn); color: #fff; }
.toast--ok { background: var(--ok); color: #fff; }
.toast--hide { opacity: 0; transform: translateY(8px); }

/* -------------------------------------------------------------- секции */

.section { margin: 20px 0; }

.section__title {
  display: flex; align-items: center; gap: 8px;
  margin: 0 0 8px; font-size: 15px; font-weight: 650;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: .03em;
}
.section__count {
  min-width: 22px; padding: 0 6px; border-radius: 99px;
  background: var(--surface-2); font-size: 13px; text-align: center; letter-spacing: 0;
}
.section__note { margin: 0 0 10px; color: var(--text-muted); font-size: 14px; }

.toolbar { display: flex; justify-content: space-between; gap: 8px; margin: -4px -12px 4px; }

.list { display: flex; flex-direction: column; gap: 8px; }
.list__more { display: flex; justify-content: center; min-height: 24px; padding: 12px 0; }

/* ------------------------------------------------------- строка задачи */

.row {
  display: flex; align-items: center; gap: 8px;
  min-height: 64px; padding: 12px 10px 12px 14px;
  border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow);
}
.row:active { background: var(--surface-2); }
.row > .icon { color: var(--text-muted); }

.row__main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.row__top { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.row__number { color: var(--text-muted); font-variant-numeric: tabular-nums; }
.row__priority {
  display: inline-grid; place-items: center; width: 18px; height: 18px;
  border-radius: 50%; background: var(--danger-soft); color: var(--danger); font-weight: 800; font-size: 12px;
}
.row__title { font-weight: 600; }
.row__goal { color: var(--text-muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; }

.kind {
  padding: 1px 7px; border-radius: 6px;
  background: var(--surface-2); color: var(--text-muted); font-size: 12px; font-weight: 600;
}
.kind--bug { background: var(--danger-soft); color: var(--danger); }
.kind--idea { background: var(--warn-soft); color: var(--warn); }
.kind--goal, .kind--stage { background: var(--violet-soft); color: var(--violet); }
.kind--check { background: var(--ok-soft); color: var(--ok); }
.kind--task { background: var(--accent-soft); color: var(--accent); }

.chip {
  padding: 1px 8px; border-radius: 99px;
  background: var(--surface-2); color: var(--text-muted); font-size: 12px; font-weight: 600; white-space: nowrap;
}
.chip--in_progress { background: var(--accent-soft); color: var(--accent); }
.chip--review { background: var(--violet-soft); color: var(--violet); }
.chip--done { background: var(--ok-soft); color: var(--ok); }
.chip--inbox { background: var(--warn-soft); color: var(--warn); }

.meta { display: inline-flex; align-items: center; gap: 3px; color: var(--text-muted); }
.meta .icon { width: 14px; height: 14px; }
.meta--danger { color: var(--danger); font-weight: 600; }
.meta--warn { color: var(--warn); font-weight: 600; }

/* ---------------------------------------------------------------- вход */

.login { display: flex; flex-direction: column; align-items: center; padding: 32px 0 16px; }
.login__logo { border-radius: 18px; }
.login__title { margin: 16px 0 4px; font-size: 24px; }
.login__hint { margin: 0 0 24px; color: var(--text-muted); text-align: center; }
.login__note { margin: 20px 0 12px; color: var(--text-muted); font-size: 13px; text-align: center; }
.login .form { width: 100%; max-width: 400px; }

.form { display: flex; flex-direction: column; gap: 14px; }
.form__error {
  margin: 0; padding: 10px 12px; border-radius: var(--radius-small);
  background: var(--danger-soft); color: var(--danger);
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 14px; font-weight: 600; color: var(--text-muted); }

.input {
  width: 100%; min-width: 0; min-height: var(--tap); padding: 10px 12px;
  border: 1px solid var(--border); border-radius: var(--radius-small);
  background: var(--surface); color: var(--text);
  font-size: 16px; /* меньше 16 px — iPhone приближает страницу при фокусе */
}
.input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.input:disabled { opacity: .5; }
textarea.input { resize: none; line-height: 1.4; }
.input--select { appearance: none; padding-right: 32px;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat; }
.input--date, .input--time { width: auto; flex: 1 1 auto; }

/* ---------------------------------------------------------------- лента */

.feed-row {
  display: flex; gap: 10px;
  padding: 12px 14px; border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow);
}
a.feed-row:active { background: var(--surface-2); }
.feed-row__dot { flex: none; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: transparent; }
.feed-row--unread { background: var(--accent-soft); }
.feed-row--unread .feed-row__dot { background: var(--accent); }
.feed-row--unread .feed-row__body { font-weight: 600; }
.feed-row__main { flex: 1 1 auto; min-width: 0; }
.feed-row__top { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 2px; font-size: 13px; }
.feed-row__event { color: var(--text-muted); font-weight: 600; }
.feed-row__event--mentioned, .feed-row__event--assigned { color: var(--accent); }
.feed-row__event--overdue, .feed-row__event--checklist_overdue, .feed-row__event--bug_new_in_area { color: var(--danger); }
.feed-row__time { flex: none; color: var(--text-muted); }
.feed-row__body { font-size: 15px; }

.banner {
  display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
  padding: 10px 6px 10px 14px; border-radius: var(--radius);
  background: var(--warn-soft); color: var(--text);
}
.banner .btn { flex: none; }
.banner__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; font-size: 14px; }
.banner__close {
  flex: none; width: var(--tap); height: var(--tap);
  border: 0; background: none; font-size: 24px; color: var(--text-muted); cursor: pointer;
}

/* -------------------------------------------------------- переключатели */

.seg { display: flex; gap: 4px; padding: 3px; border-radius: 12px; background: var(--surface-2); }
.seg__item {
  flex: 1 1 0; min-width: 0; min-height: calc(var(--tap) - 6px); padding: 0 6px;
  border: 0; border-radius: 9px; background: transparent; color: var(--text-muted);
  font-size: 14px; font-weight: 600; cursor: pointer;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.seg__item[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.seg__item:disabled { opacity: .4; }
.seg--tabs { margin-bottom: 10px; }
.seg--small .seg__item { font-size: 13px; }

/* --------------------------------------------------------------- мысль */

.idea__text { min-height: 132px; font-size: 17px; }
.idea__last { min-height: 20px; color: var(--text-muted); font-size: 14px; }

/* ---------------------------------------------------------------- цели */

.counters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.counter {
  display: flex; flex-direction: column; gap: 2px; min-width: 0;
  padding: 10px; border-radius: var(--radius-small); background: var(--surface); box-shadow: var(--shadow);
}
.counter__value { font-size: 22px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.counter__title { color: var(--text-muted); font-size: 12px; line-height: 1.25; }
.counter--alarm .counter__value { color: var(--danger); }

.week { margin: 14px 0 6px; font-size: 14px; color: var(--text-muted); }
.week__text { margin-bottom: 6px; }

.bar { position: relative; height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.bar__fill { height: 100%; border-radius: 4px; background: var(--accent); transition: width .3s; }
.bar--split { background: var(--warn-soft); overflow: visible; }
.bar__mark { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: var(--text); }

.goals { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.goal {
  display: flex; flex-direction: column; gap: 10px;
  padding: 14px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow);
}
.goal--closed { opacity: .75; }
.goal--closed .bar__fill { background: var(--ok); }
.goal__head { display: flex; align-items: flex-start; gap: 12px; min-height: var(--tap); }
.goal__title { flex: 1 1 auto; min-width: 0; font-size: 17px; font-weight: 650; }
.goal__percent { flex: none; font-size: 22px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.goal__facts { display: flex; flex-direction: column; gap: 3px; font-size: 14px; color: var(--text-muted); }
.goal__facts b { color: var(--text); font-weight: 600; }

.stages { border-top: 1px solid var(--border); margin: 0 -14px -14px; }
.stages__toggle {
  display: flex; align-items: center; min-height: var(--tap); padding: 0 14px;
  color: var(--accent); font-weight: 600; cursor: pointer; list-style: none;
}
.stages__toggle::-webkit-details-marker { display: none; }
.stages__toggle::after { content: "▾"; margin-left: 6px; transition: transform .2s; }
.stages[open] .stages__toggle::after { transform: rotate(180deg); }
.stages__list { margin: 0; padding: 0 0 8px; list-style: none; }

.stage__link { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 14px; }
.stage__link:active { background: var(--surface-2); }
.stage__seq {
  flex: none; display: grid; place-items: center; width: 28px; height: 28px;
  border-radius: 50%; border: 2px solid var(--border); font-size: 13px; font-weight: 700; color: var(--text-muted);
}
.stage__main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.stage__title { font-weight: 600; }
.stage__meta { font-size: 13px; color: var(--text-muted); }
.stage__alarm { flex: none; font-size: 12px; font-weight: 600; color: var(--danger); }
.stage--done .stage__seq { border-color: var(--ok); background: var(--ok); color: #fff; }
.stage--done .stage__title { color: var(--text-muted); text-decoration: line-through; }
.stage--current .stage__seq { border-color: var(--accent); color: var(--accent); }
.stage--waiting { opacity: .6; }

/* ------------------------------------------------------------ карточка */

.card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 16px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow);
}
.card__top { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.card__title { margin: 0; font-size: 20px; line-height: 1.3; }
.card__parent { color: var(--accent); font-size: 14px; }
.card__progress { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--text-muted); }
.card__rule {
  margin: 0; padding: 10px 12px; border-radius: var(--radius-small);
  background: var(--surface-2); color: var(--text-muted); font-size: 14px;
}
.card__body { white-space: pre-wrap; padding-top: 12px; border-top: 1px solid var(--border); }

.actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }

.facts { display: flex; flex-direction: column; margin: 0; border-top: 1px solid var(--border); }
.fact {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 52px; padding: 4px 0; border-bottom: 1px solid var(--border);
}
.fact:last-child { border-bottom: 0; }
.fact__title { flex: none; color: var(--text-muted); font-size: 14px; }
.fact__value {
  flex: 1 1 auto; min-width: 0; margin: 0;
  display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px; text-align: right;
}
.fact__value .input--select { width: auto; max-width: 100%; }
.fact__alarm { padding: 1px 8px; border-radius: 99px; background: var(--danger-soft); color: var(--danger); font-size: 12px; font-weight: 600; }

.due { display: flex; align-items: center; gap: 4px; min-width: 0; max-width: 100%; }

.links { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.link-row {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 12px; border-radius: var(--radius-small); background: var(--surface); box-shadow: var(--shadow);
}
.link-row__kind { font-size: 12px; font-weight: 600; color: var(--text-muted); }
.link-row--gone { opacity: .6; }

/* ------------------------------------------------------------ переписка */

.thread { display: flex; flex-direction: column; gap: 8px; }
.msg {
  max-width: 88%; padding: 8px 12px;
  border-radius: 14px 14px 14px 4px; background: var(--surface); box-shadow: var(--shadow);
}
.msg--mine { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: var(--accent-soft); }
.msg__head { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.msg__head time { color: var(--text-muted); white-space: nowrap; }
.msg__body { white-space: pre-wrap; }
.mention { color: var(--accent); font-weight: 600; }

.composer {
  position: sticky; z-index: 5;
  bottom: calc(var(--tabbar) + var(--safe-bottom));
  margin: 12px calc(-1 * var(--gutter)) 0; padding: 8px var(--gutter);
  background: var(--bg); border-top: 1px solid var(--border);
}
.composer__row { display: flex; align-items: flex-end; gap: 8px; }
.composer__text { flex: 1 1 auto; max-height: 160px; }
.composer__send { flex: none; width: var(--tap); padding: 0; }

.suggest {
  display: flex; flex-direction: column; margin-bottom: 8px; overflow: hidden;
  border: 1px solid var(--border); border-radius: var(--radius-small); background: var(--surface);
}
.suggest__item {
  display: flex; align-items: baseline; gap: 8px; min-height: var(--tap); padding: 0 12px;
  border: 0; border-bottom: 1px solid var(--border); background: none; text-align: left; cursor: pointer;
}
.suggest__item:last-child { border-bottom: 0; }
.suggest__item span { min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--text-muted); font-size: 13px; }
.suggest__item:active { background: var(--surface-2); }

/* ------------------------------------------------------------ настройки */

.rule-list { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.rule {
  display: flex; flex-direction: column; gap: 8px; padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
.rule:last-child { border-bottom: 0; }
.rule__title { font-size: 15px; }

.toggle-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: var(--tap); cursor: pointer;
}
.toggle-row > span { display: flex; flex-direction: column; min-width: 0; }
.toggle-row small { color: var(--text-muted); font-size: 13px; }

.switch {
  appearance: none; flex: none; position: relative;
  width: 52px; height: 32px; margin: 0;
  border-radius: 16px; background: var(--border); cursor: pointer; transition: background .2s;
}
.switch::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 26px; height: 26px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .2s;
}
.switch:checked { background: var(--accent); }
.switch:checked::after { transform: translateX(20px); }

.quiet { display: flex; align-items: center; gap: 8px; margin: 8px 0; }
.quiet > span { color: var(--text-muted); }

.savebar {
  position: sticky; z-index: 5;
  bottom: calc(var(--tabbar) + var(--safe-bottom));
  margin: 0 calc(-1 * var(--gutter)); padding: 8px var(--gutter);
  background: var(--bg);
}

.version { margin: 16px 0 0; color: var(--text-muted); font-size: 12px; text-align: center; }

/* --------------------------------------------------- «на экран Домой» */

.install { display: flex; flex-direction: column; align-items: center; padding-top: 16px; }
.install__icon { border-radius: 16px; }
.install__title { margin: 14px 0 6px; font-size: 22px; text-align: center; }
.install__lead { margin: 0 0 16px; color: var(--text-muted); text-align: center; }

.steps { width: 100%; margin: 0; padding: 0; list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 8px; }
.step {
  position: relative; display: flex; flex-direction: column; gap: 2px;
  padding: 12px 14px 12px 54px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow);
  counter-increment: step;
}
.step::before {
  content: counter(step);
  position: absolute; left: 14px; top: 12px;
  display: grid; place-items: center; width: 28px; height: 28px;
  border-radius: 50%; background: var(--accent); color: var(--accent-text); font-weight: 700; font-size: 14px;
}
.step__title { display: inline-flex; align-items: center; gap: 6px; }
.step__title span { display: inline-flex; align-items: center; gap: 4px; }
.step__note { color: var(--text-muted); font-size: 14px; }
