*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    max-height: 100%;
    overflow: hidden;
}

body.chat-shell {
    margin: 0;
    font-family: var(--chat-font);
    color: var(--chat-text);
    background: var(--chat-bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overscroll-behavior: none;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
    height: 100%;
    max-height: 100dvh;
}

button,
textarea,
input {
    font: inherit;
    color: inherit;
}

button {
    background: none;
    border: 0;
    cursor: pointer;
    padding: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
h1,
h2,
p {
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ui-icon {
    display: block;
    flex-shrink: 0;
}

.icon-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: var(--chat-text-secondary);
    transition: background var(--chat-transition), color var(--chat-transition), transform var(--chat-transition);
}

.icon-btn:hover {
    background: var(--chat-bg-hover);
    color: var(--chat-text);
}

.icon-btn:active {
    transform: scale(0.96);
}
