.topbar {
  position: sticky;
  z-index: 100;
  top: 0;
  overflow: visible;
  background: rgba(255, 255, 255, 0.94);
}

.notifications {
  z-index: 120;
}

.notifications-panel {
  position: fixed;
  z-index: 150;
  top: 76px;
  right: 42px;
}

.content-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.content-actions button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #cfe1f2;
  border-radius: 8px;
  background: #f4f9ff;
  color: var(--primary);
  padding: 7px 9px;
  font-size: 10px;
  font-weight: 800;
}

.content-actions button:hover {
  background: #e5f1ff;
}

.content-actions button.danger {
  border-color: #f3cccc;
  background: #fff7f7;
  color: #c53d3d;
}

.content-actions svg {
  width: 12px;
  height: 12px;
}

.note-footer a {
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
}

.form-help {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.current-file {
  margin: 8px 0 2px;
  color: var(--ink);
  font-size: 11px;
}

.file-input {
  padding: 8px;
}

.file-input::file-selector-button {
  margin-right: 10px;
  border: 0;
  border-radius: 7px;
  background: #e7f1ff;
  color: var(--primary);
  padding: 7px 10px;
  font-weight: 800;
  cursor: pointer;
}

.note-file-meta {
  overflow: hidden;
  margin-top: 11px;
  color: #7b8a9d;
  font-size: 10px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.subject-drive {
  display: inline-block;
  margin-top: 5px;
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
}

.subject-drive.pending {
  color: #94a3b8;
}

.table-scroll {
  overflow-x: auto;
}

.audit-table {
  min-width: 790px;
}

.audit-table td:first-child {
  white-space: nowrap;
}

.audit-table td:last-child strong,
.audit-entity {
  display: block;
}

.audit-entity {
  margin-bottom: 2px;
  color: #94a3b8;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.audit-source {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 8px;
  background: #eef6ff;
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
}

.audit-source--drive {
  background: #ecfdf5;
  color: #08795a;
}

@media (max-width: 780px) {
  .users-table th:nth-child(2),
  .users-table td:nth-child(2),
  .users-table th:nth-child(3),
  .users-table td:nth-child(3),
  .users-table th:nth-child(6),
  .users-table td:nth-child(6) {
    display: table-cell;
  }
}

@media (max-width: 650px) {
  .notifications-panel {
    top: 68px;
    right: 14px;
  }

  .users-table th:nth-child(2),
  .users-table td:nth-child(2),
  .users-table th:nth-child(3),
  .users-table td:nth-child(3),
  .users-table th:nth-child(6),
  .users-table td:nth-child(6) {
    display: table-cell;
  }
}
