.navigation {
  align-items: center;
  background-color: #333;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  display: flex;
  height: 48px;
}

.navigation .logo {
  margin: 0 16px 0 8px;
}

.navigation .logo a img {
  height: 30px;
}

body {
  background-color: #f5f5ff;
}

.login {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin: 50px auto;
}

.profile-search-button > .menu {
  width: 250px;
}

.profile-search-button .input {
  width: auto !important;
}

.profile.menu .item {
  align-items: center;
  display: flex !important;
  flex-direction: row;
}

.profile-info {
  display: flex;
  flex-direction: column;
}

.code {
  font-family: monospace;
}

[flex="row"] {
  display: flex;
}

[margin="left"] {
  display: block;
  margin-left: 14px !important;
}

[grow] {
  flex-grow: 1;
}

.page.content {
  max-width: 800px;
  margin: 14px auto;
  padding-bottom: 14px;
}

.markdown img {
  max-width: 100%;
}


.page.header {
  margin-bottom: 28px;
  position: relative;
}

.page.header h3 {
  margin: 0;
}

.page.right {
  position: absolute;
  right: 0;
  top: 0;
}

.time {
  color: #444;
  font-size: 10px;
}

.right-nav {
  margin-top: 8px;
}

.ui.modal {
  margin-bottom: 50px !important;
  margin-top: 50px !important;
}

.attr-table td:first-child {
  text-align: right;
  padding-right: 4px;
  font-weight: bold;
}

.attr-table pre {
  padding: 0;
  margin: 0;
}

@media screen and (max-width: 800px) {
  .page.content {
    margin: 14px;
  }
}

.admin-main-container {
  display: flex;
}

.admin-main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 14px;
}

.reply-actions {
  display: flex;
  justify-content: space-between;
}

.reply-live-preview {
  background-color: rgba(0, 0, 0, 0.4);
  margin: 14px 0;
  border-radius: .28571429rem;
}

.reply-live-preview header {
  color: white;
  font-weight: bold;
  font-size: 14px;
  border-bottom: 1px solid rgb(213, 213, 213);
  padding: 14px;
}

.reply-live-preview section {
  padding: 14px;
}

.indicator {
  position: absolute;
  display: flex;
  align-items: center;
}

.indicator .icon.read {
  color: grey;
}

.feed-header .indicator {
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
}

.indicator .ui.button {
  margin-right: 14px;
  padding: 6px 6px;
}

.comment .indicator {
  top: 4px;
  right: 14px;
}

.comment.deleted {
  background-color: #fdd !important;
}

.feed-header {
  position: relative;
}

.comments {
  max-width: none !important;
}

.message-table-title {
  display: flex;
  justify-content: space-between;
}

.recent-activity .label {
  margin-top: 6px;
}

.version-ext {
  word-break: break-all;
}

.no-break {
  white-space: nowrap;
}

.icon.short {
  margin: 0 !important;
}

.padded {
  margin-bottom: 14px;
}

.checkbox-row span {
  padding: .5em;
}

.parent-tab {
  position: relative;
}

.with-button {
  position: relative;
  display: flex;
}

.with-button .icon {
  margin-right: 10px;
}

.header-button {
  position: absolute;
  right: 0;
  bottom: -1px;
}

table.wide {
  margin: 14px 28px !important;
  max-width: calc(100vw - 28px * 2)
}

.inbox-message-header {
  display: flex;
  flex-direction: column;
  padding: 14px;
  align-items: flex-start;
  border-bottom: 1px solid rgb(213, 213, 213);
}

.inbox-message-title {
  font-weight: bold;
  font-size: 20px;
  margin: 4px 0;
  line-height: 1.2;
}

.message-time {
  font-size: 12px;
  color: #666;
}

.inbox-thread, .inbox-thread .comments {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.inbox-thread .comments {
  margin-top: 0;
  max-width: none;
}

.inbox-thread .divider {
  margin-top: 0;
}

.fields.wrap {
  flex-flow: row wrap;
  display: flex;
}

.fields.wrap .field {
  margin-bottom: 14px !important;
}

#token_text {
  white-space: pre-wrap !important;
  word-break: break-all;
}

.ai-history-container .segment {
  display: grid !important;
  grid-template-columns: auto 1fr;
  gap: 8px;
}

.ai-history-container .author {
  margin-top: 8px;
  text-align: right;
}

.ai-history-container .message .auto-time {
  font-size: .8em;
}

.ai-history-container .markdown {
  border-radius: 4px;
  background-color: #eee;
  padding: 8px;
}