/* Кабинет доставки, группа b: голосования (b1, b2) и отчёты (b3, b4, b5, b6). */

/* Отступ до нижней навигации, как в макете. */
.menus-tabs { display: block; flex: none; margin-top: 14px; }

/* b1 Голосования */
.menu-list { display: flex; flex-direction: column; gap: 10px; margin: 14px 16px 0; }
.menu-card { display: block; flex: none; padding: 16px 18px; color: inherit; }
.menu-card__head { display: flex; align-items: flex-start; gap: 12px; }
.menu-card__name { min-width: 0; flex: 1; font-size: 16px; font-weight: 700; line-height: 1.35; }
.menu-card__stats { display: flex; flex: none; align-items: center; gap: 12px; }
.menu-card__stat { display: inline-flex; align-items: center; gap: 5px; font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.menu-card__stat svg { flex: none; }
.menu-card__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }

.menu-chip { display: inline-flex; flex: none; align-items: center; gap: 6px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.menu-chip svg { flex: none; }
.menu-chip--live { padding: 6px 12px; background: #e1f4e7; color: #0b7a3e; }
.menu-chip--live i { width: 8px; height: 8px; flex: none; border-radius: 999px; background: var(--cab-accent); }
.menu-chip--state { padding: 6px 12px; background: #e7eae5; color: #5a625c; }
.menu-chip--meta { padding: 5px 11px; border: 1px solid var(--cab-line-3); color: var(--cab-muted-2); font-variant-numeric: tabular-nums; }

/* b2 Нет голосований */
/* gap обнуляется: .empty в theme.css задаёт 8px, в макете отступы идут маргинами. */
.empty--card { margin: 14px 16px 0; padding: 24px 22px; border: 1px solid var(--cab-line); border-radius: 18px; }
.empty--card p { font-size: 14.5px; }
.start-steps { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; text-align: left; }
.start-steps__row { display: flex; align-items: center; gap: 12px; }
.start-steps__num { display: grid; width: 28px; height: 28px; flex: none; place-items: center; border-radius: 999px; background: #e5f4eb; color: var(--cab-accent-deep); font-size: 13px; font-weight: 800; }
.start-steps__text { font-size: 14.5px; line-height: 1.4; }
.menus-note { color: var(--cab-muted); font-size: 12.5px; line-height: 1.4; text-align: center; }

/* b3 Отчёт: шапка */
.back-row--plain { gap: 6px; color: var(--cab-muted-3); font-weight: 400; }
.back-row--report { font-size: 13px; }
.report-head { flex: none; padding: 8px 20px 0; }
.report-head__title { display: flex; align-items: center; gap: 12px; }
.report-head__name { margin: 0; min-width: 0; flex: 1; font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.report-head__badge { padding: 5px 11px; font-size: 12.5px; }
.report-head__badge i { width: 6px; height: 6px; }
.report-head__meta { display: block; margin-top: 6px; color: var(--cab-muted); font-size: 13.5px; font-variant-numeric: tabular-nums; }

/* b3 Отчёт: аккордеон по категориям */
.report-acc { margin: 14px 16px 0; padding: 4px 16px; border-radius: 20px; overflow-y: auto; }
.report-group { display: flex; flex: none; flex-direction: column; border-bottom: 1px solid #eff2ed; }
.report-group__head { display: flex; min-height: 56px; align-items: center; gap: 10px; padding: 9px 0; text-align: left; }
.report-group__copy { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 3px; }
.report-group__name { font-size: 16px; font-weight: 700; }
.report-group__count { color: var(--cab-muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.report-group__chevron { display: grid; width: 20px; flex: none; place-items: center; color: #c3ccc4; }
.report-group__chevron.is-open { color: var(--cab-accent-deep); }
.report-rows { display: flex; flex-direction: column; gap: 15px; margin-bottom: 16px; padding-top: 13px; border-top: 1px solid #eff2ed; }
.report-row { display: flex; align-items: center; gap: 12px; color: inherit; }
.report-row img { width: 58px; height: 58px; flex: none; border-radius: 15px; background: var(--cab-surface-2); object-fit: cover; }
.report-row__copy { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 3px; }
.report-row__name { overflow: hidden; font-size: 15px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.report-row__tag { display: inline-flex; align-self: flex-start; align-items: center; padding: 3px 8px; border-radius: 999px; background: var(--cab-surface-2); color: #46564b; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.report-row__score { font-size: 15px; font-weight: 800; }

/* b3, b5 Кнопки отчёта и шторка b6 */
.actions--report { padding-top: 12px; }
.report-action { min-height: 54px; gap: 8px; font-size: 15px; }
.sheet-action { min-height: 54px; }
.button--secondary.report-action, .button--secondary.sheet-action { color: var(--cab-ink); }
.button--secondary.report-action:hover { border-color: color-mix(in oklab, var(--cab-accent) 45%, #fff); }

/* b5 Отчёта нет */
.empty--report { margin: 14px 16px 0; }
.empty--report p { max-width: 260px; }

/* b4 Отчёт по позиции */
.report-item { display: flex; flex-direction: column; gap: 12px; margin: 12px 16px 0; padding-bottom: 40px; }
.report-item > .card { flex: none; }
.report-item__head { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 20px; }
.report-item__photo { width: 48px; height: 48px; flex: none; border-radius: 12px; background: var(--cab-surface-2); object-fit: cover; }
.report-item__copy { min-width: 0; flex: 1; }
.report-item__name { display: block; font-size: 17px; font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }
.report-item__meta { display: block; margin-top: 3px; color: var(--cab-muted); font-size: 12px; }
.report-item__score { display: inline-flex; flex: none; align-items: baseline; gap: 5px; }
.report-item__score i { color: var(--cab-star); font-size: 13px; font-style: normal; line-height: 1; }
.report-item__score b { font-size: 20px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.kicker--card { display: block; font-size: 11.5px; letter-spacing: .14em; }

.report-bars { display: flex; flex-direction: column; gap: 9px; margin-top: 12px; }
.report-bar { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.report-bar__label { width: 30px; flex: none; color: var(--cab-muted-3); }
.report-bar__label i { color: var(--cab-star); font-style: normal; }
.report-bar__track { min-width: 0; flex: 1; height: 9px; overflow: hidden; border-radius: 999px; background: #eff2ed; }
.report-bar__fill { display: block; height: 100%; background: #c9d6cb; }
.report-bar__fill.is-low { background: #e2574a; }
.report-bar__count { width: 26px; flex: none; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }

.report-remarks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.report-remark { padding: 8px 13px; border-radius: 999px; background: #fceae8; color: var(--cab-danger); font-size: 13px; font-weight: 700; }

.report-comments { display: flex; flex-direction: column; gap: 10px; }
.report-comment { display: flex; flex-direction: column; gap: 5px; }
.report-comment + .report-comment { padding-top: 10px; border-top: 1px solid #eff2ed; }
.report-comment__head { font-size: 12px; font-weight: 700; }
.report-comment__head i { color: var(--cab-star); font-style: normal; }
.report-comment__head--bad { color: var(--cab-danger); }
.report-comment__head--mid { color: var(--cab-muted-3); }
.report-comment__head--good { color: #0b7a3e; }
.report-comment p { margin: 0; color: #46564b; font-size: 14px; line-height: 1.4; }
