/* ---------- «Как ассистент понимает»: значки действий, метки записи, команды, дубль, «Жду ответа» ---------- */
.nw { white-space: nowrap; }
.act-ic { display: inline-block; width: 16px; height: 16px; margin: 0 6px 2px 0; vertical-align: middle; color: var(--muted); }
.row-title .act-ic, .next-t .act-ic { stroke-width: 2.2; }
.xt { display: inline-flex; align-items: center; gap: 4px; }
.xt .ico { width: 13px; height: 13px; stroke-width: 2.4; }
.card-label .ico { width: 16px; height: 16px; }
.card[data-type="wait"]:not(.is-urgent) { box-shadow: inset 4px 0 0 var(--snooze), var(--shadow-card); }
.cal-wait { width: 11px; height: 11px; margin: 0 3px 1px 0; vertical-align: middle; stroke-width: 2.4; }

/* метки при записи: время, «Срочно», шаги или «N задач» — на виду; остальное под «+N» */
.chip.t-more { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.chip.t-more .chip-main { min-width: 44px; justify-content: center; padding: 0 14px; font-variant-numeric: tabular-nums; }
.chip.t-cmd { background: color-mix(in srgb, var(--accent) 12%, var(--surface)); color: color-mix(in srgb, var(--accent) 75%, var(--text)); }
.chip.t-rest { height: 36px; padding: 0 12px; gap: 6px; color: var(--text); background: var(--surface-2); font-size: 14px; line-height: 18px; white-space: nowrap; }
.chip.t-rest .ico { width: 14px; height: 14px; color: var(--muted); }
.chip-more { flex: 0 0 100%; min-width: 0; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.chip-multi { flex: 0 0 100%; min-width: 0; max-height: 196px; margin: 0; padding: 2px 4px 2px 14px; list-style: none; overflow-y: auto; overscroll-behavior: contain; border-radius: 16px; background: var(--surface-2); }
.chip-multi li { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; }
.chip-multi li + li { border-top: 1px solid var(--line); }
.cm-main { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 6px 0; }
.cm-t { font-size: 15px; line-height: 20px; overflow-wrap: anywhere; }
.cm-w { font-size: 13px; line-height: 16px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cm-x { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 22px; color: var(--muted); }
.cm-x .ico { width: 14px; height: 14px; }
.cm-x:active { background: var(--line); }

/* похожая задача: спокойная строка над полем */
.cmp-dup { margin-bottom: 8px; padding: 10px 12px 6px; border-radius: 16px; background: var(--surface-2); box-shadow: inset 3px 0 0 var(--doing); }
.dup-t { font-size: 14px; line-height: 18px; overflow-wrap: anywhere; }
.dup-btns { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 4px; }
.dup-btn { min-height: 44px; padding: 0 14px; margin-left: -4px; border-radius: 22px; color: color-mix(in srgb, var(--accent) 75%, var(--text)); font-size: 15px; line-height: 20px; font-weight: 600; }
.dup-btn:active { background: var(--line); }

/* образцы под полем */
.cmp-hints { display: grid; margin-top: 4px; }
.hint-top { display: flex; align-items: center; justify-content: space-between; min-height: 36px; }
.hint-h { padding: 0 4px; font-size: 13px; line-height: 16px; color: var(--muted); }
.hint-next { min-height: 44px; margin-right: -8px; padding: 0 12px; border-radius: 22px; color: color-mix(in srgb, var(--accent) 75%, var(--text)); font-size: 14px; line-height: 18px; font-weight: 600; }
.hint-next:active { background: var(--surface-2); }
.cmp-hints .hint { display: block; width: 100%; min-height: 44px; padding: 8px 14px; font-size: 14px; line-height: 18px; overflow-wrap: anywhere; }
.cmp-hints .hint + .hint { margin-top: 4px; }
.cmp-hints .hint.swap { animation: fade .3s both; }
@media (max-height: 700px) { .cmp-hints .hint:nth-of-type(2) { display: none; } }

/* ответы ассистента в «Разговоре»: вопрос про команду и список записанного */
.bot-btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.bot-btns .bot-btn { margin-top: 0; }
.bot-btn.is-main { background: var(--accent); color: var(--on-color); font-weight: 600; }
.bot-btn.is-main:active { filter: brightness(.94); background: var(--accent); }
.bot-opts { display: grid; gap: 4px; margin: 6px 0; }
.bot-opt { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: 16px; background: var(--surface-2); text-align: left; font-size: 15px; line-height: 20px; overflow-wrap: anywhere; }
.bot-opt:active { background: var(--line); }
.bot-opt.is-find { color: color-mix(in srgb, var(--accent) 75%, var(--text)); font-weight: 600; }
.bot-opt .ico { width: 16px; height: 16px; }
.bot-body p.is-mute { color: var(--muted); }
.bot-rows { margin: 4px 0 0; padding: 0; list-style: none; }
.bot-rows li { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 4px 0; border-top: 1px solid var(--line); }
.br-t { flex: 1; min-width: 0; font-size: 15px; line-height: 20px; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.br-edit { flex: none; min-height: 44px; padding: 0 4px; }

/* выбор записи для команды: тот же поиск */
.pick-note { padding: 8px 20px 4px; font-size: 14px; line-height: 18px; color: var(--muted); }

/* «Подробнее»: сумма, артикул, телефон, ссылка */
.dt-extra .prop { min-height: 52px; }
.dt-x .prop-k { flex: none; white-space: nowrap; }
.dt-x .prop-v { flex: 1 1 auto; justify-content: flex-end; text-align: right; overflow-wrap: anywhere; color: var(--text); font-variant-numeric: tabular-nums; }
/* строка с кнопкой «Скопировать»: подпись над значением, кнопка справа */
.dt-c { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center; }
.dt-c .prop-k { grid-column: 1; grid-row: 1; font-size: 13px; line-height: 16px; color: var(--muted); white-space: normal; }
.dt-c .prop-v { grid-column: 1; grid-row: 2; justify-content: flex-start; text-align: left; }
.dt-c .copy-btn { grid-column: 2; grid-row: 1 / span 2; }
.copy-btn { flex: none; min-height: 44px; margin-right: -6px; padding: 0 14px; border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: color-mix(in srgb, var(--accent) 75%, var(--text)); font-size: 15px; line-height: 20px; font-weight: 600; }
.copy-btn:active { background: var(--line); }
.dt-link { display: inline-flex; align-items: center; justify-content: flex-end; max-width: 100%; min-height: 44px; color: color-mix(in srgb, var(--accent) 75%, var(--text)); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

/* настройки: «−» и «+» по 5 минут */
.set-step { flex-wrap: nowrap; justify-content: space-between; }
.stepper { flex: none; display: inline-flex; align-items: center; gap: 2px; }
.step-btn { width: 44px; height: 44px; border-radius: 22px; background: var(--surface-2); font-size: 24px; line-height: 24px; }
.step-btn:active:not(:disabled) { background: var(--line); }
.step-btn:disabled { opacity: .35; }
.step-v { min-width: 84px; text-align: center; font-size: 17px; line-height: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.set-step.is-off .step-v { color: var(--muted); font-weight: 500; }
