:root {
  --bg: #f6f7f9;
  --card: #ffffff;
  --border: #d9dde3;
  --text: #1f2937;
  --muted: #6b7280;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  --radius: 16px;
  --sidebar-width: 400px;
  --gap: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.demoPage {
  min-height: 100vh;
  max-width: 1680px;
  margin: 0 auto;
  padding: 14px;
}

.demoTopbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.demoTopbarLeft {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.demoTopbarBlock {
  min-width: 220px;
}

.demoLabel {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.demoValue {
  font-size: 14px;
}

.demoCard,
.demoTopbar,
.demoChatCard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}

.demoCard {
  margin-bottom: 14px;
}

.demoSectionTitle {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.demoMuted {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.demoPre {
  white-space: pre-wrap;
  word-break: break-word;
}

.demoShell {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  gap: var(--gap);
  align-items: start;
}

.demoSidebar {
  min-width: 0;
}

.demoMain {
  min-width: 0;
}

.demoChatCard {
  min-height: calc(100vh - 150px);
  display: flex;
  flex-direction: column;
}

.demoChatHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.demoChatList {
  flex: 1;
  min-height: 560px;
  border: 1px solid #e7e9ee;
  border-radius: 12px;
  background: #fbfbfc;
  padding: 12px 12px 2px 12px;
  overflow-y: auto;
  margin-bottom: 0;
}


.demoComposer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  align-self: stretch;
}


.demoComposerActions {
  display: flex;
  justify-content: flex-end;
}

.demoRow {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.demoScopeRow {
  gap: 18px;
}

.demoRadioLabel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

input[type="text"],
input[type="password"],
input[type="file"],
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  color: var(--text);
}

textarea {
  resize: vertical;
}

#chatText {
  min-height: 110px;
}

.demoPrimaryButton,
.demoGhostButton {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
}

.demoPrimaryButton:hover,
.demoGhostButton:hover {
  background: #f3f4f6;
}

.demoList {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 24px;
  margin-top: 8px;
}



.demoItem {
    display: block;
    border: 1px solid #e7e9ee;
    border-radius: 10px;
    padding: 10px 12px;
    background: #fff;
    margin-bottom: 10px;
}



.demoItem.active {
  border-color: #8f96a3;
  background: #f7f8fb;
}

.demoShell.sidebar-collapsed {
  grid-template-columns: 1fr;
}

.demoShell.sidebar-collapsed .demoSidebar {
  display: none;
}

.demoShell.sidebar-collapsed .demoMain {
  width: 100%;
}

@media (max-width: 960px) {
  .demoTopbar {
    flex-direction: column;
  }

  .demoTopbarLeft {
    flex-direction: column;
    gap: 14px;
  }

  .demoShell {
    grid-template-columns: 1fr;
  }

  .demoSidebar {
    display: block;
  }

  .demoChatCard {
    min-height: auto;
  }

  .demoChatList {
    min-height: 420px;
  }
}



.demoChatBody p {
  margin: 0 0 10px;
}

.demoChatBody p:last-child {
  margin-bottom: 0;
}

.demoChatBody ul,
.demoChatBody ol {
  margin: 8px 0 8px 20px;
  padding: 0;
}

.demoChatBody li {
  margin: 4px 0;
}

.demoChatBody strong {
  font-weight: 700;
}

.demoChatBody h1,
.demoChatBody h2,
.demoChatBody h3,
.demoChatBody h4 {
  margin: 10px 0 8px;
  font-size: 16px;
  line-height: 1.35;
}

.demoChatBody code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.95em;
  background: #f3f4f6;
  padding: 1px 4px;
  border-radius: 6px;
}

.demoChatBody pre {
  overflow-x: auto;
  background: #f3f4f6;
  padding: 10px 12px;
  border-radius: 10px;
}




.demoShell {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.demoMain {
  min-width: 0;
}



.demoChatCard {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 120px);
  min-height: 600px;
}



.demoChatList {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}



.demoComposer {
  flex-shrink: 0;
}


.demoComposer {
  position: relative;
  z-index: 10;
}

#chatList {
  position: relative;
  z-index: 1;
}





