/* Settings sheet embedded in index. */
.workspace-settings-sheet {
  box-sizing: border-box;
  font-family: "Google Sans", "Segoe UI", Arial, sans-serif;
  background: #ffffff;
  color: #171717;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #ececec;
  width: min(100%, 560px);
}
.workspace-settings-sheet *,
.workspace-settings-sheet *::before,
.workspace-settings-sheet *::after {
  box-sizing: border-box;
}
.workspace-settings-sheet .workspace-settings-header {
  height: 54px;
  padding: 0 48px 0 18px;
  border-bottom: 1px solid #ececec;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.workspace-settings-sheet .workspace-settings-brand {
  color: #050505;
  font-size: 1.08rem;
  font-weight: 680;
}
.workspace-settings-sheet .workspace-settings-back {
  color: #4b4b4b;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 595;
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  padding: 8px 10px;
  border-radius: 10px;
}
.workspace-settings-sheet .workspace-settings-back:hover {
  background: #f5f5f5;
}
.workspace-settings-sheet main {
  padding: 20px 18px 22px;
}
.workspace-settings-sheet h1 {
  font-size: 1.35rem;
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 680;
}
.workspace-settings-sheet .settings-list {
  border: 1px solid #e9e9e9;
  border-radius: 8px;
  overflow: hidden;
}
.workspace-settings-sheet .settings-row {
  min-height: 62px;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #eeeeee;
}
.workspace-settings-sheet .settings-row:last-child {
  border-bottom: none;
}
.workspace-settings-sheet .row-title {
  font-weight: 680;
  margin-bottom: 3px;
  font-size: 0.92rem;
}
.workspace-settings-sheet .row-copy {
  color: #70757a;
  font-size: 0.84rem;
  line-height: 1.35;
}
.workspace-settings-sheet .action {
  min-width: 104px;
  height: 34px;
  border: none;
  border-radius: 7px;
  background: #111111;
  color: #ffffff;
  font-weight: 680;
  font-size: 0.86rem;
  cursor: pointer;
  font-family: inherit;
}
.workspace-settings-sheet .settings-select {
  min-width: 164px;
  height: 34px;
  border: 1px solid #dedede;
  border-radius: 7px;
  background: #ffffff;
  color: #171717;
  padding: 0 30px 0 11px;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 590;
  outline: none;
}
.workspace-settings-sheet .settings-select:focus {
  border-color: #b8b8b8;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.04);
}

body.workspace-compact-density .composer {
  max-width: 720px;
}

body.workspace-compact-density .message {
  font-size: 0.94rem;
}

body.workspace-compact-density .nav-link,
body.workspace-compact-density .history-chat-btn {
  min-height: 34px !important;
}
.workspace-settings-sheet .action.secondary {
  background: #f3f3f3;
  color: #111111;
}
@media (max-width: 640px) {
  .workspace-settings-sheet .settings-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .workspace-settings-sheet .action {
    width: 100%;
  }
  .workspace-settings-sheet .settings-select {
    width: 100%;
  }
}
