/* Onboarding «Истории», short (Views/Shared/_OnboardShortN10.cshtml, mira-onboard-short.js), over mira-onboard.css. */

/* the pause after the situation: «Открываю чат…» with «Изменить» (in place of the nav) */
html[data-edition=n10] .onb-short .ob-undo { position: relative; z-index: 2; display: flex; gap: 12px; align-items: center; margin: 10px var(--gutter) 14px; padding: 12px 14px;
  border: 1px solid var(--line-2); border-radius: 16px; background: var(--glass-solid); }
html[data-edition=n10] .onb-short .ob-undo[hidden] { display: none; }
html[data-edition=n10] .onb-short .ob-undo-p { flex: 1; min-width: 0; }
html[data-edition=n10] .onb-short .ob-undo-p b { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 600; color: var(--ink); }
html[data-edition=n10] .onb-short .ob-undo-bar { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .14); overflow: hidden; }
html[data-edition=n10] .onb-short .ob-undo-bar i { display: block; width: 0; height: 100%; background: var(--gold-fill); border-radius: inherit; }
html[data-edition=n10] .onb-short .ob-undo-b { flex: none; min-height: 40px; padding: 0 16px; border: 1px solid var(--gold); border-radius: 999px; background: transparent;
  color: var(--gold-2); font: 600 14px var(--sans); cursor: pointer; }
html[data-edition=n10] .onb-short .ob-undo-b:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }

/* «Изменить ответы»: what stays (name, date, topic) and the answer sent before («было») */
html[data-edition=n10] .onb-short .ob-redo-sum { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
html[data-edition=n10] .onb-short .ob-redo-sum[hidden] { display: none; }
html[data-edition=n10] .onb-short .ob-redo-sum .chip { min-height: 30px; padding: 0 11px; font-size: 12.5px; color: var(--ink-2); }
html[data-edition=n10] .onb-short .ob-redo-sum .ob-say { flex-basis: 100%; margin-top: 6px; }
html[data-edition=n10] .onb-short .ob-card .ob-was { position: absolute; top: 50%; right: 14px; transform: translateY(-50%); font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gold); opacity: .85; }
html[data-edition=n10] .onb-short .ob-card:has(.ob-was) { padding-right: 64px; opacity: .6; }

@media (prefers-reduced-motion: reduce) {
  html[data-edition=n10] .onb-short .ob-undo-bar i { transition: none !important; width: 100% !important; }
}
