/* Production workspace */

.window-secure {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding-right: 16px;
  color: #668078;
  font-size: 10px;
}

.window-secure svg {
  width: 13px;
  height: 13px;
  color: var(--brand);
}

.chat-empty,
.workspace-empty,
.files-empty {
  display: flex;
  min-height: 240px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-align: center;
}

.chat-empty > span {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  place-items: center;
  border: 1px solid #cfe3d7;
  border-radius: 16px;
  background: linear-gradient(145deg, #e5f6ec, #fff7dc);
  color: var(--brand);
}

.chat-empty strong,
.workspace-empty strong,
.files-empty strong {
  color: var(--ink-soft);
  font-size: 13px;
}

.chat-empty p,
.workspace-empty p,
.files-empty p {
  max-width: 320px;
  margin: 7px 0 0;
  font-size: 10px;
  line-height: 1.6;
}

.workspace-empty {
  height: 100%;
}

.workspace-empty > svg,
.files-empty > svg {
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  color: #76aa91;
}

.encryption-note.is-warning {
  border-color: #efd99a;
  background: rgba(255, 247, 217, 0.94);
  color: #80682c;
}

.message-status-failed {
  color: var(--danger) !important;
}

.message-status-sending {
  color: var(--warning) !important;
}

.message-status-queued {
  color: #a47826 !important;
}

.message-status-delivered {
  color: #4d9286 !important;
}

.message-status-read {
  color: var(--brand) !important;
  font-weight: 700;
}

.file-center > .file-table {
  min-width: 0;
  margin: 20px 26px 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.file-center .file-table-head,
.file-center .file-table-row {
  grid-template-columns: minmax(220px, 1.6fr) minmax(110px, 0.8fr) 90px 110px 32px;
}

.files-empty {
  min-height: 320px;
}

.setting-info-row,
.admin-entry {
  display: flex;
  width: 100%;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 18px;
  border: 0;
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.setting-info-row > svg,
.admin-entry > svg {
  color: var(--brand);
}

.admin-entry:hover {
  background: var(--brand-pale);
}

.setting-info-row strong,
.setting-info-row small,
.admin-entry strong,
.admin-entry small {
  display: block;
}

.setting-info-row strong,
.admin-entry strong {
  font-size: 11px;
}

.setting-info-row small,
.admin-entry small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
}

@media (max-width: 720px) {
  body { grid-template-rows: minmax(0, 1fr); }
  .rail { grid-template-columns: repeat(3, 1fr); }
  .rail-secondary { display: contents; }
  .profile-button { display: none; }
  .file-center > .file-table { min-width: 680px; margin: 14px; }
  .content-page.file-center { overflow-x: auto; }
}
