/* Shared Android chat shell. Dimensions follow the approved App layout. */
.yh-app-screen {
  display:flex;
  flex-direction:column;
  min-height:626px;
  border-radius:28px;
  overflow:hidden;
  color-scheme:light;
  color:var(--c-app-ink);
  background:var(--c-app-canvas);
  box-shadow:var(--shadow-app-screen);
  font-family:var(--font-app-latin);
  font-size:14px;
  line-height:20px;
}
.yh-app-status { position:relative; display:flex; align-items:flex-end; justify-content:space-between; height:52px; flex:none; padding:10px 24px; font-size:14px; font-weight:500; line-height:20px; letter-spacing:.14px; }
.yh-app-camera { position:absolute; top:18px; left:50%; width:24px; height:24px; transform:translateX(-50%); }
.yh-app-status-icons { display:flex; align-items:center; height:20px; }
.yh-app-status-icons img { flex:none; }
.yh-app-status-icons img:nth-child(2) { margin-left:-1px; }
.yh-app-status-icons img:nth-child(3) { margin-left:5px; }
.yh-app-toolbar { display:flex; align-items:center; gap:4px; height:64px; flex:none; padding:8px 4px; border-bottom:1px solid var(--c-app-divider); }
.yh-app-contact { display:flex; align-items:center; gap:12px; flex:1; min-width:0; }
.yh-app-contact strong { font-size:16px; font-weight:500; line-height:19px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.yh-app-control { display:grid; place-items:center; width:48px; height:48px; flex:none; }
.yh-app-glyph { display:block; flex:none; }
.yh-app-toolbar-actions { display:flex; flex:none; }
.yh-app-avatar { display:grid; place-items:center; width:40px; height:40px; border-radius:50%; flex:none; background:var(--c-app-text-surface); color:var(--c-app-canvas); font-size:14px; font-weight:500; line-height:24px; }
.yh-app-conversation { display:flex; flex:1; flex-direction:column; align-items:flex-start; padding:16px 16px 10px; }
.yh-app-encryption { display:flex; align-items:center; justify-content:center; gap:6px; align-self:center; margin-bottom:8px; padding:4px 12px; border-radius:100px; background:var(--c-app-bubble); color:var(--c-app-muted); font-size:12px; line-height:18px; text-align:center; }
.yh-app-date { align-self:center; color:var(--c-app-muted); font-size:14px; line-height:20px; letter-spacing:.25px; padding-block:4px; }
.yh-app-message-row { display:flex; width:100%; padding-block:8px; padding-inline-end:20px; }
.yh-app-message-row-out { justify-content:flex-end; padding-inline:20px 0; }
.yh-app-message { width:fit-content; max-width:100%; min-height:44px; padding:8px 16px; border-radius:20px; border-start-start-radius:8px; background:var(--c-app-bubble); color:var(--c-app-message-ink); }
.yh-app-message-opening { width:100%; }
.yh-app-message p { font-size:14px; line-height:20px; letter-spacing:.07px; }
.yh-app-time { display:flex; align-items:center; justify-content:flex-end; gap:4px; color:var(--c-app-muted); font-size:12px; line-height:18px; }
.yh-app-message-out { background:var(--c-app-text-surface); color:var(--c-app-canvas); border-start-start-radius:20px; border-start-end-radius:8px; }
.yh-app-message-out .yh-app-time { color:var(--c-app-sent-meta); }
.yh-app-delivered { width:16px; height:16px; }
.yh-app-composer { display:flex; align-items:center; gap:16px; padding:8px 16px; }
.yh-app-input { display:flex; align-items:center; flex:1; gap:12px; min-width:0; height:48px; padding-inline:15px; border:1px solid var(--c-app-line); border-radius:100px; color:var(--c-app-muted); background:var(--c-app-input); font-size:16px; line-height:24px; letter-spacing:.5px; }
.yh-app-placeholder { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.yh-app-microphone { background:var(--c-landing-blue); border-radius:50%; }
.yh-app-gesture { display:grid; place-items:center; height:24px; flex:none; }
.yh-app-gesture>span { width:108px; height:4px; border-radius:12px; background:var(--c-app-ink); }
[dir=rtl] .yh-app-screen { font-family:var(--font-home-arabic); }
[dir=rtl] .yh-app-status { font-family:var(--font-app-latin); }
[dir=rtl] .yh-app-message p { line-height:22px; }
@media(max-width:650px) {
  .yh-app-screen { min-height:594px; }
  .yh-app-input { font-size:14px; letter-spacing:0; gap:10px; }
}
@media(max-width:380px) {
  .yh-app-control { width:40px; }
  .yh-app-contact { gap:8px; }
  .yh-app-conversation { padding-inline:12px; }
  .yh-app-encryption { font-size:10px; padding-inline:8px; }
  .yh-app-composer { padding-inline:12px; gap:10px; }
  .yh-app-input { gap:8px; padding-inline:12px; font-size:12px; }
  .yh-app-microphone { width:48px; }
}
