@media screen and (min-width: 769px) and (max-width: 1082px) {
  .chat-app-container {
    overflow: hidden; }
  .chat-app-container.collapsed {
    height: 100dvh !important; }
  .chat-container {
    height: 100dvh !important; }
  .chat-area {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: calc(100dvh - 70px) !important;
    align-items: center; }
  .chat-area.full {
    height: calc(100dvh - 70px) !important; }
  .chat-area.max-height {
    height: 100dvh !important; } }

@media screen and (max-width: 1082px) {
  .chat-app-container {
    height: calc(100dvh - 60px);
    display: flex; }
  .chat-app-container.collapsed {
    height: calc(100dvh - 110px);
    display: inline-flex;
    width: 100%; }
  .chat-container {
    width: 100%;
    margin: 0 auto;
    padding: 0px 10px; }
  .chat-area {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: calc(100dvh);
    align-items: center; }
  .chat-area.full {
    height: calc(100dvh - 70px); } }

@media screen and (min-width: 1083px) {
  .chat-app-container,
  .chat-app-container.collapsed,
  .chat-container {
    margin: 0;
    padding: 0;
    box-sizing: border-box; }
  .chat-app-container {
    height: calc(100vh - 60px);
    display: flex;
    overflow-y: hidden; }
  .chat-app-container.collapsed {
    height: calc(100vh - 60px);
    display: inline-flex;
    width: 100%; }
  .chat-container {
    width: 960px;
    margin: 0 auto;
    height: calc(100vh - 60px);
    padding: 0px 10px;
    overflow: hidden; }
  .chat-area {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: calc(100vh - 60px);
    align-items: center; }
  .chat-area.max-height {
    height: 100dvh !important; } }

