/* Действия свайпа существуют только на мобильных экранах. На десктопе меню
   открывается правой кнопкой мыши через обработчик contextmenu. */
.chat-swipe-actions,.chat-read-cue{display:none}

/* Явные строки предотвращают попадание composer в растягиваемую строку,
   когда блок закреплённого сообщения скрыт через display:none. */
.conversation-header{grid-row:1}.pinned-message{grid-row:2}.messages{grid-row:3;min-height:0}.composer{grid-row:4;align-self:end;min-height:50px;max-height:76px;width:auto}
.composer input{height:38px;min-height:38px;align-self:center}
.session-device-icon .ui-svg-icon{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.rail .brand+.icon-button{margin-top:46px}
.rail .icon-button:not(:first-of-type).active{margin-top:0!important}
.passkey-button{width:100%;height:44px;margin-top:10px;border:1px solid #78983e;border-radius:12px;background:linear-gradient(145deg,#17271d,#2f4935);color:#d7ff77;font-weight:800;box-shadow:0 8px 24px #1320192b}.passkey-button:active{transform:scale(.98)}
.rail .icon-button{position:relative;transition:color .2s ease,background .2s ease,transform .2s ease,box-shadow .2s ease}.rail .icon-button:hover,.rail .icon-button.rail-action-selected{background:#cfff5718;color:#cfff57;box-shadow:inset 0 0 0 1px #cfff5730,0 7px 22px #0003;transform:translateY(-1px)}.rail .icon-button.rail-action-selected:after{content:"";position:absolute;right:-8px;width:4px;height:18px;border-radius:4px;background:#cfff57;box-shadow:0 0 12px #cfff57}.rail .icon-button.active.rail-action-selected{margin-top:46px}.rail-search-highlight{animation:rail-search-focus .85s ease both}@keyframes rail-search-focus{35%{border-color:#b8ec50;box-shadow:0 0 0 5px #cfff5728}100%{box-shadow:0 0 0 0 #cfff5700}}

@media(max-width:700px){
  .chat-swipe-actions{display:flex}.chat-read-cue{display:grid}
  .composer{min-height:0;max-height:none}
  .composer input{height:auto;min-height:38px}
}
