/* Зорька — отдельный экран. */
/* Зорька — отдельный экран */
.zscreen { display: flex; flex-direction: column; gap: 16px; max-width: 760px; width: 100%; min-height: calc(100vh - var(--top-h) - 90px); }
.zintro { display: flex; gap: 14px; align-items: flex-start; }
.zintro .avatar { width: 52px; height: 52px; flex-shrink: 0; }
.zintro h1 { font-size: 26px; }
.zintro p { margin: 6px 0 0; color: var(--ink-2); max-width: 56ch; }
.avatar { width: 46px; height: 46px; flex-shrink: 0; }
.zquick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.zq { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 52px; padding: 0 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); font-weight: 600; cursor: pointer; text-align: left; }
.zq:hover { border-color: var(--night); }
.zq b { font: 700 16px var(--display); color: var(--dawn-ink); }
.zlog { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.zmsg { max-width: 86%; padding: 11px 15px; border-radius: 18px; line-height: 1.45; }
.zmsg.z { align-self: flex-start; background: var(--paper); border-bottom-left-radius: 6px; }
.zmsg.u { align-self: flex-end; background: var(--night); color: #fff; border-bottom-right-radius: 6px; }
.zlinks { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.zlink { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; }
.zbar { position: sticky; bottom: 16px; display: flex; gap: 8px; padding: 8px; background: var(--paper); border-radius: 20px; box-shadow: 0 10px 30px rgba(30,42,85,.14); }
.zbar input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 0; border-radius: 14px; background: var(--ground); font-size: 16px; outline: none; }
.zsend { width: 52px; height: 48px; border: 0; border-radius: 14px; background: var(--dawn); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }

/* Примеры фраз */
.zintro > div { min-width: 0; }
.zex { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.zex button { min-height: 34px; padding: 0 12px; border: 1px dashed #C3C9E0; border-radius: 999px; background: transparent; color: var(--ink-2); font-size: 14px; cursor: pointer; }
.zex button:hover { border-style: solid; border-color: var(--night); color: var(--ink); }
/* Карточка «вот что я поняла» */
.zcard { display: flex; flex-direction: column; gap: 8px; min-width: min(420px, 70vw); }
.zcard-h { display: flex; align-items: center; gap: 8px; }
.zcard-h svg { color: var(--dawn-ink); }
.zcard-h b { font: 700 16px var(--display); }
.zcard-h span { margin-left: auto; color: var(--muted); font-size: 14px; }
.zcard-who { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.zcard-d { color: var(--ink-2); }
.zcard-w { margin: 0; padding: 8px 10px; border-radius: 10px; background: var(--warn-soft); color: var(--warn-ink); font-size: 14px; }
.zwarn { color: var(--bad-ink); }
.zchoices { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.zchoices span { font-weight: 600; margin-right: 4px; }
.zchoices button { min-height: 38px; padding: 0 12px; border: 1px solid #C9CEE0; border-radius: 10px; background: #fff; font-weight: 600; cursor: pointer; }
.zchoices button:hover { border-color: var(--night); }
.zcard-a { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; }
.zcard-a .btn { min-height: 42px; }
.zdone { font-weight: 700; color: var(--good-ink); }
.zmic { width: 52px; height: 48px; border: 0; border-radius: 14px; background: var(--ground); color: var(--night); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.zmic.on { background: var(--bad); color: #fff; animation: zpulse 1.2s infinite; }
@keyframes zpulse { 50% { box-shadow: 0 0 0 6px rgba(201,58,53,.2); } }

/* Когда разговор начался: примеры прячем, плитки — в одну прокручиваемую строку */
.zscreen.chat .zex { display: none; }
.zscreen.chat .zintro p { display: none; }
.zscreen.chat .zquick { display: flex; overflow-x: auto; scrollbar-width: none; }
.zscreen.chat .zq { flex: 0 0 auto; min-height: 42px; }
.zlog { padding-bottom: 12px; }

@media (max-width: 700px) {
  .zscreen { min-height: calc(100vh - var(--top-h) - 140px); }
  .zintro .avatar { width: 44px; height: 44px; }
  .zintro h1 { font-size: 22px; }
  .zintro p { font-size: 15px; }
  .zquick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zbar { bottom: 84px; }
  .zcard { min-width: 0; }
  .zex button { font-size: 13px; }
  .zex { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -12px; }
  .zex button { flex-shrink: 0; }
}
