/* ИИ-помощник (s72, волна 2, b2; макет Pomoshnik) — app/js/ekrany-pomoshnik.js. Классы pm-, токены — app.css. */
.ekran.ekran-pomoshnik, body.s-vkladkami .ekran.ekran-pomoshnik { padding: 0 0 calc(262px + env(safe-area-inset-bottom)); gap: 0; background: var(--surface); }
.pm-sh { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; gap: 8px; padding: calc(12px + env(safe-area-inset-top)) 16px 12px;
  background: var(--bg); border-bottom: 1px solid var(--line); }
.pm-znak { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 2px solid var(--turq); background: var(--bg); display: grid; place-items: center; }
.pm-znak img { width: 24px; height: auto; }
.pm-sh-t { flex: 1; min-width: 0; }
.pm-sh-t h1 { font-size: 17px; line-height: 1.25; }
.pm-sh-t .muted { font-size: 12px; line-height: 1.3; }
.pm-adm { min-height: 44px; padding: 0 10px; gap: 6px; font-size: 12.5px; background: var(--surface); flex: none; white-space: nowrap; overflow-wrap: normal; }
.pm-eshe { width: 36px; height: 44px; margin-right: -6px; flex: none; border: 0; background: transparent; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--navy); }
.pm-lenta { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.pm-ii { align-self: flex-start; max-width: min(340px, 92%); background: var(--bg); border: 1px solid var(--line); border-radius: 4px 16px 16px 16px;
  padding: 12px 14px; font-size: 14.5px; line-height: 1.5; overflow-wrap: anywhere; display: flex; flex-direction: column; gap: 8px; }
.pm-ii p + p { margin-top: 0; }
.pm-me-b { align-self: flex-end; max-width: min(300px, 86%); display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.pm-me { background: var(--navy); color: #fff; border-radius: 16px 4px 16px 16px; padding: 10px 14px; font-size: 14.5px; line-height: 1.45; overflow-wrap: anywhere; }
.pm-otp { font-size: 12px; color: var(--text-2); text-align: right; line-height: 1.35; overflow-wrap: anywhere; }
.pm-oshb { color: var(--rose); font-weight: 700; }
.pm-ssyl { border: 0; background: transparent; color: var(--navy); font-weight: 800; text-decoration: underline; cursor: pointer; min-height: 32px; padding: 0 4px; }
.pm-flag { background: var(--orange-20); border-radius: 12px; padding: 10px 12px; font-size: 14px; line-height: 1.45; display: flex; flex-direction: column; gap: 8px; }
.pm-103 { background: var(--rose); color: #fff; }
.pm-kn, .pm-kn2 { display: flex; flex-wrap: wrap; gap: 8px; }
.pm-kn .btn, .pm-kn2 .btn { min-height: 44px; font-size: 14px; padding: 0 12px; flex: 1 1 auto; }
.pm-kn2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pm-mel { font-size: 13px; }
.pm-baza { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; }
.pm-sloty { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.pm-slot { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 52px; padding: 0 4px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--bg); font: 700 12px var(--body); color: var(--text-2); cursor: pointer; overflow-wrap: anywhere; text-align: center; }
.pm-slot b { font-size: 15px; color: var(--navy); }
.pm-slot[aria-pressed="true"] { background: var(--turq-20); border-color: var(--turq); color: var(--navy); }
.pm-vq { border: 1px solid var(--turq); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.pm-vq-l { font: 800 12px var(--body); color: var(--navy-80); letter-spacing: .04em; text-transform: uppercase; }
.pm-vq textarea { min-height: 72px; font-size: 14px; resize: vertical; }
.pm-pishet { flex-direction: row; gap: 4px; padding: 14px; }
.pm-pishet span { width: 7px; height: 7px; border-radius: 50%; background: var(--navy-20); animation: pm-t 1.2s infinite ease-in-out; }
.pm-pishet span:nth-child(2) { animation-delay: .2s; } .pm-pishet span:nth-child(3) { animation-delay: .4s; }
@keyframes pm-t { 50% { background: var(--turq); } }
@media (prefers-reduced-motion: reduce) { .pm-pishet span { animation: none; } }
.pm-niz { position: fixed; left: 0; right: 0; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 4; max-width: 560px; margin: 0 auto;
  background: var(--surface); padding: 8px 16px 10px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.pm-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.pm-chips::-webkit-scrollbar { display: none; }
.pm-chip { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 22px; border: 1px solid var(--line); background: var(--bg);
  font: 700 13px var(--body); color: var(--navy); cursor: pointer; white-space: nowrap; }
.pm-vv { display: flex; align-items: center; gap: 8px; }
.pm-vv input { flex: 1; min-width: 0; height: 48px; border-radius: 24px; padding: 0 16px; font-size: 15px; }
.pm-krug { width: 52px; height: 52px; flex: none; border-radius: 50%; border: 0; background: var(--turq); display: grid; place-items: center; cursor: pointer; color: var(--navy); touch-action: none; }
.pm-krug[hidden] { display: none; }
.pm-krug.on { background: var(--rose); color: #fff; box-shadow: 0 0 0 6px var(--rose-20); }
.pm-ne { font-size: 11.5px; text-align: center; }