.sessionMaterialsToggle {
  border: 1px solid #d0d7de;
  border-radius: 999px;
  background: #fff;
  padding: 6px 10px;
  font-size: 13px;
  cursor: pointer;
}



#chatList,
.demoChatList {
  pointer-events: auto;
  position: relative;
  z-index: 1;
}


.demoComposer {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: -8px;
}



.demoComposer input,
.demoComposer button,
.demoComposer textarea,
.demoComposer label,
.sessionAttachRow {
  position: relative;
  z-index: 21;
  pointer-events: auto;
}



.sessionAttachRow {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  column-gap: 8px;
  row-gap: 2px;
  width: 100%;
  margin: 0 0 2px 0;
}



#chooseSessionMaterialBtn {
  order: 1;
  flex: 0 0 auto;
}

#sessionMaterialFileName {
  order: 2;
  flex: 0 0 auto;
  white-space: nowrap;
}

#uploadSessionMaterialBtn {
  order: 3;
  flex: 0 0 auto;
}

.sessionAttachHint {
  order: 4;
  flex: 1 1 320px;
  min-width: 0;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.35;
  margin: 0;
}




.sessionChooseFileBtn {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid #666;
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.visuallyHiddenFileInput {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}




.demoShell input:focus,
.demoShell input:focus-visible,
.demoShell textarea:focus,
.demoShell textarea:focus-visible,
.demoShell select:focus,
.demoShell select:focus-visible,
.sessionChooseFileBtn:focus,
.sessionChooseFileBtn:focus-visible {
  outline: none;
  border-color: #cfd4dc;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.05);
}





.demoChatList.dragOver,
.demoComposer textarea.dragOver {
  border-color: #cfd4dc;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.04);
}




.demoChatBody {
    white-space: pre-wrap;
    line-height: 1.55;
    margin-top: 4px;
}

.demoChatBody ol,
.demoChatBody ul {
    margin: 8px 0 8px 22px;
    padding-left: 18px;
}

.demoChatBody li {
    margin: 4px 0;
}



.demoChatBodyPlain {
    white-space: pre-wrap;
}

.demoChatBodyMarkdown {
    white-space: normal;
}

.demoChatBodyMarkdown > :first-child {
    margin-top: 0;
}

.demoChatBodyMarkdown > :last-child {
    margin-bottom: 0;
}

.demoChatBodyMarkdown p {
    margin: 4px 0;
}

.demoChatBodyMarkdown ol,
.demoChatBodyMarkdown ul {
    margin: 4px 0;
    padding-left: 0;
    list-style-position: inside;
}

.demoChatBodyMarkdown li {
    margin: 2px 0;
}

.demoChatBodyMarkdown li p {
    display: inline;
    margin: 0;
}




/* === CHAT FIX (override) === */

.demoItem {
    display: block;
    border: 1px solid #e7e9ee;
    border-radius: 10px;
    padding: 10px 12px;
    background: #fff;
    margin-bottom: 10px;
}

.demoChatBodyPlain {
    white-space: pre-wrap;
}

.demoChatBodyMarkdown {
    white-space: normal;
}

.demoChatBodyMarkdown > :first-child {
    margin-top: 0;
}

.demoChatBodyMarkdown > :last-child {
    margin-bottom: 0;
}

.demoChatBodyMarkdown p {
    margin: 4px 0;
}

.demoChatBodyMarkdown ol,
.demoChatBodyMarkdown ul {
    margin: 4px 0;
    padding-left: 0;
}

.demoChatBodyMarkdown li {
    margin: 2px 0;
}

.demoChatBodyMarkdown li p {
    display: inline;
    margin: 0;
}




.demoNumberedList {
    margin: 6px 0;
}

.demoNumberedRow {
    margin: 3px 0;
}





.materialTitle {
  font-weight: 600;
  font-size: 13px;
}

.materialMeta {
  font-size: 11px;
  color: #777;
}

.materialDeleteBtn {
  position: absolute;
  top: 4px;
  right: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
}





/* --- DOCUMENTS --- */



.sessionMaterialsBar {
  max-height: 260px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 4px;
}

.materialRow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f7f7f8;
  border: 1px solid #e5e7eb;
}