@media screen and (max-width: 1082px) {
  .panel-container {
    width: 100%;
    height: 0%;
    position: fixed;
    bottom: 0;
    right: 0;
    overflow: hidden;
    transition: height 0.5s ease;
    background-color: var(--white);
    z-index: 100;
    border-top: 1px solid black; }
  .panel-container.open {
    height: 60%;
    padding: 10px; }
  .panel-container.open.expanded {
    height: 85%; }
  .highlight-card {
    background-color: #fcf4f5; } }

@media screen and (min-width: 1083px) {
  .panel-container {
    width: 0%;
    height: 100%;
    right: 0;
    position: relative;
    transition: width 0.5s ease;
    padding: 0;
    overflow: hidden; }
  .panel-container.open {
    width: 450px;
    padding: 10px; }
  .highlight-card {
    background-color: #fcf4f5; } }

.chat-box .overview-section {
  width: 100%;
  align-self: center;
  animation: fadeIn 0.4s ease-in-out; }

.highlights-container {
  gap: 15px;
  height: 96%;
  overflow-y: scroll;
  overflow-x: hidden;
  display: grid; }
  .highlights-container p {
    font-size: 14px; }
    .highlights-container p i {
      color: var(--text-grey);
      font-size: 11px; }

.chat-box {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  padding: 10px; }
  .chat-box article {
    padding-top: 10px;
    padding-bottom: 10px; }
    .chat-box article .chat-content {
      display: block;
      white-space: normal;
      word-wrap: break-word; }
      .chat-box article .chat-content .content ul {
        margin-left: 3rem; }
  .chat-box article .chat-content .user {
    background-color: var(--grey-lighter);
    text-align: left !important;
    max-width: 60%;
    padding: 10px;
    border-radius: 2px;
    float: right; }
    @media screen and (max-width: 1082px) {
      .chat-box article .chat-content .user {
        max-width: 75%; } }
  .chat-box article .chat-content .assistant {
    text-align: left !important;
    width: 100%; }
  .chat-box article .chat-content .error {
    text-align: left !important;
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--secondary-orange);
    float: left; }
  .chat-box .ref-highlights-section {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap; }

.suggestions-scroll-container {
  overflow-x: auto;
  width: 100%;
  position: relative;
  padding-bottom: 10px;
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  scrollbar-width: none; }
  .suggestions-scroll-container::-webkit-scrollbar {
    display: none; }

.suggested-button-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap; }

.chat-box {
  mask-image: linear-gradient(to top, transparent, black 5%, black 95%, transparent); }

@keyframes scroll-right {
  from {
    transform: translateX(0%); }
  to {
    transform: translateX(-100%); } }

.basic-hover {
  border-radius: 4px;
  border: 1.6px solid var(--grey);
  min-height: 40px;
  padding: 10px 16px;
  background: var(--white);
  color: var(--black);
  cursor: pointer; }

.basic-hover:hover {
  border: 1.6px solid var(--grey);
  height: 40px;
  padding: 10px 16px;
  background: var(--secondary-button-background-hover);
  cursor: pointer; }

.icon-button {
  min-width: 0px;
  height: 32px;
  gap: 8px;
  background: var(--white);
  border-radius: 4px;
  border: 1.6px solid var(--grey);
  color: var(--black);
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap; }
  @media screen and (max-width: 768px) {
    .icon-button {
      font-size: clamp(10px, 2vw, 16px); } }
.icon-button:hover {
  background-color: var(--secondary-button-background-hover); }

.icon-button.active {
  background-color: rgba(0, 122, 255, 0.1); }

.icon-button:disabled, .icon-button.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: var(--grey-lighter);
  border: 1.6px solid var(--grey); }

.icon-button:disabled:hover, .icon-button.disabled:hover {
  background-color: var(--grey-lighter); }

.operation-button {
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: left;
  color: var(--black);
  gap: 5px;
  padding: 2px 4px; }

.operation-button:hover {
  background-color: var(--secondary-button-background-hover);
  padding: 2px 4px;
  border-radius: 4px; }
  .operation-button:hover svg path {
    fill-opacity: 1; }

.msg-operation-section {
  display: inline-flex; }

.outline-button {
  min-width: 32px;
  min-height: 32px;
  gap: 8px;
  background: var(--white);
  border-radius: 2px;
  border: 1.6px solid var(--grey);
  color: var(--black);
  cursor: pointer;
  padding: 10px 40px 10px 10px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left; }
  .outline-button .img {
    border-radius: 8px; }

.outline-button:hover {
  background-color: var(--secondary-button-background-hover); }

.book-container {
  display: flex;
  align-items: center;
  gap: 12px; }

.book-container.sticky {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fcf4f5;
  padding: 10px 0px 10px 0px; }
  @media screen and (max-width: 1082px) {
    .book-container.sticky {
      background-color: #fcf4f5; } }
.highlight-animation {
  animation: highlightFade 3s ease-out; }

@keyframes highlightFade {
  0% {
    background-color: #ffeb3b50; }
  70% {
    background-color: #ffeb3b50; }
  100% {
    background-color: transparent; } }

.book-cover {
  flex-shrink: 0; }

.book-details {
  display: flex;
  flex-direction: column;
  text-align: left; }

.button-row {
  align-items: center;
  justify-content: space-between;
  display: flex;
  height: 56px;
  margin: 0;
  gap: 5px;
  border: 1.6px solid var(--grey);
  border-radius: 12px;
  padding: 12px 16px;
  animation: fadeIn 0.4s ease-in-out; }
  .button-row .truncate {
    flex: 1;
    min-width: 0;
    overflow: hidden; }
  .button-row .truncate p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; }
  .button-row .actions {
    display: flex;
    gap: 5px;
    flex-shrink: 0; }

.button-row.is-away {
  visibility: hidden; }

.model-selector-button {
  margin: auto;
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0 5px; }
  .model-selector-button img {
    padding-left: 5px; }

.chat-input-container {
  display: flex;
  align-items: flex-end;
  background-color: var(--grey-lighter);
  border-radius: 26px;
  border: 0.8px solid rgba(0, 0, 0, 0.02);
  min-height: auto;
  max-width: 680px;
  width: 100%;
  padding: 5px;
  height: auto;
  margin: 0 auto; }
  .chat-input-container .textarea.chat-input {
    min-width: 0;
    flex: 1;
    min-height: 36px;
    max-height: 200px;
    resize: none;
    border-radius: 15px;
    background-color: var(--grey-lighter);
    border: none;
    overflow-y: auto;
    outline: none; }
  .chat-input-container .button.send-button {
    height: 36px;
    width: 36px;
    border-radius: 24px;
    background: var(--black);
    margin: 0px 2px 2px 0px; }
    .chat-input-container .button.send-button svg {
      height: 24px;
      min-width: 24px; }

.chat-input-container .textarea.chat-input::placeholder {
  color: var(--text-grey); }

.chat-input-container.full-width {
  width: 100%; }

.theme--dark .has-background-light {
  background: none !important; }

.book-review-container {
  height: 96%;
  overflow-y: scroll;
  overflow-x: hidden; }
  .book-review-container .book-highlights-container {
    gap: 15px;
    height: 100%;
    display: grid; }
    .book-review-container .book-highlights-container p {
      font-size: 14px; }
      .book-review-container .book-highlights-container p i {
        color: var(--text-grey);
        font-size: 11px; }

.overview-chat-input {
  padding: 5px 0px;
  min-height: 115px;
  width: 100%;
  background-color: var(--white);
  border: 1.6px solid var(--grey);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; }

.overview-chat-input .textarea.chat-input {
  width: 100%;
  min-height: 50px;
  border: none;
  resize: none;
  max-height: 200px;
  line-height: 24px;
  background-color: var(--white); }

.overview-chat-input .operation-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0px 8px; }

.overview-chat-input .textarea.chat-input::placeholder {
  color: var(--text-grey); }

.overview-chat-input .button.send-button {
  height: 36px;
  width: 36px;
  border-radius: 24px;
  background: var(--black); }
  .overview-chat-input .button.send-button svg {
    height: 24px;
    min-width: 24px; }

.loading {
  display: flex;
  align-items: center;
  gap: 10px; }

.loading-text {
  font-size: 1.1rem;
  font-weight: 500;
  background: linear-gradient(90deg, var(--text-light-grey), var(--grey), var(--black));
  background-size: 200% 100%;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  animation: wave 2s infinite linear; }

@keyframes wave {
  0% {
    background-position: 200% 0; }
  100% {
    background-position: -200% 0; } }

.chat-app-container blockquote {
  background-color: inherit; }

.chat-app-container h1 {
  font-size: 1.4em;
  font-weight: bold;
  color: var(--black) !important; }

.chat-app-container h2 {
  font-size: 1.2em;
  color: var(--black) !important; }

.chat-app-container h3 {
  font-size: 1.0em;
  font-weight: 600;
  color: var(--black) !important; }

.chat-page .page-content {
  min-height: unset; }

.highlight-card, .book-details, .highlights-container, .book-highlights-container, .content, p {
  word-break: break-word;
  overflow-wrap: anywhere; }

/*# sourceMappingURL=chat.css.map */