/* ── Chat Sheet (Phase 6 — BottomSheet at full snap) ─────────────────────
 *
 * Full chat is a BottomSheet at full snap (92dvh).
 * Internal layout: flex column — header fixed, messages scrollable, form fixed.
 * Positioning is handled by .bottom-sheet in shell.css.
 * ─────────────────────────────────────────────────────────────────────── */

/* Height at full snap */
#chat-sheet.full {
    height: 100dvh;
}

body.desktop-frame #chat-sheet.full {
    height: 100%;
}

/* Inner wrapper: flex column that fills the entire sheet.
   Uses height: 100% (not flex: 1) because .bottom-sheet is not a flex container. */
.chat-sheet-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

/* Messages container fills remaining vertical space */
.chat-sheet-inner .messages {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Input form: shrink to content, respects safe area */
.chat-sheet-inner .chat-input-form {
    flex-shrink: 0;
    padding-bottom: calc(var(--space-3) + env(safe-area-inset-bottom, 0px));
}

/* Hint chips row */
.chat-sheet-inner .chat-hints-static {
    flex-shrink: 0;
}