.materialTextWrap {
  min-width: 0;
  flex: 1;
}

.materialTitle {
  font-weight: 600;
  font-size: 13px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.materialMeta {
  font-size: 11px;
  color: #6b7280;
  line-height: 1.25;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.materialDelete {
  flex: 0 0 auto;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  padding: 0;
  opacity: 0.7;
}


.materialDelete:hover {
  opacity: 1;
}



#conversationsList {
  max-height: 220px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 4px;
}

.conversationRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  background: transparent;
  border-left: 3px solid transparent;
}

.conversationRow.active {
  background: #eef3ff;
  border-left-color: #7c9cf5;
}

.conversationTitle {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.conversationDelete {
  margin-left: auto;
  flex: 0 0 auto;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  padding: 0;
  opacity: 0.7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.conversationDelete:hover {
  opacity: 1;
}

.conversationRenameInput {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  line-height: 1.2;
}






#documentsList {
  max-height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 4px;
}




.documentRow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title delete"
    "meta meta";
  column-gap: 8px;
  row-gap: 1px;
  padding: 4px 10px;
  border: 1px solid #d9dde3;
  border-radius: 10px;
  background: #f7f7f8;
  margin-top: 4px;
}

.documentTitle {
  grid-area: title;
  min-width: 0;
  font-size: 13px;
  line-height: 1.1;
  font-weight: 600;
  color: #111827;
  margin: 0;
  word-break: break-word;
}

.documentMeta {
  grid-area: meta;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 12px;
  line-height: 1.0;
  color: #667085;
  margin: 0;
}

.documentMetaLeft {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.documentMetaRight {
  flex: 0 0 auto;
  white-space: nowrap;
  color: #98a2b3;
}

.documentDelete {
  grid-area: delete;
  align-self: start;
  justify-self: end;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  padding: 0;
  margin: 1px 0 0 0;
  color: #475467;
}

.documentDelete:hover {
  color: #111827;
}




/* --- PROCESSING ENGINE (force compact) --- */

#demoModel,
#demoReasoning {
  height: 28px !important;
  min-height: 28px !important;
  font-size: 12.5px !important;
  padding-top: 2px !important;
  padding-bottom: 2px !important;
}

#applyModel {
  height: 26px !important;
  min-height: 26px !important;
  font-size: 12px !important;
  padding: 0 10px !important;
  margin-top: 4px !important;
}

#demoReasoningWrap {
  margin-top: 3px !important;
  margin-bottom: 0 !important;
}

#demoModelWrap,
#demoReasoningWrap,
#applyModelWrap {
  margin-bottom: 4px !important;
}

#applyModelWrap {
  margin-bottom: 0 !important;
}





/* --- PROCESSING ENGINE final tightening --- */

.demoCard:has(#demoModel) {
  padding-top: 6px;
  padding-bottom: 6px;
}

.demoCard:has(#demoModel) .demoSectionTitle {
  margin-top: 0;
  margin-bottom: 3px;
}

#applyModel {
  margin-top: 3px !important;
  margin-bottom: 0 !important;
}

/* sumažinam tarpą po paskutinio elemento */
.demoCard:has(#demoModel) > *:last-child {
  margin-bottom: 0 !important;
}




/* --- PROCESSING ENGINE balanced --- */

.demoCard:has(#demoModel) {
  padding-top: 10px;
  padding-bottom: 10px;
}

.demoCard:has(#demoModel) .demoSectionTitle {
  margin-bottom: 6px;
}

#demoModel,
#demoReasoning {
  height: 28px;
  font-size: 12.5px;
}

#demoReasoning {
  margin-top: 5px;
}

#applyModel {
  margin-top: 6px;
  margin-bottom: 2px;
  height: 26px;
  font-size: 12px;
}



/* --- START SESSION alignment --- */

.demoCard:has(#demoAccessCode) {
  padding-top: 10px;
  padding-bottom: 10px;
}

