/* Light composer within the existing sidebar and header layout. */
.chat-wrapper { padding: 0; }
.chat-wrapper .chat-main-cnt { margin-left: 0; padding: 16px; }
.chat-main-cnt .ai-network-chat-header { top: 16px; right: 16px; }
.reference-sidebar {
  width: 260px; max-width: 260px; flex: 0 0 260px;
  background: #f5f5f5; border: 0; border-radius: 0;
}
.reference-sidebar-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; height: 60px; padding: 12px 10px 12px 16px;
}
.reference-brand { display: inline-flex; align-items: center; gap: 3px; color: #4d6bfe; }
.reference-brand img { display: block; flex: 0 0 28px; }
.reference-brand span { font-size: 25px; line-height: 30px; font-weight: 600; letter-spacing: -.8px; }
.reference-sidebar-actions { display: flex; align-items: center; gap: 8px; }
.sidebar-icon-button {
  display: grid; place-items: center; flex: 0 0 26px;
  width: 26px; height: 30px; border-radius: 6px;
  background: transparent; color: #74777e;
}
.sidebar-icon-button svg { width: 20px; height: 20px; }
.sidebar-icon-button:hover { background: #e5e6e9; color: #28282b; }
.sidebar-new-chat {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  height: 41px; margin: 7px 12px 0; border-radius: 24px;
  background: #e5e6e9; color: #303239; font-size: 14px; font-weight: 500;
}
.sidebar-new-chat:hover { background: #dbdde2; }
.sidebar-new-chat svg { width: 17px; height: 17px; flex: 0 0 17px; }
.sidebar-search-panel { padding: 22px 12px; }
.sidebar-search-panel[hidden] { display: none; }
.sidebar-search-panel input {
  width: 100%; padding: 10px 12px; border: 1px solid #dddfe5;
  border-radius: 10px; font-size: 13px; background: #fff; color: #28282b;
}
.sidebar-search-panel p { margin: 16px 0 0; font-size: 12px; text-align: center; color: #777c86; }
@media (min-width: 769px) {
  .reference-sidebar.is-collapsed { width: 64px; max-width: 64px; flex-basis: 64px; }
  .reference-sidebar.is-collapsed .reference-sidebar-header { height: auto; flex-direction: column; padding: 14px 0 0; gap: 16px; }
  .reference-sidebar.is-collapsed .reference-brand span,
  .reference-sidebar.is-collapsed .sidebar-new-chat span,
  .reference-sidebar.is-collapsed .sidebar-search-panel { display: none; }
  .reference-sidebar.is-collapsed .reference-sidebar-actions { flex-direction: column-reverse; gap: 12px; }
  .reference-sidebar.is-collapsed .sidebar-new-chat { margin: 14px 12px 0; height: 40px; }
}
@media (max-width: 768px) {
  .reference-sidebar { border-radius: 0 16px 16px 0; }
  .chat-wrapper .chat-main-cnt { padding: 14px; }
  .chat-main-cnt .ai-network-chat-header { top: auto; right: auto; }
}
html { color-scheme: light; }
html body { background: #fbfbfb; color: #28282b; }
.p-chat-mobile-tools { display: none !important; }
.chat-sidebar { flex-shrink: 0; }
.chat-wrapper .chat-main-cnt {
  min-width: 0;
  flex: 1 1 auto;
}
.chat-main-cnt .chat-cnt-wrapper {
  width: 100%; max-width: 824px; padding: 0 24px; margin: 0;
}
.chat-cnt-wrapper .p-chat-header {
  display: flex; justify-content: center; align-items: center;
  gap: 12px; margin: 0 0 42px;
}
.p-chat-header h1 {
  color: #28282b; font-size: 24px; font-weight: 600;
  line-height: 32px; margin: 0; letter-spacing: 0;
}
.p-chat-header .p-chat-cnt-logo { width: 33px; flex: 0 0 33px; }
.p-chat-cnt-logo img { display: block; width: 33px; height: 26px; }
.model-notice {
  display: flex; align-items: center; gap: 9px;
  margin: 0 12px -3px; padding: 6px 34px 10px 10px;
  min-height: 52px; border-radius: 15px 15px 0 0;
  background: #edf1fa; position: relative;
}
.model-notice[hidden], .attachment-name[hidden] { display: none; }
.notice-icon { width: 23px; height: 25px; flex: 0 0 23px; color: #6586ed; }
.model-notice strong { display: block; font-size: 13px; line-height: 20px; font-weight: 500; color: #343c50; }
.model-notice p { margin: 0; font-size: 13px; line-height: 20px; color: #697386; }
.notice-close {
  position: absolute; right: 7px; top: 6px;
  width: 24px; height: 24px; color: #737b8b; background: transparent;
  display: grid; place-items: center; border-radius: 6px;
}
.notice-close svg { width: 20px; height: 20px; }
.notice-close:hover { background: #dfe6f3; color: #28282b; }
.dark-composer {
  position: relative; border: 1px solid #e2e4e9; border-radius: 24px;
  background: #ffffff; padding: 15px 12px 12px;
}
.dark-composer textarea {
  display: block; width: 100%; height: 59px; min-height: 59px;
  max-height: 200px; resize: vertical; padding: 0 3px;
  background: transparent; color: #28282b; font: inherit;
  font-size: 16px; line-height: 24px; outline: none; border: 0;
}
.dark-composer textarea::placeholder { color: #85858c; opacity: 1; }
.dark-composer:focus-within { border-color: #7297ec; }
.composer-toolbar, .composer-modes, .composer-actions {
  display: flex; align-items: center;
}
.composer-toolbar { justify-content: space-between; gap: 12px; }
.composer-modes { gap: 10px; }
.mode-button {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 4px; white-space: nowrap; min-height: 34px;
  border: 1px solid #e0e2e7; border-radius: 20px;
  padding: 0 10px; font-size: 13px; line-height: 18px;
  background: transparent; color: #41444b;
}
.mode-button svg { width: 16px; height: 16px; flex: 0 0 16px; }
.mode-button[aria-pressed="true"] { color: #396bd3; background: #eef4ff; border-color: #a5bff1; }
.mode-button:hover { background: #f1f3f7; }
.mode-button[aria-pressed="true"]:hover { background: #e3edff; }
.composer-actions { gap: 17px; }
.attach-button {
  position: relative; width: 24px; height: 34px;
  display: grid; place-items: center; cursor: pointer;
}
.attach-button input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.attach-button:focus-within { outline: 2px solid #6092ff; border-radius: 6px; }
.attach-button svg { width: 20px; height: 20px; }
.send-button {
  display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 50%; background: #4d79e8; color: #fff; flex: 0 0 34px;
}
.send-button svg { width: 24px; height: 24px; }
.send-button[data-empty="true"] { background: #e6ecf8; color: #899ab9; }
.send-button:not([data-empty="true"]):hover { background: #638cff; }
.attachment-name { padding: 2px 3px 12px; font-size: 12px; color: #396bd3; overflow-wrap: anywhere; }
@media (max-width: 768px) {
  .chat-main-cnt .chat-cnt-wrapper {
    display: flex; flex-direction: column; align-items: stretch;
    justify-content: center; gap: 0; padding: 24px 0;
  }
}
@media (max-width: 600px) {
  .chat-cnt-wrapper .p-chat-header { gap: 9px; margin-bottom: 30px; }
  .p-chat-header h1 { font-size: 19px; line-height: 27px; }
  .model-notice { margin-left: 7px; margin-right: 7px; }
  .model-notice strong, .model-notice p { font-size: 11px; line-height: 16px; }
  .dark-composer { padding: 13px 10px 10px; border-radius: 20px; }
  .dark-composer textarea { height: 74px; }
  .composer-toolbar { gap: 6px; }
  .composer-modes { gap: 5px; }
  .mode-button { font-size: 10px; padding: 0 6px; gap: 3px; }
  .mode-button svg { width: 13px; height: 13px; flex-basis: 13px; }
  .composer-actions { gap: 5px; }
}