.demoCard:has(#demoAccessCode) .demoSectionTitle {
  margin-bottom: 6px;
}

#demoAccessCode {
  height: 28px;
  font-size: 12.5px;
}

#startDemoSession {
  margin-top: 6px;
  height: 26px;
  font-size: 12px;
}



/* --- START SESSION precise spacing --- */

.demoCard:has(#demoAccessCode) {
  padding-top: 12px;
  padding-bottom: 10px;
}

.demoCard:has(#demoAccessCode) .demoSectionTitle {
  margin-bottom: 10px;
}

#demoAccessCode {
  height: 28px;
  font-size: 12.5px;
  margin-top: 0;
}

#startDemoSession {
  margin-top: 8px;
  display: inline-block;
}


/* --- PROCESSING ENGINE precise spacing --- */

.demoCard:has(#demoModel) {
  padding-top: 12px;
  padding-bottom: 10px;
}

.demoCard:has(#demoModel) .demoSectionTitle {
  margin-bottom: 9px;
}

#demoModel,
#demoReasoning {
  height: 28px;
  font-size: 12.5px;
}

#demoReasoning {
  margin-top: 6px;
}

#applyModel {
  margin-top: 8px;
  height: 26px;
  font-size: 12px;
}




/* --- START SESSION button centering fix --- */

#startDemoSession {
  height: 28px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0 14px;
}


/* --- PROCESSING ENGINE final rhythm --- */

.demoCard:has(#demoModel) .demoSectionTitle {
  margin-bottom: 8px;
}

#demoModel {
  margin-top: 0;
  margin-bottom: 0;
}

#demoReasoning {
  margin-top: 4px;
  margin-bottom: 0;
}

#applyModel {
  margin-top: 9px;
  margin-bottom: 0;
  height: 26px;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0 12px;
}



/* --- START SESSION final alignment --- */

#demoAccessCode {
  margin-bottom: 4px;
}

#startDemoSession {
  margin-top: 0;
}




/* --- ATTACH BAR: compact one-line chips --- */

#sessionMaterialsBar {
  margin-top: 6px;
}

.sessionMaterialsWrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: flex-start;
  max-height: 74px;
  overflow: hidden;
}

.sessionMaterialsWrap.expanded {
  max-height: 148px;
  overflow-y: auto;
  padding-right: 4px;
}

.sessionMaterialChip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 380px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #d9dde3;
  border-radius: 10px;
  background: #f7f7f8;
  flex: 0 1 auto;
}

.sessionMaterialChipLine {
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 310px;
  min-width: 0;
}

.sessionMaterialChipDelete {
  flex: 0 0 auto;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  line-height: 1;
  padding: 0;
  opacity: 0.75;
}

.sessionMaterialChipDelete:hover {
  opacity: 1;
}

.sessionMaterialsMoreBtn,
.sessionMaterialsCollapseBtn {
  border: 1px solid #d0d5dd;
  background: #fff;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
  padding: 7px 10px;
  cursor: pointer;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sessionMaterialsMoreBtn {
  margin-left: auto;
}

.sessionMaterialsCollapseBtn {
  margin-top: 6px;
}




/* --- DOCUMENTS: compact alignment with other cards --- */

.demoCard:has(#documentsList),
.demoCard:has(#docFile),
.demoCard:has(#docText) {
  padding-top: 12px;
  padding-bottom: 10px;
}

.demoCard:has(#docFile) .demoSectionTitle {
  margin-bottom: 8px;
}

/* radio pasirinkimai */
.demoCard:has(#docFile) input[type="radio"] {
  transform: scale(0.9);
}

.demoCard:has(#docFile) label {
  font-size: 12.5px;
}

/* inputai */
#docTitleFile,
#docTitleText {
  height: 28px;
  font-size: 12.5px;
  margin-top: 4px;
}

/* textarea */
#docText {
  min-height: 90px;
  font-size: 12.5px;
  padding: 6px 8px;
  margin-top: 6px;
}

/* file pasirinkimas eilė */
.demoCard:has(#docFile) .demoRow {
  margin-top: 6px;
  margin-bottom: 4px;
}

/* failo pasirinkimo mygtukas */
#docFile + label,
.sessionChooseFileBtn {
  min-height: 28px;
  height: 28px;
  padding: 0 10px;
  border: 1px solid #bfc6d1;
  border-radius: 6px;
  background: #ffffff;
  color: #111827;
  font-size: 12px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  white-space: nowrap;
  cursor: pointer;
}

#uploadSessionMaterialBtn {
  min-height: 28px;
  height: 28px;
  padding: 0 10px;
  border: 1px solid #bfc6d1;
  border-radius: 6px;
  background: #f2f4f7;
  color: #111827;
  font-size: 12px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  white-space: nowrap;
  cursor: pointer;
}

#uploadSessionMaterialBtn:hover {
  background: #eaecf0;
}



#docFile {
  font-size: 12px;
}

#docFile::file-selector-button {
  min-height: 28px;
  height: 28px;
  padding: 0 10px;
  margin-right: 8px;
  border: 1px solid #bfc6d1;
  border-radius: 6px;
  background: #ffffff;
  color: #111827;
  font-size: 12px;
  line-height: 1;
  box-sizing: border-box;
  cursor: pointer;
}

#docFile::file-selector-button:hover {
  background: #f8fafc;
}

#docFile::-webkit-file-upload-button {
  min-height: 28px;
  height: 28px;
  padding: 0 10px;
  margin-right: 8px;
  border: 1px solid #bfc6d1;
  border-radius: 6px;
  background: #ffffff;
  color: #111827;
  font-size: 12px;
  line-height: 1;
  box-sizing: border-box;
  cursor: pointer;
}

#docFile::-webkit-file-upload-button:hover {
  background: #f8fafc;
}



#docFile + label:focus,
#docFile + label:focus-visible,
.sessionChooseFileBtn:focus,
.sessionChooseFileBtn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.12);
}


/* upload / create mygtukai */
#uploadFileBtn,
#createTextDocBtn {
  height: 26px;
  font-size: 12px;
  margin-top: 6px;
  padding: 0 10px;
}

/* mažinam tarpus tarp blokų */
.demoCard:has(#docFile) .demoRow + .demoRow {
  margin-top: 6px;
}

/* tekstas apačioje */
.demoCard:has(#docFile) .muted {
  font-size: 11px;
  margin-top: 4px;
}





.workspaceWelcomeState {
  display: none;
  min-height: 420px;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
}

.workspaceWelcomeState.isVisible {
  display: flex;
}

.workspaceWelcomeInner {
  max-width: 760px;
  text-align: center;
}

.workspaceWelcomeMark {
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  border: 1px solid #d6dae1;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
}

.workspaceWelcomeText {
  font-size: 24px;
  line-height: 1.45;
  font-weight: 300;
}

.workspaceWelcomeAuthor {
  margin-top: 18px;
  font-size: 14px;
  color: #6b7280;
}




@media (max-width: 1100px) {
  .workspaceWelcomeInner {
    max-width: 640px;
  }

  .workspaceWelcomeText {
    font-size: 20px;
    line-height: 1.4;
  }

  .workspaceWelcomeMark {
    width: 72px;
    height: 72px;
    font-size: 32px;
    margin: 0 auto 18px;
  }

  .workspaceWelcomeAuthor {
    font-size: 13px;
    margin-top: 14px;
  }

  .workspaceWelcomeState {
    padding: 24px 18px;
  }
}


.chatScrollArea {
  position: relative;
}

.scrollToLatestBtn {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 32px;
  height: 32px;
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  background: #ffffff;
  color: #344054;
  font-size: 16px;
  line-height: 1;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.10);
  z-index: 20;
  padding: 0;
}

.scrollToLatestBtn.isVisible {
  display: inline-flex;
}

.scrollToLatestBtn:hover {
  background: #f9fafb;
}




.documentMeta {
  font-size: 12px;
  color: #667085;
  margin-top: 2px;
}

.documentMetaLeft {
  display: inline;
}

.documentMetaRight {
  display: inline;
  margin-left: 8px;
  color: #98a2b3;
}

